Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.67 for MPFR 3.0.1.
      4 #
      5 #
      6 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
      7 # Contributed by the Arenaire and Cacao projects, INRIA.
      8 #
      9 # This file is part of the GNU MPFR Library.
     10 #
     11 # The GNU MPFR Library is free software; you can redistribute it and/or modify
     12 # it under the terms of the GNU Lesser General Public License as published
     13 # by the Free Software Foundation; either version 3 of the License, or (at
     14 # your option) any later version.
     15 #
     16 # The GNU MPFR Library is distributed in the hope that it will be useful, but
     17 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
     18 # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
     19 # License for more details.
     20 #
     21 # You should have received a copy of the GNU Lesser General Public License
     22 # along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
     23 # http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
     24 # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
     25 #
     26 #
     27 #
     28 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     29 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     30 # Foundation, Inc.
     31 #
     32 #
     33 # This configure script is free software; the Free Software Foundation
     34 # gives unlimited permission to copy, distribute and modify it.
     35 ## -------------------- ##
     36 ## M4sh Initialization. ##
     37 ## -------------------- ##
     38 
     39 # Be more Bourne compatible
     40 DUALCASE=1; export DUALCASE # for MKS sh
     41 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     42   emulate sh
     43   NULLCMD=:
     44   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     45   # is contrary to our usage.  Disable this feature.
     46   alias -g '${1+"$@"}'='"$@"'
     47   setopt NO_GLOB_SUBST
     48 else
     49   case `(set -o) 2>/dev/null` in #(
     50   *posix*) :
     51     set -o posix ;; #(
     52   *) :
     53      ;;
     54 esac
     55 fi
     56 
     57 
     58 as_nl='
     59 '
     60 export as_nl
     61 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     62 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     63 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     64 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     65 # Prefer a ksh shell builtin over an external printf program on Solaris,
     66 # but without wasting forks for bash or zsh.
     67 if test -z "$BASH_VERSION$ZSH_VERSION" \
     68     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     69   as_echo='print -r --'
     70   as_echo_n='print -rn --'
     71 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     72   as_echo='printf %s\n'
     73   as_echo_n='printf %s'
     74 else
     75   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     76     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     77     as_echo_n='/usr/ucb/echo -n'
     78   else
     79     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     80     as_echo_n_body='eval
     81       arg=$1;
     82       case $arg in #(
     83       *"$as_nl"*)
     84 	expr "X$arg" : "X\\(.*\\)$as_nl";
     85 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     86       esac;
     87       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     88     '
     89     export as_echo_n_body
     90     as_echo_n='sh -c $as_echo_n_body as_echo'
     91   fi
     92   export as_echo_body
     93   as_echo='sh -c $as_echo_body as_echo'
     94 fi
     95 
     96 # The user is always right.
     97 if test "${PATH_SEPARATOR+set}" != set; then
     98   PATH_SEPARATOR=:
     99   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    100     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    101       PATH_SEPARATOR=';'
    102   }
    103 fi
    104 
    105 
    106 # IFS
    107 # We need space, tab and new line, in precisely that order.  Quoting is
    108 # there to prevent editors from complaining about space-tab.
    109 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    110 # splitting by setting IFS to empty value.)
    111 IFS=" ""	$as_nl"
    112 
    113 # Find who we are.  Look in the path if we contain no directory separator.
    114 case $0 in #((
    115   *[\\/]* ) as_myself=$0 ;;
    116   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    117 for as_dir in $PATH
    118 do
    119   IFS=$as_save_IFS
    120   test -z "$as_dir" && as_dir=.
    121     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    122   done
    123 IFS=$as_save_IFS
    124 
    125      ;;
    126 esac
    127 # We did not find ourselves, most probably we were run as `sh COMMAND'
    128 # in which case we are not to be found in the path.
    129 if test "x$as_myself" = x; then
    130   as_myself=$0
    131 fi
    132 if test ! -f "$as_myself"; then
    133   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    134   exit 1
    135 fi
    136 
    137 # Unset variables that we do not need and which cause bugs (e.g. in
    138 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    139 # suppresses any "Segmentation fault" message there.  '((' could
    140 # trigger a bug in pdksh 5.2.14.
    141 for as_var in BASH_ENV ENV MAIL MAILPATH
    142 do eval test x\${$as_var+set} = xset \
    143   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    144 done
    145 PS1='$ '
    146 PS2='> '
    147 PS4='+ '
    148 
    149 # NLS nuisances.
    150 LC_ALL=C
    151 export LC_ALL
    152 LANGUAGE=C
    153 export LANGUAGE
    154 
    155 # CDPATH.
    156 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    157 
    158 if test "x$CONFIG_SHELL" = x; then
    159   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    160   emulate sh
    161   NULLCMD=:
    162   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    163   # is contrary to our usage.  Disable this feature.
    164   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    165   setopt NO_GLOB_SUBST
    166 else
    167   case \`(set -o) 2>/dev/null\` in #(
    168   *posix*) :
    169     set -o posix ;; #(
    170   *) :
    171      ;;
    172 esac
    173 fi
    174 "
    175   as_required="as_fn_return () { (exit \$1); }
    176 as_fn_success () { as_fn_return 0; }
    177 as_fn_failure () { as_fn_return 1; }
    178 as_fn_ret_success () { return 0; }
    179 as_fn_ret_failure () { return 1; }
    180 
    181 exitcode=0
    182 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    183 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    184 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    185 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    186 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    187 
    188 else
    189   exitcode=1; echo positional parameters were not saved.
    190 fi
    191 test x\$exitcode = x0 || exit 1"
    192   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    193   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    194   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    195   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    196 test \$(( 1 + 1 )) = 2 || exit 1"
    197   if (eval "$as_required") 2>/dev/null; then :
    198   as_have_required=yes
    199 else
    200   as_have_required=no
    201 fi
    202   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    203 
    204 else
    205   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    206 as_found=false
    207 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    208 do
    209   IFS=$as_save_IFS
    210   test -z "$as_dir" && as_dir=.
    211   as_found=:
    212   case $as_dir in #(
    213 	 /*)
    214 	   for as_base in sh bash ksh sh5; do
    215 	     # Try only shells that exist, to save several forks.
    216 	     as_shell=$as_dir/$as_base
    217 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    218 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$as_shell as_have_required=yes
    220 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    221   break 2
    222 fi
    223 fi
    224 	   done;;
    225        esac
    226   as_found=false
    227 done
    228 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    229 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$SHELL as_have_required=yes
    231 fi; }
    232 IFS=$as_save_IFS
    233 
    234 
    235       if test "x$CONFIG_SHELL" != x; then :
    236   # We cannot yet assume a decent shell, so we have to provide a
    237 	# neutralization value for shells without unset; and this also
    238 	# works around shells that cannot unset nonexistent variables.
    239 	BASH_ENV=/dev/null
    240 	ENV=/dev/null
    241 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    242 	export CONFIG_SHELL
    243 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    244 fi
    245 
    246     if test x$as_have_required = xno; then :
    247   $as_echo "$0: This script requires a shell more modern than all"
    248   $as_echo "$0: the shells that I found on your system."
    249   if test x${ZSH_VERSION+set} = xset ; then
    250     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    251     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    252   else
    253     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    254 $0: including any error possibly output before this
    255 $0: message. Then install a modern shell, or manually run
    256 $0: the script under such a shell if you do have one."
    257   fi
    258   exit 1
    259 fi
    260 fi
    261 fi
    262 SHELL=${CONFIG_SHELL-/bin/sh}
    263 export SHELL
    264 # Unset more variables known to interfere with behavior of common tools.
    265 CLICOLOR_FORCE= GREP_OPTIONS=
    266 unset CLICOLOR_FORCE GREP_OPTIONS
    267 
    268 ## --------------------- ##
    269 ## M4sh Shell Functions. ##
    270 ## --------------------- ##
    271 # as_fn_unset VAR
    272 # ---------------
    273 # Portably unset VAR.
    274 as_fn_unset ()
    275 {
    276   { eval $1=; unset $1;}
    277 }
    278 as_unset=as_fn_unset
    279 
    280 # as_fn_set_status STATUS
    281 # -----------------------
    282 # Set $? to STATUS, without forking.
    283 as_fn_set_status ()
    284 {
    285   return $1
    286 } # as_fn_set_status
    287 
    288 # as_fn_exit STATUS
    289 # -----------------
    290 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    291 as_fn_exit ()
    292 {
    293   set +e
    294   as_fn_set_status $1
    295   exit $1
    296 } # as_fn_exit
    297 
    298 # as_fn_mkdir_p
    299 # -------------
    300 # Create "$as_dir" as a directory, including parents if necessary.
    301 as_fn_mkdir_p ()
    302 {
    303 
    304   case $as_dir in #(
    305   -*) as_dir=./$as_dir;;
    306   esac
    307   test -d "$as_dir" || eval $as_mkdir_p || {
    308     as_dirs=
    309     while :; do
    310       case $as_dir in #(
    311       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    312       *) as_qdir=$as_dir;;
    313       esac
    314       as_dirs="'$as_qdir' $as_dirs"
    315       as_dir=`$as_dirname -- "$as_dir" ||
    316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    317 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    318 	 X"$as_dir" : 'X\(//\)$' \| \
    319 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    320 $as_echo X"$as_dir" |
    321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    322 	    s//\1/
    323 	    q
    324 	  }
    325 	  /^X\(\/\/\)[^/].*/{
    326 	    s//\1/
    327 	    q
    328 	  }
    329 	  /^X\(\/\/\)$/{
    330 	    s//\1/
    331 	    q
    332 	  }
    333 	  /^X\(\/\).*/{
    334 	    s//\1/
    335 	    q
    336 	  }
    337 	  s/.*/./; q'`
    338       test -d "$as_dir" && break
    339     done
    340     test -z "$as_dirs" || eval "mkdir $as_dirs"
    341   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    342 
    343 
    344 } # as_fn_mkdir_p
    345 # as_fn_append VAR VALUE
    346 # ----------------------
    347 # Append the text in VALUE to the end of the definition contained in VAR. Take
    348 # advantage of any shell optimizations that allow amortized linear growth over
    349 # repeated appends, instead of the typical quadratic growth present in naive
    350 # implementations.
    351 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    352   eval 'as_fn_append ()
    353   {
    354     eval $1+=\$2
    355   }'
    356 else
    357   as_fn_append ()
    358   {
    359     eval $1=\$$1\$2
    360   }
    361 fi # as_fn_append
    362 
    363 # as_fn_arith ARG...
    364 # ------------------
    365 # Perform arithmetic evaluation on the ARGs, and store the result in the
    366 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    367 # must be portable across $(()) and expr.
    368 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    369   eval 'as_fn_arith ()
    370   {
    371     as_val=$(( $* ))
    372   }'
    373 else
    374   as_fn_arith ()
    375   {
    376     as_val=`expr "$@" || test $? -eq 1`
    377   }
    378 fi # as_fn_arith
    379 
    380 
    381 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    382 # ----------------------------------------
    383 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    384 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    385 # script with STATUS, using 1 if that was 0.
    386 as_fn_error ()
    387 {
    388   as_status=$1; test $as_status -eq 0 && as_status=1
    389   if test "$4"; then
    390     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    391     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    392   fi
    393   $as_echo "$as_me: error: $2" >&2
    394   as_fn_exit $as_status
    395 } # as_fn_error
    396 
    397 if expr a : '\(a\)' >/dev/null 2>&1 &&
    398    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    399   as_expr=expr
    400 else
    401   as_expr=false
    402 fi
    403 
    404 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    405   as_basename=basename
    406 else
    407   as_basename=false
    408 fi
    409 
    410 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    411   as_dirname=dirname
    412 else
    413   as_dirname=false
    414 fi
    415 
    416 as_me=`$as_basename -- "$0" ||
    417 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    418 	 X"$0" : 'X\(//\)$' \| \
    419 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    420 $as_echo X/"$0" |
    421     sed '/^.*\/\([^/][^/]*\)\/*$/{
    422 	    s//\1/
    423 	    q
    424 	  }
    425 	  /^X\/\(\/\/\)$/{
    426 	    s//\1/
    427 	    q
    428 	  }
    429 	  /^X\/\(\/\).*/{
    430 	    s//\1/
    431 	    q
    432 	  }
    433 	  s/.*/./; q'`
    434 
    435 # Avoid depending upon Character Ranges.
    436 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    437 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    438 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    439 as_cr_digits='0123456789'
    440 as_cr_alnum=$as_cr_Letters$as_cr_digits
    441 
    442 
    443   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    444   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    445   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    446   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    447   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    448   sed -n '
    449     p
    450     /[$]LINENO/=
    451   ' <$as_myself |
    452     sed '
    453       s/[$]LINENO.*/&-/
    454       t lineno
    455       b
    456       :lineno
    457       N
    458       :loop
    459       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    460       t loop
    461       s/-\n.*//
    462     ' >$as_me.lineno &&
    463   chmod +x "$as_me.lineno" ||
    464     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    465 
    466   # Don't try to exec as it changes $[0], causing all sort of problems
    467   # (the dirname of $[0] is not the place where we might find the
    468   # original and so on.  Autoconf is especially sensitive to this).
    469   . "./$as_me.lineno"
    470   # Exit status is that of the last command.
    471   exit
    472 }
    473 
    474 ECHO_C= ECHO_N= ECHO_T=
    475 case `echo -n x` in #(((((
    476 -n*)
    477   case `echo 'xy\c'` in
    478   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    479   xy)  ECHO_C='\c';;
    480   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    481        ECHO_T='	';;
    482   esac;;
    483 *)
    484   ECHO_N='-n';;
    485 esac
    486 
    487 rm -f conf$$ conf$$.exe conf$$.file
    488 if test -d conf$$.dir; then
    489   rm -f conf$$.dir/conf$$.file
    490 else
    491   rm -f conf$$.dir
    492   mkdir conf$$.dir 2>/dev/null
    493 fi
    494 if (echo >conf$$.file) 2>/dev/null; then
    495   if ln -s conf$$.file conf$$ 2>/dev/null; then
    496     as_ln_s='ln -s'
    497     # ... but there are two gotchas:
    498     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    499     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    500     # In both cases, we have to default to `cp -p'.
    501     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    502       as_ln_s='cp -p'
    503   elif ln conf$$.file conf$$ 2>/dev/null; then
    504     as_ln_s=ln
    505   else
    506     as_ln_s='cp -p'
    507   fi
    508 else
    509   as_ln_s='cp -p'
    510 fi
    511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    512 rmdir conf$$.dir 2>/dev/null
    513 
    514 if mkdir -p . 2>/dev/null; then
    515   as_mkdir_p='mkdir -p "$as_dir"'
    516 else
    517   test -d ./-p && rmdir ./-p
    518   as_mkdir_p=false
    519 fi
    520 
    521 if test -x / >/dev/null 2>&1; then
    522   as_test_x='test -x'
    523 else
    524   if ls -dL / >/dev/null 2>&1; then
    525     as_ls_L_option=L
    526   else
    527     as_ls_L_option=
    528   fi
    529   as_test_x='
    530     eval sh -c '\''
    531       if test -d "$1"; then
    532 	test -d "$1/.";
    533       else
    534 	case $1 in #(
    535 	-*)set "./$1";;
    536 	esac;
    537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    538 	???[sx]*):;;*)false;;esac;fi
    539     '\'' sh
    540   '
    541 fi
    542 as_executable_p=$as_test_x
    543 
    544 # Sed expression to map a string onto a valid CPP name.
    545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    546 
    547 # Sed expression to map a string onto a valid variable name.
    548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    549 
    550 
    551 
    552 # Check that we are running under the correct shell.
    553 SHELL=${CONFIG_SHELL-/bin/sh}
    554 
    555 case X$lt_ECHO in
    556 X*--fallback-echo)
    557   # Remove one level of quotation (which was required for Make).
    558   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    559   ;;
    560 esac
    561 
    562 ECHO=${lt_ECHO-echo}
    563 if test "X$1" = X--no-reexec; then
    564   # Discard the --no-reexec flag, and continue.
    565   shift
    566 elif test "X$1" = X--fallback-echo; then
    567   # Avoid inline document here, it may be left over
    568   :
    569 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    570   # Yippee, $ECHO works!
    571   :
    572 else
    573   # Restart under the correct shell.
    574   exec $SHELL "$0" --no-reexec ${1+"$@"}
    575 fi
    576 
    577 if test "X$1" = X--fallback-echo; then
    578   # used as fallback echo
    579   shift
    580   cat <<_LT_EOF
    581 $*
    582 _LT_EOF
    583   exit 0
    584 fi
    585 
    586 # The HP-UX ksh and POSIX shell print the target directory to stdout
    587 # if CDPATH is set.
    588 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    589 
    590 if test -z "$lt_ECHO"; then
    591   if test "X${echo_test_string+set}" != Xset; then
    592     # find a string as large as possible, as long as the shell can cope with it
    593     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    594       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    595       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    596 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    597       then
    598         break
    599       fi
    600     done
    601   fi
    602 
    603   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    604      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    605      test "X$echo_testing_string" = "X$echo_test_string"; then
    606     :
    607   else
    608     # The Solaris, AIX, and Digital Unix default echo programs unquote
    609     # backslashes.  This makes it impossible to quote backslashes using
    610     #   echo "$something" | sed 's/\\/\\\\/g'
    611     #
    612     # So, first we look for a working echo in the user's PATH.
    613 
    614     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    615     for dir in $PATH /usr/ucb; do
    616       IFS="$lt_save_ifs"
    617       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    618          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    619          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    620          test "X$echo_testing_string" = "X$echo_test_string"; then
    621         ECHO="$dir/echo"
    622         break
    623       fi
    624     done
    625     IFS="$lt_save_ifs"
    626 
    627     if test "X$ECHO" = Xecho; then
    628       # We didn't find a better echo, so look for alternatives.
    629       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    630          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    631          test "X$echo_testing_string" = "X$echo_test_string"; then
    632         # This shell has a builtin print -r that does the trick.
    633         ECHO='print -r'
    634       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    635 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    636         # If we have ksh, try running configure again with it.
    637         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    638         export ORIGINAL_CONFIG_SHELL
    639         CONFIG_SHELL=/bin/ksh
    640         export CONFIG_SHELL
    641         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    642       else
    643         # Try using printf.
    644         ECHO='printf %s\n'
    645         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    646 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    647 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    648 	  # Cool, printf works
    649 	  :
    650         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    651 	     test "X$echo_testing_string" = 'X\t' &&
    652 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    653 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    654 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    655 	  export CONFIG_SHELL
    656 	  SHELL="$CONFIG_SHELL"
    657 	  export SHELL
    658 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    659         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    660 	     test "X$echo_testing_string" = 'X\t' &&
    661 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    662 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    663 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    664         else
    665 	  # maybe with a smaller string...
    666 	  prev=:
    667 
    668 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    669 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    670 	    then
    671 	      break
    672 	    fi
    673 	    prev="$cmd"
    674 	  done
    675 
    676 	  if test "$prev" != 'sed 50q "$0"'; then
    677 	    echo_test_string=`eval $prev`
    678 	    export echo_test_string
    679 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    680 	  else
    681 	    # Oops.  We lost completely, so just stick with echo.
    682 	    ECHO=echo
    683 	  fi
    684         fi
    685       fi
    686     fi
    687   fi
    688 fi
    689 
    690 # Copy echo and quote the copy suitably for passing to libtool from
    691 # the Makefile, instead of quoting the original, which is used later.
    692 lt_ECHO=$ECHO
    693 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    694    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    695 fi
    696 
    697 
    698 
    699 
    700 test -n "$DJDIR" || exec 7<&0 </dev/null
    701 exec 6>&1
    702 
    703 # Name of the host.
    704 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    705 # so uname gets run too.
    706 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    707 
    708 #
    709 # Initializations.
    710 #
    711 ac_default_prefix=/usr/local
    712 ac_clean_files=
    713 ac_config_libobj_dir=.
    714 LIBOBJS=
    715 cross_compiling=no
    716 subdirs=
    717 MFLAGS=
    718 MAKEFLAGS=
    719 
    720 # Identity of this package.
    721 PACKAGE_NAME='MPFR'
    722 PACKAGE_TARNAME='mpfr'
    723 PACKAGE_VERSION='3.0.1'
    724 PACKAGE_STRING='MPFR 3.0.1'
    725 PACKAGE_BUGREPORT=''
    726 PACKAGE_URL=''
    727 
    728 # Factoring default headers for most tests.
    729 ac_includes_default="\
    730 #include <stdio.h>
    731 #ifdef HAVE_SYS_TYPES_H
    732 # include <sys/types.h>
    733 #endif
    734 #ifdef HAVE_SYS_STAT_H
    735 # include <sys/stat.h>
    736 #endif
    737 #ifdef STDC_HEADERS
    738 # include <stdlib.h>
    739 # include <stddef.h>
    740 #else
    741 # ifdef HAVE_STDLIB_H
    742 #  include <stdlib.h>
    743 # endif
    744 #endif
    745 #ifdef HAVE_STRING_H
    746 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    747 #  include <memory.h>
    748 # endif
    749 # include <string.h>
    750 #endif
    751 #ifdef HAVE_STRINGS_H
    752 # include <strings.h>
    753 #endif
    754 #ifdef HAVE_INTTYPES_H
    755 # include <inttypes.h>
    756 #endif
    757 #ifdef HAVE_STDINT_H
    758 # include <stdint.h>
    759 #endif
    760 #ifdef HAVE_UNISTD_H
    761 # include <unistd.h>
    762 #endif"
    763 
    764 ac_subst_vars='am__EXEEXT_FALSE
    765 am__EXEEXT_TRUE
    766 LTLIBOBJS
    767 LIBOBJS
    768 OTOOL64
    769 OTOOL
    770 LIPO
    771 NMEDIT
    772 DSYMUTIL
    773 lt_ECHO
    774 RANLIB
    775 AR
    776 LN_S
    777 NM
    778 ac_ct_DUMPBIN
    779 DUMPBIN
    780 LD
    781 FGREP
    782 LIBTOOL
    783 OBJDUMP
    784 DLLTOOL
    785 AS
    786 ALLOCA
    787 MPFR_LIBM
    788 ANSI2KNR
    789 U
    790 CPP
    791 am__fastdepCC_FALSE
    792 am__fastdepCC_TRUE
    793 CCDEPMODE
    794 AMDEPBACKSLASH
    795 AMDEP_FALSE
    796 AMDEP_TRUE
    797 am__quote
    798 am__include
    799 DEPDIR
    800 OBJEXT
    801 EXEEXT
    802 ac_ct_CC
    803 CPPFLAGS
    804 LDFLAGS
    805 CFLAGS
    806 CC
    807 SED
    808 EGREP
    809 GREP
    810 host_os
    811 host_vendor
    812 host_cpu
    813 host
    814 build_os
    815 build_vendor
    816 build_cpu
    817 build
    818 MAINT
    819 MAINTAINER_MODE_FALSE
    820 MAINTAINER_MODE_TRUE
    821 am__untar
    822 am__tar
    823 AMTAR
    824 am__leading_dot
    825 SET_MAKE
    826 AWK
    827 mkdir_p
    828 MKDIR_P
    829 INSTALL_STRIP_PROGRAM
    830 STRIP
    831 install_sh
    832 MAKEINFO
    833 AUTOHEADER
    834 AUTOMAKE
    835 AUTOCONF
    836 ACLOCAL
    837 VERSION
    838 PACKAGE
    839 CYGPATH_W
    840 am__isrc
    841 INSTALL_DATA
    842 INSTALL_SCRIPT
    843 INSTALL_PROGRAM
    844 target_alias
    845 host_alias
    846 build_alias
    847 LIBS
    848 ECHO_T
    849 ECHO_N
    850 ECHO_C
    851 DEFS
    852 mandir
    853 localedir
    854 libdir
    855 psdir
    856 pdfdir
    857 dvidir
    858 htmldir
    859 infodir
    860 docdir
    861 oldincludedir
    862 includedir
    863 localstatedir
    864 sharedstatedir
    865 sysconfdir
    866 datadir
    867 datarootdir
    868 libexecdir
    869 sbindir
    870 bindir
    871 program_transform_name
    872 prefix
    873 exec_prefix
    874 PACKAGE_URL
    875 PACKAGE_BUGREPORT
    876 PACKAGE_STRING
    877 PACKAGE_VERSION
    878 PACKAGE_TARNAME
    879 PACKAGE_NAME
    880 PATH_SEPARATOR
    881 SHELL'
    882 ac_subst_files=''
    883 ac_user_opts='
    884 enable_option_checking
    885 enable_maintainer_mode
    886 with_gmp_include
    887 with_gmp_lib
    888 with_gmp
    889 with_gmp_build
    890 with_mulhigh_size
    891 enable_assert
    892 enable_logging
    893 enable_thread_safe
    894 enable_warnings
    895 enable_tests_timeout
    896 enable_dependency_tracking
    897 enable_decimal_float
    898 enable_shared
    899 enable_static
    900 with_pic
    901 enable_fast_install
    902 with_gnu_ld
    903 enable_libtool_lock
    904 '
    905       ac_precious_vars='build_alias
    906 host_alias
    907 target_alias
    908 CC
    909 CFLAGS
    910 LDFLAGS
    911 LIBS
    912 CPPFLAGS
    913 CPP'
    914 
    915 
    916 # Initialize some variables set by options.
    917 ac_init_help=
    918 ac_init_version=false
    919 ac_unrecognized_opts=
    920 ac_unrecognized_sep=
    921 # The variables have the same names as the options, with
    922 # dashes changed to underlines.
    923 cache_file=/dev/null
    924 exec_prefix=NONE
    925 no_create=
    926 no_recursion=
    927 prefix=NONE
    928 program_prefix=NONE
    929 program_suffix=NONE
    930 program_transform_name=s,x,x,
    931 silent=
    932 site=
    933 srcdir=
    934 verbose=
    935 x_includes=NONE
    936 x_libraries=NONE
    937 
    938 # Installation directory options.
    939 # These are left unexpanded so users can "make install exec_prefix=/foo"
    940 # and all the variables that are supposed to be based on exec_prefix
    941 # by default will actually change.
    942 # Use braces instead of parens because sh, perl, etc. also accept them.
    943 # (The list follows the same order as the GNU Coding Standards.)
    944 bindir='${exec_prefix}/bin'
    945 sbindir='${exec_prefix}/sbin'
    946 libexecdir='${exec_prefix}/libexec'
    947 datarootdir='${prefix}/share'
    948 datadir='${datarootdir}'
    949 sysconfdir='${prefix}/etc'
    950 sharedstatedir='${prefix}/com'
    951 localstatedir='${prefix}/var'
    952 includedir='${prefix}/include'
    953 oldincludedir='/usr/include'
    954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    955 infodir='${datarootdir}/info'
    956 htmldir='${docdir}'
    957 dvidir='${docdir}'
    958 pdfdir='${docdir}'
    959 psdir='${docdir}'
    960 libdir='${exec_prefix}/lib'
    961 localedir='${datarootdir}/locale'
    962 mandir='${datarootdir}/man'
    963 
    964 ac_prev=
    965 ac_dashdash=
    966 for ac_option
    967 do
    968   # If the previous option needs an argument, assign it.
    969   if test -n "$ac_prev"; then
    970     eval $ac_prev=\$ac_option
    971     ac_prev=
    972     continue
    973   fi
    974 
    975   case $ac_option in
    976   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    977   *=)   ac_optarg= ;;
    978   *)    ac_optarg=yes ;;
    979   esac
    980 
    981   # Accept the important Cygnus configure options, so we can diagnose typos.
    982 
    983   case $ac_dashdash$ac_option in
    984   --)
    985     ac_dashdash=yes ;;
    986 
    987   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    988     ac_prev=bindir ;;
    989   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    990     bindir=$ac_optarg ;;
    991 
    992   -build | --build | --buil | --bui | --bu)
    993     ac_prev=build_alias ;;
    994   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    995     build_alias=$ac_optarg ;;
    996 
    997   -cache-file | --cache-file | --cache-fil | --cache-fi \
    998   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    999     ac_prev=cache_file ;;
   1000   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1001   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1002     cache_file=$ac_optarg ;;
   1003 
   1004   --config-cache | -C)
   1005     cache_file=config.cache ;;
   1006 
   1007   -datadir | --datadir | --datadi | --datad)
   1008     ac_prev=datadir ;;
   1009   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1010     datadir=$ac_optarg ;;
   1011 
   1012   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1013   | --dataroo | --dataro | --datar)
   1014     ac_prev=datarootdir ;;
   1015   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1016   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1017     datarootdir=$ac_optarg ;;
   1018 
   1019   -disable-* | --disable-*)
   1020     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1021     # Reject names that are not valid shell variable names.
   1022     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1023       as_fn_error $? "invalid feature name: $ac_useropt"
   1024     ac_useropt_orig=$ac_useropt
   1025     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1026     case $ac_user_opts in
   1027       *"
   1028 "enable_$ac_useropt"
   1029 "*) ;;
   1030       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1031 	 ac_unrecognized_sep=', ';;
   1032     esac
   1033     eval enable_$ac_useropt=no ;;
   1034 
   1035   -docdir | --docdir | --docdi | --doc | --do)
   1036     ac_prev=docdir ;;
   1037   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1038     docdir=$ac_optarg ;;
   1039 
   1040   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1041     ac_prev=dvidir ;;
   1042   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1043     dvidir=$ac_optarg ;;
   1044 
   1045   -enable-* | --enable-*)
   1046     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1047     # Reject names that are not valid shell variable names.
   1048     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1049       as_fn_error $? "invalid feature name: $ac_useropt"
   1050     ac_useropt_orig=$ac_useropt
   1051     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1052     case $ac_user_opts in
   1053       *"
   1054 "enable_$ac_useropt"
   1055 "*) ;;
   1056       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1057 	 ac_unrecognized_sep=', ';;
   1058     esac
   1059     eval enable_$ac_useropt=\$ac_optarg ;;
   1060 
   1061   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1062   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1063   | --exec | --exe | --ex)
   1064     ac_prev=exec_prefix ;;
   1065   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1066   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1067   | --exec=* | --exe=* | --ex=*)
   1068     exec_prefix=$ac_optarg ;;
   1069 
   1070   -gas | --gas | --ga | --g)
   1071     # Obsolete; use --with-gas.
   1072     with_gas=yes ;;
   1073 
   1074   -help | --help | --hel | --he | -h)
   1075     ac_init_help=long ;;
   1076   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1077     ac_init_help=recursive ;;
   1078   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1079     ac_init_help=short ;;
   1080 
   1081   -host | --host | --hos | --ho)
   1082     ac_prev=host_alias ;;
   1083   -host=* | --host=* | --hos=* | --ho=*)
   1084     host_alias=$ac_optarg ;;
   1085 
   1086   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1087     ac_prev=htmldir ;;
   1088   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1089   | --ht=*)
   1090     htmldir=$ac_optarg ;;
   1091 
   1092   -includedir | --includedir | --includedi | --included | --include \
   1093   | --includ | --inclu | --incl | --inc)
   1094     ac_prev=includedir ;;
   1095   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1096   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1097     includedir=$ac_optarg ;;
   1098 
   1099   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1100     ac_prev=infodir ;;
   1101   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1102     infodir=$ac_optarg ;;
   1103 
   1104   -libdir | --libdir | --libdi | --libd)
   1105     ac_prev=libdir ;;
   1106   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1107     libdir=$ac_optarg ;;
   1108 
   1109   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1110   | --libexe | --libex | --libe)
   1111     ac_prev=libexecdir ;;
   1112   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1113   | --libexe=* | --libex=* | --libe=*)
   1114     libexecdir=$ac_optarg ;;
   1115 
   1116   -localedir | --localedir | --localedi | --localed | --locale)
   1117     ac_prev=localedir ;;
   1118   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1119     localedir=$ac_optarg ;;
   1120 
   1121   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1122   | --localstate | --localstat | --localsta | --localst | --locals)
   1123     ac_prev=localstatedir ;;
   1124   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1125   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1126     localstatedir=$ac_optarg ;;
   1127 
   1128   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1129     ac_prev=mandir ;;
   1130   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1131     mandir=$ac_optarg ;;
   1132 
   1133   -nfp | --nfp | --nf)
   1134     # Obsolete; use --without-fp.
   1135     with_fp=no ;;
   1136 
   1137   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1138   | --no-cr | --no-c | -n)
   1139     no_create=yes ;;
   1140 
   1141   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1142   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1143     no_recursion=yes ;;
   1144 
   1145   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1146   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1147   | --oldin | --oldi | --old | --ol | --o)
   1148     ac_prev=oldincludedir ;;
   1149   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1150   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1151   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1152     oldincludedir=$ac_optarg ;;
   1153 
   1154   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1155     ac_prev=prefix ;;
   1156   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1157     prefix=$ac_optarg ;;
   1158 
   1159   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1160   | --program-pre | --program-pr | --program-p)
   1161     ac_prev=program_prefix ;;
   1162   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1163   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1164     program_prefix=$ac_optarg ;;
   1165 
   1166   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1167   | --program-suf | --program-su | --program-s)
   1168     ac_prev=program_suffix ;;
   1169   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1170   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1171     program_suffix=$ac_optarg ;;
   1172 
   1173   -program-transform-name | --program-transform-name \
   1174   | --program-transform-nam | --program-transform-na \
   1175   | --program-transform-n | --program-transform- \
   1176   | --program-transform | --program-transfor \
   1177   | --program-transfo | --program-transf \
   1178   | --program-trans | --program-tran \
   1179   | --progr-tra | --program-tr | --program-t)
   1180     ac_prev=program_transform_name ;;
   1181   -program-transform-name=* | --program-transform-name=* \
   1182   | --program-transform-nam=* | --program-transform-na=* \
   1183   | --program-transform-n=* | --program-transform-=* \
   1184   | --program-transform=* | --program-transfor=* \
   1185   | --program-transfo=* | --program-transf=* \
   1186   | --program-trans=* | --program-tran=* \
   1187   | --progr-tra=* | --program-tr=* | --program-t=*)
   1188     program_transform_name=$ac_optarg ;;
   1189 
   1190   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1191     ac_prev=pdfdir ;;
   1192   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1193     pdfdir=$ac_optarg ;;
   1194 
   1195   -psdir | --psdir | --psdi | --psd | --ps)
   1196     ac_prev=psdir ;;
   1197   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1198     psdir=$ac_optarg ;;
   1199 
   1200   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1201   | -silent | --silent | --silen | --sile | --sil)
   1202     silent=yes ;;
   1203 
   1204   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1205     ac_prev=sbindir ;;
   1206   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1207   | --sbi=* | --sb=*)
   1208     sbindir=$ac_optarg ;;
   1209 
   1210   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1211   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1212   | --sharedst | --shareds | --shared | --share | --shar \
   1213   | --sha | --sh)
   1214     ac_prev=sharedstatedir ;;
   1215   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1216   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1217   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1218   | --sha=* | --sh=*)
   1219     sharedstatedir=$ac_optarg ;;
   1220 
   1221   -site | --site | --sit)
   1222     ac_prev=site ;;
   1223   -site=* | --site=* | --sit=*)
   1224     site=$ac_optarg ;;
   1225 
   1226   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1227     ac_prev=srcdir ;;
   1228   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1229     srcdir=$ac_optarg ;;
   1230 
   1231   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1232   | --syscon | --sysco | --sysc | --sys | --sy)
   1233     ac_prev=sysconfdir ;;
   1234   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1235   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1236     sysconfdir=$ac_optarg ;;
   1237 
   1238   -target | --target | --targe | --targ | --tar | --ta | --t)
   1239     ac_prev=target_alias ;;
   1240   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1241     target_alias=$ac_optarg ;;
   1242 
   1243   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1244     verbose=yes ;;
   1245 
   1246   -version | --version | --versio | --versi | --vers | -V)
   1247     ac_init_version=: ;;
   1248 
   1249   -with-* | --with-*)
   1250     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1251     # Reject names that are not valid shell variable names.
   1252     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1253       as_fn_error $? "invalid package name: $ac_useropt"
   1254     ac_useropt_orig=$ac_useropt
   1255     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1256     case $ac_user_opts in
   1257       *"
   1258 "with_$ac_useropt"
   1259 "*) ;;
   1260       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1261 	 ac_unrecognized_sep=', ';;
   1262     esac
   1263     eval with_$ac_useropt=\$ac_optarg ;;
   1264 
   1265   -without-* | --without-*)
   1266     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1267     # Reject names that are not valid shell variable names.
   1268     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1269       as_fn_error $? "invalid package name: $ac_useropt"
   1270     ac_useropt_orig=$ac_useropt
   1271     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1272     case $ac_user_opts in
   1273       *"
   1274 "with_$ac_useropt"
   1275 "*) ;;
   1276       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1277 	 ac_unrecognized_sep=', ';;
   1278     esac
   1279     eval with_$ac_useropt=no ;;
   1280 
   1281   --x)
   1282     # Obsolete; use --with-x.
   1283     with_x=yes ;;
   1284 
   1285   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1286   | --x-incl | --x-inc | --x-in | --x-i)
   1287     ac_prev=x_includes ;;
   1288   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1289   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1290     x_includes=$ac_optarg ;;
   1291 
   1292   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1293   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1294     ac_prev=x_libraries ;;
   1295   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1296   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1297     x_libraries=$ac_optarg ;;
   1298 
   1299   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1300 Try \`$0 --help' for more information"
   1301     ;;
   1302 
   1303   *=*)
   1304     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1305     # Reject names that are not valid shell variable names.
   1306     case $ac_envvar in #(
   1307       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1308       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1309     esac
   1310     eval $ac_envvar=\$ac_optarg
   1311     export $ac_envvar ;;
   1312 
   1313   *)
   1314     # FIXME: should be removed in autoconf 3.0.
   1315     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1316     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1317       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1318     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1319     ;;
   1320 
   1321   esac
   1322 done
   1323 
   1324 if test -n "$ac_prev"; then
   1325   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1326   as_fn_error $? "missing argument to $ac_option"
   1327 fi
   1328 
   1329 if test -n "$ac_unrecognized_opts"; then
   1330   case $enable_option_checking in
   1331     no) ;;
   1332     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1333     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1334   esac
   1335 fi
   1336 
   1337 # Check all directory arguments for consistency.
   1338 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1339 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1340 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1341 		libdir localedir mandir
   1342 do
   1343   eval ac_val=\$$ac_var
   1344   # Remove trailing slashes.
   1345   case $ac_val in
   1346     */ )
   1347       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1348       eval $ac_var=\$ac_val;;
   1349   esac
   1350   # Be sure to have absolute directory names.
   1351   case $ac_val in
   1352     [\\/$]* | ?:[\\/]* )  continue;;
   1353     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1354   esac
   1355   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1356 done
   1357 
   1358 # There might be people who depend on the old broken behavior: `$host'
   1359 # used to hold the argument of --host etc.
   1360 # FIXME: To remove some day.
   1361 build=$build_alias
   1362 host=$host_alias
   1363 target=$target_alias
   1364 
   1365 # FIXME: To remove some day.
   1366 if test "x$host_alias" != x; then
   1367   if test "x$build_alias" = x; then
   1368     cross_compiling=maybe
   1369     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1370     If a cross compiler is detected then cross compile mode will be used" >&2
   1371   elif test "x$build_alias" != "x$host_alias"; then
   1372     cross_compiling=yes
   1373   fi
   1374 fi
   1375 
   1376 ac_tool_prefix=
   1377 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1378 
   1379 test "$silent" = yes && exec 6>/dev/null
   1380 
   1381 
   1382 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1383 ac_ls_di=`ls -di .` &&
   1384 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1385   as_fn_error $? "working directory cannot be determined"
   1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1387   as_fn_error $? "pwd does not report name of working directory"
   1388 
   1389 
   1390 # Find the source files, if location was not specified.
   1391 if test -z "$srcdir"; then
   1392   ac_srcdir_defaulted=yes
   1393   # Try the directory containing this script, then the parent directory.
   1394   ac_confdir=`$as_dirname -- "$as_myself" ||
   1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1396 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1397 	 X"$as_myself" : 'X\(//\)$' \| \
   1398 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1399 $as_echo X"$as_myself" |
   1400     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1401 	    s//\1/
   1402 	    q
   1403 	  }
   1404 	  /^X\(\/\/\)[^/].*/{
   1405 	    s//\1/
   1406 	    q
   1407 	  }
   1408 	  /^X\(\/\/\)$/{
   1409 	    s//\1/
   1410 	    q
   1411 	  }
   1412 	  /^X\(\/\).*/{
   1413 	    s//\1/
   1414 	    q
   1415 	  }
   1416 	  s/.*/./; q'`
   1417   srcdir=$ac_confdir
   1418   if test ! -r "$srcdir/$ac_unique_file"; then
   1419     srcdir=..
   1420   fi
   1421 else
   1422   ac_srcdir_defaulted=no
   1423 fi
   1424 if test ! -r "$srcdir/$ac_unique_file"; then
   1425   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1426   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1427 fi
   1428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1429 ac_abs_confdir=`(
   1430 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1431 	pwd)`
   1432 # When building in place, set srcdir=.
   1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1434   srcdir=.
   1435 fi
   1436 # Remove unnecessary trailing slashes from srcdir.
   1437 # Double slashes in file names in object file debugging info
   1438 # mess up M-x gdb in Emacs.
   1439 case $srcdir in
   1440 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1441 esac
   1442 for ac_var in $ac_precious_vars; do
   1443   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1444   eval ac_env_${ac_var}_value=\$${ac_var}
   1445   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1446   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1447 done
   1448 
   1449 #
   1450 # Report the --help message.
   1451 #
   1452 if test "$ac_init_help" = "long"; then
   1453   # Omit some internal or obsolete options to make the list less imposing.
   1454   # This message is too long to be a string in the A/UX 3.1 sh.
   1455   cat <<_ACEOF
   1456 \`configure' configures MPFR 3.0.1 to adapt to many kinds of systems.
   1457 
   1458 Usage: $0 [OPTION]... [VAR=VALUE]...
   1459 
   1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1461 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1462 
   1463 Defaults for the options are specified in brackets.
   1464 
   1465 Configuration:
   1466   -h, --help              display this help and exit
   1467       --help=short        display options specific to this package
   1468       --help=recursive    display the short help of all the included packages
   1469   -V, --version           display version information and exit
   1470   -q, --quiet, --silent   do not print \`checking ...' messages
   1471       --cache-file=FILE   cache test results in FILE [disabled]
   1472   -C, --config-cache      alias for \`--cache-file=config.cache'
   1473   -n, --no-create         do not create output files
   1474       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1475 
   1476 Installation directories:
   1477   --prefix=PREFIX         install architecture-independent files in PREFIX
   1478                           [$ac_default_prefix]
   1479   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1480                           [PREFIX]
   1481 
   1482 By default, \`make install' will install all the files in
   1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1485 for instance \`--prefix=\$HOME'.
   1486 
   1487 For better control, use the options below.
   1488 
   1489 Fine tuning of the installation directories:
   1490   --bindir=DIR            user executables [EPREFIX/bin]
   1491   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1492   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1493   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1494   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1495   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1496   --libdir=DIR            object code libraries [EPREFIX/lib]
   1497   --includedir=DIR        C header files [PREFIX/include]
   1498   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1499   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1500   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1501   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1502   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1503   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1504   --docdir=DIR            documentation root [DATAROOTDIR/doc/mpfr]
   1505   --htmldir=DIR           html documentation [DOCDIR]
   1506   --dvidir=DIR            dvi documentation [DOCDIR]
   1507   --pdfdir=DIR            pdf documentation [DOCDIR]
   1508   --psdir=DIR             ps documentation [DOCDIR]
   1509 _ACEOF
   1510 
   1511   cat <<\_ACEOF
   1512 
   1513 Program names:
   1514   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1515   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1516   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1517 
   1518 System types:
   1519   --build=BUILD     configure for building on BUILD [guessed]
   1520   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1521 _ACEOF
   1522 fi
   1523 
   1524 if test -n "$ac_init_help"; then
   1525   case $ac_init_help in
   1526      short | recursive ) echo "Configuration of MPFR 3.0.1:";;
   1527    esac
   1528   cat <<\_ACEOF
   1529 
   1530 Optional Features:
   1531   --disable-option-checking  ignore unrecognized --enable/--with options
   1532   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1533   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1534   --disable-maintainer-mode  disable make rules and dependencies not useful
   1535 			  (and sometimes confusing) to the casual installer
   1536   --enable-assert         enable ASSERT checking [default=no]
   1537   --enable-logging        enable MPFR logging (the system must support it)
   1538                           [default=no]
   1539   --enable-thread-safe    build MPFR as thread safe (the system must support
   1540                           it) [default=no]
   1541   --enable-warnings       allow MPFR to output warnings to stderr [default=no]
   1542   --enable-tests-timeout=NUM    enable timeout (NUM seconds) for test programs
   1543                           (NUM <= 9999) [default=no]; if enabled, env variable
   1544                           $MPFR_TESTS_TIMEOUT overrides NUM (0: no timeout).
   1545   --disable-dependency-tracking  speeds up one-time build
   1546   --enable-dependency-tracking   do not reject slow dependency extractors
   1547   --enable-decimal-float  build conversion functions from/to decimal floats
   1548                           [default=no]
   1549   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1550   --enable-static[=PKGS]  build static libraries [default=yes]
   1551   --enable-fast-install[=PKGS]
   1552                           optimize for fast installation [default=yes]
   1553   --disable-libtool-lock  avoid locking (might break parallel builds)
   1554 
   1555 Optional Packages:
   1556   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1557   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1558   --with-gmp-include=DIR  GMP include directory
   1559   --with-gmp-lib=DIR      GMP lib directory
   1560   --with-gmp=DIR          GMP install directory
   1561   --with-gmp-build=DIR    GMP build directory (please read INSTALL file)
   1562   --with-mulhigh-size=NUM internal threshold table for mulhigh
   1563   --with-pic              try to use only PIC/non-PIC objects [default=use
   1564                           both]
   1565   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1566 
   1567 Some influential environment variables:
   1568   CC          C compiler command
   1569   CFLAGS      C compiler flags
   1570   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1571               nonstandard directory <lib dir>
   1572   LIBS        libraries to pass to the linker, e.g. -l<library>
   1573   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1574               you have headers in a nonstandard directory <include dir>
   1575   CPP         C preprocessor
   1576 
   1577 Use these variables to override the choices made by `configure' or to help
   1578 it to find libraries and programs with nonstandard names/locations.
   1579 
   1580 Report bugs to the package provider.
   1581 _ACEOF
   1582 ac_status=$?
   1583 fi
   1584 
   1585 if test "$ac_init_help" = "recursive"; then
   1586   # If there are subdirs, report their specific --help.
   1587   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1588     test -d "$ac_dir" ||
   1589       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1590       continue
   1591     ac_builddir=.
   1592 
   1593 case "$ac_dir" in
   1594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1595 *)
   1596   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1597   # A ".." for each directory in $ac_dir_suffix.
   1598   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1599   case $ac_top_builddir_sub in
   1600   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1601   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1602   esac ;;
   1603 esac
   1604 ac_abs_top_builddir=$ac_pwd
   1605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1606 # for backward compatibility:
   1607 ac_top_builddir=$ac_top_build_prefix
   1608 
   1609 case $srcdir in
   1610   .)  # We are building in place.
   1611     ac_srcdir=.
   1612     ac_top_srcdir=$ac_top_builddir_sub
   1613     ac_abs_top_srcdir=$ac_pwd ;;
   1614   [\\/]* | ?:[\\/]* )  # Absolute name.
   1615     ac_srcdir=$srcdir$ac_dir_suffix;
   1616     ac_top_srcdir=$srcdir
   1617     ac_abs_top_srcdir=$srcdir ;;
   1618   *) # Relative name.
   1619     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1620     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1621     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1622 esac
   1623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1624 
   1625     cd "$ac_dir" || { ac_status=$?; continue; }
   1626     # Check for guested configure.
   1627     if test -f "$ac_srcdir/configure.gnu"; then
   1628       echo &&
   1629       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1630     elif test -f "$ac_srcdir/configure"; then
   1631       echo &&
   1632       $SHELL "$ac_srcdir/configure" --help=recursive
   1633     else
   1634       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1635     fi || ac_status=$?
   1636     cd "$ac_pwd" || { ac_status=$?; break; }
   1637   done
   1638 fi
   1639 
   1640 test -n "$ac_init_help" && exit $ac_status
   1641 if $ac_init_version; then
   1642   cat <<\_ACEOF
   1643 MPFR configure 3.0.1
   1644 generated by GNU Autoconf 2.67
   1645 
   1646 Copyright (C) 2010 Free Software Foundation, Inc.
   1647 This configure script is free software; the Free Software Foundation
   1648 gives unlimited permission to copy, distribute and modify it.
   1649 
   1650 
   1651 Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
   1652 Contributed by the Arenaire and Cacao projects, INRIA.
   1653 
   1654 This file is part of the GNU MPFR Library.
   1655 
   1656 The GNU MPFR Library is free software; you can redistribute it and/or modify
   1657 it under the terms of the GNU Lesser General Public License as published
   1658 by the Free Software Foundation; either version 3 of the License, or (at
   1659 your option) any later version.
   1660 
   1661 The GNU MPFR Library is distributed in the hope that it will be useful, but
   1662 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   1663 or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
   1664 License for more details.
   1665 
   1666 You should have received a copy of the GNU Lesser General Public License
   1667 along with the GNU MPFR Library; see the file COPYING.LESSER.  If not, see
   1668 http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
   1669 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
   1670 
   1671 _ACEOF
   1672   exit
   1673 fi
   1674 
   1675 ## ------------------------ ##
   1676 ## Autoconf initialization. ##
   1677 ## ------------------------ ##
   1678 
   1679 # ac_fn_c_try_compile LINENO
   1680 # --------------------------
   1681 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1682 ac_fn_c_try_compile ()
   1683 {
   1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1685   rm -f conftest.$ac_objext
   1686   if { { ac_try="$ac_compile"
   1687 case "(($ac_try" in
   1688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1689   *) ac_try_echo=$ac_try;;
   1690 esac
   1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1692 $as_echo "$ac_try_echo"; } >&5
   1693   (eval "$ac_compile") 2>conftest.err
   1694   ac_status=$?
   1695   if test -s conftest.err; then
   1696     grep -v '^ *+' conftest.err >conftest.er1
   1697     cat conftest.er1 >&5
   1698     mv -f conftest.er1 conftest.err
   1699   fi
   1700   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1701   test $ac_status = 0; } && {
   1702 	 test -z "$ac_c_werror_flag" ||
   1703 	 test ! -s conftest.err
   1704        } && test -s conftest.$ac_objext; then :
   1705   ac_retval=0
   1706 else
   1707   $as_echo "$as_me: failed program was:" >&5
   1708 sed 's/^/| /' conftest.$ac_ext >&5
   1709 
   1710 	ac_retval=1
   1711 fi
   1712   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1713   as_fn_set_status $ac_retval
   1714 
   1715 } # ac_fn_c_try_compile
   1716 
   1717 # ac_fn_c_try_cpp LINENO
   1718 # ----------------------
   1719 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1720 ac_fn_c_try_cpp ()
   1721 {
   1722   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1723   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1724 case "(($ac_try" in
   1725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1726   *) ac_try_echo=$ac_try;;
   1727 esac
   1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1729 $as_echo "$ac_try_echo"; } >&5
   1730   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1731   ac_status=$?
   1732   if test -s conftest.err; then
   1733     grep -v '^ *+' conftest.err >conftest.er1
   1734     cat conftest.er1 >&5
   1735     mv -f conftest.er1 conftest.err
   1736   fi
   1737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1738   test $ac_status = 0; } > conftest.i && {
   1739 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1740 	 test ! -s conftest.err
   1741        }; then :
   1742   ac_retval=0
   1743 else
   1744   $as_echo "$as_me: failed program was:" >&5
   1745 sed 's/^/| /' conftest.$ac_ext >&5
   1746 
   1747     ac_retval=1
   1748 fi
   1749   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1750   as_fn_set_status $ac_retval
   1751 
   1752 } # ac_fn_c_try_cpp
   1753 
   1754 # ac_fn_c_try_run LINENO
   1755 # ----------------------
   1756 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1757 # that executables *can* be run.
   1758 ac_fn_c_try_run ()
   1759 {
   1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1761   if { { ac_try="$ac_link"
   1762 case "(($ac_try" in
   1763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1764   *) ac_try_echo=$ac_try;;
   1765 esac
   1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1767 $as_echo "$ac_try_echo"; } >&5
   1768   (eval "$ac_link") 2>&5
   1769   ac_status=$?
   1770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1771   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1772   { { case "(($ac_try" in
   1773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1774   *) ac_try_echo=$ac_try;;
   1775 esac
   1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1777 $as_echo "$ac_try_echo"; } >&5
   1778   (eval "$ac_try") 2>&5
   1779   ac_status=$?
   1780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1781   test $ac_status = 0; }; }; then :
   1782   ac_retval=0
   1783 else
   1784   $as_echo "$as_me: program exited with status $ac_status" >&5
   1785        $as_echo "$as_me: failed program was:" >&5
   1786 sed 's/^/| /' conftest.$ac_ext >&5
   1787 
   1788        ac_retval=$ac_status
   1789 fi
   1790   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1791   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1792   as_fn_set_status $ac_retval
   1793 
   1794 } # ac_fn_c_try_run
   1795 
   1796 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1797 # -------------------------------------------------------
   1798 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1799 # the include files in INCLUDES and setting the cache variable VAR
   1800 # accordingly.
   1801 ac_fn_c_check_header_mongrel ()
   1802 {
   1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1804   if eval "test \"\${$3+set}\"" = set; then :
   1805   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1806 $as_echo_n "checking for $2... " >&6; }
   1807 if eval "test \"\${$3+set}\"" = set; then :
   1808   $as_echo_n "(cached) " >&6
   1809 fi
   1810 eval ac_res=\$$3
   1811 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1812 $as_echo "$ac_res" >&6; }
   1813 else
   1814   # Is the header compilable?
   1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1816 $as_echo_n "checking $2 usability... " >&6; }
   1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1818 /* end confdefs.h.  */
   1819 $4
   1820 #include <$2>
   1821 _ACEOF
   1822 if ac_fn_c_try_compile "$LINENO"; then :
   1823   ac_header_compiler=yes
   1824 else
   1825   ac_header_compiler=no
   1826 fi
   1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1829 $as_echo "$ac_header_compiler" >&6; }
   1830 
   1831 # Is the header present?
   1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1833 $as_echo_n "checking $2 presence... " >&6; }
   1834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1835 /* end confdefs.h.  */
   1836 #include <$2>
   1837 _ACEOF
   1838 if ac_fn_c_try_cpp "$LINENO"; then :
   1839   ac_header_preproc=yes
   1840 else
   1841   ac_header_preproc=no
   1842 fi
   1843 rm -f conftest.err conftest.i conftest.$ac_ext
   1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1845 $as_echo "$ac_header_preproc" >&6; }
   1846 
   1847 # So?  What about this header?
   1848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1849   yes:no: )
   1850     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1851 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&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     ;;
   1855   no:yes:* )
   1856     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1857 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1858     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1859 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1860     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1861 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1862     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1863 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1864     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1865 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1866     ;;
   1867 esac
   1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1869 $as_echo_n "checking for $2... " >&6; }
   1870 if eval "test \"\${$3+set}\"" = set; then :
   1871   $as_echo_n "(cached) " >&6
   1872 else
   1873   eval "$3=\$ac_header_compiler"
   1874 fi
   1875 eval ac_res=\$$3
   1876 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1877 $as_echo "$ac_res" >&6; }
   1878 fi
   1879   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1880 
   1881 } # ac_fn_c_check_header_mongrel
   1882 
   1883 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1884 # -------------------------------------------------------
   1885 # Tests whether HEADER exists and can be compiled using the include files in
   1886 # INCLUDES, setting the cache variable VAR accordingly.
   1887 ac_fn_c_check_header_compile ()
   1888 {
   1889   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1891 $as_echo_n "checking for $2... " >&6; }
   1892 if eval "test \"\${$3+set}\"" = set; then :
   1893   $as_echo_n "(cached) " >&6
   1894 else
   1895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1896 /* end confdefs.h.  */
   1897 $4
   1898 #include <$2>
   1899 _ACEOF
   1900 if ac_fn_c_try_compile "$LINENO"; then :
   1901   eval "$3=yes"
   1902 else
   1903   eval "$3=no"
   1904 fi
   1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1906 fi
   1907 eval ac_res=\$$3
   1908 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1909 $as_echo "$ac_res" >&6; }
   1910   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1911 
   1912 } # ac_fn_c_check_header_compile
   1913 
   1914 # ac_fn_c_try_link LINENO
   1915 # -----------------------
   1916 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1917 ac_fn_c_try_link ()
   1918 {
   1919   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1920   rm -f conftest.$ac_objext conftest$ac_exeext
   1921   if { { ac_try="$ac_link"
   1922 case "(($ac_try" in
   1923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1924   *) ac_try_echo=$ac_try;;
   1925 esac
   1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1927 $as_echo "$ac_try_echo"; } >&5
   1928   (eval "$ac_link") 2>conftest.err
   1929   ac_status=$?
   1930   if test -s conftest.err; then
   1931     grep -v '^ *+' conftest.err >conftest.er1
   1932     cat conftest.er1 >&5
   1933     mv -f conftest.er1 conftest.err
   1934   fi
   1935   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1936   test $ac_status = 0; } && {
   1937 	 test -z "$ac_c_werror_flag" ||
   1938 	 test ! -s conftest.err
   1939        } && test -s conftest$ac_exeext && {
   1940 	 test "$cross_compiling" = yes ||
   1941 	 $as_test_x conftest$ac_exeext
   1942        }; then :
   1943   ac_retval=0
   1944 else
   1945   $as_echo "$as_me: failed program was:" >&5
   1946 sed 's/^/| /' conftest.$ac_ext >&5
   1947 
   1948 	ac_retval=1
   1949 fi
   1950   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1951   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1952   # interfere with the next link command; also delete a directory that is
   1953   # left behind by Apple's compiler.  We do this before executing the actions.
   1954   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1955   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   1956   as_fn_set_status $ac_retval
   1957 
   1958 } # ac_fn_c_try_link
   1959 
   1960 # ac_fn_c_check_func LINENO FUNC VAR
   1961 # ----------------------------------
   1962 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1963 ac_fn_c_check_func ()
   1964 {
   1965   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1966   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1967 $as_echo_n "checking for $2... " >&6; }
   1968 if eval "test \"\${$3+set}\"" = set; then :
   1969   $as_echo_n "(cached) " >&6
   1970 else
   1971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1972 /* end confdefs.h.  */
   1973 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1975 #define $2 innocuous_$2
   1976 
   1977 /* System header to define __stub macros and hopefully few prototypes,
   1978     which can conflict with char $2 (); below.
   1979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1980     <limits.h> exists even on freestanding compilers.  */
   1981 
   1982 #ifdef __STDC__
   1983 # include <limits.h>
   1984 #else
   1985 # include <assert.h>
   1986 #endif
   1987 
   1988 #undef $2
   1989 
   1990 /* Override any GCC internal prototype to avoid an error.
   1991    Use char because int might match the return type of a GCC
   1992    builtin and then its argument prototype would still apply.  */
   1993 #ifdef __cplusplus
   1994 extern "C"
   1995 #endif
   1996 char $2 ();
   1997 /* The GNU C library defines this for functions which it implements
   1998     to always fail with ENOSYS.  Some functions are actually named
   1999     something starting with __ and the normal name is an alias.  */
   2000 #if defined __stub_$2 || defined __stub___$2
   2001 choke me
   2002 #endif
   2003 
   2004 int
   2005 main ()
   2006 {
   2007 return $2 ();
   2008   ;
   2009   return 0;
   2010 }
   2011 _ACEOF
   2012 if ac_fn_c_try_link "$LINENO"; then :
   2013   eval "$3=yes"
   2014 else
   2015   eval "$3=no"
   2016 fi
   2017 rm -f core conftest.err conftest.$ac_objext \
   2018     conftest$ac_exeext conftest.$ac_ext
   2019 fi
   2020 eval ac_res=\$$3
   2021 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2022 $as_echo "$ac_res" >&6; }
   2023   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2024 
   2025 } # ac_fn_c_check_func
   2026 
   2027 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2028 # --------------------------------------------
   2029 # Tries to find the compile-time value of EXPR in a program that includes
   2030 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2031 # computed
   2032 ac_fn_c_compute_int ()
   2033 {
   2034   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2035   if test "$cross_compiling" = yes; then
   2036     # Depending upon the size, compute the lo and hi bounds.
   2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2038 /* end confdefs.h.  */
   2039 $4
   2040 int
   2041 main ()
   2042 {
   2043 static int test_array [1 - 2 * !(($2) >= 0)];
   2044 test_array [0] = 0
   2045 
   2046   ;
   2047   return 0;
   2048 }
   2049 _ACEOF
   2050 if ac_fn_c_try_compile "$LINENO"; then :
   2051   ac_lo=0 ac_mid=0
   2052   while :; do
   2053     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2054 /* end confdefs.h.  */
   2055 $4
   2056 int
   2057 main ()
   2058 {
   2059 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2060 test_array [0] = 0
   2061 
   2062   ;
   2063   return 0;
   2064 }
   2065 _ACEOF
   2066 if ac_fn_c_try_compile "$LINENO"; then :
   2067   ac_hi=$ac_mid; break
   2068 else
   2069   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2070 			if test $ac_lo -le $ac_mid; then
   2071 			  ac_lo= ac_hi=
   2072 			  break
   2073 			fi
   2074 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2075 fi
   2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2077   done
   2078 else
   2079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2080 /* end confdefs.h.  */
   2081 $4
   2082 int
   2083 main ()
   2084 {
   2085 static int test_array [1 - 2 * !(($2) < 0)];
   2086 test_array [0] = 0
   2087 
   2088   ;
   2089   return 0;
   2090 }
   2091 _ACEOF
   2092 if ac_fn_c_try_compile "$LINENO"; then :
   2093   ac_hi=-1 ac_mid=-1
   2094   while :; do
   2095     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2096 /* end confdefs.h.  */
   2097 $4
   2098 int
   2099 main ()
   2100 {
   2101 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2102 test_array [0] = 0
   2103 
   2104   ;
   2105   return 0;
   2106 }
   2107 _ACEOF
   2108 if ac_fn_c_try_compile "$LINENO"; then :
   2109   ac_lo=$ac_mid; break
   2110 else
   2111   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2112 			if test $ac_mid -le $ac_hi; then
   2113 			  ac_lo= ac_hi=
   2114 			  break
   2115 			fi
   2116 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2117 fi
   2118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2119   done
   2120 else
   2121   ac_lo= ac_hi=
   2122 fi
   2123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2124 fi
   2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2126 # Binary search between lo and hi bounds.
   2127 while test "x$ac_lo" != "x$ac_hi"; do
   2128   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2130 /* end confdefs.h.  */
   2131 $4
   2132 int
   2133 main ()
   2134 {
   2135 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2136 test_array [0] = 0
   2137 
   2138   ;
   2139   return 0;
   2140 }
   2141 _ACEOF
   2142 if ac_fn_c_try_compile "$LINENO"; then :
   2143   ac_hi=$ac_mid
   2144 else
   2145   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2146 fi
   2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2148 done
   2149 case $ac_lo in #((
   2150 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2151 '') ac_retval=1 ;;
   2152 esac
   2153   else
   2154     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2155 /* end confdefs.h.  */
   2156 $4
   2157 static long int longval () { return $2; }
   2158 static unsigned long int ulongval () { return $2; }
   2159 #include <stdio.h>
   2160 #include <stdlib.h>
   2161 int
   2162 main ()
   2163 {
   2164 
   2165   FILE *f = fopen ("conftest.val", "w");
   2166   if (! f)
   2167     return 1;
   2168   if (($2) < 0)
   2169     {
   2170       long int i = longval ();
   2171       if (i != ($2))
   2172 	return 1;
   2173       fprintf (f, "%ld", i);
   2174     }
   2175   else
   2176     {
   2177       unsigned long int i = ulongval ();
   2178       if (i != ($2))
   2179 	return 1;
   2180       fprintf (f, "%lu", i);
   2181     }
   2182   /* Do not output a trailing newline, as this causes \r\n confusion
   2183      on some platforms.  */
   2184   return ferror (f) || fclose (f) != 0;
   2185 
   2186   ;
   2187   return 0;
   2188 }
   2189 _ACEOF
   2190 if ac_fn_c_try_run "$LINENO"; then :
   2191   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2192 else
   2193   ac_retval=1
   2194 fi
   2195 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2196   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2197 rm -f conftest.val
   2198 
   2199   fi
   2200   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2201   as_fn_set_status $ac_retval
   2202 
   2203 } # ac_fn_c_compute_int
   2204 
   2205 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2206 # -------------------------------------------
   2207 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2208 # variable VAR accordingly.
   2209 ac_fn_c_check_type ()
   2210 {
   2211   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2213 $as_echo_n "checking for $2... " >&6; }
   2214 if eval "test \"\${$3+set}\"" = set; then :
   2215   $as_echo_n "(cached) " >&6
   2216 else
   2217   eval "$3=no"
   2218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2219 /* end confdefs.h.  */
   2220 $4
   2221 int
   2222 main ()
   2223 {
   2224 if (sizeof ($2))
   2225 	 return 0;
   2226   ;
   2227   return 0;
   2228 }
   2229 _ACEOF
   2230 if ac_fn_c_try_compile "$LINENO"; then :
   2231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2232 /* end confdefs.h.  */
   2233 $4
   2234 int
   2235 main ()
   2236 {
   2237 if (sizeof (($2)))
   2238 	    return 0;
   2239   ;
   2240   return 0;
   2241 }
   2242 _ACEOF
   2243 if ac_fn_c_try_compile "$LINENO"; then :
   2244 
   2245 else
   2246   eval "$3=yes"
   2247 fi
   2248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2249 fi
   2250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2251 fi
   2252 eval ac_res=\$$3
   2253 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2254 $as_echo "$ac_res" >&6; }
   2255   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
   2256 
   2257 } # ac_fn_c_check_type
   2258 cat >config.log <<_ACEOF
   2259 This file contains any messages produced by compilers while
   2260 running configure, to aid debugging if configure makes a mistake.
   2261 
   2262 It was created by MPFR $as_me 3.0.1, which was
   2263 generated by GNU Autoconf 2.67.  Invocation command line was
   2264 
   2265   $ $0 $@
   2266 
   2267 _ACEOF
   2268 exec 5>>config.log
   2269 {
   2270 cat <<_ASUNAME
   2271 ## --------- ##
   2272 ## Platform. ##
   2273 ## --------- ##
   2274 
   2275 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2276 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2277 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2278 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2279 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2280 
   2281 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2282 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2283 
   2284 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2285 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2286 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2287 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2288 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2289 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2290 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2291 
   2292 _ASUNAME
   2293 
   2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2295 for as_dir in $PATH
   2296 do
   2297   IFS=$as_save_IFS
   2298   test -z "$as_dir" && as_dir=.
   2299     $as_echo "PATH: $as_dir"
   2300   done
   2301 IFS=$as_save_IFS
   2302 
   2303 } >&5
   2304 
   2305 cat >&5 <<_ACEOF
   2306 
   2307 
   2308 ## ----------- ##
   2309 ## Core tests. ##
   2310 ## ----------- ##
   2311 
   2312 _ACEOF
   2313 
   2314 
   2315 # Keep a trace of the command line.
   2316 # Strip out --no-create and --no-recursion so they do not pile up.
   2317 # Strip out --silent because we don't want to record it for future runs.
   2318 # Also quote any args containing shell meta-characters.
   2319 # Make two passes to allow for proper duplicate-argument suppression.
   2320 ac_configure_args=
   2321 ac_configure_args0=
   2322 ac_configure_args1=
   2323 ac_must_keep_next=false
   2324 for ac_pass in 1 2
   2325 do
   2326   for ac_arg
   2327   do
   2328     case $ac_arg in
   2329     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2330     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2331     | -silent | --silent | --silen | --sile | --sil)
   2332       continue ;;
   2333     *\'*)
   2334       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2335     esac
   2336     case $ac_pass in
   2337     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2338     2)
   2339       as_fn_append ac_configure_args1 " '$ac_arg'"
   2340       if test $ac_must_keep_next = true; then
   2341 	ac_must_keep_next=false # Got value, back to normal.
   2342       else
   2343 	case $ac_arg in
   2344 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2345 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2346 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2347 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2348 	    case "$ac_configure_args0 " in
   2349 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2350 	    esac
   2351 	    ;;
   2352 	  -* ) ac_must_keep_next=true ;;
   2353 	esac
   2354       fi
   2355       as_fn_append ac_configure_args " '$ac_arg'"
   2356       ;;
   2357     esac
   2358   done
   2359 done
   2360 { ac_configure_args0=; unset ac_configure_args0;}
   2361 { ac_configure_args1=; unset ac_configure_args1;}
   2362 
   2363 # When interrupted or exit'd, cleanup temporary files, and complete
   2364 # config.log.  We remove comments because anyway the quotes in there
   2365 # would cause problems or look ugly.
   2366 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2367 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2368 trap 'exit_status=$?
   2369   # Save into config.log some information that might help in debugging.
   2370   {
   2371     echo
   2372 
   2373     $as_echo "## ---------------- ##
   2374 ## Cache variables. ##
   2375 ## ---------------- ##"
   2376     echo
   2377     # The following way of writing the cache mishandles newlines in values,
   2378 (
   2379   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2380     eval ac_val=\$$ac_var
   2381     case $ac_val in #(
   2382     *${as_nl}*)
   2383       case $ac_var in #(
   2384       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2385 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2386       esac
   2387       case $ac_var in #(
   2388       _ | IFS | as_nl) ;; #(
   2389       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2390       *) { eval $ac_var=; unset $ac_var;} ;;
   2391       esac ;;
   2392     esac
   2393   done
   2394   (set) 2>&1 |
   2395     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2396     *${as_nl}ac_space=\ *)
   2397       sed -n \
   2398 	"s/'\''/'\''\\\\'\'''\''/g;
   2399 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2400       ;; #(
   2401     *)
   2402       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2403       ;;
   2404     esac |
   2405     sort
   2406 )
   2407     echo
   2408 
   2409     $as_echo "## ----------------- ##
   2410 ## Output variables. ##
   2411 ## ----------------- ##"
   2412     echo
   2413     for ac_var in $ac_subst_vars
   2414     do
   2415       eval ac_val=\$$ac_var
   2416       case $ac_val in
   2417       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2418       esac
   2419       $as_echo "$ac_var='\''$ac_val'\''"
   2420     done | sort
   2421     echo
   2422 
   2423     if test -n "$ac_subst_files"; then
   2424       $as_echo "## ------------------- ##
   2425 ## File substitutions. ##
   2426 ## ------------------- ##"
   2427       echo
   2428       for ac_var in $ac_subst_files
   2429       do
   2430 	eval ac_val=\$$ac_var
   2431 	case $ac_val in
   2432 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2433 	esac
   2434 	$as_echo "$ac_var='\''$ac_val'\''"
   2435       done | sort
   2436       echo
   2437     fi
   2438 
   2439     if test -s confdefs.h; then
   2440       $as_echo "## ----------- ##
   2441 ## confdefs.h. ##
   2442 ## ----------- ##"
   2443       echo
   2444       cat confdefs.h
   2445       echo
   2446     fi
   2447     test "$ac_signal" != 0 &&
   2448       $as_echo "$as_me: caught signal $ac_signal"
   2449     $as_echo "$as_me: exit $exit_status"
   2450   } >&5
   2451   rm -f core *.core core.conftest.* &&
   2452     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2453     exit $exit_status
   2454 ' 0
   2455 for ac_signal in 1 2 13 15; do
   2456   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2457 done
   2458 ac_signal=0
   2459 
   2460 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2461 rm -f -r conftest* confdefs.h
   2462 
   2463 $as_echo "/* confdefs.h */" > confdefs.h
   2464 
   2465 # Predefined preprocessor variables.
   2466 
   2467 cat >>confdefs.h <<_ACEOF
   2468 #define PACKAGE_NAME "$PACKAGE_NAME"
   2469 _ACEOF
   2470 
   2471 cat >>confdefs.h <<_ACEOF
   2472 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2473 _ACEOF
   2474 
   2475 cat >>confdefs.h <<_ACEOF
   2476 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2477 _ACEOF
   2478 
   2479 cat >>confdefs.h <<_ACEOF
   2480 #define PACKAGE_STRING "$PACKAGE_STRING"
   2481 _ACEOF
   2482 
   2483 cat >>confdefs.h <<_ACEOF
   2484 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2485 _ACEOF
   2486 
   2487 cat >>confdefs.h <<_ACEOF
   2488 #define PACKAGE_URL "$PACKAGE_URL"
   2489 _ACEOF
   2490 
   2491 
   2492 # Let the site file select an alternate cache file if it wants to.
   2493 # Prefer an explicitly selected file to automatically selected ones.
   2494 ac_site_file1=NONE
   2495 ac_site_file2=NONE
   2496 if test -n "$CONFIG_SITE"; then
   2497   # We do not want a PATH search for config.site.
   2498   case $CONFIG_SITE in #((
   2499     -*)  ac_site_file1=./$CONFIG_SITE;;
   2500     */*) ac_site_file1=$CONFIG_SITE;;
   2501     *)   ac_site_file1=./$CONFIG_SITE;;
   2502   esac
   2503 elif test "x$prefix" != xNONE; then
   2504   ac_site_file1=$prefix/share/config.site
   2505   ac_site_file2=$prefix/etc/config.site
   2506 else
   2507   ac_site_file1=$ac_default_prefix/share/config.site
   2508   ac_site_file2=$ac_default_prefix/etc/config.site
   2509 fi
   2510 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2511 do
   2512   test "x$ac_site_file" = xNONE && continue
   2513   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2514     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2515 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2516     sed 's/^/| /' "$ac_site_file" >&5
   2517     . "$ac_site_file" \
   2518       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2520 as_fn_error $? "failed to load site script $ac_site_file
   2521 See \`config.log' for more details" "$LINENO" 5 ; }
   2522   fi
   2523 done
   2524 
   2525 if test -r "$cache_file"; then
   2526   # Some versions of bash will fail to source /dev/null (special files
   2527   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2528   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2529     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2530 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2531     case $cache_file in
   2532       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2533       *)                      . "./$cache_file";;
   2534     esac
   2535   fi
   2536 else
   2537   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2538 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2539   >$cache_file
   2540 fi
   2541 
   2542 # Check that the precious variables saved in the cache have kept the same
   2543 # value.
   2544 ac_cache_corrupted=false
   2545 for ac_var in $ac_precious_vars; do
   2546   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2547   eval ac_new_set=\$ac_env_${ac_var}_set
   2548   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2549   eval ac_new_val=\$ac_env_${ac_var}_value
   2550   case $ac_old_set,$ac_new_set in
   2551     set,)
   2552       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2553 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2554       ac_cache_corrupted=: ;;
   2555     ,set)
   2556       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2557 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2558       ac_cache_corrupted=: ;;
   2559     ,);;
   2560     *)
   2561       if test "x$ac_old_val" != "x$ac_new_val"; then
   2562 	# differences in whitespace do not lead to failure.
   2563 	ac_old_val_w=`echo x $ac_old_val`
   2564 	ac_new_val_w=`echo x $ac_new_val`
   2565 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2566 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2567 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2568 	  ac_cache_corrupted=:
   2569 	else
   2570 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2571 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2572 	  eval $ac_var=\$ac_old_val
   2573 	fi
   2574 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2575 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2576 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2577 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2578       fi;;
   2579   esac
   2580   # Pass precious variables to config.status.
   2581   if test "$ac_new_set" = set; then
   2582     case $ac_new_val in
   2583     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2584     *) ac_arg=$ac_var=$ac_new_val ;;
   2585     esac
   2586     case " $ac_configure_args " in
   2587       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2588       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2589     esac
   2590   fi
   2591 done
   2592 if $ac_cache_corrupted; then
   2593   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2596 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2597   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2598 fi
   2599 ## -------------------- ##
   2600 ## Main body of script. ##
   2601 ## -------------------- ##
   2602 
   2603 ac_ext=c
   2604 ac_cpp='$CPP $CPPFLAGS'
   2605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2608 
   2609 
   2610 
   2611 am__api_version='1.11'
   2612 
   2613 ac_aux_dir=
   2614 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2615   if test -f "$ac_dir/install-sh"; then
   2616     ac_aux_dir=$ac_dir
   2617     ac_install_sh="$ac_aux_dir/install-sh -c"
   2618     break
   2619   elif test -f "$ac_dir/install.sh"; then
   2620     ac_aux_dir=$ac_dir
   2621     ac_install_sh="$ac_aux_dir/install.sh -c"
   2622     break
   2623   elif test -f "$ac_dir/shtool"; then
   2624     ac_aux_dir=$ac_dir
   2625     ac_install_sh="$ac_aux_dir/shtool install -c"
   2626     break
   2627   fi
   2628 done
   2629 if test -z "$ac_aux_dir"; then
   2630   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2631 fi
   2632 
   2633 # These three variables are undocumented and unsupported,
   2634 # and are intended to be withdrawn in a future Autoconf release.
   2635 # They can cause serious problems if a builder's source tree is in a directory
   2636 # whose full name contains unusual characters.
   2637 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2638 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2639 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2640 
   2641 
   2642 # Find a good install program.  We prefer a C program (faster),
   2643 # so one script is as good as another.  But avoid the broken or
   2644 # incompatible versions:
   2645 # SysV /etc/install, /usr/sbin/install
   2646 # SunOS /usr/etc/install
   2647 # IRIX /sbin/install
   2648 # AIX /bin/install
   2649 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2650 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2651 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2652 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2653 # OS/2's system install, which has a completely different semantic
   2654 # ./install, which can be erroneously created by make from ./install.sh.
   2655 # Reject install programs that cannot install multiple files.
   2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2657 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2658 if test -z "$INSTALL"; then
   2659 if test "${ac_cv_path_install+set}" = set; then :
   2660   $as_echo_n "(cached) " >&6
   2661 else
   2662   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2663 for as_dir in $PATH
   2664 do
   2665   IFS=$as_save_IFS
   2666   test -z "$as_dir" && as_dir=.
   2667     # Account for people who put trailing slashes in PATH elements.
   2668 case $as_dir/ in #((
   2669   ./ | .// | /[cC]/* | \
   2670   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2671   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2672   /usr/ucb/* ) ;;
   2673   *)
   2674     # OSF1 and SCO ODT 3.0 have their own names for install.
   2675     # Don't use installbsd from OSF since it installs stuff as root
   2676     # by default.
   2677     for ac_prog in ginstall scoinst install; do
   2678       for ac_exec_ext in '' $ac_executable_extensions; do
   2679 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2680 	  if test $ac_prog = install &&
   2681 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2682 	    # AIX install.  It has an incompatible calling convention.
   2683 	    :
   2684 	  elif test $ac_prog = install &&
   2685 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2686 	    # program-specific install script used by HP pwplus--don't use.
   2687 	    :
   2688 	  else
   2689 	    rm -rf conftest.one conftest.two conftest.dir
   2690 	    echo one > conftest.one
   2691 	    echo two > conftest.two
   2692 	    mkdir conftest.dir
   2693 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2694 	      test -s conftest.one && test -s conftest.two &&
   2695 	      test -s conftest.dir/conftest.one &&
   2696 	      test -s conftest.dir/conftest.two
   2697 	    then
   2698 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2699 	      break 3
   2700 	    fi
   2701 	  fi
   2702 	fi
   2703       done
   2704     done
   2705     ;;
   2706 esac
   2707 
   2708   done
   2709 IFS=$as_save_IFS
   2710 
   2711 rm -rf conftest.one conftest.two conftest.dir
   2712 
   2713 fi
   2714   if test "${ac_cv_path_install+set}" = set; then
   2715     INSTALL=$ac_cv_path_install
   2716   else
   2717     # As a last resort, use the slow shell script.  Don't cache a
   2718     # value for INSTALL within a source directory, because that will
   2719     # break other packages using the cache if that directory is
   2720     # removed, or if the value is a relative name.
   2721     INSTALL=$ac_install_sh
   2722   fi
   2723 fi
   2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2725 $as_echo "$INSTALL" >&6; }
   2726 
   2727 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2728 # It thinks the first close brace ends the variable substitution.
   2729 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2730 
   2731 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2732 
   2733 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2734 
   2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2736 $as_echo_n "checking whether build environment is sane... " >&6; }
   2737 # Just in case
   2738 sleep 1
   2739 echo timestamp > conftest.file
   2740 # Reject unsafe characters in $srcdir or the absolute working directory
   2741 # name.  Accept space and tab only in the latter.
   2742 am_lf='
   2743 '
   2744 case `pwd` in
   2745   *[\\\"\#\$\&\'\`$am_lf]*)
   2746     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
   2747 esac
   2748 case $srcdir in
   2749   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2750     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
   2751 esac
   2752 
   2753 # Do `set' in a subshell so we don't clobber the current shell's
   2754 # arguments.  Must try -L first in case configure is actually a
   2755 # symlink; some systems play weird games with the mod time of symlinks
   2756 # (eg FreeBSD returns the mod time of the symlink's containing
   2757 # directory).
   2758 if (
   2759    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2760    if test "$*" = "X"; then
   2761       # -L didn't work.
   2762       set X `ls -t "$srcdir/configure" conftest.file`
   2763    fi
   2764    rm -f conftest.file
   2765    if test "$*" != "X $srcdir/configure conftest.file" \
   2766       && test "$*" != "X conftest.file $srcdir/configure"; then
   2767 
   2768       # If neither matched, then we have a broken ls.  This can happen
   2769       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2770       # broken ls alias from the environment.  This has actually
   2771       # happened.  Such a system could not be considered "sane".
   2772       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2773 alias in your environment" "$LINENO" 5
   2774    fi
   2775 
   2776    test "$2" = conftest.file
   2777    )
   2778 then
   2779    # Ok.
   2780    :
   2781 else
   2782    as_fn_error $? "newly created file is older than distributed files!
   2783 Check your system clock" "$LINENO" 5
   2784 fi
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2786 $as_echo "yes" >&6; }
   2787 test "$program_prefix" != NONE &&
   2788   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2789 # Use a double $ so make ignores it.
   2790 test "$program_suffix" != NONE &&
   2791   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2792 # Double any \ or $.
   2793 # By default was `s,x,x', remove it if useless.
   2794 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2795 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2796 
   2797 # expand $ac_aux_dir to an absolute path
   2798 am_aux_dir=`cd $ac_aux_dir && pwd`
   2799 
   2800 if test x"${MISSING+set}" != xset; then
   2801   case $am_aux_dir in
   2802   *\ * | *\	*)
   2803     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2804   *)
   2805     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2806   esac
   2807 fi
   2808 # Use eval to expand $SHELL
   2809 if eval "$MISSING --run true"; then
   2810   am_missing_run="$MISSING --run "
   2811 else
   2812   am_missing_run=
   2813   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2814 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2815 fi
   2816 
   2817 if test x"${install_sh}" != xset; then
   2818   case $am_aux_dir in
   2819   *\ * | *\	*)
   2820     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2821   *)
   2822     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2823   esac
   2824 fi
   2825 
   2826 # Installed binaries are usually stripped using `strip' when the user
   2827 # run `make install-strip'.  However `strip' might not be the right
   2828 # tool to use in cross-compilation environments, therefore Automake
   2829 # will honor the `STRIP' environment variable to overrule this program.
   2830 if test "$cross_compiling" != no; then
   2831   if test -n "$ac_tool_prefix"; then
   2832   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2833 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2835 $as_echo_n "checking for $ac_word... " >&6; }
   2836 if test "${ac_cv_prog_STRIP+set}" = set; then :
   2837   $as_echo_n "(cached) " >&6
   2838 else
   2839   if test -n "$STRIP"; then
   2840   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2841 else
   2842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2843 for as_dir in $PATH
   2844 do
   2845   IFS=$as_save_IFS
   2846   test -z "$as_dir" && as_dir=.
   2847     for ac_exec_ext in '' $ac_executable_extensions; do
   2848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2849     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2851     break 2
   2852   fi
   2853 done
   2854   done
   2855 IFS=$as_save_IFS
   2856 
   2857 fi
   2858 fi
   2859 STRIP=$ac_cv_prog_STRIP
   2860 if test -n "$STRIP"; then
   2861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2862 $as_echo "$STRIP" >&6; }
   2863 else
   2864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2865 $as_echo "no" >&6; }
   2866 fi
   2867 
   2868 
   2869 fi
   2870 if test -z "$ac_cv_prog_STRIP"; then
   2871   ac_ct_STRIP=$STRIP
   2872   # Extract the first word of "strip", so it can be a program name with args.
   2873 set dummy strip; ac_word=$2
   2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2875 $as_echo_n "checking for $ac_word... " >&6; }
   2876 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   2877   $as_echo_n "(cached) " >&6
   2878 else
   2879   if test -n "$ac_ct_STRIP"; then
   2880   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2881 else
   2882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2883 for as_dir in $PATH
   2884 do
   2885   IFS=$as_save_IFS
   2886   test -z "$as_dir" && as_dir=.
   2887     for ac_exec_ext in '' $ac_executable_extensions; do
   2888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2889     ac_cv_prog_ac_ct_STRIP="strip"
   2890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2891     break 2
   2892   fi
   2893 done
   2894   done
   2895 IFS=$as_save_IFS
   2896 
   2897 fi
   2898 fi
   2899 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2900 if test -n "$ac_ct_STRIP"; then
   2901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2902 $as_echo "$ac_ct_STRIP" >&6; }
   2903 else
   2904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2905 $as_echo "no" >&6; }
   2906 fi
   2907 
   2908   if test "x$ac_ct_STRIP" = x; then
   2909     STRIP=":"
   2910   else
   2911     case $cross_compiling:$ac_tool_warned in
   2912 yes:)
   2913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2915 ac_tool_warned=yes ;;
   2916 esac
   2917     STRIP=$ac_ct_STRIP
   2918   fi
   2919 else
   2920   STRIP="$ac_cv_prog_STRIP"
   2921 fi
   2922 
   2923 fi
   2924 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2925 
   2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2927 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2928 if test -z "$MKDIR_P"; then
   2929   if test "${ac_cv_path_mkdir+set}" = set; then :
   2930   $as_echo_n "(cached) " >&6
   2931 else
   2932   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2933 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2934 do
   2935   IFS=$as_save_IFS
   2936   test -z "$as_dir" && as_dir=.
   2937     for ac_prog in mkdir gmkdir; do
   2938 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2939 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2940 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2941 	     'mkdir (GNU coreutils) '* | \
   2942 	     'mkdir (coreutils) '* | \
   2943 	     'mkdir (fileutils) '4.1*)
   2944 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2945 	       break 3;;
   2946 	   esac
   2947 	 done
   2948        done
   2949   done
   2950 IFS=$as_save_IFS
   2951 
   2952 fi
   2953 
   2954   test -d ./--version && rmdir ./--version
   2955   if test "${ac_cv_path_mkdir+set}" = set; then
   2956     MKDIR_P="$ac_cv_path_mkdir -p"
   2957   else
   2958     # As a last resort, use the slow shell script.  Don't cache a
   2959     # value for MKDIR_P within a source directory, because that will
   2960     # break other packages using the cache if that directory is
   2961     # removed, or if the value is a relative name.
   2962     MKDIR_P="$ac_install_sh -d"
   2963   fi
   2964 fi
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2966 $as_echo "$MKDIR_P" >&6; }
   2967 
   2968 mkdir_p="$MKDIR_P"
   2969 case $mkdir_p in
   2970   [\\/$]* | ?:[\\/]*) ;;
   2971   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2972 esac
   2973 
   2974 for ac_prog in gawk mawk nawk awk
   2975 do
   2976   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2977 set dummy $ac_prog; ac_word=$2
   2978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2979 $as_echo_n "checking for $ac_word... " >&6; }
   2980 if test "${ac_cv_prog_AWK+set}" = set; then :
   2981   $as_echo_n "(cached) " >&6
   2982 else
   2983   if test -n "$AWK"; then
   2984   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2985 else
   2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2987 for as_dir in $PATH
   2988 do
   2989   IFS=$as_save_IFS
   2990   test -z "$as_dir" && as_dir=.
   2991     for ac_exec_ext in '' $ac_executable_extensions; do
   2992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2993     ac_cv_prog_AWK="$ac_prog"
   2994     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2995     break 2
   2996   fi
   2997 done
   2998   done
   2999 IFS=$as_save_IFS
   3000 
   3001 fi
   3002 fi
   3003 AWK=$ac_cv_prog_AWK
   3004 if test -n "$AWK"; then
   3005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3006 $as_echo "$AWK" >&6; }
   3007 else
   3008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3009 $as_echo "no" >&6; }
   3010 fi
   3011 
   3012 
   3013   test -n "$AWK" && break
   3014 done
   3015 
   3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3017 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3018 set x ${MAKE-make}
   3019 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3020 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
   3021   $as_echo_n "(cached) " >&6
   3022 else
   3023   cat >conftest.make <<\_ACEOF
   3024 SHELL = /bin/sh
   3025 all:
   3026 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3027 _ACEOF
   3028 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3029 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3030   *@@@%%%=?*=@@@%%%*)
   3031     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3032   *)
   3033     eval ac_cv_prog_make_${ac_make}_set=no;;
   3034 esac
   3035 rm -f conftest.make
   3036 fi
   3037 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3039 $as_echo "yes" >&6; }
   3040   SET_MAKE=
   3041 else
   3042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3043 $as_echo "no" >&6; }
   3044   SET_MAKE="MAKE=${MAKE-make}"
   3045 fi
   3046 
   3047 rm -rf .tst 2>/dev/null
   3048 mkdir .tst 2>/dev/null
   3049 if test -d .tst; then
   3050   am__leading_dot=.
   3051 else
   3052   am__leading_dot=_
   3053 fi
   3054 rmdir .tst 2>/dev/null
   3055 
   3056 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3057   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3058   # is not polluted with repeated "-I."
   3059   am__isrc=' -I$(srcdir)'
   3060   # test to see if srcdir already configured
   3061   if test -f $srcdir/config.status; then
   3062     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3063   fi
   3064 fi
   3065 
   3066 # test whether we have cygpath
   3067 if test -z "$CYGPATH_W"; then
   3068   if (cygpath --version) >/dev/null 2>/dev/null; then
   3069     CYGPATH_W='cygpath -w'
   3070   else
   3071     CYGPATH_W=echo
   3072   fi
   3073 fi
   3074 
   3075 
   3076 # Define the identity of the package.
   3077  PACKAGE='mpfr'
   3078  VERSION='3.0.1'
   3079 
   3080 
   3081 # Some tools Automake needs.
   3082 
   3083 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3084 
   3085 
   3086 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3087 
   3088 
   3089 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3090 
   3091 
   3092 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3093 
   3094 
   3095 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3096 
   3097 # We need awk for the "check" target.  The system "awk" is bad on
   3098 # some platforms.
   3099 # Always define AMTAR for backward compatibility.
   3100 
   3101 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3102 
   3103 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3104 
   3105 
   3106 
   3107 
   3108 
   3109 
   3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
   3111 $as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
   3112     # Check whether --enable-maintainer-mode was given.
   3113 if test "${enable_maintainer_mode+set}" = set; then :
   3114   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3115 else
   3116   USE_MAINTAINER_MODE=yes
   3117 fi
   3118 
   3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3120 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3121    if test $USE_MAINTAINER_MODE = yes; then
   3122   MAINTAINER_MODE_TRUE=
   3123   MAINTAINER_MODE_FALSE='#'
   3124 else
   3125   MAINTAINER_MODE_TRUE='#'
   3126   MAINTAINER_MODE_FALSE=
   3127 fi
   3128 
   3129   MAINT=$MAINTAINER_MODE_TRUE
   3130 
   3131 
   3132 
   3133 
   3134 
   3135 
   3136 test_CFLAGS=${CFLAGS+set}
   3137 
   3138 # Make sure we can run config.sub.
   3139 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3140   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3141 
   3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3143 $as_echo_n "checking build system type... " >&6; }
   3144 if test "${ac_cv_build+set}" = set; then :
   3145   $as_echo_n "(cached) " >&6
   3146 else
   3147   ac_build_alias=$build_alias
   3148 test "x$ac_build_alias" = x &&
   3149   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3150 test "x$ac_build_alias" = x &&
   3151   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3152 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3153   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3154 
   3155 fi
   3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3157 $as_echo "$ac_cv_build" >&6; }
   3158 case $ac_cv_build in
   3159 *-*-*) ;;
   3160 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
   3161 esac
   3162 build=$ac_cv_build
   3163 ac_save_IFS=$IFS; IFS='-'
   3164 set x $ac_cv_build
   3165 shift
   3166 build_cpu=$1
   3167 build_vendor=$2
   3168 shift; shift
   3169 # Remember, the first character of IFS is used to create $*,
   3170 # except with old shells:
   3171 build_os=$*
   3172 IFS=$ac_save_IFS
   3173 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3174 
   3175 
   3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3177 $as_echo_n "checking host system type... " >&6; }
   3178 if test "${ac_cv_host+set}" = set; then :
   3179   $as_echo_n "(cached) " >&6
   3180 else
   3181   if test "x$host_alias" = x; then
   3182   ac_cv_host=$ac_cv_build
   3183 else
   3184   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3185     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3186 fi
   3187 
   3188 fi
   3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3190 $as_echo "$ac_cv_host" >&6; }
   3191 case $ac_cv_host in
   3192 *-*-*) ;;
   3193 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
   3194 esac
   3195 host=$ac_cv_host
   3196 ac_save_IFS=$IFS; IFS='-'
   3197 set x $ac_cv_host
   3198 shift
   3199 host_cpu=$1
   3200 host_vendor=$2
   3201 shift; shift
   3202 # Remember, the first character of IFS is used to create $*,
   3203 # except with old shells:
   3204 host_os=$*
   3205 IFS=$ac_save_IFS
   3206 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3207 
   3208 
   3209 
   3210 
   3211 unset gmp_lib_path GMP_CFLAGS GMP_CC
   3212 
   3213 # Check whether --with-gmp_include was given.
   3214 if test "${with_gmp_include+set}" = set; then :
   3215   withval=$with_gmp_include; CPPFLAGS="$CPPFLAGS -I$withval"
   3216 fi
   3217 
   3218 
   3219 # Check whether --with-gmp_lib was given.
   3220 if test "${with_gmp_lib+set}" = set; then :
   3221   withval=$with_gmp_lib;
   3222    LDFLAGS="$LDFLAGS -L$withval"
   3223    gmp_lib_path="$withval"
   3224 
   3225 fi
   3226 
   3227 
   3228 # Check whether --with-gmp was given.
   3229 if test "${with_gmp+set}" = set; then :
   3230   withval=$with_gmp;
   3231    if test -z "$with_gmp_lib" && test -z "$with_gmp_include" ; then
   3232       CPPFLAGS="$CPPFLAGS -I$withval/include"
   3233       LDFLAGS="$LDFLAGS -L$withval/lib"
   3234       gmp_lib_path="$withval/lib"
   3235    else
   3236       { { $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 $? "Do not use --with-gmp and --with-gmp-include/--with-gmp-lib options simultaneously.
   3239 See \`config.log' for more details" "$LINENO" 5 ; }
   3240    fi
   3241 
   3242 fi
   3243 
   3244 
   3245 
   3246 # Check whether --with-gmp_build was given.
   3247 if test "${with_gmp_build+set}" = set; then :
   3248   withval=$with_gmp_build;
   3249    if test -z "$gmp_lib_path" && test -z "$with_gmp_include" ; then
   3250       CPPFLAGS="$CPPFLAGS -I$withval -I$withval/tune"
   3251       LDFLAGS="$LDFLAGS -L$withval -L$withval/.libs -L$withval/tune/"
   3252       gmp_lib_path="$withval$PATH_SEPARATOR$withval/.libs$PATH_SEPARATOR$withval/tune"
   3253       if test -r $withval/Makefile ; then
   3254          GMP_CFLAGS=`grep -w "CFLAGS =" $withval/Makefile | sed 's/CFLAGS = //'`
   3255          GMP_CC=`grep -w "CC =" $withval/Makefile | sed 's/CC = //'`
   3256       fi
   3257       use_gmp_build=yes
   3258    else
   3259       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3261 as_fn_error $? "Do not use --with-gmp-build and other --with-gmp options simultaneously.
   3262 See \`config.log' for more details" "$LINENO" 5 ; }
   3263    fi
   3264 
   3265 fi
   3266 
   3267 
   3268 
   3269 # Check whether --with-mulhigh_size was given.
   3270 if test "${with_mulhigh_size+set}" = set; then :
   3271   withval=$with_mulhigh_size;
   3272 cat >>confdefs.h <<_ACEOF
   3273 #define MPFR_MULHIGH_SIZE $withval
   3274 _ACEOF
   3275 
   3276 fi
   3277 
   3278 
   3279 # Check whether --enable-assert was given.
   3280 if test "${enable_assert+set}" = set; then :
   3281   enableval=$enable_assert;  case $enableval in
   3282       yes)
   3283 $as_echo "#define WANT_ASSERT 1" >>confdefs.h
   3284  ;;
   3285       no)  ;;
   3286       full)
   3287 $as_echo "#define WANT_ASSERT 2" >>confdefs.h
   3288  ;;
   3289       *) as_fn_error $? "bad value for --enable-assert: yes, no or full" "$LINENO" 5  ;;
   3290      esac
   3291 fi
   3292 
   3293 # Check whether --enable-logging was given.
   3294 if test "${enable_logging+set}" = set; then :
   3295   enableval=$enable_logging;  disable_gcc_format_warning=yes
   3296      case $enableval in
   3297       yes)
   3298 $as_echo "#define MPFR_USE_LOGGING 1" >>confdefs.h
   3299  ;;
   3300       no)  ;;
   3301       *)   as_fn_error $? "bad value for --enable-logging: yes or no" "$LINENO" 5  ;;
   3302      esac
   3303 fi
   3304 
   3305 # Check whether --enable-thread-safe was given.
   3306 if test "${enable_thread_safe+set}" = set; then :
   3307   enableval=$enable_thread_safe;  case $enableval in
   3308       yes)
   3309 $as_echo "#define MPFR_USE_THREAD_SAFE 1" >>confdefs.h
   3310  ;;
   3311       no)  ;;
   3312       *)   as_fn_error $? "bad value for --enable-thread-safe: yes or no" "$LINENO" 5  ;;
   3313      esac
   3314 fi
   3315 
   3316 # Check whether --enable-warnings was given.
   3317 if test "${enable_warnings+set}" = set; then :
   3318   enableval=$enable_warnings;  case $enableval in
   3319       yes)
   3320 $as_echo "#define MPFR_USE_WARNINGS 1" >>confdefs.h
   3321  ;;
   3322       no)  ;;
   3323       *)   as_fn_error $? "bad value for --enable-warnings: yes or no" "$LINENO" 5  ;;
   3324      esac
   3325 fi
   3326 
   3327 
   3328 # Check whether --enable-tests-timeout was given.
   3329 if test "${enable_tests_timeout+set}" = set; then :
   3330   enableval=$enable_tests_timeout;  case $enableval in
   3331       no)   ;;
   3332       yes)
   3333 $as_echo "#define MPFR_TESTS_TIMEOUT 0" >>confdefs.h
   3334  ;;
   3335       [0-9]|[0-9][0-9]|[0-9][0-9][0-9]|[0-9][0-9][0-9][0-9])
   3336 
   3337 cat >>confdefs.h <<_ACEOF
   3338 #define MPFR_TESTS_TIMEOUT $enableval
   3339 _ACEOF
   3340  ;;
   3341       *)    as_fn_error $? "bad value for --enable-tests-timeout" "$LINENO" 5  ;;
   3342      esac
   3343 fi
   3344 
   3345 
   3346 
   3347 
   3348 if test -n "$CFLAGS" || test -n "$CC" ; then
   3349  user_redefine_cc=yes
   3350 fi
   3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3352 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3353 if test "${ac_cv_path_GREP+set}" = set; then :
   3354   $as_echo_n "(cached) " >&6
   3355 else
   3356   if test -z "$GREP"; then
   3357   ac_path_GREP_found=false
   3358   # Loop through the user's path and test for each of PROGNAME-LIST
   3359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3360 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3361 do
   3362   IFS=$as_save_IFS
   3363   test -z "$as_dir" && as_dir=.
   3364     for ac_prog in grep ggrep; do
   3365     for ac_exec_ext in '' $ac_executable_extensions; do
   3366       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3367       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3368 # Check for GNU ac_path_GREP and select it if it is found.
   3369   # Check for GNU $ac_path_GREP
   3370 case `"$ac_path_GREP" --version 2>&1` in
   3371 *GNU*)
   3372   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3373 *)
   3374   ac_count=0
   3375   $as_echo_n 0123456789 >"conftest.in"
   3376   while :
   3377   do
   3378     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3379     mv "conftest.tmp" "conftest.in"
   3380     cp "conftest.in" "conftest.nl"
   3381     $as_echo 'GREP' >> "conftest.nl"
   3382     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3383     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3384     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3385     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3386       # Best one so far, save it but keep looking for a better one
   3387       ac_cv_path_GREP="$ac_path_GREP"
   3388       ac_path_GREP_max=$ac_count
   3389     fi
   3390     # 10*(2^10) chars as input seems more than enough
   3391     test $ac_count -gt 10 && break
   3392   done
   3393   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3394 esac
   3395 
   3396       $ac_path_GREP_found && break 3
   3397     done
   3398   done
   3399   done
   3400 IFS=$as_save_IFS
   3401   if test -z "$ac_cv_path_GREP"; then
   3402     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3403   fi
   3404 else
   3405   ac_cv_path_GREP=$GREP
   3406 fi
   3407 
   3408 fi
   3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3410 $as_echo "$ac_cv_path_GREP" >&6; }
   3411  GREP="$ac_cv_path_GREP"
   3412 
   3413 
   3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3415 $as_echo_n "checking for egrep... " >&6; }
   3416 if test "${ac_cv_path_EGREP+set}" = set; then :
   3417   $as_echo_n "(cached) " >&6
   3418 else
   3419   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3420    then ac_cv_path_EGREP="$GREP -E"
   3421    else
   3422      if test -z "$EGREP"; then
   3423   ac_path_EGREP_found=false
   3424   # Loop through the user's path and test for each of PROGNAME-LIST
   3425   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3427 do
   3428   IFS=$as_save_IFS
   3429   test -z "$as_dir" && as_dir=.
   3430     for ac_prog in egrep; do
   3431     for ac_exec_ext in '' $ac_executable_extensions; do
   3432       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3433       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3434 # Check for GNU ac_path_EGREP and select it if it is found.
   3435   # Check for GNU $ac_path_EGREP
   3436 case `"$ac_path_EGREP" --version 2>&1` in
   3437 *GNU*)
   3438   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3439 *)
   3440   ac_count=0
   3441   $as_echo_n 0123456789 >"conftest.in"
   3442   while :
   3443   do
   3444     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3445     mv "conftest.tmp" "conftest.in"
   3446     cp "conftest.in" "conftest.nl"
   3447     $as_echo 'EGREP' >> "conftest.nl"
   3448     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3449     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3450     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3451     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3452       # Best one so far, save it but keep looking for a better one
   3453       ac_cv_path_EGREP="$ac_path_EGREP"
   3454       ac_path_EGREP_max=$ac_count
   3455     fi
   3456     # 10*(2^10) chars as input seems more than enough
   3457     test $ac_count -gt 10 && break
   3458   done
   3459   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3460 esac
   3461 
   3462       $ac_path_EGREP_found && break 3
   3463     done
   3464   done
   3465   done
   3466 IFS=$as_save_IFS
   3467   if test -z "$ac_cv_path_EGREP"; then
   3468     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3469   fi
   3470 else
   3471   ac_cv_path_EGREP=$EGREP
   3472 fi
   3473 
   3474    fi
   3475 fi
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3477 $as_echo "$ac_cv_path_EGREP" >&6; }
   3478  EGREP="$ac_cv_path_EGREP"
   3479 
   3480 
   3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3482 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3483 if test "${ac_cv_path_SED+set}" = set; then :
   3484   $as_echo_n "(cached) " >&6
   3485 else
   3486             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3487      for ac_i in 1 2 3 4 5 6 7; do
   3488        ac_script="$ac_script$as_nl$ac_script"
   3489      done
   3490      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3491      { ac_script=; unset ac_script;}
   3492      if test -z "$SED"; then
   3493   ac_path_SED_found=false
   3494   # Loop through the user's path and test for each of PROGNAME-LIST
   3495   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3496 for as_dir in $PATH
   3497 do
   3498   IFS=$as_save_IFS
   3499   test -z "$as_dir" && as_dir=.
   3500     for ac_prog in sed gsed; do
   3501     for ac_exec_ext in '' $ac_executable_extensions; do
   3502       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3503       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3504 # Check for GNU ac_path_SED and select it if it is found.
   3505   # Check for GNU $ac_path_SED
   3506 case `"$ac_path_SED" --version 2>&1` in
   3507 *GNU*)
   3508   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3509 *)
   3510   ac_count=0
   3511   $as_echo_n 0123456789 >"conftest.in"
   3512   while :
   3513   do
   3514     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3515     mv "conftest.tmp" "conftest.in"
   3516     cp "conftest.in" "conftest.nl"
   3517     $as_echo '' >> "conftest.nl"
   3518     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3519     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3520     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3521     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3522       # Best one so far, save it but keep looking for a better one
   3523       ac_cv_path_SED="$ac_path_SED"
   3524       ac_path_SED_max=$ac_count
   3525     fi
   3526     # 10*(2^10) chars as input seems more than enough
   3527     test $ac_count -gt 10 && break
   3528   done
   3529   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3530 esac
   3531 
   3532       $ac_path_SED_found && break 3
   3533     done
   3534   done
   3535   done
   3536 IFS=$as_save_IFS
   3537   if test -z "$ac_cv_path_SED"; then
   3538     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3539   fi
   3540 else
   3541   ac_cv_path_SED=$SED
   3542 fi
   3543 
   3544 fi
   3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3546 $as_echo "$ac_cv_path_SED" >&6; }
   3547  SED="$ac_cv_path_SED"
   3548   rm -f conftest.sed
   3549 
   3550 
   3551 
   3552 if test -z "$user_redefine_cc" && test "$cross_compiling" != yes ; then
   3553 
   3554 if test -z "$GMP_CC$GMP_CFLAGS" ; then
   3555    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CC and CFLAGS in gmp.h" >&5
   3556 $as_echo_n "checking for CC and CFLAGS in gmp.h... " >&6; }
   3557    GMP_CC=__GMP_CC
   3558    GMP_CFLAGS=__GMP_CFLAGS
   3559    for cpp in /lib/cpp gcc cc c99
   3560    do
   3561      test $cpp = /lib/cpp || cpp="$cpp -E"
   3562      echo foo > conftest.c
   3563      if $cpp $CPPFLAGS conftest.c > /dev/null 2> /dev/null ; then
   3564        # Get CC
   3565        echo "#include \"gmp.h\"" >  conftest.c
   3566        echo "MPFR_OPTION __GMP_CC"           >> conftest.c
   3567        GMP_CC=`$cpp $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's/MPFR_OPTION //g' | $SED -e 's/"//g'`
   3568        # Get CFLAGS
   3569        echo "#include \"gmp.h\"" >  conftest.c
   3570        echo "MPFR_OPTION __GMP_CFLAGS"           >> conftest.c
   3571        GMP_CFLAGS=`$cpp $CPPFLAGS conftest.c 2> /dev/null | $EGREP MPFR_OPTION | $SED -e 's/MPFR_OPTION //g'| $SED -e 's/"//g'`
   3572        break
   3573      fi
   3574    done
   3575    rm -f conftest*
   3576    if test "x$GMP_CC" = "x__GMP_CC" || test "x$GMP_CFLAGS" = "x__GMP_CFLAGS" ; then
   3577       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3578 $as_echo "no" >&6; }
   3579       GMP_CFLAGS=
   3580       GMP_CC=
   3581    else
   3582       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&5
   3583 $as_echo "yes CC=$GMP_CC CFLAGS=$GMP_CFLAGS" >&6; }
   3584    fi
   3585 fi
   3586 
   3587 if test -n "$GMP_CC$GMP_CFLAGS" ; then
   3588    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS" >&5
   3589 $as_echo_n "checking for CC=$GMP_CC and CFLAGS=$GMP_CFLAGS... " >&6; }
   3590    echo "int main (void) { return 0; }" > conftest.c
   3591    if $GMP_CC $GMP_CFLAGS -o conftest conftest.c 2> /dev/null ; then
   3592      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3593 $as_echo "yes" >&6; }
   3594      CFLAGS=$GMP_CFLAGS
   3595      CC=$GMP_CC
   3596    else
   3597      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3598 $as_echo "no" >&6; }
   3599    fi
   3600    rm -f conftest*
   3601 fi
   3602 
   3603 fi
   3604 
   3605 
   3606 ac_ext=c
   3607 ac_cpp='$CPP $CPPFLAGS'
   3608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3611 if test -n "$ac_tool_prefix"; then
   3612   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3613 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3615 $as_echo_n "checking for $ac_word... " >&6; }
   3616 if test "${ac_cv_prog_CC+set}" = set; then :
   3617   $as_echo_n "(cached) " >&6
   3618 else
   3619   if test -n "$CC"; then
   3620   ac_cv_prog_CC="$CC" # Let the user override the test.
   3621 else
   3622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3623 for as_dir in $PATH
   3624 do
   3625   IFS=$as_save_IFS
   3626   test -z "$as_dir" && as_dir=.
   3627     for ac_exec_ext in '' $ac_executable_extensions; do
   3628   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3629     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3630     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3631     break 2
   3632   fi
   3633 done
   3634   done
   3635 IFS=$as_save_IFS
   3636 
   3637 fi
   3638 fi
   3639 CC=$ac_cv_prog_CC
   3640 if test -n "$CC"; then
   3641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3642 $as_echo "$CC" >&6; }
   3643 else
   3644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3645 $as_echo "no" >&6; }
   3646 fi
   3647 
   3648 
   3649 fi
   3650 if test -z "$ac_cv_prog_CC"; then
   3651   ac_ct_CC=$CC
   3652   # Extract the first word of "gcc", so it can be a program name with args.
   3653 set dummy gcc; ac_word=$2
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3655 $as_echo_n "checking for $ac_word... " >&6; }
   3656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3657   $as_echo_n "(cached) " >&6
   3658 else
   3659   if test -n "$ac_ct_CC"; then
   3660   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3661 else
   3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3663 for as_dir in $PATH
   3664 do
   3665   IFS=$as_save_IFS
   3666   test -z "$as_dir" && as_dir=.
   3667     for ac_exec_ext in '' $ac_executable_extensions; do
   3668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3669     ac_cv_prog_ac_ct_CC="gcc"
   3670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3671     break 2
   3672   fi
   3673 done
   3674   done
   3675 IFS=$as_save_IFS
   3676 
   3677 fi
   3678 fi
   3679 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3680 if test -n "$ac_ct_CC"; then
   3681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3682 $as_echo "$ac_ct_CC" >&6; }
   3683 else
   3684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3685 $as_echo "no" >&6; }
   3686 fi
   3687 
   3688   if test "x$ac_ct_CC" = x; then
   3689     CC=""
   3690   else
   3691     case $cross_compiling:$ac_tool_warned in
   3692 yes:)
   3693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3695 ac_tool_warned=yes ;;
   3696 esac
   3697     CC=$ac_ct_CC
   3698   fi
   3699 else
   3700   CC="$ac_cv_prog_CC"
   3701 fi
   3702 
   3703 if test -z "$CC"; then
   3704           if test -n "$ac_tool_prefix"; then
   3705     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3706 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3708 $as_echo_n "checking for $ac_word... " >&6; }
   3709 if test "${ac_cv_prog_CC+set}" = set; then :
   3710   $as_echo_n "(cached) " >&6
   3711 else
   3712   if test -n "$CC"; then
   3713   ac_cv_prog_CC="$CC" # Let the user override the test.
   3714 else
   3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3716 for as_dir in $PATH
   3717 do
   3718   IFS=$as_save_IFS
   3719   test -z "$as_dir" && as_dir=.
   3720     for ac_exec_ext in '' $ac_executable_extensions; do
   3721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3722     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3724     break 2
   3725   fi
   3726 done
   3727   done
   3728 IFS=$as_save_IFS
   3729 
   3730 fi
   3731 fi
   3732 CC=$ac_cv_prog_CC
   3733 if test -n "$CC"; then
   3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3735 $as_echo "$CC" >&6; }
   3736 else
   3737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3738 $as_echo "no" >&6; }
   3739 fi
   3740 
   3741 
   3742   fi
   3743 fi
   3744 if test -z "$CC"; then
   3745   # Extract the first word of "cc", so it can be a program name with args.
   3746 set dummy cc; ac_word=$2
   3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3748 $as_echo_n "checking for $ac_word... " >&6; }
   3749 if test "${ac_cv_prog_CC+set}" = set; then :
   3750   $as_echo_n "(cached) " >&6
   3751 else
   3752   if test -n "$CC"; then
   3753   ac_cv_prog_CC="$CC" # Let the user override the test.
   3754 else
   3755   ac_prog_rejected=no
   3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3757 for as_dir in $PATH
   3758 do
   3759   IFS=$as_save_IFS
   3760   test -z "$as_dir" && as_dir=.
   3761     for ac_exec_ext in '' $ac_executable_extensions; do
   3762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3763     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3764        ac_prog_rejected=yes
   3765        continue
   3766      fi
   3767     ac_cv_prog_CC="cc"
   3768     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3769     break 2
   3770   fi
   3771 done
   3772   done
   3773 IFS=$as_save_IFS
   3774 
   3775 if test $ac_prog_rejected = yes; then
   3776   # We found a bogon in the path, so make sure we never use it.
   3777   set dummy $ac_cv_prog_CC
   3778   shift
   3779   if test $# != 0; then
   3780     # We chose a different compiler from the bogus one.
   3781     # However, it has the same basename, so the bogon will be chosen
   3782     # first if we set CC to just the basename; use the full file name.
   3783     shift
   3784     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3785   fi
   3786 fi
   3787 fi
   3788 fi
   3789 CC=$ac_cv_prog_CC
   3790 if test -n "$CC"; then
   3791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3792 $as_echo "$CC" >&6; }
   3793 else
   3794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3795 $as_echo "no" >&6; }
   3796 fi
   3797 
   3798 
   3799 fi
   3800 if test -z "$CC"; then
   3801   if test -n "$ac_tool_prefix"; then
   3802   for ac_prog in cl.exe
   3803   do
   3804     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3805 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3807 $as_echo_n "checking for $ac_word... " >&6; }
   3808 if test "${ac_cv_prog_CC+set}" = set; then :
   3809   $as_echo_n "(cached) " >&6
   3810 else
   3811   if test -n "$CC"; then
   3812   ac_cv_prog_CC="$CC" # Let the user override the test.
   3813 else
   3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3815 for as_dir in $PATH
   3816 do
   3817   IFS=$as_save_IFS
   3818   test -z "$as_dir" && as_dir=.
   3819     for ac_exec_ext in '' $ac_executable_extensions; do
   3820   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3821     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3822     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3823     break 2
   3824   fi
   3825 done
   3826   done
   3827 IFS=$as_save_IFS
   3828 
   3829 fi
   3830 fi
   3831 CC=$ac_cv_prog_CC
   3832 if test -n "$CC"; then
   3833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3834 $as_echo "$CC" >&6; }
   3835 else
   3836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3837 $as_echo "no" >&6; }
   3838 fi
   3839 
   3840 
   3841     test -n "$CC" && break
   3842   done
   3843 fi
   3844 if test -z "$CC"; then
   3845   ac_ct_CC=$CC
   3846   for ac_prog in cl.exe
   3847 do
   3848   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3849 set dummy $ac_prog; ac_word=$2
   3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3851 $as_echo_n "checking for $ac_word... " >&6; }
   3852 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
   3853   $as_echo_n "(cached) " >&6
   3854 else
   3855   if test -n "$ac_ct_CC"; then
   3856   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3857 else
   3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3859 for as_dir in $PATH
   3860 do
   3861   IFS=$as_save_IFS
   3862   test -z "$as_dir" && as_dir=.
   3863     for ac_exec_ext in '' $ac_executable_extensions; do
   3864   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3865     ac_cv_prog_ac_ct_CC="$ac_prog"
   3866     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3867     break 2
   3868   fi
   3869 done
   3870   done
   3871 IFS=$as_save_IFS
   3872 
   3873 fi
   3874 fi
   3875 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3876 if test -n "$ac_ct_CC"; then
   3877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3878 $as_echo "$ac_ct_CC" >&6; }
   3879 else
   3880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3881 $as_echo "no" >&6; }
   3882 fi
   3883 
   3884 
   3885   test -n "$ac_ct_CC" && break
   3886 done
   3887 
   3888   if test "x$ac_ct_CC" = x; then
   3889     CC=""
   3890   else
   3891     case $cross_compiling:$ac_tool_warned in
   3892 yes:)
   3893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3894 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3895 ac_tool_warned=yes ;;
   3896 esac
   3897     CC=$ac_ct_CC
   3898   fi
   3899 fi
   3900 
   3901 fi
   3902 
   3903 
   3904 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3906 as_fn_error $? "no acceptable C compiler found in \$PATH
   3907 See \`config.log' for more details" "$LINENO" 5 ; }
   3908 
   3909 # Provide some information about the compiler.
   3910 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3911 set X $ac_compile
   3912 ac_compiler=$2
   3913 for ac_option in --version -v -V -qversion; do
   3914   { { ac_try="$ac_compiler $ac_option >&5"
   3915 case "(($ac_try" in
   3916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3917   *) ac_try_echo=$ac_try;;
   3918 esac
   3919 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3920 $as_echo "$ac_try_echo"; } >&5
   3921   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3922   ac_status=$?
   3923   if test -s conftest.err; then
   3924     sed '10a\
   3925 ... rest of stderr output deleted ...
   3926          10q' conftest.err >conftest.er1
   3927     cat conftest.er1 >&5
   3928   fi
   3929   rm -f conftest.er1 conftest.err
   3930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3931   test $ac_status = 0; }
   3932 done
   3933 
   3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3935 /* end confdefs.h.  */
   3936 
   3937 int
   3938 main ()
   3939 {
   3940 
   3941   ;
   3942   return 0;
   3943 }
   3944 _ACEOF
   3945 ac_clean_files_save=$ac_clean_files
   3946 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3947 # Try to create an executable without -o first, disregard a.out.
   3948 # It will help us diagnose broken compilers, and finding out an intuition
   3949 # of exeext.
   3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3951 $as_echo_n "checking whether the C compiler works... " >&6; }
   3952 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3953 
   3954 # The possible output files:
   3955 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3956 
   3957 ac_rmfiles=
   3958 for ac_file in $ac_files
   3959 do
   3960   case $ac_file in
   3961     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3962     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3963   esac
   3964 done
   3965 rm -f $ac_rmfiles
   3966 
   3967 if { { ac_try="$ac_link_default"
   3968 case "(($ac_try" in
   3969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3970   *) ac_try_echo=$ac_try;;
   3971 esac
   3972 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3973 $as_echo "$ac_try_echo"; } >&5
   3974   (eval "$ac_link_default") 2>&5
   3975   ac_status=$?
   3976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3977   test $ac_status = 0; }; then :
   3978   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3979 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3980 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3981 # so that the user can short-circuit this test for compilers unknown to
   3982 # Autoconf.
   3983 for ac_file in $ac_files ''
   3984 do
   3985   test -f "$ac_file" || continue
   3986   case $ac_file in
   3987     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3988 	;;
   3989     [ab].out )
   3990 	# We found the default executable, but exeext='' is most
   3991 	# certainly right.
   3992 	break;;
   3993     *.* )
   3994 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3995 	then :; else
   3996 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3997 	fi
   3998 	# We set ac_cv_exeext here because the later test for it is not
   3999 	# safe: cross compilers may not add the suffix if given an `-o'
   4000 	# argument, so we may need to know it at that point already.
   4001 	# Even if this section looks crufty: it has the advantage of
   4002 	# actually working.
   4003 	break;;
   4004     * )
   4005 	break;;
   4006   esac
   4007 done
   4008 test "$ac_cv_exeext" = no && ac_cv_exeext=
   4009 
   4010 else
   4011   ac_file=''
   4012 fi
   4013 if test -z "$ac_file"; then :
   4014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4015 $as_echo "no" >&6; }
   4016 $as_echo "$as_me: failed program was:" >&5
   4017 sed 's/^/| /' conftest.$ac_ext >&5
   4018 
   4019 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4020 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4021 as_fn_error 77 "C compiler cannot create executables
   4022 See \`config.log' for more details" "$LINENO" 5 ; }
   4023 else
   4024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4025 $as_echo "yes" >&6; }
   4026 fi
   4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   4028 $as_echo_n "checking for C compiler default output file name... " >&6; }
   4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   4030 $as_echo "$ac_file" >&6; }
   4031 ac_exeext=$ac_cv_exeext
   4032 
   4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   4034 ac_clean_files=$ac_clean_files_save
   4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   4036 $as_echo_n "checking for suffix of executables... " >&6; }
   4037 if { { ac_try="$ac_link"
   4038 case "(($ac_try" in
   4039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4040   *) ac_try_echo=$ac_try;;
   4041 esac
   4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4043 $as_echo "$ac_try_echo"; } >&5
   4044   (eval "$ac_link") 2>&5
   4045   ac_status=$?
   4046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4047   test $ac_status = 0; }; then :
   4048   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   4049 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
   4051 # `rm'.
   4052 for ac_file in conftest.exe conftest conftest.*; do
   4053   test -f "$ac_file" || continue
   4054   case $ac_file in
   4055     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   4056     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   4057 	  break;;
   4058     * ) break;;
   4059   esac
   4060 done
   4061 else
   4062   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4064 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   4065 See \`config.log' for more details" "$LINENO" 5 ; }
   4066 fi
   4067 rm -f conftest conftest$ac_cv_exeext
   4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   4069 $as_echo "$ac_cv_exeext" >&6; }
   4070 
   4071 rm -f conftest.$ac_ext
   4072 EXEEXT=$ac_cv_exeext
   4073 ac_exeext=$EXEEXT
   4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4075 /* end confdefs.h.  */
   4076 #include <stdio.h>
   4077 int
   4078 main ()
   4079 {
   4080 FILE *f = fopen ("conftest.out", "w");
   4081  return ferror (f) || fclose (f) != 0;
   4082 
   4083   ;
   4084   return 0;
   4085 }
   4086 _ACEOF
   4087 ac_clean_files="$ac_clean_files conftest.out"
   4088 # Check that the compiler produces executables we can run.  If not, either
   4089 # the compiler is broken, or we cross compile.
   4090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4091 $as_echo_n "checking whether we are cross compiling... " >&6; }
   4092 if test "$cross_compiling" != yes; then
   4093   { { ac_try="$ac_link"
   4094 case "(($ac_try" in
   4095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4096   *) ac_try_echo=$ac_try;;
   4097 esac
   4098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4099 $as_echo "$ac_try_echo"; } >&5
   4100   (eval "$ac_link") 2>&5
   4101   ac_status=$?
   4102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4103   test $ac_status = 0; }
   4104   if { ac_try='./conftest$ac_cv_exeext'
   4105   { { case "(($ac_try" in
   4106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4107   *) ac_try_echo=$ac_try;;
   4108 esac
   4109 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4110 $as_echo "$ac_try_echo"; } >&5
   4111   (eval "$ac_try") 2>&5
   4112   ac_status=$?
   4113   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4114   test $ac_status = 0; }; }; then
   4115     cross_compiling=no
   4116   else
   4117     if test "$cross_compiling" = maybe; then
   4118 	cross_compiling=yes
   4119     else
   4120 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4122 as_fn_error $? "cannot run C compiled programs.
   4123 If you meant to cross compile, use \`--host'.
   4124 See \`config.log' for more details" "$LINENO" 5 ; }
   4125     fi
   4126   fi
   4127 fi
   4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4129 $as_echo "$cross_compiling" >&6; }
   4130 
   4131 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4132 ac_clean_files=$ac_clean_files_save
   4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4134 $as_echo_n "checking for suffix of object files... " >&6; }
   4135 if test "${ac_cv_objext+set}" = set; then :
   4136   $as_echo_n "(cached) " >&6
   4137 else
   4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4139 /* end confdefs.h.  */
   4140 
   4141 int
   4142 main ()
   4143 {
   4144 
   4145   ;
   4146   return 0;
   4147 }
   4148 _ACEOF
   4149 rm -f conftest.o conftest.obj
   4150 if { { ac_try="$ac_compile"
   4151 case "(($ac_try" in
   4152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4153   *) ac_try_echo=$ac_try;;
   4154 esac
   4155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4156 $as_echo "$ac_try_echo"; } >&5
   4157   (eval "$ac_compile") 2>&5
   4158   ac_status=$?
   4159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4160   test $ac_status = 0; }; then :
   4161   for ac_file in conftest.o conftest.obj conftest.*; do
   4162   test -f "$ac_file" || continue;
   4163   case $ac_file in
   4164     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4165     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4166        break;;
   4167   esac
   4168 done
   4169 else
   4170   $as_echo "$as_me: failed program was:" >&5
   4171 sed 's/^/| /' conftest.$ac_ext >&5
   4172 
   4173 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4174 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4175 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4176 See \`config.log' for more details" "$LINENO" 5 ; }
   4177 fi
   4178 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4179 fi
   4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4181 $as_echo "$ac_cv_objext" >&6; }
   4182 OBJEXT=$ac_cv_objext
   4183 ac_objext=$OBJEXT
   4184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4185 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4186 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
   4187   $as_echo_n "(cached) " >&6
   4188 else
   4189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4190 /* end confdefs.h.  */
   4191 
   4192 int
   4193 main ()
   4194 {
   4195 #ifndef __GNUC__
   4196        choke me
   4197 #endif
   4198 
   4199   ;
   4200   return 0;
   4201 }
   4202 _ACEOF
   4203 if ac_fn_c_try_compile "$LINENO"; then :
   4204   ac_compiler_gnu=yes
   4205 else
   4206   ac_compiler_gnu=no
   4207 fi
   4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4210 
   4211 fi
   4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4213 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4214 if test $ac_compiler_gnu = yes; then
   4215   GCC=yes
   4216 else
   4217   GCC=
   4218 fi
   4219 ac_test_CFLAGS=${CFLAGS+set}
   4220 ac_save_CFLAGS=$CFLAGS
   4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4222 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4223 if test "${ac_cv_prog_cc_g+set}" = set; then :
   4224   $as_echo_n "(cached) " >&6
   4225 else
   4226   ac_save_c_werror_flag=$ac_c_werror_flag
   4227    ac_c_werror_flag=yes
   4228    ac_cv_prog_cc_g=no
   4229    CFLAGS="-g"
   4230    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4231 /* end confdefs.h.  */
   4232 
   4233 int
   4234 main ()
   4235 {
   4236 
   4237   ;
   4238   return 0;
   4239 }
   4240 _ACEOF
   4241 if ac_fn_c_try_compile "$LINENO"; then :
   4242   ac_cv_prog_cc_g=yes
   4243 else
   4244   CFLAGS=""
   4245       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4246 /* end confdefs.h.  */
   4247 
   4248 int
   4249 main ()
   4250 {
   4251 
   4252   ;
   4253   return 0;
   4254 }
   4255 _ACEOF
   4256 if ac_fn_c_try_compile "$LINENO"; then :
   4257 
   4258 else
   4259   ac_c_werror_flag=$ac_save_c_werror_flag
   4260 	 CFLAGS="-g"
   4261 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4262 /* end confdefs.h.  */
   4263 
   4264 int
   4265 main ()
   4266 {
   4267 
   4268   ;
   4269   return 0;
   4270 }
   4271 _ACEOF
   4272 if ac_fn_c_try_compile "$LINENO"; then :
   4273   ac_cv_prog_cc_g=yes
   4274 fi
   4275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4276 fi
   4277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4278 fi
   4279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4280    ac_c_werror_flag=$ac_save_c_werror_flag
   4281 fi
   4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4283 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4284 if test "$ac_test_CFLAGS" = set; then
   4285   CFLAGS=$ac_save_CFLAGS
   4286 elif test $ac_cv_prog_cc_g = yes; then
   4287   if test "$GCC" = yes; then
   4288     CFLAGS="-g -O2"
   4289   else
   4290     CFLAGS="-g"
   4291   fi
   4292 else
   4293   if test "$GCC" = yes; then
   4294     CFLAGS="-O2"
   4295   else
   4296     CFLAGS=
   4297   fi
   4298 fi
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4300 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4301 if test "${ac_cv_prog_cc_c89+set}" = set; then :
   4302   $as_echo_n "(cached) " >&6
   4303 else
   4304   ac_cv_prog_cc_c89=no
   4305 ac_save_CC=$CC
   4306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4307 /* end confdefs.h.  */
   4308 #include <stdarg.h>
   4309 #include <stdio.h>
   4310 #include <sys/types.h>
   4311 #include <sys/stat.h>
   4312 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4313 struct buf { int x; };
   4314 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4315 static char *e (p, i)
   4316      char **p;
   4317      int i;
   4318 {
   4319   return p[i];
   4320 }
   4321 static char *f (char * (*g) (char **, int), char **p, ...)
   4322 {
   4323   char *s;
   4324   va_list v;
   4325   va_start (v,p);
   4326   s = g (p, va_arg (v,int));
   4327   va_end (v);
   4328   return s;
   4329 }
   4330 
   4331 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4332    function prototypes and stuff, but not '\xHH' hex character constants.
   4333    These don't provoke an error unfortunately, instead are silently treated
   4334    as 'x'.  The following induces an error, until -std is added to get
   4335    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4336    array size at least.  It's necessary to write '\x00'==0 to get something
   4337    that's true only with -std.  */
   4338 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4339 
   4340 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4341    inside strings and character constants.  */
   4342 #define FOO(x) 'x'
   4343 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4344 
   4345 int test (int i, double x);
   4346 struct s1 {int (*f) (int a);};
   4347 struct s2 {int (*f) (double a);};
   4348 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4349 int argc;
   4350 char **argv;
   4351 int
   4352 main ()
   4353 {
   4354 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4355   ;
   4356   return 0;
   4357 }
   4358 _ACEOF
   4359 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4360 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4361 do
   4362   CC="$ac_save_CC $ac_arg"
   4363   if ac_fn_c_try_compile "$LINENO"; then :
   4364   ac_cv_prog_cc_c89=$ac_arg
   4365 fi
   4366 rm -f core conftest.err conftest.$ac_objext
   4367   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4368 done
   4369 rm -f conftest.$ac_ext
   4370 CC=$ac_save_CC
   4371 
   4372 fi
   4373 # AC_CACHE_VAL
   4374 case "x$ac_cv_prog_cc_c89" in
   4375   x)
   4376     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4377 $as_echo "none needed" >&6; } ;;
   4378   xno)
   4379     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4380 $as_echo "unsupported" >&6; } ;;
   4381   *)
   4382     CC="$CC $ac_cv_prog_cc_c89"
   4383     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4384 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4385 esac
   4386 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4387 
   4388 fi
   4389 
   4390 ac_ext=c
   4391 ac_cpp='$CPP $CPPFLAGS'
   4392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4395 DEPDIR="${am__leading_dot}deps"
   4396 
   4397 ac_config_commands="$ac_config_commands depfiles"
   4398 
   4399 
   4400 am_make=${MAKE-make}
   4401 cat > confinc << 'END'
   4402 am__doit:
   4403 	@echo this is the am__doit target
   4404 .PHONY: am__doit
   4405 END
   4406 # If we don't find an include directive, just comment out the code.
   4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4408 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4409 am__include="#"
   4410 am__quote=
   4411 _am_result=none
   4412 # First try GNU make style include.
   4413 echo "include confinc" > confmf
   4414 # Ignore all kinds of additional output from `make'.
   4415 case `$am_make -s -f confmf 2> /dev/null` in #(
   4416 *the\ am__doit\ target*)
   4417   am__include=include
   4418   am__quote=
   4419   _am_result=GNU
   4420   ;;
   4421 esac
   4422 # Now try BSD make style include.
   4423 if test "$am__include" = "#"; then
   4424    echo '.include "confinc"' > confmf
   4425    case `$am_make -s -f confmf 2> /dev/null` in #(
   4426    *the\ am__doit\ target*)
   4427      am__include=.include
   4428      am__quote="\""
   4429      _am_result=BSD
   4430      ;;
   4431    esac
   4432 fi
   4433 
   4434 
   4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4436 $as_echo "$_am_result" >&6; }
   4437 rm -f confinc confmf
   4438 
   4439 # Check whether --enable-dependency-tracking was given.
   4440 if test "${enable_dependency_tracking+set}" = set; then :
   4441   enableval=$enable_dependency_tracking;
   4442 fi
   4443 
   4444 if test "x$enable_dependency_tracking" != xno; then
   4445   am_depcomp="$ac_aux_dir/depcomp"
   4446   AMDEPBACKSLASH='\'
   4447 fi
   4448  if test "x$enable_dependency_tracking" != xno; then
   4449   AMDEP_TRUE=
   4450   AMDEP_FALSE='#'
   4451 else
   4452   AMDEP_TRUE='#'
   4453   AMDEP_FALSE=
   4454 fi
   4455 
   4456 
   4457 
   4458 depcc="$CC"   am_compiler_list=
   4459 
   4460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4461 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4462 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
   4463   $as_echo_n "(cached) " >&6
   4464 else
   4465   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4466   # We make a subdir and do the tests there.  Otherwise we can end up
   4467   # making bogus files that we don't know about and never remove.  For
   4468   # instance it was reported that on HP-UX the gcc test will end up
   4469   # making a dummy file named `D' -- because `-MD' means `put the output
   4470   # in D'.
   4471   mkdir conftest.dir
   4472   # Copy depcomp to subdir because otherwise we won't find it if we're
   4473   # using a relative directory.
   4474   cp "$am_depcomp" conftest.dir
   4475   cd conftest.dir
   4476   # We will build objects and dependencies in a subdirectory because
   4477   # it helps to detect inapplicable dependency modes.  For instance
   4478   # both Tru64's cc and ICC support -MD to output dependencies as a
   4479   # side effect of compilation, but ICC will put the dependencies in
   4480   # the current directory while Tru64 will put them in the object
   4481   # directory.
   4482   mkdir sub
   4483 
   4484   am_cv_CC_dependencies_compiler_type=none
   4485   if test "$am_compiler_list" = ""; then
   4486      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4487   fi
   4488   am__universal=false
   4489   case " $depcc " in #(
   4490      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4491      esac
   4492 
   4493   for depmode in $am_compiler_list; do
   4494     # Setup a source with many dependencies, because some compilers
   4495     # like to wrap large dependency lists on column 80 (with \), and
   4496     # we should not choose a depcomp mode which is confused by this.
   4497     #
   4498     # We need to recreate these files for each test, as the compiler may
   4499     # overwrite some of them when testing with obscure command lines.
   4500     # This happens at least with the AIX C compiler.
   4501     : > sub/conftest.c
   4502     for i in 1 2 3 4 5 6; do
   4503       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4504       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4505       # Solaris 8's {/usr,}/bin/sh.
   4506       touch sub/conftst$i.h
   4507     done
   4508     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4509 
   4510     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4511     # mode.  It turns out that the SunPro C++ compiler does not properly
   4512     # handle `-M -o', and we need to detect this.  Also, some Intel
   4513     # versions had trouble with output in subdirs
   4514     am__obj=sub/conftest.${OBJEXT-o}
   4515     am__minus_obj="-o $am__obj"
   4516     case $depmode in
   4517     gcc)
   4518       # This depmode causes a compiler race in universal mode.
   4519       test "$am__universal" = false || continue
   4520       ;;
   4521     nosideeffect)
   4522       # after this tag, mechanisms are not by side-effect, so they'll
   4523       # only be used when explicitly requested
   4524       if test "x$enable_dependency_tracking" = xyes; then
   4525 	continue
   4526       else
   4527 	break
   4528       fi
   4529       ;;
   4530     msvisualcpp | msvcmsys)
   4531       # This compiler won't grok `-c -o', but also, the minuso test has
   4532       # not run yet.  These depmodes are late enough in the game, and
   4533       # so weak that their functioning should not be impacted.
   4534       am__obj=conftest.${OBJEXT-o}
   4535       am__minus_obj=
   4536       ;;
   4537     none) break ;;
   4538     esac
   4539     if depmode=$depmode \
   4540        source=sub/conftest.c object=$am__obj \
   4541        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4542        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4543          >/dev/null 2>conftest.err &&
   4544        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4545        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4546        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4547        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4548       # icc doesn't choke on unknown options, it will just issue warnings
   4549       # or remarks (even with -Werror).  So we grep stderr for any message
   4550       # that says an option was ignored or not supported.
   4551       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4552       #   icc: Command line warning: ignoring option '-M'; no argument required
   4553       # The diagnosis changed in icc 8.0:
   4554       #   icc: Command line remark: option '-MP' not supported
   4555       if (grep 'ignoring option' conftest.err ||
   4556           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4557         am_cv_CC_dependencies_compiler_type=$depmode
   4558         break
   4559       fi
   4560     fi
   4561   done
   4562 
   4563   cd ..
   4564   rm -rf conftest.dir
   4565 else
   4566   am_cv_CC_dependencies_compiler_type=none
   4567 fi
   4568 
   4569 fi
   4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4571 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4572 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4573 
   4574  if
   4575   test "x$enable_dependency_tracking" != xno \
   4576   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4577   am__fastdepCC_TRUE=
   4578   am__fastdepCC_FALSE='#'
   4579 else
   4580   am__fastdepCC_TRUE='#'
   4581   am__fastdepCC_FALSE=
   4582 fi
   4583 
   4584 
   4585 ac_ext=c
   4586 ac_cpp='$CPP $CPPFLAGS'
   4587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4591 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4592 # On Suns, sometimes $CPP names a directory.
   4593 if test -n "$CPP" && test -d "$CPP"; then
   4594   CPP=
   4595 fi
   4596 if test -z "$CPP"; then
   4597   if test "${ac_cv_prog_CPP+set}" = set; then :
   4598   $as_echo_n "(cached) " >&6
   4599 else
   4600       # Double quotes because CPP needs to be expanded
   4601     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4602     do
   4603       ac_preproc_ok=false
   4604 for ac_c_preproc_warn_flag in '' yes
   4605 do
   4606   # Use a header file that comes with gcc, so configuring glibc
   4607   # with a fresh cross-compiler works.
   4608   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4609   # <limits.h> exists even on freestanding compilers.
   4610   # On the NeXT, cc -E runs the code through the compiler's parser,
   4611   # not just through cpp. "Syntax error" is here to catch this case.
   4612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4613 /* end confdefs.h.  */
   4614 #ifdef __STDC__
   4615 # include <limits.h>
   4616 #else
   4617 # include <assert.h>
   4618 #endif
   4619 		     Syntax error
   4620 _ACEOF
   4621 if ac_fn_c_try_cpp "$LINENO"; then :
   4622 
   4623 else
   4624   # Broken: fails on valid input.
   4625 continue
   4626 fi
   4627 rm -f conftest.err conftest.i conftest.$ac_ext
   4628 
   4629   # OK, works on sane cases.  Now check whether nonexistent headers
   4630   # can be detected and how.
   4631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4632 /* end confdefs.h.  */
   4633 #include <ac_nonexistent.h>
   4634 _ACEOF
   4635 if ac_fn_c_try_cpp "$LINENO"; then :
   4636   # Broken: success on invalid input.
   4637 continue
   4638 else
   4639   # Passes both tests.
   4640 ac_preproc_ok=:
   4641 break
   4642 fi
   4643 rm -f conftest.err conftest.i conftest.$ac_ext
   4644 
   4645 done
   4646 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4647 rm -f conftest.i conftest.err conftest.$ac_ext
   4648 if $ac_preproc_ok; then :
   4649   break
   4650 fi
   4651 
   4652     done
   4653     ac_cv_prog_CPP=$CPP
   4654 
   4655 fi
   4656   CPP=$ac_cv_prog_CPP
   4657 else
   4658   ac_cv_prog_CPP=$CPP
   4659 fi
   4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4661 $as_echo "$CPP" >&6; }
   4662 ac_preproc_ok=false
   4663 for ac_c_preproc_warn_flag in '' yes
   4664 do
   4665   # Use a header file that comes with gcc, so configuring glibc
   4666   # with a fresh cross-compiler works.
   4667   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4668   # <limits.h> exists even on freestanding compilers.
   4669   # On the NeXT, cc -E runs the code through the compiler's parser,
   4670   # not just through cpp. "Syntax error" is here to catch this case.
   4671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4672 /* end confdefs.h.  */
   4673 #ifdef __STDC__
   4674 # include <limits.h>
   4675 #else
   4676 # include <assert.h>
   4677 #endif
   4678 		     Syntax error
   4679 _ACEOF
   4680 if ac_fn_c_try_cpp "$LINENO"; then :
   4681 
   4682 else
   4683   # Broken: fails on valid input.
   4684 continue
   4685 fi
   4686 rm -f conftest.err conftest.i conftest.$ac_ext
   4687 
   4688   # OK, works on sane cases.  Now check whether nonexistent headers
   4689   # can be detected and how.
   4690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4691 /* end confdefs.h.  */
   4692 #include <ac_nonexistent.h>
   4693 _ACEOF
   4694 if ac_fn_c_try_cpp "$LINENO"; then :
   4695   # Broken: success on invalid input.
   4696 continue
   4697 else
   4698   # Passes both tests.
   4699 ac_preproc_ok=:
   4700 break
   4701 fi
   4702 rm -f conftest.err conftest.i conftest.$ac_ext
   4703 
   4704 done
   4705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4706 rm -f conftest.i conftest.err conftest.$ac_ext
   4707 if $ac_preproc_ok; then :
   4708 
   4709 else
   4710   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4712 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4713 See \`config.log' for more details" "$LINENO" 5 ; }
   4714 fi
   4715 
   4716 ac_ext=c
   4717 ac_cpp='$CPP $CPPFLAGS'
   4718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4721 
   4722 ac_ext=c
   4723 ac_cpp='$CPP $CPPFLAGS'
   4724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4727 
   4728 
   4729 
   4730 # Check whether --enable-decimal-float was given.
   4731 if test "${enable_decimal_float+set}" = set; then :
   4732   enableval=$enable_decimal_float;  case $enableval in
   4733       yes)
   4734 $as_echo "#define MPFR_WANT_DECIMAL_FLOATS 1" >>confdefs.h
   4735 
   4736            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler knows _Decimal64" >&5
   4737 $as_echo_n "checking if compiler knows _Decimal64... " >&6; }
   4738            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4739 /* end confdefs.h.  */
   4740 _Decimal64 x;
   4741 int
   4742 main ()
   4743 {
   4744 
   4745   ;
   4746   return 0;
   4747 }
   4748 _ACEOF
   4749 if ac_fn_c_try_compile "$LINENO"; then :
   4750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4751 $as_echo "yes" >&6; }
   4752                if test "$use_gmp_build" != yes ; then
   4753                   as_fn_error $? "decimal float support requires --with-gmp-build" "$LINENO" 5
   4754                fi
   4755                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if _GMP_IEEE_FLOATS is defined" >&5
   4756 $as_echo_n "checking if _GMP_IEEE_FLOATS is defined... " >&6; }
   4757                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4758 /* end confdefs.h.  */
   4759 
   4760 #include "gmp.h"
   4761 #include "gmp-impl.h"
   4762 #ifndef _GMP_IEEE_FLOATS
   4763 #error "_GMP_IEEE_FLOATS is not defined"
   4764 #endif
   4765 _ACEOF
   4766 if ac_fn_c_try_compile "$LINENO"; then :
   4767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4768 $as_echo "yes" >&6; }
   4769 else
   4770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4771 $as_echo "no" >&6; }
   4772                   as_fn_error $? "decimal float support requires _GMP_IEEE_FLOATS" "$LINENO" 5
   4773 fi
   4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4775 
   4776 else
   4777   as_fn_error $? "Compiler doesn't know _Decimal64; try GCC >= 4.2, configured with --enable-decimal-float
   4778            " "$LINENO" 5
   4779 fi
   4780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4781            { $as_echo "$as_me:${as_lineno-$LINENO}: checking decimal float format" >&5
   4782 $as_echo_n "checking decimal float format... " >&6; }
   4783            if test "$cross_compiling" = yes; then :
   4784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming DPD" >&5
   4785 $as_echo "assuming DPD" >&6; }
   4786        $as_echo "#define DPD_FORMAT 1" >>confdefs.h
   4787 
   4788 else
   4789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4790 /* end confdefs.h.  */
   4791 
   4792 #include <stdlib.h>
   4793 
   4794 int
   4795 main ()
   4796 {
   4797 
   4798 union { double d; _Decimal64 d64; } y;
   4799 y.d64 = 1234567890123456.0dd;
   4800 return y.d == 0.14894469406741037E-123 ? 0 :
   4801        y.d == 0.59075095508629822E-68  ? 1 : 2;
   4802 
   4803   ;
   4804   return 0;
   4805 }
   4806 _ACEOF
   4807 if ac_fn_c_try_run "$LINENO"; then :
   4808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DPD" >&5
   4809 $as_echo "DPD" >&6; }
   4810        $as_echo "#define DPD_FORMAT 1" >>confdefs.h
   4811 
   4812 else
   4813   if test "$?" != 1 ; then
   4814           { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4816 as_fn_error $? "neither DPD nor BID
   4817 See \`config.log' for more details" "$LINENO" 5 ; }
   4818        fi
   4819        { $as_echo "$as_me:${as_lineno-$LINENO}: result: BID" >&5
   4820 $as_echo "BID" >&6; }
   4821 fi
   4822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4823   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4824 fi
   4825 
   4826            ;;
   4827       no)  ;;
   4828       *)   as_fn_error $? "bad value for --enable-decimal-float: yes or no" "$LINENO" 5  ;;
   4829      esac
   4830 fi
   4831 
   4832 
   4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ICC" >&5
   4834 $as_echo_n "checking for ICC... " >&6; }
   4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4836 /* end confdefs.h.  */
   4837 
   4838 #if !defined(__ICC)
   4839 # error "ICC Not Found"
   4840 error
   4841 #endif
   4842 
   4843 int
   4844 main ()
   4845 {
   4846 
   4847   ;
   4848   return 0;
   4849 }
   4850 _ACEOF
   4851 if ac_fn_c_try_compile "$LINENO"; then :
   4852 
   4853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4854 $as_echo "yes" >&6; }
   4855  CFLAGS="-fp_port -mp -wd1572 -wd265 -wd186 -wd239 $CFLAGS"
   4856 
   4857 else
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4859 $as_echo "no" >&6; }
   4860 fi
   4861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4862 
   4863 if test "$test_CFLAGS" != set && test -n "$GCC"; then
   4864   CFLAGS="-Wall -Wmissing-prototypes -Wpointer-arith $CFLAGS"
   4865   if test -n "$disable_gcc_format_warning" ; then
   4866    CFLAGS="$CFLAGS -Wno-format"
   4867   fi
   4868 fi
   4869 
   4870 if test "x$CC" != xcc; then
   4871   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
   4872 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
   4873 else
   4874   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
   4875 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
   4876 fi
   4877 set dummy $CC; ac_cc=`$as_echo "$2" |
   4878 		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   4879 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
   4880   $as_echo_n "(cached) " >&6
   4881 else
   4882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4883 /* end confdefs.h.  */
   4884 
   4885 int
   4886 main ()
   4887 {
   4888 
   4889   ;
   4890   return 0;
   4891 }
   4892 _ACEOF
   4893 # Make sure it works both with $CC and with simple cc.
   4894 # We do the test twice because some compilers refuse to overwrite an
   4895 # existing .o file with -o, though they will create one.
   4896 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   4897 rm -f conftest2.*
   4898 if { { case "(($ac_try" in
   4899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4900   *) ac_try_echo=$ac_try;;
   4901 esac
   4902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4903 $as_echo "$ac_try_echo"; } >&5
   4904   (eval "$ac_try") 2>&5
   4905   ac_status=$?
   4906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4907   test $ac_status = 0; } &&
   4908    test -f conftest2.$ac_objext && { { case "(($ac_try" in
   4909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4910   *) ac_try_echo=$ac_try;;
   4911 esac
   4912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4913 $as_echo "$ac_try_echo"; } >&5
   4914   (eval "$ac_try") 2>&5
   4915   ac_status=$?
   4916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4917   test $ac_status = 0; };
   4918 then
   4919   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
   4920   if test "x$CC" != xcc; then
   4921     # Test first that cc exists at all.
   4922     if { ac_try='cc -c conftest.$ac_ext >&5'
   4923   { { case "(($ac_try" in
   4924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4925   *) ac_try_echo=$ac_try;;
   4926 esac
   4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4928 $as_echo "$ac_try_echo"; } >&5
   4929   (eval "$ac_try") 2>&5
   4930   ac_status=$?
   4931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4932   test $ac_status = 0; }; }; then
   4933       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
   4934       rm -f conftest2.*
   4935       if { { case "(($ac_try" in
   4936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4937   *) ac_try_echo=$ac_try;;
   4938 esac
   4939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4940 $as_echo "$ac_try_echo"; } >&5
   4941   (eval "$ac_try") 2>&5
   4942   ac_status=$?
   4943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4944   test $ac_status = 0; } &&
   4945 	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
   4946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4947   *) ac_try_echo=$ac_try;;
   4948 esac
   4949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4950 $as_echo "$ac_try_echo"; } >&5
   4951   (eval "$ac_try") 2>&5
   4952   ac_status=$?
   4953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4954   test $ac_status = 0; };
   4955       then
   4956 	# cc works too.
   4957 	:
   4958       else
   4959 	# cc exists but doesn't like -o.
   4960 	eval ac_cv_prog_cc_${ac_cc}_c_o=no
   4961       fi
   4962     fi
   4963   fi
   4964 else
   4965   eval ac_cv_prog_cc_${ac_cc}_c_o=no
   4966 fi
   4967 rm -f core conftest*
   4968 
   4969 fi
   4970 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
   4971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4972 $as_echo "yes" >&6; }
   4973 else
   4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4975 $as_echo "no" >&6; }
   4976 
   4977 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
   4978 
   4979 fi
   4980 
   4981 # FIXME: we rely on the cache variable name because
   4982 # there is no other way.
   4983 set dummy $CC
   4984 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
   4985 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
   4986 if test "$am_t" != yes; then
   4987    # Losing compiler, so override with the script.
   4988    # FIXME: It is wrong to rewrite CC.
   4989    # But if we don't then we get into trouble of one sort or another.
   4990    # A longer-term fix would be to have automake use am__CC in this case,
   4991    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4992    CC="$am_aux_dir/compile $CC"
   4993 fi
   4994 
   4995 
   4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5
   4997 $as_echo_n "checking for function prototypes... " >&6; }
   4998 if test "$ac_cv_prog_cc_c89" != no; then
   4999   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5000 $as_echo "yes" >&6; }
   5001 
   5002 $as_echo "#define PROTOTYPES 1" >>confdefs.h
   5003 
   5004 
   5005 $as_echo "#define __PROTOTYPES 1" >>confdefs.h
   5006 
   5007 else
   5008   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5009 $as_echo "no" >&6; }
   5010 fi
   5011 
   5012 
   5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   5014 $as_echo_n "checking for ANSI C header files... " >&6; }
   5015 if test "${ac_cv_header_stdc+set}" = set; then :
   5016   $as_echo_n "(cached) " >&6
   5017 else
   5018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5019 /* end confdefs.h.  */
   5020 #include <stdlib.h>
   5021 #include <stdarg.h>
   5022 #include <string.h>
   5023 #include <float.h>
   5024 
   5025 int
   5026 main ()
   5027 {
   5028 
   5029   ;
   5030   return 0;
   5031 }
   5032 _ACEOF
   5033 if ac_fn_c_try_compile "$LINENO"; then :
   5034   ac_cv_header_stdc=yes
   5035 else
   5036   ac_cv_header_stdc=no
   5037 fi
   5038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5039 
   5040 if test $ac_cv_header_stdc = yes; then
   5041   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5043 /* end confdefs.h.  */
   5044 #include <string.h>
   5045 
   5046 _ACEOF
   5047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5048   $EGREP "memchr" >/dev/null 2>&1; then :
   5049 
   5050 else
   5051   ac_cv_header_stdc=no
   5052 fi
   5053 rm -f conftest*
   5054 
   5055 fi
   5056 
   5057 if test $ac_cv_header_stdc = yes; then
   5058   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5060 /* end confdefs.h.  */
   5061 #include <stdlib.h>
   5062 
   5063 _ACEOF
   5064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5065   $EGREP "free" >/dev/null 2>&1; then :
   5066 
   5067 else
   5068   ac_cv_header_stdc=no
   5069 fi
   5070 rm -f conftest*
   5071 
   5072 fi
   5073 
   5074 if test $ac_cv_header_stdc = yes; then
   5075   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5076   if test "$cross_compiling" = yes; then :
   5077   :
   5078 else
   5079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5080 /* end confdefs.h.  */
   5081 #include <ctype.h>
   5082 #include <stdlib.h>
   5083 #if ((' ' & 0x0FF) == 0x020)
   5084 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5085 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5086 #else
   5087 # define ISLOWER(c) \
   5088 		   (('a' <= (c) && (c) <= 'i') \
   5089 		     || ('j' <= (c) && (c) <= 'r') \
   5090 		     || ('s' <= (c) && (c) <= 'z'))
   5091 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5092 #endif
   5093 
   5094 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5095 int
   5096 main ()
   5097 {
   5098   int i;
   5099   for (i = 0; i < 256; i++)
   5100     if (XOR (islower (i), ISLOWER (i))
   5101 	|| toupper (i) != TOUPPER (i))
   5102       return 2;
   5103   return 0;
   5104 }
   5105 _ACEOF
   5106 if ac_fn_c_try_run "$LINENO"; then :
   5107 
   5108 else
   5109   ac_cv_header_stdc=no
   5110 fi
   5111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5112   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5113 fi
   5114 
   5115 fi
   5116 fi
   5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5118 $as_echo "$ac_cv_header_stdc" >&6; }
   5119 if test $ac_cv_header_stdc = yes; then
   5120 
   5121 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5122 
   5123 fi
   5124 
   5125 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5126 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5127 		  inttypes.h stdint.h unistd.h
   5128 do :
   5129   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5130 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5131 "
   5132 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5133   cat >>confdefs.h <<_ACEOF
   5134 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5135 _ACEOF
   5136 
   5137 fi
   5138 
   5139 done
   5140 
   5141 
   5142 
   5143 if test "$ac_cv_prog_cc_stdc" != no; then
   5144   U= ANSI2KNR=
   5145 else
   5146   U=_ ANSI2KNR=./ansi2knr
   5147 fi
   5148 # Ensure some checks needed by ansi2knr itself.
   5149 
   5150 for ac_header in string.h
   5151 do :
   5152   ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
   5153 if test "x$ac_cv_header_string_h" = x""yes; then :
   5154   cat >>confdefs.h <<_ACEOF
   5155 #define HAVE_STRING_H 1
   5156 _ACEOF
   5157 
   5158 fi
   5159 
   5160 done
   5161 
   5162 
   5163 
   5164 case $host in
   5165   *-apple-darwin*)
   5166     case "$LD $LDFLAGS" in
   5167   *-Wl,-search_paths_first*) ;;
   5168   *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler understands -Wl,-search_paths_first" >&5
   5169 $as_echo_n "checking if the compiler understands -Wl,-search_paths_first... " >&6; }
   5170      saved_LDFLAGS="$LDFLAGS"
   5171      LDFLAGS="-Wl,-search_paths_first $LDFLAGS"
   5172      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5173 /* end confdefs.h.  */
   5174 
   5175 int
   5176 main ()
   5177 {
   5178 
   5179   ;
   5180   return 0;
   5181 }
   5182 _ACEOF
   5183 if ac_fn_c_try_link "$LINENO"; then :
   5184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5185 $as_echo "yes" >&6; }
   5186 else
   5187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5188 $as_echo "no" >&6; }
   5189         LDFLAGS="$saved_LDFLAGS"
   5190 fi
   5191 rm -f core conftest.err conftest.$ac_objext \
   5192     conftest$ac_exeext conftest.$ac_ext
   5193      ;;
   5194  esac
   5195  ;;
   5196 esac
   5197 
   5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
   5199 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
   5200 if test "${ac_cv_c_const+set}" = set; then :
   5201   $as_echo_n "(cached) " >&6
   5202 else
   5203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5204 /* end confdefs.h.  */
   5205 
   5206 int
   5207 main ()
   5208 {
   5209 /* FIXME: Include the comments suggested by Paul. */
   5210 #ifndef __cplusplus
   5211   /* Ultrix mips cc rejects this.  */
   5212   typedef int charset[2];
   5213   const charset cs;
   5214   /* SunOS 4.1.1 cc rejects this.  */
   5215   char const *const *pcpcc;
   5216   char **ppc;
   5217   /* NEC SVR4.0.2 mips cc rejects this.  */
   5218   struct point {int x, y;};
   5219   static struct point const zero = {0,0};
   5220   /* AIX XL C 1.02.0.0 rejects this.
   5221      It does not let you subtract one const X* pointer from another in
   5222      an arm of an if-expression whose if-part is not a constant
   5223      expression */
   5224   const char *g = "string";
   5225   pcpcc = &g + (g ? g-g : 0);
   5226   /* HPUX 7.0 cc rejects these. */
   5227   ++pcpcc;
   5228   ppc = (char**) pcpcc;
   5229   pcpcc = (char const *const *) ppc;
   5230   { /* SCO 3.2v4 cc rejects this.  */
   5231     char *t;
   5232     char const *s = 0 ? (char *) 0 : (char const *) 0;
   5233 
   5234     *t++ = 0;
   5235     if (s) return 0;
   5236   }
   5237   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   5238     int x[] = {25, 17};
   5239     const int *foo = &x[0];
   5240     ++foo;
   5241   }
   5242   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   5243     typedef const int *iptr;
   5244     iptr p = 0;
   5245     ++p;
   5246   }
   5247   { /* AIX XL C 1.02.0.0 rejects this saying
   5248        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   5249     struct s { int j; const int *ap[3]; };
   5250     struct s *b; b->j = 5;
   5251   }
   5252   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   5253     const int foo = 10;
   5254     if (!foo) return 0;
   5255   }
   5256   return !cs[0] && !zero.x;
   5257 #endif
   5258 
   5259   ;
   5260   return 0;
   5261 }
   5262 _ACEOF
   5263 if ac_fn_c_try_compile "$LINENO"; then :
   5264   ac_cv_c_const=yes
   5265 else
   5266   ac_cv_c_const=no
   5267 fi
   5268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5269 fi
   5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
   5271 $as_echo "$ac_cv_c_const" >&6; }
   5272 if test $ac_cv_c_const = no; then
   5273 
   5274 $as_echo "#define const /**/" >>confdefs.h
   5275 
   5276 fi
   5277 
   5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
   5279 $as_echo_n "checking for working volatile... " >&6; }
   5280 if test "${ac_cv_c_volatile+set}" = set; then :
   5281   $as_echo_n "(cached) " >&6
   5282 else
   5283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5284 /* end confdefs.h.  */
   5285 
   5286 int
   5287 main ()
   5288 {
   5289 
   5290 volatile int x;
   5291 int * volatile y = (int *) 0;
   5292 return !x && !y;
   5293   ;
   5294   return 0;
   5295 }
   5296 _ACEOF
   5297 if ac_fn_c_try_compile "$LINENO"; then :
   5298   ac_cv_c_volatile=yes
   5299 else
   5300   ac_cv_c_volatile=no
   5301 fi
   5302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5303 fi
   5304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
   5305 $as_echo "$ac_cv_c_volatile" >&6; }
   5306 if test $ac_cv_c_volatile = no; then
   5307 
   5308 $as_echo "#define volatile /**/" >>confdefs.h
   5309 
   5310 fi
   5311 
   5312 
   5313 
   5314 MPFR_LIBM=''
   5315 
   5316 case $host in
   5317   *-*-beos* | *-*-cygwin* | *-*-pw32*)
   5318     # According to libtool AC CHECK LIBM, these systems don't have libm
   5319     ;;
   5320   *-*-solaris*)
   5321     # On Solaris the math functions new in C99 are in -lm9x.
   5322     # FIXME: Do we need -lm9x as well as -lm, or just instead of?
   5323     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm9x" >&5
   5324 $as_echo_n "checking for main in -lm9x... " >&6; }
   5325 if test "${ac_cv_lib_m9x_main+set}" = set; then :
   5326   $as_echo_n "(cached) " >&6
   5327 else
   5328   ac_check_lib_save_LIBS=$LIBS
   5329 LIBS="-lm9x  $LIBS"
   5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5331 /* end confdefs.h.  */
   5332 
   5333 
   5334 int
   5335 main ()
   5336 {
   5337 return main ();
   5338   ;
   5339   return 0;
   5340 }
   5341 _ACEOF
   5342 if ac_fn_c_try_link "$LINENO"; then :
   5343   ac_cv_lib_m9x_main=yes
   5344 else
   5345   ac_cv_lib_m9x_main=no
   5346 fi
   5347 rm -f core conftest.err conftest.$ac_objext \
   5348     conftest$ac_exeext conftest.$ac_ext
   5349 LIBS=$ac_check_lib_save_LIBS
   5350 fi
   5351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m9x_main" >&5
   5352 $as_echo "$ac_cv_lib_m9x_main" >&6; }
   5353 if test "x$ac_cv_lib_m9x_main" = x""yes; then :
   5354   MPFR_LIBM="-lm9x"
   5355 fi
   5356 
   5357     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
   5358 $as_echo_n "checking for main in -lm... " >&6; }
   5359 if test "${ac_cv_lib_m_main+set}" = set; then :
   5360   $as_echo_n "(cached) " >&6
   5361 else
   5362   ac_check_lib_save_LIBS=$LIBS
   5363 LIBS="-lm  $LIBS"
   5364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5365 /* end confdefs.h.  */
   5366 
   5367 
   5368 int
   5369 main ()
   5370 {
   5371 return main ();
   5372   ;
   5373   return 0;
   5374 }
   5375 _ACEOF
   5376 if ac_fn_c_try_link "$LINENO"; then :
   5377   ac_cv_lib_m_main=yes
   5378 else
   5379   ac_cv_lib_m_main=no
   5380 fi
   5381 rm -f core conftest.err conftest.$ac_objext \
   5382     conftest$ac_exeext conftest.$ac_ext
   5383 LIBS=$ac_check_lib_save_LIBS
   5384 fi
   5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
   5386 $as_echo "$ac_cv_lib_m_main" >&6; }
   5387 if test "x$ac_cv_lib_m_main" = x""yes; then :
   5388   MPFR_LIBM="$MPFR_LIBM -lm"
   5389 fi
   5390 
   5391     ;;
   5392   *-ncr-sysv4.3*)
   5393     # FIXME: What does -lmw mean?  Libtool AC CHECK LIBM does it this way.
   5394     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
   5395 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
   5396 if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then :
   5397   $as_echo_n "(cached) " >&6
   5398 else
   5399   ac_check_lib_save_LIBS=$LIBS
   5400 LIBS="-lmw  $LIBS"
   5401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5402 /* end confdefs.h.  */
   5403 
   5404 /* Override any GCC internal prototype to avoid an error.
   5405    Use char because int might match the return type of a GCC
   5406    builtin and then its argument prototype would still apply.  */
   5407 #ifdef __cplusplus
   5408 extern "C"
   5409 #endif
   5410 char _mwvalidcheckl ();
   5411 int
   5412 main ()
   5413 {
   5414 return _mwvalidcheckl ();
   5415   ;
   5416   return 0;
   5417 }
   5418 _ACEOF
   5419 if ac_fn_c_try_link "$LINENO"; then :
   5420   ac_cv_lib_mw__mwvalidcheckl=yes
   5421 else
   5422   ac_cv_lib_mw__mwvalidcheckl=no
   5423 fi
   5424 rm -f core conftest.err conftest.$ac_objext \
   5425     conftest$ac_exeext conftest.$ac_ext
   5426 LIBS=$ac_check_lib_save_LIBS
   5427 fi
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   5429 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
   5430 if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then :
   5431   MPFR_LIBM="-lmw"
   5432 fi
   5433 
   5434     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
   5435 $as_echo_n "checking for main in -lm... " >&6; }
   5436 if test "${ac_cv_lib_m_main+set}" = set; then :
   5437   $as_echo_n "(cached) " >&6
   5438 else
   5439   ac_check_lib_save_LIBS=$LIBS
   5440 LIBS="-lm  $LIBS"
   5441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5442 /* end confdefs.h.  */
   5443 
   5444 
   5445 int
   5446 main ()
   5447 {
   5448 return main ();
   5449   ;
   5450   return 0;
   5451 }
   5452 _ACEOF
   5453 if ac_fn_c_try_link "$LINENO"; then :
   5454   ac_cv_lib_m_main=yes
   5455 else
   5456   ac_cv_lib_m_main=no
   5457 fi
   5458 rm -f core conftest.err conftest.$ac_objext \
   5459     conftest$ac_exeext conftest.$ac_ext
   5460 LIBS=$ac_check_lib_save_LIBS
   5461 fi
   5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
   5463 $as_echo "$ac_cv_lib_m_main" >&6; }
   5464 if test "x$ac_cv_lib_m_main" = x""yes; then :
   5465   MPFR_LIBM="$MPFR_LIBM -lm"
   5466 fi
   5467 
   5468     ;;
   5469   *)
   5470     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5
   5471 $as_echo_n "checking for main in -lm... " >&6; }
   5472 if test "${ac_cv_lib_m_main+set}" = set; then :
   5473   $as_echo_n "(cached) " >&6
   5474 else
   5475   ac_check_lib_save_LIBS=$LIBS
   5476 LIBS="-lm  $LIBS"
   5477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5478 /* end confdefs.h.  */
   5479 
   5480 
   5481 int
   5482 main ()
   5483 {
   5484 return main ();
   5485   ;
   5486   return 0;
   5487 }
   5488 _ACEOF
   5489 if ac_fn_c_try_link "$LINENO"; then :
   5490   ac_cv_lib_m_main=yes
   5491 else
   5492   ac_cv_lib_m_main=no
   5493 fi
   5494 rm -f core conftest.err conftest.$ac_objext \
   5495     conftest$ac_exeext conftest.$ac_ext
   5496 LIBS=$ac_check_lib_save_LIBS
   5497 fi
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5
   5499 $as_echo "$ac_cv_lib_m_main" >&6; }
   5500 if test "x$ac_cv_lib_m_main" = x""yes; then :
   5501   MPFR_LIBM="-lm"
   5502 fi
   5503 
   5504     ;;
   5505 esac
   5506 
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
   5508 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
   5509 if test "${ac_cv_header_time+set}" = set; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5513 /* end confdefs.h.  */
   5514 #include <sys/types.h>
   5515 #include <sys/time.h>
   5516 #include <time.h>
   5517 
   5518 int
   5519 main ()
   5520 {
   5521 if ((struct tm *) 0)
   5522 return 0;
   5523   ;
   5524   return 0;
   5525 }
   5526 _ACEOF
   5527 if ac_fn_c_try_compile "$LINENO"; then :
   5528   ac_cv_header_time=yes
   5529 else
   5530   ac_cv_header_time=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5533 fi
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
   5535 $as_echo "$ac_cv_header_time" >&6; }
   5536 if test $ac_cv_header_time = yes; then
   5537 
   5538 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
   5539 
   5540 fi
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
   5549 if test "x$ac_cv_header_limits_h" = x""yes; then :
   5550 
   5551 else
   5552   as_fn_error $? "limits.h not found" "$LINENO" 5
   5553 fi
   5554 
   5555 
   5556 ac_fn_c_check_header_mongrel "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
   5557 if test "x$ac_cv_header_float_h" = x""yes; then :
   5558 
   5559 else
   5560   as_fn_error $? "float.h not found" "$LINENO" 5
   5561 fi
   5562 
   5563 
   5564 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
   5565 if test "x$ac_cv_header_string_h" = x""yes; then :
   5566 
   5567 else
   5568   as_fn_error $? "string.h not found" "$LINENO" 5
   5569 fi
   5570 
   5571 
   5572 
   5573 for ac_header in locale.h
   5574 do :
   5575   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
   5576 if test "x$ac_cv_header_locale_h" = x""yes; then :
   5577   cat >>confdefs.h <<_ACEOF
   5578 #define HAVE_LOCALE_H 1
   5579 _ACEOF
   5580 
   5581 fi
   5582 
   5583 done
   5584 
   5585 
   5586 for ac_header in wchar.h
   5587 do :
   5588   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
   5589 if test "x$ac_cv_header_wchar_h" = x""yes; then :
   5590   cat >>confdefs.h <<_ACEOF
   5591 #define HAVE_WCHAR_H 1
   5592 _ACEOF
   5593 
   5594 fi
   5595 
   5596 done
   5597 
   5598 
   5599 ac_fn_c_check_header_mongrel "$LINENO" "stdarg.h" "ac_cv_header_stdarg_h" "$ac_includes_default"
   5600 if test "x$ac_cv_header_stdarg_h" = x""yes; then :
   5601 
   5602 $as_echo "#define HAVE_STDARG 1" >>confdefs.h
   5603 
   5604 else
   5605   ac_fn_c_check_header_mongrel "$LINENO" "varargs.h" "ac_cv_header_varargs_h" "$ac_includes_default"
   5606 if test "x$ac_cv_header_varargs_h" = x""yes; then :
   5607 
   5608 else
   5609   as_fn_error $? "stdarg.h or varargs.h not found" "$LINENO" 5
   5610 fi
   5611 
   5612 
   5613 fi
   5614 
   5615 
   5616 
   5617 for ac_header in sys/time.h sys/fpu.h
   5618 do :
   5619   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5620 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   5621 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5622   cat >>confdefs.h <<_ACEOF
   5623 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5624 _ACEOF
   5625 
   5626 fi
   5627 
   5628 done
   5629 
   5630 
   5631 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   5632 # for constant arguments.  Useless!
   5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
   5634 $as_echo_n "checking for working alloca.h... " >&6; }
   5635 if test "${ac_cv_working_alloca_h+set}" = set; then :
   5636   $as_echo_n "(cached) " >&6
   5637 else
   5638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5639 /* end confdefs.h.  */
   5640 #include <alloca.h>
   5641 int
   5642 main ()
   5643 {
   5644 char *p = (char *) alloca (2 * sizeof (int));
   5645 			  if (p) return 0;
   5646   ;
   5647   return 0;
   5648 }
   5649 _ACEOF
   5650 if ac_fn_c_try_link "$LINENO"; then :
   5651   ac_cv_working_alloca_h=yes
   5652 else
   5653   ac_cv_working_alloca_h=no
   5654 fi
   5655 rm -f core conftest.err conftest.$ac_objext \
   5656     conftest$ac_exeext conftest.$ac_ext
   5657 fi
   5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
   5659 $as_echo "$ac_cv_working_alloca_h" >&6; }
   5660 if test $ac_cv_working_alloca_h = yes; then
   5661 
   5662 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
   5663 
   5664 fi
   5665 
   5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
   5667 $as_echo_n "checking for alloca... " >&6; }
   5668 if test "${ac_cv_func_alloca_works+set}" = set; then :
   5669   $as_echo_n "(cached) " >&6
   5670 else
   5671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5672 /* end confdefs.h.  */
   5673 #ifdef __GNUC__
   5674 # define alloca __builtin_alloca
   5675 #else
   5676 # ifdef _MSC_VER
   5677 #  include <malloc.h>
   5678 #  define alloca _alloca
   5679 # else
   5680 #  ifdef HAVE_ALLOCA_H
   5681 #   include <alloca.h>
   5682 #  else
   5683 #   ifdef _AIX
   5684  #pragma alloca
   5685 #   else
   5686 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   5687 char *alloca ();
   5688 #    endif
   5689 #   endif
   5690 #  endif
   5691 # endif
   5692 #endif
   5693 
   5694 int
   5695 main ()
   5696 {
   5697 char *p = (char *) alloca (1);
   5698 				    if (p) return 0;
   5699   ;
   5700   return 0;
   5701 }
   5702 _ACEOF
   5703 if ac_fn_c_try_link "$LINENO"; then :
   5704   ac_cv_func_alloca_works=yes
   5705 else
   5706   ac_cv_func_alloca_works=no
   5707 fi
   5708 rm -f core conftest.err conftest.$ac_objext \
   5709     conftest$ac_exeext conftest.$ac_ext
   5710 fi
   5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
   5712 $as_echo "$ac_cv_func_alloca_works" >&6; }
   5713 
   5714 if test $ac_cv_func_alloca_works = yes; then
   5715 
   5716 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
   5717 
   5718 else
   5719   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   5720 # that cause trouble.  Some versions do not even contain alloca or
   5721 # contain a buggy version.  If you still want to use their alloca,
   5722 # use ar to extract alloca.o from them instead of compiling alloca.c.
   5723 
   5724 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
   5725 
   5726 $as_echo "#define C_ALLOCA 1" >>confdefs.h
   5727 
   5728 
   5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
   5730 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
   5731 if test "${ac_cv_os_cray+set}" = set; then :
   5732   $as_echo_n "(cached) " >&6
   5733 else
   5734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5735 /* end confdefs.h.  */
   5736 #if defined CRAY && ! defined CRAY2
   5737 webecray
   5738 #else
   5739 wenotbecray
   5740 #endif
   5741 
   5742 _ACEOF
   5743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5744   $EGREP "webecray" >/dev/null 2>&1; then :
   5745   ac_cv_os_cray=yes
   5746 else
   5747   ac_cv_os_cray=no
   5748 fi
   5749 rm -f conftest*
   5750 
   5751 fi
   5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
   5753 $as_echo "$ac_cv_os_cray" >&6; }
   5754 if test $ac_cv_os_cray = yes; then
   5755   for ac_func in _getb67 GETB67 getb67; do
   5756     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   5758 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   5759 
   5760 cat >>confdefs.h <<_ACEOF
   5761 #define CRAY_STACKSEG_END $ac_func
   5762 _ACEOF
   5763 
   5764     break
   5765 fi
   5766 
   5767   done
   5768 fi
   5769 
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
   5771 $as_echo_n "checking stack direction for C alloca... " >&6; }
   5772 if test "${ac_cv_c_stack_direction+set}" = set; then :
   5773   $as_echo_n "(cached) " >&6
   5774 else
   5775   if test "$cross_compiling" = yes; then :
   5776   ac_cv_c_stack_direction=0
   5777 else
   5778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5779 /* end confdefs.h.  */
   5780 $ac_includes_default
   5781 int
   5782 find_stack_direction ()
   5783 {
   5784   static char *addr = 0;
   5785   auto char dummy;
   5786   if (addr == 0)
   5787     {
   5788       addr = &dummy;
   5789       return find_stack_direction ();
   5790     }
   5791   else
   5792     return (&dummy > addr) ? 1 : -1;
   5793 }
   5794 
   5795 int
   5796 main ()
   5797 {
   5798   return find_stack_direction () < 0;
   5799 }
   5800 _ACEOF
   5801 if ac_fn_c_try_run "$LINENO"; then :
   5802   ac_cv_c_stack_direction=1
   5803 else
   5804   ac_cv_c_stack_direction=-1
   5805 fi
   5806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5807   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5808 fi
   5809 
   5810 fi
   5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
   5812 $as_echo "$ac_cv_c_stack_direction" >&6; }
   5813 cat >>confdefs.h <<_ACEOF
   5814 #define STACK_DIRECTION $ac_cv_c_stack_direction
   5815 _ACEOF
   5816 
   5817 
   5818 fi
   5819 
   5820 
   5821 
   5822   for ac_header in stdint.h
   5823 do :
   5824   ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
   5825 if test "x$ac_cv_header_stdint_h" = x""yes; then :
   5826   cat >>confdefs.h <<_ACEOF
   5827 #define HAVE_STDINT_H 1
   5828 _ACEOF
   5829 
   5830 fi
   5831 
   5832 done
   5833 
   5834     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
   5835 $as_echo_n "checking for SIZE_MAX... " >&6; }
   5836   if test "${gl_cv_size_max+set}" = set; then :
   5837   $as_echo_n "(cached) " >&6
   5838 else
   5839 
   5840     gl_cv_size_max=
   5841     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5842 /* end confdefs.h.  */
   5843 
   5844 #include <limits.h>
   5845 #if HAVE_STDINT_H
   5846 #include <stdint.h>
   5847 #endif
   5848 #ifdef SIZE_MAX
   5849 Found it
   5850 #endif
   5851 
   5852 _ACEOF
   5853 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5854   $EGREP "Found it" >/dev/null 2>&1; then :
   5855   gl_cv_size_max=yes
   5856 fi
   5857 rm -f conftest*
   5858 
   5859     if test -z "$gl_cv_size_max"; then
   5860                         if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) * CHAR_BIT - 1" "size_t_bits_minus_1"        "#include <stddef.h>
   5861 #include <limits.h>"; then :
   5862 
   5863 else
   5864   size_t_bits_minus_1=
   5865 fi
   5866 
   5867       if ac_fn_c_compute_int "$LINENO" "sizeof (size_t) <= sizeof (unsigned int)" "fits_in_uint"        "#include <stddef.h>"; then :
   5868 
   5869 else
   5870   fits_in_uint=
   5871 fi
   5872 
   5873       if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
   5874         if test $fits_in_uint = 1; then
   5875                               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5876 /* end confdefs.h.  */
   5877 #include <stddef.h>
   5878             extern size_t foo;
   5879             extern unsigned long foo;
   5880 
   5881 int
   5882 main ()
   5883 {
   5884 
   5885   ;
   5886   return 0;
   5887 }
   5888 _ACEOF
   5889 if ac_fn_c_try_compile "$LINENO"; then :
   5890   fits_in_uint=0
   5891 fi
   5892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5893         fi
   5894                                 if test $fits_in_uint = 1; then
   5895           gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
   5896         else
   5897           gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
   5898         fi
   5899       else
   5900                 gl_cv_size_max='((size_t)~(size_t)0)'
   5901       fi
   5902     fi
   5903 
   5904 fi
   5905 
   5906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
   5907 $as_echo "$gl_cv_size_max" >&6; }
   5908   if test "$gl_cv_size_max" != yes; then
   5909 
   5910 cat >>confdefs.h <<_ACEOF
   5911 #define SIZE_MAX $gl_cv_size_max
   5912 _ACEOF
   5913 
   5914   fi
   5915 
   5916 
   5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to copy va_list" >&5
   5918 $as_echo_n "checking how to copy va_list... " >&6; }
   5919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5920 /* end confdefs.h.  */
   5921 
   5922 #include <stdarg.h>
   5923 
   5924 int
   5925 main ()
   5926 {
   5927 
   5928    va_list ap1, ap2;
   5929    va_copy(ap1, ap2);
   5930 
   5931   ;
   5932   return 0;
   5933 }
   5934 _ACEOF
   5935 if ac_fn_c_try_link "$LINENO"; then :
   5936 
   5937    { $as_echo "$as_me:${as_lineno-$LINENO}: result: va_copy" >&5
   5938 $as_echo "va_copy" >&6; }
   5939    $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
   5940 
   5941 
   5942 else
   5943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5944 /* end confdefs.h.  */
   5945 
   5946 #include <stdarg.h>
   5947 
   5948 int
   5949 main ()
   5950 {
   5951 
   5952    va_list ap1, ap2;
   5953    __va_copy(ap1, ap2);
   5954 
   5955   ;
   5956   return 0;
   5957 }
   5958 _ACEOF
   5959 if ac_fn_c_try_link "$LINENO"; then :
   5960   $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
   5961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: __va_copy" >&5
   5962 $as_echo "__va_copy" >&6; }
   5963 else
   5964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: memcpy" >&5
   5965 $as_echo "memcpy" >&6; }
   5966 fi
   5967 rm -f core conftest.err conftest.$ac_objext \
   5968     conftest$ac_exeext conftest.$ac_ext
   5969 fi
   5970 rm -f core conftest.err conftest.$ac_objext \
   5971     conftest$ac_exeext conftest.$ac_ext
   5972 
   5973 for ac_func in memmove memset setlocale strtol gettimeofday
   5974 do :
   5975   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   5977 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   5978   cat >>confdefs.h <<_ACEOF
   5979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5980 _ACEOF
   5981 
   5982 fi
   5983 done
   5984 
   5985 
   5986 case $host in
   5987 alpha*-*-*)
   5988   saved_CFLAGS="$CFLAGS"
   5989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IEEE-754 switches" >&5
   5990 $as_echo_n "checking for IEEE-754 switches... " >&6; }
   5991 if test "${mpfr_cv_ieee_switches+set}" = set; then :
   5992   $as_echo_n "(cached) " >&6
   5993 else
   5994 
   5995   if test -n "$GCC"; then
   5996     mpfr_cv_ieee_switches="-mfp-rounding-mode=d -mieee-with-inexact"
   5997   else
   5998     mpfr_cv_ieee_switches="-fprm d -ieee_with_inexact"
   5999   fi
   6000   CFLAGS="$CFLAGS $mpfr_cv_ieee_switches"
   6001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6002 /* end confdefs.h.  */
   6003 
   6004 int
   6005 main ()
   6006 {
   6007 
   6008   ;
   6009   return 0;
   6010 }
   6011 _ACEOF
   6012 if ac_fn_c_try_compile "$LINENO"; then :
   6013 
   6014 else
   6015   mpfr_cv_ieee_switches="none"
   6016 fi
   6017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6018 
   6019 fi
   6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_ieee_switches" >&5
   6021 $as_echo "$mpfr_cv_ieee_switches" >&6; }
   6022   if test "$mpfr_cv_ieee_switches" = "none"; then
   6023     CFLAGS="$saved_CFLAGS"
   6024   else
   6025     CFLAGS="$saved_CFLAGS $mpfr_cv_ieee_switches"
   6026   fi
   6027 esac
   6028 
   6029 ac_fn_c_check_type "$LINENO" "long long int" "ac_cv_type_long_long_int" "$ac_includes_default"
   6030 if test "x$ac_cv_type_long_long_int" = x""yes; then :
   6031 
   6032 $as_echo "#define HAVE_LONG_LONG 1" >>confdefs.h
   6033 
   6034 fi
   6035 
   6036 
   6037 ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "$ac_includes_default"
   6038 if test "x$ac_cv_type_intmax_t" = x""yes; then :
   6039 
   6040 cat >>confdefs.h <<_ACEOF
   6041 #define HAVE_INTMAX_T 1
   6042 _ACEOF
   6043 
   6044 
   6045 fi
   6046 
   6047 if test "$ac_cv_type_intmax_t" = yes; then
   6048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working INTMAX_MAX" >&5
   6049 $as_echo_n "checking for working INTMAX_MAX... " >&6; }
   6050 if test "${mpfr_cv_have_intmax_max+set}" = set; then :
   6051   $as_echo_n "(cached) " >&6
   6052 else
   6053 
   6054     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6055 /* end confdefs.h.  */
   6056 #include <stdint.h>
   6057 int
   6058 main ()
   6059 {
   6060 intmax_t x = INTMAX_MAX;
   6061   ;
   6062   return 0;
   6063 }
   6064 _ACEOF
   6065 if ac_fn_c_try_compile "$LINENO"; then :
   6066   mpfr_cv_have_intmax_max=yes
   6067 else
   6068   mpfr_cv_have_intmax_max=no
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6071 
   6072 fi
   6073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_have_intmax_max" >&5
   6074 $as_echo "$mpfr_cv_have_intmax_max" >&6; }
   6075   if test "$mpfr_cv_have_intmax_max" = "yes"; then
   6076 
   6077 $as_echo "#define MPFR_HAVE_INTMAX_MAX 1" >>confdefs.h
   6078 
   6079   fi
   6080 fi
   6081 
   6082 ac_fn_c_check_type "$LINENO" "union fpc_csr" "ac_cv_type_union_fpc_csr" "
   6083 #if HAVE_SYS_FPU_H
   6084 #  include <sys/fpu.h>
   6085 #endif
   6086 
   6087 "
   6088 if test "x$ac_cv_type_union_fpc_csr" = x""yes; then :
   6089 
   6090 $as_echo "#define HAVE_FPC_CSR 1" >>confdefs.h
   6091 
   6092 fi
   6093 
   6094 
   6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fesetround" >&5
   6096 $as_echo_n "checking for fesetround... " >&6; }
   6097 if test "${mpfr_cv_have_fesetround+set}" = set; then :
   6098   $as_echo_n "(cached) " >&6
   6099 else
   6100 
   6101 saved_LIBS="$LIBS"
   6102 LIBS="$LIBS $MPFR_LIBM"
   6103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6104 /* end confdefs.h.  */
   6105 #include <fenv.h>
   6106 int
   6107 main ()
   6108 {
   6109 fesetround(FE_TONEAREST);
   6110   ;
   6111   return 0;
   6112 }
   6113 _ACEOF
   6114 if ac_fn_c_try_link "$LINENO"; then :
   6115   mpfr_cv_have_fesetround=yes
   6116 else
   6117   mpfr_cv_have_fesetround=no
   6118 fi
   6119 rm -f core conftest.err conftest.$ac_objext \
   6120     conftest$ac_exeext conftest.$ac_ext
   6121 LIBS="$saved_LIBS"
   6122 
   6123 fi
   6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_have_fesetround" >&5
   6125 $as_echo "$mpfr_cv_have_fesetround" >&6; }
   6126 if test "$mpfr_cv_have_fesetround" = "yes"; then
   6127 
   6128 $as_echo "#define MPFR_HAVE_FESETROUND 1" >>confdefs.h
   6129 
   6130 fi
   6131 
   6132 if test -n "$GCC"; then
   6133   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc float-conversion bug" >&5
   6134 $as_echo_n "checking for gcc float-conversion bug... " >&6; }
   6135 if test "${mpfr_cv_gcc_floatconv_bug+set}" = set; then :
   6136   $as_echo_n "(cached) " >&6
   6137 else
   6138 
   6139   saved_LIBS="$LIBS"
   6140   LIBS="$LIBS $MPFR_LIBM"
   6141   if test "$cross_compiling" = yes; then :
   6142   mpfr_cv_gcc_floatconv_bug="cannot test, use -ffloat-store"
   6143 else
   6144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6145 /* end confdefs.h.  */
   6146 
   6147 #include <float.h>
   6148 #ifdef MPFR_HAVE_FESETROUND
   6149 #include <fenv.h>
   6150 #endif
   6151 static double get_max (void);
   6152 int main() {
   6153   double x = 0.5;
   6154   double y;
   6155   int i;
   6156   for (i = 1; i <= 11; i++)
   6157     x *= x;
   6158   if (x != 0)
   6159     return 1;
   6160 #ifdef MPFR_HAVE_FESETROUND
   6161   /* Useful test for the G4 PowerPC */
   6162   fesetround(FE_TOWARDZERO);
   6163   x = y = get_max ();
   6164   x *= 2.0;
   6165   if (x != y)
   6166     return 1;
   6167 #endif
   6168   return 0;
   6169 }
   6170 static double get_max (void) { static volatile double d = DBL_MAX; return d; }
   6171 
   6172 _ACEOF
   6173 if ac_fn_c_try_run "$LINENO"; then :
   6174   mpfr_cv_gcc_floatconv_bug="no"
   6175 else
   6176   mpfr_cv_gcc_floatconv_bug="yes, use -ffloat-store"
   6177 fi
   6178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6179   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6180 fi
   6181 
   6182   LIBS="$saved_LIBS"
   6183 
   6184 fi
   6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_gcc_floatconv_bug" >&5
   6186 $as_echo "$mpfr_cv_gcc_floatconv_bug" >&6; }
   6187   if test "$mpfr_cv_gcc_floatconv_bug" != "no"; then
   6188     CFLAGS="$CFLAGS -ffloat-store"
   6189   fi
   6190 fi
   6191 
   6192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for denormalized numbers" >&5
   6193 $as_echo_n "checking for denormalized numbers... " >&6; }
   6194 if test "${mpfr_cv_have_denorms+set}" = set; then :
   6195   $as_echo_n "(cached) " >&6
   6196 else
   6197 
   6198 if test "$cross_compiling" = yes; then :
   6199   mpfr_cv_have_denorms=no
   6200 else
   6201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6202 /* end confdefs.h.  */
   6203 
   6204 #include <math.h>
   6205 #include <stdio.h>
   6206 int main() {
   6207   double x = 2.22507385850720138309e-308;
   6208   fprintf (stderr, "%e\n", x / 2.0);
   6209   return 2.0 * (x / 2.0) != x;
   6210 }
   6211 
   6212 _ACEOF
   6213 if ac_fn_c_try_run "$LINENO"; then :
   6214   mpfr_cv_have_denorms=yes
   6215 else
   6216   mpfr_cv_have_denorms=no
   6217 fi
   6218 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6219   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6220 fi
   6221 
   6222 
   6223 fi
   6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_have_denorms" >&5
   6225 $as_echo "$mpfr_cv_have_denorms" >&6; }
   6226 if test "$mpfr_cv_have_denorms" = "yes"; then
   6227 
   6228 $as_echo "#define HAVE_DENORMS 1" >>confdefs.h
   6229 
   6230 fi
   6231 
   6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if NAN == NAN" >&5
   6233 $as_echo_n "checking if NAN == NAN... " >&6; }
   6234 if test "${mpfr_cv_nanisnan+set}" = set; then :
   6235   $as_echo_n "(cached) " >&6
   6236 else
   6237 
   6238 if test "$cross_compiling" = yes; then :
   6239   mpfr_cv_nanisnan="cannot test, assume no"
   6240 else
   6241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6242 /* end confdefs.h.  */
   6243 
   6244 #include <stdio.h>
   6245 #include <math.h>
   6246 #ifndef NAN
   6247 # define NAN (0.0/0.0)
   6248 #endif
   6249 int main() {
   6250   double d;
   6251   d = NAN;
   6252   return d != d;
   6253 }
   6254 
   6255 _ACEOF
   6256 if ac_fn_c_try_run "$LINENO"; then :
   6257   mpfr_cv_nanisnan="yes"
   6258 else
   6259   mpfr_cv_nanisnan="no"
   6260 fi
   6261 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6262   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6263 fi
   6264 
   6265 
   6266 fi
   6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_nanisnan" >&5
   6268 $as_echo "$mpfr_cv_nanisnan" >&6; }
   6269 if test "$mpfr_cv_nanisnan" = "yes"; then
   6270 
   6271 $as_echo "#define MPFR_NANISNAN 1" >>confdefs.h
   6272 
   6273   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The test NAN != NAN is false. The probable reason is that" >&5
   6274 $as_echo "$as_me: WARNING: The test NAN != NAN is false. The probable reason is that" >&2;}
   6275   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your compiler optimizes floating-point expressions in an" >&5
   6276 $as_echo "$as_me: WARNING: your compiler optimizes floating-point expressions in an" >&2;}
   6277   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsafe way because some option, such as -ffast-math or" >&5
   6278 $as_echo "$as_me: WARNING: unsafe way because some option, such as -ffast-math or" >&2;}
   6279   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: -fast (depending on the compiler), has been used.  You" >&5
   6280 $as_echo "$as_me: WARNING: -fast (depending on the compiler), has been used.  You" >&2;}
   6281   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: should NOT use such an option, otherwise MPFR functions" >&5
   6282 $as_echo "$as_me: WARNING: should NOT use such an option, otherwise MPFR functions" >&2;}
   6283   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: such as mpfr_get_d and mpfr_set_d may return incorrect" >&5
   6284 $as_echo "$as_me: WARNING: such as mpfr_get_d and mpfr_set_d may return incorrect" >&2;}
   6285   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: results on special FP numbers (e.g. NaN or signed zeros)." >&5
   6286 $as_echo "$as_me: WARNING: results on special FP numbers (e.g. NaN or signed zeros)." >&2;}
   6287   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you did not use such an option, please send us a bug" >&5
   6288 $as_echo "$as_me: WARNING: If you did not use such an option, please send us a bug" >&2;}
   6289   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: report so that we can try to find a workaround for your" >&5
   6290 $as_echo "$as_me: WARNING: report so that we can try to find a workaround for your" >&2;}
   6291   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: platform and/or document the behavior." >&5
   6292 $as_echo "$as_me: WARNING: platform and/or document the behavior." >&2;}
   6293 fi
   6294 
   6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if charset has consecutive values" >&5
   6296 $as_echo_n "checking if charset has consecutive values... " >&6; }
   6297 if test "$cross_compiling" = yes; then :
   6298   { $as_echo "$as_me:${as_lineno-$LINENO}: result: can not test" >&5
   6299 $as_echo "can not test" >&6; }
   6300 else
   6301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6302 /* end confdefs.h.  */
   6303 
   6304 char *number = "0123456789";
   6305 char *lower  = "abcdefghijklmnopqrstuvwxyz";
   6306 char *upper  = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
   6307 
   6308 int
   6309 main ()
   6310 {
   6311 
   6312  int i;
   6313  unsigned char *p;
   6314  for (p = (unsigned char*) number, i = 0; i < 9; i++)
   6315    if ( (*p)+1 != *(p+1) ) return 1;
   6316  for (p = (unsigned char*) lower, i = 0; i < 25; i++)
   6317    if ( (*p)+1 != *(p+1) ) return 1;
   6318  for (p = (unsigned char*) upper, i = 0; i < 25; i++)
   6319    if ( (*p)+1 != *(p+1) ) return 1;
   6320 
   6321   ;
   6322   return 0;
   6323 }
   6324 _ACEOF
   6325 if ac_fn_c_try_run "$LINENO"; then :
   6326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6327 $as_echo "yes" >&6; }
   6328 else
   6329 
   6330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6331 $as_echo "no" >&6; }
   6332 
   6333 $as_echo "#define MPFR_NO_CONSECUTIVE_CHARSET 1" >>confdefs.h
   6334 
   6335 
   6336 fi
   6337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6338   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6339 fi
   6340 
   6341 
   6342 saved_LIBS="$LIBS"
   6343 LIBS="$LIBS $MPFR_LIBM"
   6344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math/round" >&5
   6345 $as_echo_n "checking for math/round... " >&6; }
   6346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6347 /* end confdefs.h.  */
   6348 
   6349 #include <math.h>
   6350 int f (double (*func)(double)) { return 0;}
   6351 
   6352 int
   6353 main ()
   6354 {
   6355 
   6356  double a = 17.42;
   6357  a = f (round);
   6358  return 0;
   6359 
   6360   ;
   6361   return 0;
   6362 }
   6363 _ACEOF
   6364 if ac_fn_c_try_link "$LINENO"; then :
   6365 
   6366    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6367 $as_echo "yes" >&6; }
   6368 
   6369 $as_echo "#define HAVE_ROUND 1" >>confdefs.h
   6370 
   6371 
   6372 else
   6373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6374 $as_echo "no" >&6; }
   6375 fi
   6376 rm -f core conftest.err conftest.$ac_objext \
   6377     conftest$ac_exeext conftest.$ac_ext
   6378 
   6379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math/trunc" >&5
   6380 $as_echo_n "checking for math/trunc... " >&6; }
   6381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6382 /* end confdefs.h.  */
   6383 
   6384 #include <math.h>
   6385 int f (double (*func)(double)) { return 0;}
   6386 
   6387 int
   6388 main ()
   6389 {
   6390 
   6391  double a = 17.42;
   6392  a = f(trunc);
   6393  return 0;
   6394 
   6395   ;
   6396   return 0;
   6397 }
   6398 _ACEOF
   6399 if ac_fn_c_try_link "$LINENO"; then :
   6400 
   6401    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6402 $as_echo "yes" >&6; }
   6403 
   6404 $as_echo "#define HAVE_TRUNC 1" >>confdefs.h
   6405 
   6406 
   6407 else
   6408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6409 $as_echo "no" >&6; }
   6410 fi
   6411 rm -f core conftest.err conftest.$ac_objext \
   6412     conftest$ac_exeext conftest.$ac_ext
   6413 
   6414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math/floor" >&5
   6415 $as_echo_n "checking for math/floor... " >&6; }
   6416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6417 /* end confdefs.h.  */
   6418 
   6419 #include <math.h>
   6420 int f (double (*func)(double)) { return 0;}
   6421 
   6422 int
   6423 main ()
   6424 {
   6425 
   6426  double a = 17.42;
   6427  a = f(floor);
   6428  return 0;
   6429 
   6430   ;
   6431   return 0;
   6432 }
   6433 _ACEOF
   6434 if ac_fn_c_try_link "$LINENO"; then :
   6435 
   6436    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6437 $as_echo "yes" >&6; }
   6438 
   6439 $as_echo "#define HAVE_FLOOR 1" >>confdefs.h
   6440 
   6441 
   6442 else
   6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6444 $as_echo "no" >&6; }
   6445 fi
   6446 rm -f core conftest.err conftest.$ac_objext \
   6447     conftest$ac_exeext conftest.$ac_ext
   6448 
   6449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math/ceil" >&5
   6450 $as_echo_n "checking for math/ceil... " >&6; }
   6451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6452 /* end confdefs.h.  */
   6453 
   6454 #include <math.h>
   6455 int f (double (*func)(double)) { return 0;}
   6456 
   6457 int
   6458 main ()
   6459 {
   6460 
   6461  double a = 17.42;
   6462  a = f(ceil);
   6463  return 0;
   6464 
   6465   ;
   6466   return 0;
   6467 }
   6468 _ACEOF
   6469 if ac_fn_c_try_link "$LINENO"; then :
   6470 
   6471    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6472 $as_echo "yes" >&6; }
   6473 
   6474 $as_echo "#define HAVE_CEIL 1" >>confdefs.h
   6475 
   6476 
   6477 else
   6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6479 $as_echo "no" >&6; }
   6480 fi
   6481 rm -f core conftest.err conftest.$ac_objext \
   6482     conftest$ac_exeext conftest.$ac_ext
   6483 
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for math/rint" >&5
   6485 $as_echo_n "checking for math/rint... " >&6; }
   6486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6487 /* end confdefs.h.  */
   6488 
   6489 #include <math.h>
   6490 int f (double (*func)(double)) { return 0;}
   6491 
   6492 int
   6493 main ()
   6494 {
   6495 
   6496  double a = 17.42;
   6497  a = f(nearbyint);
   6498  return 0;
   6499 
   6500   ;
   6501   return 0;
   6502 }
   6503 _ACEOF
   6504 if ac_fn_c_try_link "$LINENO"; then :
   6505 
   6506    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6507 $as_echo "yes" >&6; }
   6508 
   6509 $as_echo "#define HAVE_NEARBYINT 1" >>confdefs.h
   6510 
   6511 
   6512 else
   6513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6514 $as_echo "no" >&6; }
   6515 fi
   6516 rm -f core conftest.err conftest.$ac_objext \
   6517     conftest$ac_exeext conftest.$ac_ext
   6518 
   6519 LIBS="$saved_LIBS"
   6520 
   6521 
   6522 
   6523 
   6524 ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "$ac_includes_default"
   6525 if test "x$ac_cv_type_long_double" = x""yes; then :
   6526 
   6527 cat >>confdefs.h <<_ACEOF
   6528 #define HAVE_LONG_DOUBLE 1
   6529 _ACEOF
   6530 
   6531 
   6532 fi
   6533 
   6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking format of \`long double' floating point" >&5
   6535 $as_echo_n "checking format of \`long double' floating point... " >&6; }
   6536 if test "${mpfr_cv_c_long_double_format+set}" = set; then :
   6537   $as_echo_n "(cached) " >&6
   6538 else
   6539   mpfr_cv_c_long_double_format=unknown
   6540 if test "$ac_cv_type_long_double" != yes; then
   6541   mpfr_cv_c_long_double_format="not available"
   6542 else
   6543   cat >conftest.c <<\EOF
   6544 
   6545 /* "before" is 16 bytes to ensure there's no padding between it and "x".
   6546    We're not expecting any "long double" bigger than 16 bytes or with
   6547    alignment requirements stricter than 16 bytes.  */
   6548 struct {
   6549   char         before[16];
   6550   long double  x;
   6551   char         after[8];
   6552 } foo = {
   6553   { '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
   6554     '\001', '\043', '\105', '\147', '\211', '\253', '\315', '\357' },
   6555   -123456789.0,
   6556   { '\376', '\334', '\272', '\230', '\166', '\124', '\062', '\020' }
   6557 };
   6558 
   6559 EOF
   6560   mpfr_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1"
   6561   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$mpfr_compile\""; } >&5
   6562   (eval $mpfr_compile) 2>&5
   6563   ac_status=$?
   6564   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6565   test $ac_status = 0; }; then
   6566     cat >conftest.awk <<\EOF
   6567 
   6568 BEGIN {
   6569   found = 0
   6570 }
   6571 
   6572 # got[] holds a sliding window of bytes read the input.  got[0] is the most
   6573 # recent byte read, and got[31] the oldest byte read, so when looking to
   6574 # match some data the indices are "reversed".
   6575 #
   6576 {
   6577   for (f = 2; f <= NF; f++)
   6578     {
   6579       # new byte, shift others up
   6580       for (i = 31; i >= 0; i--)
   6581         got[i+1] = got[i];
   6582       got[0] = $f;
   6583 
   6584       # end sequence
   6585       if (got[7] != "376") continue
   6586       if (got[6] != "334") continue
   6587       if (got[5] != "272") continue
   6588       if (got[4] != "230") continue
   6589       if (got[3] != "166") continue
   6590       if (got[2] != "124") continue
   6591       if (got[1] != "062") continue
   6592       if (got[0] != "020") continue
   6593 
   6594       # start sequence, with 8-byte body
   6595       if (got[23] == "001" && \
   6596           got[22] == "043" && \
   6597           got[21] == "105" && \
   6598           got[20] == "147" && \
   6599           got[19] == "211" && \
   6600           got[18] == "253" && \
   6601           got[17] == "315" && \
   6602           got[16] == "357")
   6603         {
   6604           saw = " (" got[15] \
   6605                  " " got[14] \
   6606                  " " got[13] \
   6607                  " " got[12] \
   6608                  " " got[11] \
   6609                  " " got[10] \
   6610                  " " got[9]  \
   6611                  " " got[8] ")"
   6612 
   6613           if (got[15] == "301" && \
   6614               got[14] == "235" && \
   6615               got[13] == "157" && \
   6616               got[12] == "064" && \
   6617               got[11] == "124" && \
   6618               got[10] == "000" && \
   6619               got[9] ==  "000" && \
   6620               got[8] ==  "000")
   6621             {
   6622               print "IEEE double, big endian"
   6623               found = 1
   6624               exit
   6625             }
   6626 
   6627           if (got[15] == "000" && \
   6628               got[14] == "000" && \
   6629               got[13] == "000" && \
   6630               got[12] == "124" && \
   6631               got[11] == "064" && \
   6632               got[10] == "157" && \
   6633               got[9] ==  "235" && \
   6634               got[8] ==  "301")
   6635             {
   6636               print "IEEE double, little endian"
   6637               found = 1
   6638               exit
   6639             }
   6640         }
   6641 
   6642       # start sequence, with 12-byte body
   6643       if (got[27] == "001" && \
   6644           got[26] == "043" && \
   6645           got[25] == "105" && \
   6646           got[24] == "147" && \
   6647           got[23] == "211" && \
   6648           got[22] == "253" && \
   6649           got[21] == "315" && \
   6650           got[20] == "357")
   6651         {
   6652           saw = " (" got[19] \
   6653                  " " got[18] \
   6654                  " " got[17] \
   6655                  " " got[16] \
   6656                  " " got[15] \
   6657                  " " got[14] \
   6658                  " " got[13] \
   6659                  " " got[12] \
   6660                  " " got[11] \
   6661                  " " got[10] \
   6662                  " " got[9]  \
   6663                  " " got[8] ")"
   6664 
   6665           if (got[19] == "000" && \
   6666               got[18] == "000" && \
   6667               got[17] == "000" && \
   6668               got[16] == "000" && \
   6669               got[15] == "240" && \
   6670               got[14] == "242" && \
   6671               got[13] == "171" && \
   6672               got[12] == "353" && \
   6673               got[11] == "031" && \
   6674               got[10] == "300")
   6675             {
   6676               print "IEEE extended, little endian"
   6677               found = 1
   6678               exit
   6679             }
   6680         }
   6681 
   6682       # start sequence, with 16-byte body
   6683       if (got[31] == "001" && \
   6684           got[30] == "043" && \
   6685           got[29] == "105" && \
   6686           got[28] == "147" && \
   6687           got[27] == "211" && \
   6688           got[26] == "253" && \
   6689           got[25] == "315" && \
   6690           got[24] == "357")
   6691         {
   6692           saw = " (" got[23] \
   6693                  " " got[22] \
   6694                  " " got[21] \
   6695                  " " got[20] \
   6696                  " " got[19] \
   6697                  " " got[18] \
   6698                  " " got[17] \
   6699                  " " got[16] \
   6700                  " " got[15] \
   6701                  " " got[14] \
   6702                  " " got[13] \
   6703                  " " got[12] \
   6704                  " " got[11] \
   6705                  " " got[10] \
   6706                  " " got[9]  \
   6707                  " " got[8] ")"
   6708 
   6709           if (got[23] == "000" && \
   6710               got[22] == "000" && \
   6711               got[21] == "000" && \
   6712               got[20] == "000" && \
   6713               got[19] == "240" && \
   6714               got[18] == "242" && \
   6715               got[17] == "171" && \
   6716               got[16] == "353" && \
   6717               got[15] == "031" && \
   6718               got[14] == "300")
   6719             {
   6720               print "IEEE extended, little endian"
   6721               found = 1
   6722               exit
   6723             }
   6724 
   6725           if (got[23] == "300" && \
   6726               got[22] == "031" && \
   6727               got[21] == "326" && \
   6728               got[20] == "363" && \
   6729               got[19] == "105" && \
   6730               got[18] == "100" && \
   6731               got[17] == "000" && \
   6732               got[16] == "000" && \
   6733               got[15] == "000" && \
   6734               got[14] == "000" && \
   6735               got[13] == "000" && \
   6736               got[12] == "000" && \
   6737               got[11] == "000" && \
   6738               got[10] == "000" && \
   6739               got[9]  == "000" && \
   6740               got[8]  == "000")
   6741             {
   6742               print "IEEE quad, big endian"
   6743               found = 1
   6744               exit
   6745             }
   6746 
   6747           if (got[23] == "000" && \
   6748               got[22] == "000" && \
   6749               got[21] == "000" && \
   6750               got[20] == "000" && \
   6751               got[19] == "000" && \
   6752               got[18] == "000" && \
   6753               got[17] == "000" && \
   6754               got[16] == "000" && \
   6755               got[15] == "000" && \
   6756               got[14] == "000" && \
   6757               got[13] == "100" && \
   6758               got[12] == "105" && \
   6759               got[11] == "363" && \
   6760               got[10] == "326" && \
   6761               got[9]  == "031" && \
   6762 	      got[8]  == "300")
   6763             {
   6764               print "IEEE quad, little endian"
   6765               found = 1
   6766               exit
   6767             }
   6768 
   6769           if (got[23] == "301" && \
   6770               got[22] == "235" && \
   6771               got[21] == "157" && \
   6772               got[20] == "064" && \
   6773               got[19] == "124" && \
   6774               got[18] == "000" && \
   6775               got[17] == "000" && \
   6776               got[16] == "000" && \
   6777               got[15] == "000" && \
   6778               got[14] == "000" && \
   6779               got[13] == "000" && \
   6780               got[12] == "000" && \
   6781               got[11] == "000" && \
   6782               got[10] == "000" && \
   6783               got[9]  == "000" && \
   6784               got[8]  == "000")
   6785             {
   6786               print "possibly double-double, big endian"
   6787               found = 1
   6788               exit
   6789             }
   6790         }
   6791     }
   6792 }
   6793 
   6794 END {
   6795   if (! found)
   6796     print "unknown", saw
   6797 }
   6798 
   6799 EOF
   6800     mpfr_cv_c_long_double_format=`od -b conftest.$OBJEXT | $AWK -f conftest.awk`
   6801     case $mpfr_cv_c_long_double_format in
   6802     unknown*)
   6803       echo "cannot match anything, conftest.$OBJEXT contains" >&5
   6804       od -b conftest.$OBJEXT >&5
   6805       ;;
   6806     esac
   6807   else
   6808     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oops, cannot compile test program" >&5
   6809 $as_echo "$as_me: WARNING: oops, cannot compile test program" >&2;}
   6810   fi
   6811 fi
   6812 rm -f conftest*
   6813 
   6814 fi
   6815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_c_long_double_format" >&5
   6816 $as_echo "$mpfr_cv_c_long_double_format" >&6; }
   6817 
   6818 
   6819 
   6820 case $mpfr_cv_c_long_double_format in
   6821   "IEEE extended, little endian")
   6822     $as_echo "#define HAVE_LDOUBLE_IEEE_EXT_LITTLE 1" >>confdefs.h
   6823 
   6824     ;;
   6825   "IEEE quad, big endian")
   6826     $as_echo "#define HAVE_LDOUBLE_IEEE_QUAD_BIG 1" >>confdefs.h
   6827 
   6828     ;;
   6829   "IEEE quad, little endian")
   6830     $as_echo "#define HAVE_LDOUBLE_IEEE_QUAD_LITTLE 1" >>confdefs.h
   6831 
   6832     ;;
   6833   "possibly double-double, big endian")
   6834     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: This format is known on GCC/PowerPC platforms," >&5
   6835 $as_echo "$as_me: WARNING: This format is known on GCC/PowerPC platforms," >&2;}
   6836     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: but due to GCC PR26374, we can't test further." >&5
   6837 $as_echo "$as_me: WARNING: but due to GCC PR26374, we can't test further." >&2;}
   6838     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You can safely ignore this warning, though." >&5
   6839 $as_echo "$as_me: WARNING: You can safely ignore this warning, though." >&2;}
   6840     # Since we are not sure, we do not want to define a macro.
   6841     ;;
   6842   unknown* | "not available")
   6843     ;;
   6844   *)
   6845     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: oops, unrecognised float format: $mpfr_cv_c_long_double_format" >&5
   6846 $as_echo "$as_me: WARNING: oops, unrecognised float format: $mpfr_cv_c_long_double_format" >&2;}
   6847     ;;
   6848 esac
   6849 
   6850 
   6851 if test "$enable_thread_safe" = yes; then
   6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS support" >&5
   6853 $as_echo_n "checking for TLS support... " >&6; }
   6854 if test "${mpfr_cv_working_tls+set}" = set; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857 
   6858 saved_CPPFLAGS="$CPPFLAGS"
   6859 # The -I$srcdir is necessary when objdir is different from srcdir.
   6860 CPPFLAGS="$CPPFLAGS -I$srcdir"
   6861 if test "$cross_compiling" = yes; then :
   6862   mpfr_cv_working_tls="cannot test, assume yes"
   6863 else
   6864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6865 /* end confdefs.h.  */
   6866 
   6867 #define MPFR_USE_THREAD_SAFE 1
   6868 #include "mpfr-thread.h"
   6869 MPFR_THREAD_ATTR int x = 17;
   6870 int main() {
   6871   return x != 17;
   6872 }
   6873 
   6874 _ACEOF
   6875 if ac_fn_c_try_run "$LINENO"; then :
   6876   mpfr_cv_working_tls="yes"
   6877 else
   6878   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6879 $as_echo "no" >&6; }
   6880       as_fn_error $? "please configure with --disable-thread-safe" "$LINENO" 5
   6881 fi
   6882 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   6883   conftest.$ac_objext conftest.beam conftest.$ac_ext
   6884 fi
   6885 
   6886 CPPFLAGS="$saved_CPPFLAGS"
   6887 
   6888 fi
   6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpfr_cv_working_tls" >&5
   6890 $as_echo "$mpfr_cv_working_tls" >&6; }
   6891 fi
   6892 
   6893 
   6894 
   6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmp.h" >&5
   6896 $as_echo_n "checking for gmp.h... " >&6; }
   6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6898 /* end confdefs.h.  */
   6899 
   6900 #include "gmp.h"
   6901 
   6902 _ACEOF
   6903 if ac_fn_c_try_compile "$LINENO"; then :
   6904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6905 $as_echo "yes" >&6; }
   6906 else
   6907 
   6908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6909 $as_echo "no" >&6; }
   6910  as_fn_error $? "gmp.h can't be found, or is unusable." "$LINENO" 5
   6911 
   6912 fi
   6913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6914 
   6915 enable_win32_dll=yes
   6916 
   6917 case $host in
   6918 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
   6919   if test -n "$ac_tool_prefix"; then
   6920   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   6921 set dummy ${ac_tool_prefix}as; ac_word=$2
   6922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6923 $as_echo_n "checking for $ac_word... " >&6; }
   6924 if test "${ac_cv_prog_AS+set}" = set; then :
   6925   $as_echo_n "(cached) " >&6
   6926 else
   6927   if test -n "$AS"; then
   6928   ac_cv_prog_AS="$AS" # Let the user override the test.
   6929 else
   6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6931 for as_dir in $PATH
   6932 do
   6933   IFS=$as_save_IFS
   6934   test -z "$as_dir" && as_dir=.
   6935     for ac_exec_ext in '' $ac_executable_extensions; do
   6936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6937     ac_cv_prog_AS="${ac_tool_prefix}as"
   6938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6939     break 2
   6940   fi
   6941 done
   6942   done
   6943 IFS=$as_save_IFS
   6944 
   6945 fi
   6946 fi
   6947 AS=$ac_cv_prog_AS
   6948 if test -n "$AS"; then
   6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
   6950 $as_echo "$AS" >&6; }
   6951 else
   6952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6953 $as_echo "no" >&6; }
   6954 fi
   6955 
   6956 
   6957 fi
   6958 if test -z "$ac_cv_prog_AS"; then
   6959   ac_ct_AS=$AS
   6960   # Extract the first word of "as", so it can be a program name with args.
   6961 set dummy as; ac_word=$2
   6962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6963 $as_echo_n "checking for $ac_word... " >&6; }
   6964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
   6965   $as_echo_n "(cached) " >&6
   6966 else
   6967   if test -n "$ac_ct_AS"; then
   6968   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   6969 else
   6970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6971 for as_dir in $PATH
   6972 do
   6973   IFS=$as_save_IFS
   6974   test -z "$as_dir" && as_dir=.
   6975     for ac_exec_ext in '' $ac_executable_extensions; do
   6976   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6977     ac_cv_prog_ac_ct_AS="as"
   6978     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6979     break 2
   6980   fi
   6981 done
   6982   done
   6983 IFS=$as_save_IFS
   6984 
   6985 fi
   6986 fi
   6987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
   6988 if test -n "$ac_ct_AS"; then
   6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
   6990 $as_echo "$ac_ct_AS" >&6; }
   6991 else
   6992   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6993 $as_echo "no" >&6; }
   6994 fi
   6995 
   6996   if test "x$ac_ct_AS" = x; then
   6997     AS="false"
   6998   else
   6999     case $cross_compiling:$ac_tool_warned in
   7000 yes:)
   7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7003 ac_tool_warned=yes ;;
   7004 esac
   7005     AS=$ac_ct_AS
   7006   fi
   7007 else
   7008   AS="$ac_cv_prog_AS"
   7009 fi
   7010 
   7011   if test -n "$ac_tool_prefix"; then
   7012   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   7013 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   7014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7015 $as_echo_n "checking for $ac_word... " >&6; }
   7016 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
   7017   $as_echo_n "(cached) " >&6
   7018 else
   7019   if test -n "$DLLTOOL"; then
   7020   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   7021 else
   7022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7023 for as_dir in $PATH
   7024 do
   7025   IFS=$as_save_IFS
   7026   test -z "$as_dir" && as_dir=.
   7027     for ac_exec_ext in '' $ac_executable_extensions; do
   7028   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7029     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   7030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7031     break 2
   7032   fi
   7033 done
   7034   done
   7035 IFS=$as_save_IFS
   7036 
   7037 fi
   7038 fi
   7039 DLLTOOL=$ac_cv_prog_DLLTOOL
   7040 if test -n "$DLLTOOL"; then
   7041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   7042 $as_echo "$DLLTOOL" >&6; }
   7043 else
   7044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7045 $as_echo "no" >&6; }
   7046 fi
   7047 
   7048 
   7049 fi
   7050 if test -z "$ac_cv_prog_DLLTOOL"; then
   7051   ac_ct_DLLTOOL=$DLLTOOL
   7052   # Extract the first word of "dlltool", so it can be a program name with args.
   7053 set dummy dlltool; ac_word=$2
   7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7055 $as_echo_n "checking for $ac_word... " >&6; }
   7056 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
   7057   $as_echo_n "(cached) " >&6
   7058 else
   7059   if test -n "$ac_ct_DLLTOOL"; then
   7060   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   7061 else
   7062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7063 for as_dir in $PATH
   7064 do
   7065   IFS=$as_save_IFS
   7066   test -z "$as_dir" && as_dir=.
   7067     for ac_exec_ext in '' $ac_executable_extensions; do
   7068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7069     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   7070     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7071     break 2
   7072   fi
   7073 done
   7074   done
   7075 IFS=$as_save_IFS
   7076 
   7077 fi
   7078 fi
   7079 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   7080 if test -n "$ac_ct_DLLTOOL"; then
   7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   7082 $as_echo "$ac_ct_DLLTOOL" >&6; }
   7083 else
   7084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7085 $as_echo "no" >&6; }
   7086 fi
   7087 
   7088   if test "x$ac_ct_DLLTOOL" = x; then
   7089     DLLTOOL="false"
   7090   else
   7091     case $cross_compiling:$ac_tool_warned in
   7092 yes:)
   7093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7095 ac_tool_warned=yes ;;
   7096 esac
   7097     DLLTOOL=$ac_ct_DLLTOOL
   7098   fi
   7099 else
   7100   DLLTOOL="$ac_cv_prog_DLLTOOL"
   7101 fi
   7102 
   7103   if test -n "$ac_tool_prefix"; then
   7104   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   7105 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7107 $as_echo_n "checking for $ac_word... " >&6; }
   7108 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   7109   $as_echo_n "(cached) " >&6
   7110 else
   7111   if test -n "$OBJDUMP"; then
   7112   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   7113 else
   7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7115 for as_dir in $PATH
   7116 do
   7117   IFS=$as_save_IFS
   7118   test -z "$as_dir" && as_dir=.
   7119     for ac_exec_ext in '' $ac_executable_extensions; do
   7120   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7121     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   7122     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7123     break 2
   7124   fi
   7125 done
   7126   done
   7127 IFS=$as_save_IFS
   7128 
   7129 fi
   7130 fi
   7131 OBJDUMP=$ac_cv_prog_OBJDUMP
   7132 if test -n "$OBJDUMP"; then
   7133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7134 $as_echo "$OBJDUMP" >&6; }
   7135 else
   7136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7137 $as_echo "no" >&6; }
   7138 fi
   7139 
   7140 
   7141 fi
   7142 if test -z "$ac_cv_prog_OBJDUMP"; then
   7143   ac_ct_OBJDUMP=$OBJDUMP
   7144   # Extract the first word of "objdump", so it can be a program name with args.
   7145 set dummy objdump; ac_word=$2
   7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7147 $as_echo_n "checking for $ac_word... " >&6; }
   7148 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   7149   $as_echo_n "(cached) " >&6
   7150 else
   7151   if test -n "$ac_ct_OBJDUMP"; then
   7152   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7153 else
   7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7155 for as_dir in $PATH
   7156 do
   7157   IFS=$as_save_IFS
   7158   test -z "$as_dir" && as_dir=.
   7159     for ac_exec_ext in '' $ac_executable_extensions; do
   7160   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7161     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7162     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7163     break 2
   7164   fi
   7165 done
   7166   done
   7167 IFS=$as_save_IFS
   7168 
   7169 fi
   7170 fi
   7171 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7172 if test -n "$ac_ct_OBJDUMP"; then
   7173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7174 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7175 else
   7176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7177 $as_echo "no" >&6; }
   7178 fi
   7179 
   7180   if test "x$ac_ct_OBJDUMP" = x; then
   7181     OBJDUMP="false"
   7182   else
   7183     case $cross_compiling:$ac_tool_warned in
   7184 yes:)
   7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7187 ac_tool_warned=yes ;;
   7188 esac
   7189     OBJDUMP=$ac_ct_OBJDUMP
   7190   fi
   7191 else
   7192   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7193 fi
   7194 
   7195   ;;
   7196 esac
   7197 
   7198 test -z "$AS" && AS=as
   7199 
   7200 
   7201 
   7202 
   7203 
   7204 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 test -z "$OBJDUMP" && OBJDUMP=objdump
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 case $host in
   7219   *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
   7220    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DLL/static GMP" >&5
   7221 $as_echo_n "checking for DLL/static GMP... " >&6; }
   7222    if test "$enable_shared" = yes; then
   7223      LDFLAGS="$LDFLAGS -no-undefined"
   7224      dont_link_with_gmp="yes"
   7225      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7226 /* end confdefs.h.  */
   7227 
   7228 #include "gmp.h"
   7229 #if !__GMP_LIBGMP_DLL
   7230 # error "Dead man"
   7231 error
   7232 #endif
   7233 
   7234 int
   7235 main ()
   7236 {
   7237 
   7238   ;
   7239   return 0;
   7240 }
   7241 _ACEOF
   7242 if ac_fn_c_try_compile "$LINENO"; then :
   7243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   7244 $as_echo "DLL" >&6; }
   7245 else
   7246 
   7247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   7248 $as_echo "static" >&6; }
   7249   as_fn_error $? "gmp.h isn't a DLL: use --enable-static --disable-shared" "$LINENO" 5
   7250 fi
   7251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7252    else
   7253      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 
   7256 #include "gmp.h"
   7257 #if __GMP_LIBGMP_DLL
   7258 # error "Dead man"
   7259 error
   7260 #endif
   7261 
   7262 int
   7263 main ()
   7264 {
   7265 
   7266   ;
   7267   return 0;
   7268 }
   7269 _ACEOF
   7270 if ac_fn_c_try_compile "$LINENO"; then :
   7271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: static" >&5
   7272 $as_echo "static" >&6; }
   7273 else
   7274 
   7275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLL" >&5
   7276 $as_echo "DLL" >&6; }
   7277   as_fn_error $? "gmp.h is a DLL: use --disable-static --enable-shared" "$LINENO" 5
   7278 fi
   7279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7280   fi
   7281   ;;
   7282 esac
   7283 case `pwd` in
   7284   *\ * | *\	*)
   7285     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   7286 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   7287 esac
   7288 
   7289 
   7290 
   7291 macro_version='2.2.6b'
   7292 macro_revision='1.3017'
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 
   7306 ltmain="$ac_aux_dir/ltmain.sh"
   7307 
   7308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   7309 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   7310 if test "${ac_cv_path_SED+set}" = set; then :
   7311   $as_echo_n "(cached) " >&6
   7312 else
   7313             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   7314      for ac_i in 1 2 3 4 5 6 7; do
   7315        ac_script="$ac_script$as_nl$ac_script"
   7316      done
   7317      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   7318      { ac_script=; unset ac_script;}
   7319      if test -z "$SED"; then
   7320   ac_path_SED_found=false
   7321   # Loop through the user's path and test for each of PROGNAME-LIST
   7322   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7323 for as_dir in $PATH
   7324 do
   7325   IFS=$as_save_IFS
   7326   test -z "$as_dir" && as_dir=.
   7327     for ac_prog in sed gsed; do
   7328     for ac_exec_ext in '' $ac_executable_extensions; do
   7329       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   7330       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   7331 # Check for GNU ac_path_SED and select it if it is found.
   7332   # Check for GNU $ac_path_SED
   7333 case `"$ac_path_SED" --version 2>&1` in
   7334 *GNU*)
   7335   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   7336 *)
   7337   ac_count=0
   7338   $as_echo_n 0123456789 >"conftest.in"
   7339   while :
   7340   do
   7341     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7342     mv "conftest.tmp" "conftest.in"
   7343     cp "conftest.in" "conftest.nl"
   7344     $as_echo '' >> "conftest.nl"
   7345     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7346     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7347     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7348     if test $ac_count -gt ${ac_path_SED_max-0}; then
   7349       # Best one so far, save it but keep looking for a better one
   7350       ac_cv_path_SED="$ac_path_SED"
   7351       ac_path_SED_max=$ac_count
   7352     fi
   7353     # 10*(2^10) chars as input seems more than enough
   7354     test $ac_count -gt 10 && break
   7355   done
   7356   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7357 esac
   7358 
   7359       $ac_path_SED_found && break 3
   7360     done
   7361   done
   7362   done
   7363 IFS=$as_save_IFS
   7364   if test -z "$ac_cv_path_SED"; then
   7365     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   7366   fi
   7367 else
   7368   ac_cv_path_SED=$SED
   7369 fi
   7370 
   7371 fi
   7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   7373 $as_echo "$ac_cv_path_SED" >&6; }
   7374  SED="$ac_cv_path_SED"
   7375   rm -f conftest.sed
   7376 
   7377 test -z "$SED" && SED=sed
   7378 Xsed="$SED -e 1s/^X//"
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   7391 $as_echo_n "checking for fgrep... " >&6; }
   7392 if test "${ac_cv_path_FGREP+set}" = set; then :
   7393   $as_echo_n "(cached) " >&6
   7394 else
   7395   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   7396    then ac_cv_path_FGREP="$GREP -F"
   7397    else
   7398      if test -z "$FGREP"; then
   7399   ac_path_FGREP_found=false
   7400   # Loop through the user's path and test for each of PROGNAME-LIST
   7401   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7402 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   7403 do
   7404   IFS=$as_save_IFS
   7405   test -z "$as_dir" && as_dir=.
   7406     for ac_prog in fgrep; do
   7407     for ac_exec_ext in '' $ac_executable_extensions; do
   7408       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   7409       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   7410 # Check for GNU ac_path_FGREP and select it if it is found.
   7411   # Check for GNU $ac_path_FGREP
   7412 case `"$ac_path_FGREP" --version 2>&1` in
   7413 *GNU*)
   7414   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   7415 *)
   7416   ac_count=0
   7417   $as_echo_n 0123456789 >"conftest.in"
   7418   while :
   7419   do
   7420     cat "conftest.in" "conftest.in" >"conftest.tmp"
   7421     mv "conftest.tmp" "conftest.in"
   7422     cp "conftest.in" "conftest.nl"
   7423     $as_echo 'FGREP' >> "conftest.nl"
   7424     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   7425     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   7426     as_fn_arith $ac_count + 1 && ac_count=$as_val
   7427     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   7428       # Best one so far, save it but keep looking for a better one
   7429       ac_cv_path_FGREP="$ac_path_FGREP"
   7430       ac_path_FGREP_max=$ac_count
   7431     fi
   7432     # 10*(2^10) chars as input seems more than enough
   7433     test $ac_count -gt 10 && break
   7434   done
   7435   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   7436 esac
   7437 
   7438       $ac_path_FGREP_found && break 3
   7439     done
   7440   done
   7441   done
   7442 IFS=$as_save_IFS
   7443   if test -z "$ac_cv_path_FGREP"; then
   7444     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   7445   fi
   7446 else
   7447   ac_cv_path_FGREP=$FGREP
   7448 fi
   7449 
   7450    fi
   7451 fi
   7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   7453 $as_echo "$ac_cv_path_FGREP" >&6; }
   7454  FGREP="$ac_cv_path_FGREP"
   7455 
   7456 
   7457 test -z "$GREP" && GREP=grep
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 # Check whether --with-gnu-ld was given.
   7478 if test "${with_gnu_ld+set}" = set; then :
   7479   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   7480 else
   7481   with_gnu_ld=no
   7482 fi
   7483 
   7484 ac_prog=ld
   7485 if test "$GCC" = yes; then
   7486   # Check if gcc -print-prog-name=ld gives a path.
   7487   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   7488 $as_echo_n "checking for ld used by $CC... " >&6; }
   7489   case $host in
   7490   *-*-mingw*)
   7491     # gcc leaves a trailing carriage return which upsets mingw
   7492     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   7493   *)
   7494     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   7495   esac
   7496   case $ac_prog in
   7497     # Accept absolute paths.
   7498     [\\/]* | ?:[\\/]*)
   7499       re_direlt='/[^/][^/]*/\.\./'
   7500       # Canonicalize the pathname of ld
   7501       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   7502       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   7503 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   7504       done
   7505       test -z "$LD" && LD="$ac_prog"
   7506       ;;
   7507   "")
   7508     # If it fails, then pretend we aren't using GCC.
   7509     ac_prog=ld
   7510     ;;
   7511   *)
   7512     # If it is relative, then search for the first ld in PATH.
   7513     with_gnu_ld=unknown
   7514     ;;
   7515   esac
   7516 elif test "$with_gnu_ld" = yes; then
   7517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   7518 $as_echo_n "checking for GNU ld... " >&6; }
   7519 else
   7520   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   7521 $as_echo_n "checking for non-GNU ld... " >&6; }
   7522 fi
   7523 if test "${lt_cv_path_LD+set}" = set; then :
   7524   $as_echo_n "(cached) " >&6
   7525 else
   7526   if test -z "$LD"; then
   7527   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7528   for ac_dir in $PATH; do
   7529     IFS="$lt_save_ifs"
   7530     test -z "$ac_dir" && ac_dir=.
   7531     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   7532       lt_cv_path_LD="$ac_dir/$ac_prog"
   7533       # Check to see if the program is GNU ld.  I'd rather use --version,
   7534       # but apparently some variants of GNU ld only accept -v.
   7535       # Break only if it was the GNU/non-GNU ld that we prefer.
   7536       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   7537       *GNU* | *'with BFD'*)
   7538 	test "$with_gnu_ld" != no && break
   7539 	;;
   7540       *)
   7541 	test "$with_gnu_ld" != yes && break
   7542 	;;
   7543       esac
   7544     fi
   7545   done
   7546   IFS="$lt_save_ifs"
   7547 else
   7548   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   7549 fi
   7550 fi
   7551 
   7552 LD="$lt_cv_path_LD"
   7553 if test -n "$LD"; then
   7554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   7555 $as_echo "$LD" >&6; }
   7556 else
   7557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7558 $as_echo "no" >&6; }
   7559 fi
   7560 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   7561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   7562 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   7563 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
   7564   $as_echo_n "(cached) " >&6
   7565 else
   7566   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   7567 case `$LD -v 2>&1 </dev/null` in
   7568 *GNU* | *'with BFD'*)
   7569   lt_cv_prog_gnu_ld=yes
   7570   ;;
   7571 *)
   7572   lt_cv_prog_gnu_ld=no
   7573   ;;
   7574 esac
   7575 fi
   7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   7577 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   7578 with_gnu_ld=$lt_cv_prog_gnu_ld
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   7589 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   7590 if test "${lt_cv_path_NM+set}" = set; then :
   7591   $as_echo_n "(cached) " >&6
   7592 else
   7593   if test -n "$NM"; then
   7594   # Let the user override the test.
   7595   lt_cv_path_NM="$NM"
   7596 else
   7597   lt_nm_to_check="${ac_tool_prefix}nm"
   7598   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   7599     lt_nm_to_check="$lt_nm_to_check nm"
   7600   fi
   7601   for lt_tmp_nm in $lt_nm_to_check; do
   7602     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7603     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   7604       IFS="$lt_save_ifs"
   7605       test -z "$ac_dir" && ac_dir=.
   7606       tmp_nm="$ac_dir/$lt_tmp_nm"
   7607       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   7608 	# Check to see if the nm accepts a BSD-compat flag.
   7609 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   7610 	#   nm: unknown option "B" ignored
   7611 	# Tru64's nm complains that /dev/null is an invalid object file
   7612 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   7613 	*/dev/null* | *'Invalid file or object type'*)
   7614 	  lt_cv_path_NM="$tmp_nm -B"
   7615 	  break
   7616 	  ;;
   7617 	*)
   7618 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   7619 	  */dev/null*)
   7620 	    lt_cv_path_NM="$tmp_nm -p"
   7621 	    break
   7622 	    ;;
   7623 	  *)
   7624 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   7625 	    continue # so that we can try to find one that supports BSD flags
   7626 	    ;;
   7627 	  esac
   7628 	  ;;
   7629 	esac
   7630       fi
   7631     done
   7632     IFS="$lt_save_ifs"
   7633   done
   7634   : ${lt_cv_path_NM=no}
   7635 fi
   7636 fi
   7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   7638 $as_echo "$lt_cv_path_NM" >&6; }
   7639 if test "$lt_cv_path_NM" != "no"; then
   7640   NM="$lt_cv_path_NM"
   7641 else
   7642   # Didn't find any BSD compatible name lister, look for dumpbin.
   7643   if test -n "$ac_tool_prefix"; then
   7644   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   7645   do
   7646     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   7647 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   7648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7649 $as_echo_n "checking for $ac_word... " >&6; }
   7650 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
   7651   $as_echo_n "(cached) " >&6
   7652 else
   7653   if test -n "$DUMPBIN"; then
   7654   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   7655 else
   7656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7657 for as_dir in $PATH
   7658 do
   7659   IFS=$as_save_IFS
   7660   test -z "$as_dir" && as_dir=.
   7661     for ac_exec_ext in '' $ac_executable_extensions; do
   7662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7663     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   7664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7665     break 2
   7666   fi
   7667 done
   7668   done
   7669 IFS=$as_save_IFS
   7670 
   7671 fi
   7672 fi
   7673 DUMPBIN=$ac_cv_prog_DUMPBIN
   7674 if test -n "$DUMPBIN"; then
   7675   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   7676 $as_echo "$DUMPBIN" >&6; }
   7677 else
   7678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7679 $as_echo "no" >&6; }
   7680 fi
   7681 
   7682 
   7683     test -n "$DUMPBIN" && break
   7684   done
   7685 fi
   7686 if test -z "$DUMPBIN"; then
   7687   ac_ct_DUMPBIN=$DUMPBIN
   7688   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   7689 do
   7690   # Extract the first word of "$ac_prog", so it can be a program name with args.
   7691 set dummy $ac_prog; ac_word=$2
   7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7693 $as_echo_n "checking for $ac_word... " >&6; }
   7694 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
   7695   $as_echo_n "(cached) " >&6
   7696 else
   7697   if test -n "$ac_ct_DUMPBIN"; then
   7698   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   7699 else
   7700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7701 for as_dir in $PATH
   7702 do
   7703   IFS=$as_save_IFS
   7704   test -z "$as_dir" && as_dir=.
   7705     for ac_exec_ext in '' $ac_executable_extensions; do
   7706   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7707     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   7708     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7709     break 2
   7710   fi
   7711 done
   7712   done
   7713 IFS=$as_save_IFS
   7714 
   7715 fi
   7716 fi
   7717 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   7718 if test -n "$ac_ct_DUMPBIN"; then
   7719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   7720 $as_echo "$ac_ct_DUMPBIN" >&6; }
   7721 else
   7722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7723 $as_echo "no" >&6; }
   7724 fi
   7725 
   7726 
   7727   test -n "$ac_ct_DUMPBIN" && break
   7728 done
   7729 
   7730   if test "x$ac_ct_DUMPBIN" = x; then
   7731     DUMPBIN=":"
   7732   else
   7733     case $cross_compiling:$ac_tool_warned in
   7734 yes:)
   7735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7736 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7737 ac_tool_warned=yes ;;
   7738 esac
   7739     DUMPBIN=$ac_ct_DUMPBIN
   7740   fi
   7741 fi
   7742 
   7743 
   7744   if test "$DUMPBIN" != ":"; then
   7745     NM="$DUMPBIN"
   7746   fi
   7747 fi
   7748 test -z "$NM" && NM=nm
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   7756 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   7757 if test "${lt_cv_nm_interface+set}" = set; then :
   7758   $as_echo_n "(cached) " >&6
   7759 else
   7760   lt_cv_nm_interface="BSD nm"
   7761   echo "int some_variable = 0;" > conftest.$ac_ext
   7762   (eval echo "\"\$as_me:7762: $ac_compile\"" >&5)
   7763   (eval "$ac_compile" 2>conftest.err)
   7764   cat conftest.err >&5
   7765   (eval echo "\"\$as_me:7765: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   7766   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   7767   cat conftest.err >&5
   7768   (eval echo "\"\$as_me:7768: output\"" >&5)
   7769   cat conftest.out >&5
   7770   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   7771     lt_cv_nm_interface="MS dumpbin"
   7772   fi
   7773   rm -f conftest*
   7774 fi
   7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   7776 $as_echo "$lt_cv_nm_interface" >&6; }
   7777 
   7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   7779 $as_echo_n "checking whether ln -s works... " >&6; }
   7780 LN_S=$as_ln_s
   7781 if test "$LN_S" = "ln -s"; then
   7782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   7783 $as_echo "yes" >&6; }
   7784 else
   7785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   7786 $as_echo "no, using $LN_S" >&6; }
   7787 fi
   7788 
   7789 # find the maximum length of command line arguments
   7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   7791 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   7792 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
   7793   $as_echo_n "(cached) " >&6
   7794 else
   7795     i=0
   7796   teststring="ABCD"
   7797 
   7798   case $build_os in
   7799   msdosdjgpp*)
   7800     # On DJGPP, this test can blow up pretty badly due to problems in libc
   7801     # (any single argument exceeding 2000 bytes causes a buffer overrun
   7802     # during glob expansion).  Even if it were fixed, the result of this
   7803     # check would be larger than it should be.
   7804     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   7805     ;;
   7806 
   7807   gnu*)
   7808     # Under GNU Hurd, this test is not required because there is
   7809     # no limit to the length of command line arguments.
   7810     # Libtool will interpret -1 as no limit whatsoever
   7811     lt_cv_sys_max_cmd_len=-1;
   7812     ;;
   7813 
   7814   cygwin* | mingw* | cegcc*)
   7815     # On Win9x/ME, this test blows up -- it succeeds, but takes
   7816     # about 5 minutes as the teststring grows exponentially.
   7817     # Worse, since 9x/ME are not pre-emptively multitasking,
   7818     # you end up with a "frozen" computer, even though with patience
   7819     # the test eventually succeeds (with a max line length of 256k).
   7820     # Instead, let's just punt: use the minimum linelength reported by
   7821     # all of the supported platforms: 8192 (on NT/2K/XP).
   7822     lt_cv_sys_max_cmd_len=8192;
   7823     ;;
   7824 
   7825   amigaos*)
   7826     # On AmigaOS with pdksh, this test takes hours, literally.
   7827     # So we just punt and use a minimum line length of 8192.
   7828     lt_cv_sys_max_cmd_len=8192;
   7829     ;;
   7830 
   7831   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   7832     # This has been around since 386BSD, at least.  Likely further.
   7833     if test -x /sbin/sysctl; then
   7834       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   7835     elif test -x /usr/sbin/sysctl; then
   7836       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   7837     else
   7838       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   7839     fi
   7840     # And add a safety zone
   7841     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7842     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7843     ;;
   7844 
   7845   interix*)
   7846     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   7847     lt_cv_sys_max_cmd_len=196608
   7848     ;;
   7849 
   7850   osf*)
   7851     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   7852     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   7853     # nice to cause kernel panics so lets avoid the loop below.
   7854     # First set a reasonable default.
   7855     lt_cv_sys_max_cmd_len=16384
   7856     #
   7857     if test -x /sbin/sysconfig; then
   7858       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   7859         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   7860       esac
   7861     fi
   7862     ;;
   7863   sco3.2v5*)
   7864     lt_cv_sys_max_cmd_len=102400
   7865     ;;
   7866   sysv5* | sco5v6* | sysv4.2uw2*)
   7867     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   7868     if test -n "$kargmax"; then
   7869       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   7870     else
   7871       lt_cv_sys_max_cmd_len=32768
   7872     fi
   7873     ;;
   7874   *)
   7875     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   7876     if test -n "$lt_cv_sys_max_cmd_len"; then
   7877       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   7878       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   7879     else
   7880       # Make teststring a little bigger before we do anything with it.
   7881       # a 1K string should be a reasonable start.
   7882       for i in 1 2 3 4 5 6 7 8 ; do
   7883         teststring=$teststring$teststring
   7884       done
   7885       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   7886       # If test is not a shell built-in, we'll probably end up computing a
   7887       # maximum length that is only half of the actual maximum length, but
   7888       # we can't tell.
   7889       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   7890 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   7891 	      test $i != 17 # 1/2 MB should be enough
   7892       do
   7893         i=`expr $i + 1`
   7894         teststring=$teststring$teststring
   7895       done
   7896       # Only check the string length outside the loop.
   7897       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   7898       teststring=
   7899       # Add a significant safety factor because C++ compilers can tack on
   7900       # massive amounts of additional arguments before passing them to the
   7901       # linker.  It appears as though 1/2 is a usable value.
   7902       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   7903     fi
   7904     ;;
   7905   esac
   7906 
   7907 fi
   7908 
   7909 if test -n $lt_cv_sys_max_cmd_len ; then
   7910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   7911 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   7912 else
   7913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   7914 $as_echo "none" >&6; }
   7915 fi
   7916 max_cmd_len=$lt_cv_sys_max_cmd_len
   7917 
   7918 
   7919 
   7920 
   7921 
   7922 
   7923 : ${CP="cp -f"}
   7924 : ${MV="mv -f"}
   7925 : ${RM="rm -f"}
   7926 
   7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   7928 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   7929 # Try some XSI features
   7930 xsi_shell=no
   7931 ( _lt_dummy="a/b/c"
   7932   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   7933       = c,a/b,, \
   7934     && eval 'test $(( 1 + 1 )) -eq 2 \
   7935     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   7936   && xsi_shell=yes
   7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   7938 $as_echo "$xsi_shell" >&6; }
   7939 
   7940 
   7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   7942 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   7943 lt_shell_append=no
   7944 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   7945     >/dev/null 2>&1 \
   7946   && lt_shell_append=yes
   7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   7948 $as_echo "$lt_shell_append" >&6; }
   7949 
   7950 
   7951 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   7952   lt_unset=unset
   7953 else
   7954   lt_unset=false
   7955 fi
   7956 
   7957 
   7958 
   7959 
   7960 
   7961 # test EBCDIC or ASCII
   7962 case `echo X|tr X '\101'` in
   7963  A) # ASCII based system
   7964     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   7965   lt_SP2NL='tr \040 \012'
   7966   lt_NL2SP='tr \015\012 \040\040'
   7967   ;;
   7968  *) # EBCDIC based system
   7969   lt_SP2NL='tr \100 \n'
   7970   lt_NL2SP='tr \r\n \100\100'
   7971   ;;
   7972 esac
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   7983 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   7984 if test "${lt_cv_ld_reload_flag+set}" = set; then :
   7985   $as_echo_n "(cached) " >&6
   7986 else
   7987   lt_cv_ld_reload_flag='-r'
   7988 fi
   7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   7990 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   7991 reload_flag=$lt_cv_ld_reload_flag
   7992 case $reload_flag in
   7993 "" | " "*) ;;
   7994 *) reload_flag=" $reload_flag" ;;
   7995 esac
   7996 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   7997 case $host_os in
   7998   darwin*)
   7999     if test "$GCC" = yes; then
   8000       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   8001     else
   8002       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   8003     fi
   8004     ;;
   8005 esac
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 if test -n "$ac_tool_prefix"; then
   8016   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   8017 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8019 $as_echo_n "checking for $ac_word... " >&6; }
   8020 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
   8021   $as_echo_n "(cached) " >&6
   8022 else
   8023   if test -n "$OBJDUMP"; then
   8024   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   8025 else
   8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8027 for as_dir in $PATH
   8028 do
   8029   IFS=$as_save_IFS
   8030   test -z "$as_dir" && as_dir=.
   8031     for ac_exec_ext in '' $ac_executable_extensions; do
   8032   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8033     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   8034     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8035     break 2
   8036   fi
   8037 done
   8038   done
   8039 IFS=$as_save_IFS
   8040 
   8041 fi
   8042 fi
   8043 OBJDUMP=$ac_cv_prog_OBJDUMP
   8044 if test -n "$OBJDUMP"; then
   8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   8046 $as_echo "$OBJDUMP" >&6; }
   8047 else
   8048   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8049 $as_echo "no" >&6; }
   8050 fi
   8051 
   8052 
   8053 fi
   8054 if test -z "$ac_cv_prog_OBJDUMP"; then
   8055   ac_ct_OBJDUMP=$OBJDUMP
   8056   # Extract the first word of "objdump", so it can be a program name with args.
   8057 set dummy objdump; ac_word=$2
   8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8059 $as_echo_n "checking for $ac_word... " >&6; }
   8060 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
   8061   $as_echo_n "(cached) " >&6
   8062 else
   8063   if test -n "$ac_ct_OBJDUMP"; then
   8064   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   8065 else
   8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8067 for as_dir in $PATH
   8068 do
   8069   IFS=$as_save_IFS
   8070   test -z "$as_dir" && as_dir=.
   8071     for ac_exec_ext in '' $ac_executable_extensions; do
   8072   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8073     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   8074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8075     break 2
   8076   fi
   8077 done
   8078   done
   8079 IFS=$as_save_IFS
   8080 
   8081 fi
   8082 fi
   8083 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   8084 if test -n "$ac_ct_OBJDUMP"; then
   8085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   8086 $as_echo "$ac_ct_OBJDUMP" >&6; }
   8087 else
   8088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8089 $as_echo "no" >&6; }
   8090 fi
   8091 
   8092   if test "x$ac_ct_OBJDUMP" = x; then
   8093     OBJDUMP="false"
   8094   else
   8095     case $cross_compiling:$ac_tool_warned in
   8096 yes:)
   8097 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8098 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8099 ac_tool_warned=yes ;;
   8100 esac
   8101     OBJDUMP=$ac_ct_OBJDUMP
   8102   fi
   8103 else
   8104   OBJDUMP="$ac_cv_prog_OBJDUMP"
   8105 fi
   8106 
   8107 test -z "$OBJDUMP" && OBJDUMP=objdump
   8108 
   8109 
   8110 
   8111 
   8112 
   8113 
   8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   8115 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   8116 if test "${lt_cv_deplibs_check_method+set}" = set; then :
   8117   $as_echo_n "(cached) " >&6
   8118 else
   8119   lt_cv_file_magic_cmd='$MAGIC_CMD'
   8120 lt_cv_file_magic_test_file=
   8121 lt_cv_deplibs_check_method='unknown'
   8122 # Need to set the preceding variable on all platforms that support
   8123 # interlibrary dependencies.
   8124 # 'none' -- dependencies not supported.
   8125 # `unknown' -- same as none, but documents that we really don't know.
   8126 # 'pass_all' -- all dependencies passed with no checks.
   8127 # 'test_compile' -- check by making test program.
   8128 # 'file_magic [[regex]]' -- check by looking for files in library path
   8129 # which responds to the $file_magic_cmd with a given extended regex.
   8130 # If you have `file' or equivalent on your system and you're not sure
   8131 # whether `pass_all' will *always* work, you probably want this one.
   8132 
   8133 case $host_os in
   8134 aix[4-9]*)
   8135   lt_cv_deplibs_check_method=pass_all
   8136   ;;
   8137 
   8138 beos*)
   8139   lt_cv_deplibs_check_method=pass_all
   8140   ;;
   8141 
   8142 bsdi[45]*)
   8143   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   8144   lt_cv_file_magic_cmd='/usr/bin/file -L'
   8145   lt_cv_file_magic_test_file=/shlib/libc.so
   8146   ;;
   8147 
   8148 cygwin*)
   8149   # func_win32_libid is a shell function defined in ltmain.sh
   8150   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   8151   lt_cv_file_magic_cmd='func_win32_libid'
   8152   ;;
   8153 
   8154 mingw* | pw32*)
   8155   # Base MSYS/MinGW do not provide the 'file' command needed by
   8156   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   8157   # unless we find 'file', for example because we are cross-compiling.
   8158   if ( file / ) >/dev/null 2>&1; then
   8159     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   8160     lt_cv_file_magic_cmd='func_win32_libid'
   8161   else
   8162     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   8163     lt_cv_file_magic_cmd='$OBJDUMP -f'
   8164   fi
   8165   ;;
   8166 
   8167 cegcc)
   8168   # use the weaker test based on 'objdump'. See mingw*.
   8169   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   8170   lt_cv_file_magic_cmd='$OBJDUMP -f'
   8171   ;;
   8172 
   8173 darwin* | rhapsody*)
   8174   lt_cv_deplibs_check_method=pass_all
   8175   ;;
   8176 
   8177 freebsd* | dragonfly*)
   8178   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   8179     case $host_cpu in
   8180     i*86 )
   8181       # Not sure whether the presence of OpenBSD here was a mistake.
   8182       # Let's accept both of them until this is cleared up.
   8183       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   8184       lt_cv_file_magic_cmd=/usr/bin/file
   8185       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   8186       ;;
   8187     esac
   8188   else
   8189     lt_cv_deplibs_check_method=pass_all
   8190   fi
   8191   ;;
   8192 
   8193 gnu*)
   8194   lt_cv_deplibs_check_method=pass_all
   8195   ;;
   8196 
   8197 hpux10.20* | hpux11*)
   8198   lt_cv_file_magic_cmd=/usr/bin/file
   8199   case $host_cpu in
   8200   ia64*)
   8201     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   8202     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   8203     ;;
   8204   hppa*64*)
   8205     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   8206     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   8207     ;;
   8208   *)
   8209     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   8210     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   8211     ;;
   8212   esac
   8213   ;;
   8214 
   8215 interix[3-9]*)
   8216   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   8217   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   8218   ;;
   8219 
   8220 irix5* | irix6* | nonstopux*)
   8221   case $LD in
   8222   *-32|*"-32 ") libmagic=32-bit;;
   8223   *-n32|*"-n32 ") libmagic=N32;;
   8224   *-64|*"-64 ") libmagic=64-bit;;
   8225   *) libmagic=never-match;;
   8226   esac
   8227   lt_cv_deplibs_check_method=pass_all
   8228   ;;
   8229 
   8230 # This must be Linux ELF.
   8231 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8232   lt_cv_deplibs_check_method=pass_all
   8233   ;;
   8234 
   8235 netbsd* | netbsdelf*-gnu)
   8236   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   8237     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   8238   else
   8239     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   8240   fi
   8241   ;;
   8242 
   8243 newos6*)
   8244   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   8245   lt_cv_file_magic_cmd=/usr/bin/file
   8246   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   8247   ;;
   8248 
   8249 *nto* | *qnx*)
   8250   lt_cv_deplibs_check_method=pass_all
   8251   ;;
   8252 
   8253 openbsd*)
   8254   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8255     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   8256   else
   8257     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   8258   fi
   8259   ;;
   8260 
   8261 osf3* | osf4* | osf5*)
   8262   lt_cv_deplibs_check_method=pass_all
   8263   ;;
   8264 
   8265 rdos*)
   8266   lt_cv_deplibs_check_method=pass_all
   8267   ;;
   8268 
   8269 solaris*)
   8270   lt_cv_deplibs_check_method=pass_all
   8271   ;;
   8272 
   8273 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   8274   lt_cv_deplibs_check_method=pass_all
   8275   ;;
   8276 
   8277 sysv4 | sysv4.3*)
   8278   case $host_vendor in
   8279   motorola)
   8280     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]'
   8281     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   8282     ;;
   8283   ncr)
   8284     lt_cv_deplibs_check_method=pass_all
   8285     ;;
   8286   sequent)
   8287     lt_cv_file_magic_cmd='/bin/file'
   8288     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   8289     ;;
   8290   sni)
   8291     lt_cv_file_magic_cmd='/bin/file'
   8292     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   8293     lt_cv_file_magic_test_file=/lib/libc.so
   8294     ;;
   8295   siemens)
   8296     lt_cv_deplibs_check_method=pass_all
   8297     ;;
   8298   pc)
   8299     lt_cv_deplibs_check_method=pass_all
   8300     ;;
   8301   esac
   8302   ;;
   8303 
   8304 tpf*)
   8305   lt_cv_deplibs_check_method=pass_all
   8306   ;;
   8307 esac
   8308 
   8309 fi
   8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   8311 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   8312 file_magic_cmd=$lt_cv_file_magic_cmd
   8313 deplibs_check_method=$lt_cv_deplibs_check_method
   8314 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 if test -n "$ac_tool_prefix"; then
   8328   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   8329 set dummy ${ac_tool_prefix}ar; ac_word=$2
   8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8331 $as_echo_n "checking for $ac_word... " >&6; }
   8332 if test "${ac_cv_prog_AR+set}" = set; then :
   8333   $as_echo_n "(cached) " >&6
   8334 else
   8335   if test -n "$AR"; then
   8336   ac_cv_prog_AR="$AR" # Let the user override the test.
   8337 else
   8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8339 for as_dir in $PATH
   8340 do
   8341   IFS=$as_save_IFS
   8342   test -z "$as_dir" && as_dir=.
   8343     for ac_exec_ext in '' $ac_executable_extensions; do
   8344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8345     ac_cv_prog_AR="${ac_tool_prefix}ar"
   8346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8347     break 2
   8348   fi
   8349 done
   8350   done
   8351 IFS=$as_save_IFS
   8352 
   8353 fi
   8354 fi
   8355 AR=$ac_cv_prog_AR
   8356 if test -n "$AR"; then
   8357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   8358 $as_echo "$AR" >&6; }
   8359 else
   8360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8361 $as_echo "no" >&6; }
   8362 fi
   8363 
   8364 
   8365 fi
   8366 if test -z "$ac_cv_prog_AR"; then
   8367   ac_ct_AR=$AR
   8368   # Extract the first word of "ar", so it can be a program name with args.
   8369 set dummy ar; ac_word=$2
   8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8371 $as_echo_n "checking for $ac_word... " >&6; }
   8372 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
   8373   $as_echo_n "(cached) " >&6
   8374 else
   8375   if test -n "$ac_ct_AR"; then
   8376   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   8377 else
   8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8379 for as_dir in $PATH
   8380 do
   8381   IFS=$as_save_IFS
   8382   test -z "$as_dir" && as_dir=.
   8383     for ac_exec_ext in '' $ac_executable_extensions; do
   8384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8385     ac_cv_prog_ac_ct_AR="ar"
   8386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8387     break 2
   8388   fi
   8389 done
   8390   done
   8391 IFS=$as_save_IFS
   8392 
   8393 fi
   8394 fi
   8395 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   8396 if test -n "$ac_ct_AR"; then
   8397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   8398 $as_echo "$ac_ct_AR" >&6; }
   8399 else
   8400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8401 $as_echo "no" >&6; }
   8402 fi
   8403 
   8404   if test "x$ac_ct_AR" = x; then
   8405     AR="false"
   8406   else
   8407     case $cross_compiling:$ac_tool_warned in
   8408 yes:)
   8409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8411 ac_tool_warned=yes ;;
   8412 esac
   8413     AR=$ac_ct_AR
   8414   fi
   8415 else
   8416   AR="$ac_cv_prog_AR"
   8417 fi
   8418 
   8419 test -z "$AR" && AR=ar
   8420 test -z "$AR_FLAGS" && AR_FLAGS=cru
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 
   8430 
   8431 
   8432 if test -n "$ac_tool_prefix"; then
   8433   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   8434 set dummy ${ac_tool_prefix}strip; ac_word=$2
   8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8436 $as_echo_n "checking for $ac_word... " >&6; }
   8437 if test "${ac_cv_prog_STRIP+set}" = set; then :
   8438   $as_echo_n "(cached) " >&6
   8439 else
   8440   if test -n "$STRIP"; then
   8441   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   8442 else
   8443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8444 for as_dir in $PATH
   8445 do
   8446   IFS=$as_save_IFS
   8447   test -z "$as_dir" && as_dir=.
   8448     for ac_exec_ext in '' $ac_executable_extensions; do
   8449   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8450     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   8451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8452     break 2
   8453   fi
   8454 done
   8455   done
   8456 IFS=$as_save_IFS
   8457 
   8458 fi
   8459 fi
   8460 STRIP=$ac_cv_prog_STRIP
   8461 if test -n "$STRIP"; then
   8462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   8463 $as_echo "$STRIP" >&6; }
   8464 else
   8465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8466 $as_echo "no" >&6; }
   8467 fi
   8468 
   8469 
   8470 fi
   8471 if test -z "$ac_cv_prog_STRIP"; then
   8472   ac_ct_STRIP=$STRIP
   8473   # Extract the first word of "strip", so it can be a program name with args.
   8474 set dummy strip; ac_word=$2
   8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8476 $as_echo_n "checking for $ac_word... " >&6; }
   8477 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
   8478   $as_echo_n "(cached) " >&6
   8479 else
   8480   if test -n "$ac_ct_STRIP"; then
   8481   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   8482 else
   8483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8484 for as_dir in $PATH
   8485 do
   8486   IFS=$as_save_IFS
   8487   test -z "$as_dir" && as_dir=.
   8488     for ac_exec_ext in '' $ac_executable_extensions; do
   8489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8490     ac_cv_prog_ac_ct_STRIP="strip"
   8491     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8492     break 2
   8493   fi
   8494 done
   8495   done
   8496 IFS=$as_save_IFS
   8497 
   8498 fi
   8499 fi
   8500 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   8501 if test -n "$ac_ct_STRIP"; then
   8502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   8503 $as_echo "$ac_ct_STRIP" >&6; }
   8504 else
   8505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8506 $as_echo "no" >&6; }
   8507 fi
   8508 
   8509   if test "x$ac_ct_STRIP" = x; then
   8510     STRIP=":"
   8511   else
   8512     case $cross_compiling:$ac_tool_warned in
   8513 yes:)
   8514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8516 ac_tool_warned=yes ;;
   8517 esac
   8518     STRIP=$ac_ct_STRIP
   8519   fi
   8520 else
   8521   STRIP="$ac_cv_prog_STRIP"
   8522 fi
   8523 
   8524 test -z "$STRIP" && STRIP=:
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 if test -n "$ac_tool_prefix"; then
   8532   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   8533 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8535 $as_echo_n "checking for $ac_word... " >&6; }
   8536 if test "${ac_cv_prog_RANLIB+set}" = set; then :
   8537   $as_echo_n "(cached) " >&6
   8538 else
   8539   if test -n "$RANLIB"; then
   8540   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   8541 else
   8542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8543 for as_dir in $PATH
   8544 do
   8545   IFS=$as_save_IFS
   8546   test -z "$as_dir" && as_dir=.
   8547     for ac_exec_ext in '' $ac_executable_extensions; do
   8548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8549     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   8550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8551     break 2
   8552   fi
   8553 done
   8554   done
   8555 IFS=$as_save_IFS
   8556 
   8557 fi
   8558 fi
   8559 RANLIB=$ac_cv_prog_RANLIB
   8560 if test -n "$RANLIB"; then
   8561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   8562 $as_echo "$RANLIB" >&6; }
   8563 else
   8564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8565 $as_echo "no" >&6; }
   8566 fi
   8567 
   8568 
   8569 fi
   8570 if test -z "$ac_cv_prog_RANLIB"; then
   8571   ac_ct_RANLIB=$RANLIB
   8572   # Extract the first word of "ranlib", so it can be a program name with args.
   8573 set dummy ranlib; ac_word=$2
   8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8575 $as_echo_n "checking for $ac_word... " >&6; }
   8576 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
   8577   $as_echo_n "(cached) " >&6
   8578 else
   8579   if test -n "$ac_ct_RANLIB"; then
   8580   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   8581 else
   8582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8583 for as_dir in $PATH
   8584 do
   8585   IFS=$as_save_IFS
   8586   test -z "$as_dir" && as_dir=.
   8587     for ac_exec_ext in '' $ac_executable_extensions; do
   8588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   8589     ac_cv_prog_ac_ct_RANLIB="ranlib"
   8590     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8591     break 2
   8592   fi
   8593 done
   8594   done
   8595 IFS=$as_save_IFS
   8596 
   8597 fi
   8598 fi
   8599 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   8600 if test -n "$ac_ct_RANLIB"; then
   8601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   8602 $as_echo "$ac_ct_RANLIB" >&6; }
   8603 else
   8604   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8605 $as_echo "no" >&6; }
   8606 fi
   8607 
   8608   if test "x$ac_ct_RANLIB" = x; then
   8609     RANLIB=":"
   8610   else
   8611     case $cross_compiling:$ac_tool_warned in
   8612 yes:)
   8613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8615 ac_tool_warned=yes ;;
   8616 esac
   8617     RANLIB=$ac_ct_RANLIB
   8618   fi
   8619 else
   8620   RANLIB="$ac_cv_prog_RANLIB"
   8621 fi
   8622 
   8623 test -z "$RANLIB" && RANLIB=:
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 # Determine commands to create old-style static archives.
   8631 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8632 old_postinstall_cmds='chmod 644 $oldlib'
   8633 old_postuninstall_cmds=
   8634 
   8635 if test -n "$RANLIB"; then
   8636   case $host_os in
   8637   openbsd*)
   8638     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   8639     ;;
   8640   *)
   8641     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   8642     ;;
   8643   esac
   8644   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   8645 fi
   8646 
   8647 
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 # If no C compiler was specified, use CC.
   8681 LTCC=${LTCC-"$CC"}
   8682 
   8683 # If no C compiler flags were specified, use CFLAGS.
   8684 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8685 
   8686 # Allow CC to be a program name with arguments.
   8687 compiler=$CC
   8688 
   8689 
   8690 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8692 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   8693 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
   8694   $as_echo_n "(cached) " >&6
   8695 else
   8696 
   8697 # These are sane defaults that work on at least a few old systems.
   8698 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8699 
   8700 # Character class describing NM global symbol codes.
   8701 symcode='[BCDEGRST]'
   8702 
   8703 # Regexp to match symbols that can be accessed directly from C.
   8704 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8705 
   8706 # Define system-specific variables.
   8707 case $host_os in
   8708 aix*)
   8709   symcode='[BCDT]'
   8710   ;;
   8711 cygwin* | mingw* | pw32* | cegcc*)
   8712   symcode='[ABCDGISTW]'
   8713   ;;
   8714 hpux*)
   8715   if test "$host_cpu" = ia64; then
   8716     symcode='[ABCDEGRST]'
   8717   fi
   8718   ;;
   8719 irix* | nonstopux*)
   8720   symcode='[BCDEGRST]'
   8721   ;;
   8722 osf*)
   8723   symcode='[BCDEGQRST]'
   8724   ;;
   8725 solaris*)
   8726   symcode='[BDRT]'
   8727   ;;
   8728 sco3.2v5*)
   8729   symcode='[DT]'
   8730   ;;
   8731 sysv4.2uw2*)
   8732   symcode='[DT]'
   8733   ;;
   8734 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8735   symcode='[ABDT]'
   8736   ;;
   8737 sysv4)
   8738   symcode='[DFNSTU]'
   8739   ;;
   8740 esac
   8741 
   8742 # If we're using GNU nm, then use its standard symbol codes.
   8743 case `$NM -V 2>&1` in
   8744 *GNU* | *'with BFD'*)
   8745   symcode='[ABCDGIRSTW]' ;;
   8746 esac
   8747 
   8748 # Transform an extracted symbol line into a proper C declaration.
   8749 # Some systems (esp. on ia64) link data and code symbols differently,
   8750 # so use this general approach.
   8751 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   8752 
   8753 # Transform an extracted symbol line into symbol name and symbol address
   8754 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   8755 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'"
   8756 
   8757 # Handle CRLF in mingw tool chain
   8758 opt_cr=
   8759 case $build_os in
   8760 mingw*)
   8761   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8762   ;;
   8763 esac
   8764 
   8765 # Try without a prefix underscore, then with it.
   8766 for ac_symprfx in "" "_"; do
   8767 
   8768   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8769   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8770 
   8771   # Write the raw and C identifiers.
   8772   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8773     # Fake it for dumpbin and say T for any non-static function
   8774     # and D for any global variable.
   8775     # Also find C++ and __fastcall symbols from MSVC++,
   8776     # which start with @ or ?.
   8777     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8778 "     {last_section=section; section=\$ 3};"\
   8779 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8780 "     \$ 0!~/External *\|/{next};"\
   8781 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8782 "     {if(hide[section]) next};"\
   8783 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   8784 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   8785 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   8786 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   8787 "     ' prfx=^$ac_symprfx"
   8788   else
   8789     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8790   fi
   8791 
   8792   # Check to see that the pipe works correctly.
   8793   pipe_works=no
   8794 
   8795   rm -f conftest*
   8796   cat > conftest.$ac_ext <<_LT_EOF
   8797 #ifdef __cplusplus
   8798 extern "C" {
   8799 #endif
   8800 char nm_test_var;
   8801 void nm_test_func(void);
   8802 void nm_test_func(void){}
   8803 #ifdef __cplusplus
   8804 }
   8805 #endif
   8806 int main(){nm_test_var='a';nm_test_func();return(0);}
   8807 _LT_EOF
   8808 
   8809   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8810   (eval $ac_compile) 2>&5
   8811   ac_status=$?
   8812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8813   test $ac_status = 0; }; then
   8814     # Now try to grab the symbols.
   8815     nlist=conftest.nm
   8816     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
   8817   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   8818   ac_status=$?
   8819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8820   test $ac_status = 0; } && test -s "$nlist"; then
   8821       # Try sorting and uniquifying the output.
   8822       if sort "$nlist" | uniq > "$nlist"T; then
   8823 	mv -f "$nlist"T "$nlist"
   8824       else
   8825 	rm -f "$nlist"T
   8826       fi
   8827 
   8828       # Make sure that we snagged all the symbols we need.
   8829       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8830 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8831 	  cat <<_LT_EOF > conftest.$ac_ext
   8832 #ifdef __cplusplus
   8833 extern "C" {
   8834 #endif
   8835 
   8836 _LT_EOF
   8837 	  # Now generate the symbol file.
   8838 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8839 
   8840 	  cat <<_LT_EOF >> conftest.$ac_ext
   8841 
   8842 /* The mapping between symbol names and symbols.  */
   8843 const struct {
   8844   const char *name;
   8845   void       *address;
   8846 }
   8847 lt__PROGRAM__LTX_preloaded_symbols[] =
   8848 {
   8849   { "@PROGRAM@", (void *) 0 },
   8850 _LT_EOF
   8851 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8852 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8853   {0, (void *) 0}
   8854 };
   8855 
   8856 /* This works around a problem in FreeBSD linker */
   8857 #ifdef FREEBSD_WORKAROUND
   8858 static const void *lt_preloaded_setup() {
   8859   return lt__PROGRAM__LTX_preloaded_symbols;
   8860 }
   8861 #endif
   8862 
   8863 #ifdef __cplusplus
   8864 }
   8865 #endif
   8866 _LT_EOF
   8867 	  # Now try linking the two files.
   8868 	  mv conftest.$ac_objext conftstm.$ac_objext
   8869 	  lt_save_LIBS="$LIBS"
   8870 	  lt_save_CFLAGS="$CFLAGS"
   8871 	  LIBS="conftstm.$ac_objext"
   8872 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8873 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8874   (eval $ac_link) 2>&5
   8875   ac_status=$?
   8876   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8877   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   8878 	    pipe_works=yes
   8879 	  fi
   8880 	  LIBS="$lt_save_LIBS"
   8881 	  CFLAGS="$lt_save_CFLAGS"
   8882 	else
   8883 	  echo "cannot find nm_test_func in $nlist" >&5
   8884 	fi
   8885       else
   8886 	echo "cannot find nm_test_var in $nlist" >&5
   8887       fi
   8888     else
   8889       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8890     fi
   8891   else
   8892     echo "$progname: failed program was:" >&5
   8893     cat conftest.$ac_ext >&5
   8894   fi
   8895   rm -rf conftest* conftst*
   8896 
   8897   # Do not use the global_symbol_pipe unless it works.
   8898   if test "$pipe_works" = yes; then
   8899     break
   8900   else
   8901     lt_cv_sys_global_symbol_pipe=
   8902   fi
   8903 done
   8904 
   8905 fi
   8906 
   8907 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8908   lt_cv_sys_global_symbol_to_cdecl=
   8909 fi
   8910 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8911   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8912 $as_echo "failed" >&6; }
   8913 else
   8914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8915 $as_echo "ok" >&6; }
   8916 fi
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 
   8933 
   8934 
   8935 
   8936 
   8937 
   8938 
   8939 # Check whether --enable-libtool-lock was given.
   8940 if test "${enable_libtool_lock+set}" = set; then :
   8941   enableval=$enable_libtool_lock;
   8942 fi
   8943 
   8944 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   8945 
   8946 # Some flags need to be propagated to the compiler or linker for good
   8947 # libtool support.
   8948 case $host in
   8949 ia64-*-hpux*)
   8950   # Find out which ABI we are using.
   8951   echo 'int i;' > conftest.$ac_ext
   8952   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8953   (eval $ac_compile) 2>&5
   8954   ac_status=$?
   8955   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8956   test $ac_status = 0; }; then
   8957     case `/usr/bin/file conftest.$ac_objext` in
   8958       *ELF-32*)
   8959 	HPUX_IA64_MODE="32"
   8960 	;;
   8961       *ELF-64*)
   8962 	HPUX_IA64_MODE="64"
   8963 	;;
   8964     esac
   8965   fi
   8966   rm -rf conftest*
   8967   ;;
   8968 *-*-irix6*)
   8969   # Find out which ABI we are using.
   8970   echo '#line 8970 "configure"' > conftest.$ac_ext
   8971   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8972   (eval $ac_compile) 2>&5
   8973   ac_status=$?
   8974   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8975   test $ac_status = 0; }; then
   8976     if test "$lt_cv_prog_gnu_ld" = yes; then
   8977       case `/usr/bin/file conftest.$ac_objext` in
   8978 	*32-bit*)
   8979 	  LD="${LD-ld} -melf32bsmip"
   8980 	  ;;
   8981 	*N32*)
   8982 	  LD="${LD-ld} -melf32bmipn32"
   8983 	  ;;
   8984 	*64-bit*)
   8985 	  LD="${LD-ld} -melf64bmip"
   8986 	;;
   8987       esac
   8988     else
   8989       case `/usr/bin/file conftest.$ac_objext` in
   8990 	*32-bit*)
   8991 	  LD="${LD-ld} -32"
   8992 	  ;;
   8993 	*N32*)
   8994 	  LD="${LD-ld} -n32"
   8995 	  ;;
   8996 	*64-bit*)
   8997 	  LD="${LD-ld} -64"
   8998 	  ;;
   8999       esac
   9000     fi
   9001   fi
   9002   rm -rf conftest*
   9003   ;;
   9004 
   9005 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   9006 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   9007   # Find out which ABI we are using.
   9008   echo 'int i;' > conftest.$ac_ext
   9009   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9010   (eval $ac_compile) 2>&5
   9011   ac_status=$?
   9012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9013   test $ac_status = 0; }; then
   9014     case `/usr/bin/file conftest.o` in
   9015       *32-bit*)
   9016 	case $host in
   9017 	  x86_64-*kfreebsd*-gnu)
   9018 	    LD="${LD-ld} -m elf_i386_fbsd"
   9019 	    ;;
   9020 	  x86_64-*linux*)
   9021 	    LD="${LD-ld} -m elf_i386"
   9022 	    ;;
   9023 	  ppc64-*linux*|powerpc64-*linux*)
   9024 	    LD="${LD-ld} -m elf32ppclinux"
   9025 	    ;;
   9026 	  s390x-*linux*)
   9027 	    LD="${LD-ld} -m elf_s390"
   9028 	    ;;
   9029 	  sparc64-*linux*)
   9030 	    LD="${LD-ld} -m elf32_sparc"
   9031 	    ;;
   9032 	esac
   9033 	;;
   9034       *64-bit*)
   9035 	case $host in
   9036 	  x86_64-*kfreebsd*-gnu)
   9037 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   9038 	    ;;
   9039 	  x86_64-*linux*)
   9040 	    LD="${LD-ld} -m elf_x86_64"
   9041 	    ;;
   9042 	  ppc*-*linux*|powerpc*-*linux*)
   9043 	    LD="${LD-ld} -m elf64ppc"
   9044 	    ;;
   9045 	  s390*-*linux*|s390*-*tpf*)
   9046 	    LD="${LD-ld} -m elf64_s390"
   9047 	    ;;
   9048 	  sparc*-*linux*)
   9049 	    LD="${LD-ld} -m elf64_sparc"
   9050 	    ;;
   9051 	esac
   9052 	;;
   9053     esac
   9054   fi
   9055   rm -rf conftest*
   9056   ;;
   9057 
   9058 *-*-sco3.2v5*)
   9059   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   9060   SAVE_CFLAGS="$CFLAGS"
   9061   CFLAGS="$CFLAGS -belf"
   9062   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   9063 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   9064 if test "${lt_cv_cc_needs_belf+set}" = set; then :
   9065   $as_echo_n "(cached) " >&6
   9066 else
   9067   ac_ext=c
   9068 ac_cpp='$CPP $CPPFLAGS'
   9069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9072 
   9073      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9074 /* end confdefs.h.  */
   9075 
   9076 int
   9077 main ()
   9078 {
   9079 
   9080   ;
   9081   return 0;
   9082 }
   9083 _ACEOF
   9084 if ac_fn_c_try_link "$LINENO"; then :
   9085   lt_cv_cc_needs_belf=yes
   9086 else
   9087   lt_cv_cc_needs_belf=no
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext \
   9090     conftest$ac_exeext conftest.$ac_ext
   9091      ac_ext=c
   9092 ac_cpp='$CPP $CPPFLAGS'
   9093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9096 
   9097 fi
   9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   9099 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   9100   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   9101     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   9102     CFLAGS="$SAVE_CFLAGS"
   9103   fi
   9104   ;;
   9105 sparc*-*solaris*)
   9106   # Find out which ABI we are using.
   9107   echo 'int i;' > conftest.$ac_ext
   9108   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9109   (eval $ac_compile) 2>&5
   9110   ac_status=$?
   9111   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9112   test $ac_status = 0; }; then
   9113     case `/usr/bin/file conftest.o` in
   9114     *64-bit*)
   9115       case $lt_cv_prog_gnu_ld in
   9116       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   9117       *)
   9118 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   9119 	  LD="${LD-ld} -64"
   9120 	fi
   9121 	;;
   9122       esac
   9123       ;;
   9124     esac
   9125   fi
   9126   rm -rf conftest*
   9127   ;;
   9128 esac
   9129 
   9130 need_locks="$enable_libtool_lock"
   9131 
   9132 
   9133   case $host_os in
   9134     rhapsody* | darwin*)
   9135     if test -n "$ac_tool_prefix"; then
   9136   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   9137 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9139 $as_echo_n "checking for $ac_word... " >&6; }
   9140 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
   9141   $as_echo_n "(cached) " >&6
   9142 else
   9143   if test -n "$DSYMUTIL"; then
   9144   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   9145 else
   9146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9147 for as_dir in $PATH
   9148 do
   9149   IFS=$as_save_IFS
   9150   test -z "$as_dir" && as_dir=.
   9151     for ac_exec_ext in '' $ac_executable_extensions; do
   9152   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9153     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   9154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9155     break 2
   9156   fi
   9157 done
   9158   done
   9159 IFS=$as_save_IFS
   9160 
   9161 fi
   9162 fi
   9163 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   9164 if test -n "$DSYMUTIL"; then
   9165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   9166 $as_echo "$DSYMUTIL" >&6; }
   9167 else
   9168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9169 $as_echo "no" >&6; }
   9170 fi
   9171 
   9172 
   9173 fi
   9174 if test -z "$ac_cv_prog_DSYMUTIL"; then
   9175   ac_ct_DSYMUTIL=$DSYMUTIL
   9176   # Extract the first word of "dsymutil", so it can be a program name with args.
   9177 set dummy dsymutil; ac_word=$2
   9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9179 $as_echo_n "checking for $ac_word... " >&6; }
   9180 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
   9181   $as_echo_n "(cached) " >&6
   9182 else
   9183   if test -n "$ac_ct_DSYMUTIL"; then
   9184   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   9185 else
   9186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9187 for as_dir in $PATH
   9188 do
   9189   IFS=$as_save_IFS
   9190   test -z "$as_dir" && as_dir=.
   9191     for ac_exec_ext in '' $ac_executable_extensions; do
   9192   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9193     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   9194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9195     break 2
   9196   fi
   9197 done
   9198   done
   9199 IFS=$as_save_IFS
   9200 
   9201 fi
   9202 fi
   9203 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   9204 if test -n "$ac_ct_DSYMUTIL"; then
   9205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   9206 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   9207 else
   9208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9209 $as_echo "no" >&6; }
   9210 fi
   9211 
   9212   if test "x$ac_ct_DSYMUTIL" = x; then
   9213     DSYMUTIL=":"
   9214   else
   9215     case $cross_compiling:$ac_tool_warned in
   9216 yes:)
   9217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9219 ac_tool_warned=yes ;;
   9220 esac
   9221     DSYMUTIL=$ac_ct_DSYMUTIL
   9222   fi
   9223 else
   9224   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   9225 fi
   9226 
   9227     if test -n "$ac_tool_prefix"; then
   9228   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   9229 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   9230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9231 $as_echo_n "checking for $ac_word... " >&6; }
   9232 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
   9233   $as_echo_n "(cached) " >&6
   9234 else
   9235   if test -n "$NMEDIT"; then
   9236   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   9237 else
   9238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9239 for as_dir in $PATH
   9240 do
   9241   IFS=$as_save_IFS
   9242   test -z "$as_dir" && as_dir=.
   9243     for ac_exec_ext in '' $ac_executable_extensions; do
   9244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9245     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   9246     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9247     break 2
   9248   fi
   9249 done
   9250   done
   9251 IFS=$as_save_IFS
   9252 
   9253 fi
   9254 fi
   9255 NMEDIT=$ac_cv_prog_NMEDIT
   9256 if test -n "$NMEDIT"; then
   9257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   9258 $as_echo "$NMEDIT" >&6; }
   9259 else
   9260   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9261 $as_echo "no" >&6; }
   9262 fi
   9263 
   9264 
   9265 fi
   9266 if test -z "$ac_cv_prog_NMEDIT"; then
   9267   ac_ct_NMEDIT=$NMEDIT
   9268   # Extract the first word of "nmedit", so it can be a program name with args.
   9269 set dummy nmedit; ac_word=$2
   9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9271 $as_echo_n "checking for $ac_word... " >&6; }
   9272 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
   9273   $as_echo_n "(cached) " >&6
   9274 else
   9275   if test -n "$ac_ct_NMEDIT"; then
   9276   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   9277 else
   9278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9279 for as_dir in $PATH
   9280 do
   9281   IFS=$as_save_IFS
   9282   test -z "$as_dir" && as_dir=.
   9283     for ac_exec_ext in '' $ac_executable_extensions; do
   9284   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9285     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   9286     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9287     break 2
   9288   fi
   9289 done
   9290   done
   9291 IFS=$as_save_IFS
   9292 
   9293 fi
   9294 fi
   9295 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   9296 if test -n "$ac_ct_NMEDIT"; then
   9297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   9298 $as_echo "$ac_ct_NMEDIT" >&6; }
   9299 else
   9300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9301 $as_echo "no" >&6; }
   9302 fi
   9303 
   9304   if test "x$ac_ct_NMEDIT" = x; then
   9305     NMEDIT=":"
   9306   else
   9307     case $cross_compiling:$ac_tool_warned in
   9308 yes:)
   9309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9311 ac_tool_warned=yes ;;
   9312 esac
   9313     NMEDIT=$ac_ct_NMEDIT
   9314   fi
   9315 else
   9316   NMEDIT="$ac_cv_prog_NMEDIT"
   9317 fi
   9318 
   9319     if test -n "$ac_tool_prefix"; then
   9320   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   9321 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9323 $as_echo_n "checking for $ac_word... " >&6; }
   9324 if test "${ac_cv_prog_LIPO+set}" = set; then :
   9325   $as_echo_n "(cached) " >&6
   9326 else
   9327   if test -n "$LIPO"; then
   9328   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   9329 else
   9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9331 for as_dir in $PATH
   9332 do
   9333   IFS=$as_save_IFS
   9334   test -z "$as_dir" && as_dir=.
   9335     for ac_exec_ext in '' $ac_executable_extensions; do
   9336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9337     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   9338     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9339     break 2
   9340   fi
   9341 done
   9342   done
   9343 IFS=$as_save_IFS
   9344 
   9345 fi
   9346 fi
   9347 LIPO=$ac_cv_prog_LIPO
   9348 if test -n "$LIPO"; then
   9349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   9350 $as_echo "$LIPO" >&6; }
   9351 else
   9352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9353 $as_echo "no" >&6; }
   9354 fi
   9355 
   9356 
   9357 fi
   9358 if test -z "$ac_cv_prog_LIPO"; then
   9359   ac_ct_LIPO=$LIPO
   9360   # Extract the first word of "lipo", so it can be a program name with args.
   9361 set dummy lipo; ac_word=$2
   9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9363 $as_echo_n "checking for $ac_word... " >&6; }
   9364 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
   9365   $as_echo_n "(cached) " >&6
   9366 else
   9367   if test -n "$ac_ct_LIPO"; then
   9368   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   9369 else
   9370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9371 for as_dir in $PATH
   9372 do
   9373   IFS=$as_save_IFS
   9374   test -z "$as_dir" && as_dir=.
   9375     for ac_exec_ext in '' $ac_executable_extensions; do
   9376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9377     ac_cv_prog_ac_ct_LIPO="lipo"
   9378     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9379     break 2
   9380   fi
   9381 done
   9382   done
   9383 IFS=$as_save_IFS
   9384 
   9385 fi
   9386 fi
   9387 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   9388 if test -n "$ac_ct_LIPO"; then
   9389   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   9390 $as_echo "$ac_ct_LIPO" >&6; }
   9391 else
   9392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9393 $as_echo "no" >&6; }
   9394 fi
   9395 
   9396   if test "x$ac_ct_LIPO" = x; then
   9397     LIPO=":"
   9398   else
   9399     case $cross_compiling:$ac_tool_warned in
   9400 yes:)
   9401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9403 ac_tool_warned=yes ;;
   9404 esac
   9405     LIPO=$ac_ct_LIPO
   9406   fi
   9407 else
   9408   LIPO="$ac_cv_prog_LIPO"
   9409 fi
   9410 
   9411     if test -n "$ac_tool_prefix"; then
   9412   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   9413 set dummy ${ac_tool_prefix}otool; ac_word=$2
   9414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9415 $as_echo_n "checking for $ac_word... " >&6; }
   9416 if test "${ac_cv_prog_OTOOL+set}" = set; then :
   9417   $as_echo_n "(cached) " >&6
   9418 else
   9419   if test -n "$OTOOL"; then
   9420   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   9421 else
   9422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9423 for as_dir in $PATH
   9424 do
   9425   IFS=$as_save_IFS
   9426   test -z "$as_dir" && as_dir=.
   9427     for ac_exec_ext in '' $ac_executable_extensions; do
   9428   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9429     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   9430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9431     break 2
   9432   fi
   9433 done
   9434   done
   9435 IFS=$as_save_IFS
   9436 
   9437 fi
   9438 fi
   9439 OTOOL=$ac_cv_prog_OTOOL
   9440 if test -n "$OTOOL"; then
   9441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   9442 $as_echo "$OTOOL" >&6; }
   9443 else
   9444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9445 $as_echo "no" >&6; }
   9446 fi
   9447 
   9448 
   9449 fi
   9450 if test -z "$ac_cv_prog_OTOOL"; then
   9451   ac_ct_OTOOL=$OTOOL
   9452   # Extract the first word of "otool", so it can be a program name with args.
   9453 set dummy otool; ac_word=$2
   9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9455 $as_echo_n "checking for $ac_word... " >&6; }
   9456 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
   9457   $as_echo_n "(cached) " >&6
   9458 else
   9459   if test -n "$ac_ct_OTOOL"; then
   9460   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   9461 else
   9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9463 for as_dir in $PATH
   9464 do
   9465   IFS=$as_save_IFS
   9466   test -z "$as_dir" && as_dir=.
   9467     for ac_exec_ext in '' $ac_executable_extensions; do
   9468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9469     ac_cv_prog_ac_ct_OTOOL="otool"
   9470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9471     break 2
   9472   fi
   9473 done
   9474   done
   9475 IFS=$as_save_IFS
   9476 
   9477 fi
   9478 fi
   9479 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   9480 if test -n "$ac_ct_OTOOL"; then
   9481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   9482 $as_echo "$ac_ct_OTOOL" >&6; }
   9483 else
   9484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9485 $as_echo "no" >&6; }
   9486 fi
   9487 
   9488   if test "x$ac_ct_OTOOL" = x; then
   9489     OTOOL=":"
   9490   else
   9491     case $cross_compiling:$ac_tool_warned in
   9492 yes:)
   9493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9495 ac_tool_warned=yes ;;
   9496 esac
   9497     OTOOL=$ac_ct_OTOOL
   9498   fi
   9499 else
   9500   OTOOL="$ac_cv_prog_OTOOL"
   9501 fi
   9502 
   9503     if test -n "$ac_tool_prefix"; then
   9504   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   9505 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9507 $as_echo_n "checking for $ac_word... " >&6; }
   9508 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
   9509   $as_echo_n "(cached) " >&6
   9510 else
   9511   if test -n "$OTOOL64"; then
   9512   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   9513 else
   9514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9515 for as_dir in $PATH
   9516 do
   9517   IFS=$as_save_IFS
   9518   test -z "$as_dir" && as_dir=.
   9519     for ac_exec_ext in '' $ac_executable_extensions; do
   9520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9521     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   9522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9523     break 2
   9524   fi
   9525 done
   9526   done
   9527 IFS=$as_save_IFS
   9528 
   9529 fi
   9530 fi
   9531 OTOOL64=$ac_cv_prog_OTOOL64
   9532 if test -n "$OTOOL64"; then
   9533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   9534 $as_echo "$OTOOL64" >&6; }
   9535 else
   9536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9537 $as_echo "no" >&6; }
   9538 fi
   9539 
   9540 
   9541 fi
   9542 if test -z "$ac_cv_prog_OTOOL64"; then
   9543   ac_ct_OTOOL64=$OTOOL64
   9544   # Extract the first word of "otool64", so it can be a program name with args.
   9545 set dummy otool64; ac_word=$2
   9546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   9547 $as_echo_n "checking for $ac_word... " >&6; }
   9548 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
   9549   $as_echo_n "(cached) " >&6
   9550 else
   9551   if test -n "$ac_ct_OTOOL64"; then
   9552   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   9553 else
   9554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9555 for as_dir in $PATH
   9556 do
   9557   IFS=$as_save_IFS
   9558   test -z "$as_dir" && as_dir=.
   9559     for ac_exec_ext in '' $ac_executable_extensions; do
   9560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   9561     ac_cv_prog_ac_ct_OTOOL64="otool64"
   9562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   9563     break 2
   9564   fi
   9565 done
   9566   done
   9567 IFS=$as_save_IFS
   9568 
   9569 fi
   9570 fi
   9571 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   9572 if test -n "$ac_ct_OTOOL64"; then
   9573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   9574 $as_echo "$ac_ct_OTOOL64" >&6; }
   9575 else
   9576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9577 $as_echo "no" >&6; }
   9578 fi
   9579 
   9580   if test "x$ac_ct_OTOOL64" = x; then
   9581     OTOOL64=":"
   9582   else
   9583     case $cross_compiling:$ac_tool_warned in
   9584 yes:)
   9585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   9586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   9587 ac_tool_warned=yes ;;
   9588 esac
   9589     OTOOL64=$ac_ct_OTOOL64
   9590   fi
   9591 else
   9592   OTOOL64="$ac_cv_prog_OTOOL64"
   9593 fi
   9594 
   9595 
   9596 
   9597 
   9598 
   9599 
   9600 
   9601 
   9602 
   9603 
   9604 
   9605 
   9606 
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9622 $as_echo_n "checking for -single_module linker flag... " >&6; }
   9623 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
   9624   $as_echo_n "(cached) " >&6
   9625 else
   9626   lt_cv_apple_cc_single_mod=no
   9627       if test -z "${LT_MULTI_MODULE}"; then
   9628 	# By default we will add the -single_module flag. You can override
   9629 	# by either setting the environment variable LT_MULTI_MODULE
   9630 	# non-empty at configure time, or by adding -multi_module to the
   9631 	# link flags.
   9632 	rm -rf libconftest.dylib*
   9633 	echo "int foo(void){return 1;}" > conftest.c
   9634 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9635 -dynamiclib -Wl,-single_module conftest.c" >&5
   9636 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9637 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9638         _lt_result=$?
   9639 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   9640 	  lt_cv_apple_cc_single_mod=yes
   9641 	else
   9642 	  cat conftest.err >&5
   9643 	fi
   9644 	rm -rf libconftest.dylib*
   9645 	rm -f conftest.*
   9646       fi
   9647 fi
   9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9649 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   9650     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9651 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   9652 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
   9653   $as_echo_n "(cached) " >&6
   9654 else
   9655   lt_cv_ld_exported_symbols_list=no
   9656       save_LDFLAGS=$LDFLAGS
   9657       echo "_main" > conftest.sym
   9658       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9659       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9660 /* end confdefs.h.  */
   9661 
   9662 int
   9663 main ()
   9664 {
   9665 
   9666   ;
   9667   return 0;
   9668 }
   9669 _ACEOF
   9670 if ac_fn_c_try_link "$LINENO"; then :
   9671   lt_cv_ld_exported_symbols_list=yes
   9672 else
   9673   lt_cv_ld_exported_symbols_list=no
   9674 fi
   9675 rm -f core conftest.err conftest.$ac_objext \
   9676     conftest$ac_exeext conftest.$ac_ext
   9677 	LDFLAGS="$save_LDFLAGS"
   9678 
   9679 fi
   9680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9681 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   9682     case $host_os in
   9683     rhapsody* | darwin1.[012])
   9684       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   9685     darwin1.*)
   9686       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   9687     darwin*) # darwin 5.x on
   9688       # if running on 10.5 or later, the deployment target defaults
   9689       # to the OS version, if on x86, and 10.4, the deployment
   9690       # target defaults to 10.4. Don't you love it?
   9691       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   9692 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   9693 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   9694 	10.[012]*)
   9695 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   9696 	10.*)
   9697 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   9698       esac
   9699     ;;
   9700   esac
   9701     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   9702       _lt_dar_single_mod='$single_module'
   9703     fi
   9704     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   9705       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   9706     else
   9707       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   9708     fi
   9709     if test "$DSYMUTIL" != ":"; then
   9710       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9711     else
   9712       _lt_dsymutil=
   9713     fi
   9714     ;;
   9715   esac
   9716 
   9717 for ac_header in dlfcn.h
   9718 do :
   9719   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9720 "
   9721 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
   9722   cat >>confdefs.h <<_ACEOF
   9723 #define HAVE_DLFCN_H 1
   9724 _ACEOF
   9725 
   9726 fi
   9727 
   9728 done
   9729 
   9730 
   9731 
   9732 # Set options
   9733 
   9734 
   9735 
   9736         enable_dlopen=no
   9737 
   9738 
   9739 
   9740             # Check whether --enable-shared was given.
   9741 if test "${enable_shared+set}" = set; then :
   9742   enableval=$enable_shared; p=${PACKAGE-default}
   9743     case $enableval in
   9744     yes) enable_shared=yes ;;
   9745     no) enable_shared=no ;;
   9746     *)
   9747       enable_shared=no
   9748       # Look at the argument we got.  We use all the common list separators.
   9749       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9750       for pkg in $enableval; do
   9751 	IFS="$lt_save_ifs"
   9752 	if test "X$pkg" = "X$p"; then
   9753 	  enable_shared=yes
   9754 	fi
   9755       done
   9756       IFS="$lt_save_ifs"
   9757       ;;
   9758     esac
   9759 else
   9760   enable_shared=yes
   9761 fi
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771   # Check whether --enable-static was given.
   9772 if test "${enable_static+set}" = set; then :
   9773   enableval=$enable_static; p=${PACKAGE-default}
   9774     case $enableval in
   9775     yes) enable_static=yes ;;
   9776     no) enable_static=no ;;
   9777     *)
   9778      enable_static=no
   9779       # Look at the argument we got.  We use all the common list separators.
   9780       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9781       for pkg in $enableval; do
   9782 	IFS="$lt_save_ifs"
   9783 	if test "X$pkg" = "X$p"; then
   9784 	  enable_static=yes
   9785 	fi
   9786       done
   9787       IFS="$lt_save_ifs"
   9788       ;;
   9789     esac
   9790 else
   9791   enable_static=yes
   9792 fi
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 # Check whether --with-pic was given.
   9804 if test "${with_pic+set}" = set; then :
   9805   withval=$with_pic; pic_mode="$withval"
   9806 else
   9807   pic_mode=default
   9808 fi
   9809 
   9810 
   9811 test -z "$pic_mode" && pic_mode=default
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819   # Check whether --enable-fast-install was given.
   9820 if test "${enable_fast_install+set}" = set; then :
   9821   enableval=$enable_fast_install; p=${PACKAGE-default}
   9822     case $enableval in
   9823     yes) enable_fast_install=yes ;;
   9824     no) enable_fast_install=no ;;
   9825     *)
   9826       enable_fast_install=no
   9827       # Look at the argument we got.  We use all the common list separators.
   9828       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9829       for pkg in $enableval; do
   9830 	IFS="$lt_save_ifs"
   9831 	if test "X$pkg" = "X$p"; then
   9832 	  enable_fast_install=yes
   9833 	fi
   9834       done
   9835       IFS="$lt_save_ifs"
   9836       ;;
   9837     esac
   9838 else
   9839   enable_fast_install=yes
   9840 fi
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 # This can be used to rebuild libtool when needed
   9853 LIBTOOL_DEPS="$ltmain"
   9854 
   9855 # Always use our own libtool.
   9856 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 test -z "$LN_S" && LN_S="ln -s"
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 if test -n "${ZSH_VERSION+set}" ; then
   9898    setopt NO_GLOB_SUBST
   9899 fi
   9900 
   9901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9902 $as_echo_n "checking for objdir... " >&6; }
   9903 if test "${lt_cv_objdir+set}" = set; then :
   9904   $as_echo_n "(cached) " >&6
   9905 else
   9906   rm -f .libs 2>/dev/null
   9907 mkdir .libs 2>/dev/null
   9908 if test -d .libs; then
   9909   lt_cv_objdir=.libs
   9910 else
   9911   # MS-DOS does not allow filenames that begin with a dot.
   9912   lt_cv_objdir=_libs
   9913 fi
   9914 rmdir .libs 2>/dev/null
   9915 fi
   9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9917 $as_echo "$lt_cv_objdir" >&6; }
   9918 objdir=$lt_cv_objdir
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 cat >>confdefs.h <<_ACEOF
   9925 #define LT_OBJDIR "$lt_cv_objdir/"
   9926 _ACEOF
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 case $host_os in
   9945 aix3*)
   9946   # AIX sometimes has problems with the GCC collect2 program.  For some
   9947   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9948   # vanish in a puff of smoke.
   9949   if test "X${COLLECT_NAMES+set}" != Xset; then
   9950     COLLECT_NAMES=
   9951     export COLLECT_NAMES
   9952   fi
   9953   ;;
   9954 esac
   9955 
   9956 # Sed substitution that helps us do robust quoting.  It backslashifies
   9957 # metacharacters that are still active within double-quoted strings.
   9958 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   9959 
   9960 # Same as above, but do not quote variable references.
   9961 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   9962 
   9963 # Sed substitution to delay expansion of an escaped shell variable in a
   9964 # double_quote_subst'ed string.
   9965 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   9966 
   9967 # Sed substitution to delay expansion of an escaped single quote.
   9968 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   9969 
   9970 # Sed substitution to avoid accidental globbing in evaled expressions
   9971 no_glob_subst='s/\*/\\\*/g'
   9972 
   9973 # Global variables:
   9974 ofile=libtool
   9975 can_build_shared=yes
   9976 
   9977 # All known linkers require a `.a' archive for static linking (except MSVC,
   9978 # which needs '.lib').
   9979 libext=a
   9980 
   9981 with_gnu_ld="$lt_cv_prog_gnu_ld"
   9982 
   9983 old_CC="$CC"
   9984 old_CFLAGS="$CFLAGS"
   9985 
   9986 # Set sane defaults for various variables
   9987 test -z "$CC" && CC=cc
   9988 test -z "$LTCC" && LTCC=$CC
   9989 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9990 test -z "$LD" && LD=ld
   9991 test -z "$ac_objext" && ac_objext=o
   9992 
   9993 for cc_temp in $compiler""; do
   9994   case $cc_temp in
   9995     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9996     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9997     \-*) ;;
   9998     *) break;;
   9999   esac
   10000 done
   10001 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   10002 
   10003 
   10004 # Only perform the check for file, if the check method requires it
   10005 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   10006 case $deplibs_check_method in
   10007 file_magic*)
   10008   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   10009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   10010 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   10011 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   10012   $as_echo_n "(cached) " >&6
   10013 else
   10014   case $MAGIC_CMD in
   10015 [\\/*] |  ?:[\\/]*)
   10016   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   10017   ;;
   10018 *)
   10019   lt_save_MAGIC_CMD="$MAGIC_CMD"
   10020   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10021   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10022   for ac_dir in $ac_dummy; do
   10023     IFS="$lt_save_ifs"
   10024     test -z "$ac_dir" && ac_dir=.
   10025     if test -f $ac_dir/${ac_tool_prefix}file; then
   10026       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   10027       if test -n "$file_magic_test_file"; then
   10028 	case $deplibs_check_method in
   10029 	"file_magic "*)
   10030 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10031 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10032 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10033 	    $EGREP "$file_magic_regex" > /dev/null; then
   10034 	    :
   10035 	  else
   10036 	    cat <<_LT_EOF 1>&2
   10037 
   10038 *** Warning: the command libtool uses to detect shared libraries,
   10039 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10040 *** The result is that libtool may fail to recognize shared libraries
   10041 *** as such.  This will affect the creation of libtool libraries that
   10042 *** depend on shared libraries, but programs linked with such libtool
   10043 *** libraries will work regardless of this problem.  Nevertheless, you
   10044 *** may want to report the problem to your system manager and/or to
   10045 *** bug-libtool@gnu.org
   10046 
   10047 _LT_EOF
   10048 	  fi ;;
   10049 	esac
   10050       fi
   10051       break
   10052     fi
   10053   done
   10054   IFS="$lt_save_ifs"
   10055   MAGIC_CMD="$lt_save_MAGIC_CMD"
   10056   ;;
   10057 esac
   10058 fi
   10059 
   10060 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10061 if test -n "$MAGIC_CMD"; then
   10062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10063 $as_echo "$MAGIC_CMD" >&6; }
   10064 else
   10065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10066 $as_echo "no" >&6; }
   10067 fi
   10068 
   10069 
   10070 
   10071 
   10072 
   10073 if test -z "$lt_cv_path_MAGIC_CMD"; then
   10074   if test -n "$ac_tool_prefix"; then
   10075     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   10076 $as_echo_n "checking for file... " >&6; }
   10077 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
   10078   $as_echo_n "(cached) " >&6
   10079 else
   10080   case $MAGIC_CMD in
   10081 [\\/*] |  ?:[\\/]*)
   10082   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   10083   ;;
   10084 *)
   10085   lt_save_MAGIC_CMD="$MAGIC_CMD"
   10086   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10087   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   10088   for ac_dir in $ac_dummy; do
   10089     IFS="$lt_save_ifs"
   10090     test -z "$ac_dir" && ac_dir=.
   10091     if test -f $ac_dir/file; then
   10092       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   10093       if test -n "$file_magic_test_file"; then
   10094 	case $deplibs_check_method in
   10095 	"file_magic "*)
   10096 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   10097 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10098 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   10099 	    $EGREP "$file_magic_regex" > /dev/null; then
   10100 	    :
   10101 	  else
   10102 	    cat <<_LT_EOF 1>&2
   10103 
   10104 *** Warning: the command libtool uses to detect shared libraries,
   10105 *** $file_magic_cmd, produces output that libtool cannot recognize.
   10106 *** The result is that libtool may fail to recognize shared libraries
   10107 *** as such.  This will affect the creation of libtool libraries that
   10108 *** depend on shared libraries, but programs linked with such libtool
   10109 *** libraries will work regardless of this problem.  Nevertheless, you
   10110 *** may want to report the problem to your system manager and/or to
   10111 *** bug-libtool@gnu.org
   10112 
   10113 _LT_EOF
   10114 	  fi ;;
   10115 	esac
   10116       fi
   10117       break
   10118     fi
   10119   done
   10120   IFS="$lt_save_ifs"
   10121   MAGIC_CMD="$lt_save_MAGIC_CMD"
   10122   ;;
   10123 esac
   10124 fi
   10125 
   10126 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   10127 if test -n "$MAGIC_CMD"; then
   10128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   10129 $as_echo "$MAGIC_CMD" >&6; }
   10130 else
   10131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10132 $as_echo "no" >&6; }
   10133 fi
   10134 
   10135 
   10136   else
   10137     MAGIC_CMD=:
   10138   fi
   10139 fi
   10140 
   10141   fi
   10142   ;;
   10143 esac
   10144 
   10145 # Use C for the default configuration in the libtool script
   10146 
   10147 lt_save_CC="$CC"
   10148 ac_ext=c
   10149 ac_cpp='$CPP $CPPFLAGS'
   10150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10153 
   10154 
   10155 # Source file extension for C test sources.
   10156 ac_ext=c
   10157 
   10158 # Object file extension for compiled C test sources.
   10159 objext=o
   10160 objext=$objext
   10161 
   10162 # Code to be used in simple compile tests
   10163 lt_simple_compile_test_code="int some_variable = 0;"
   10164 
   10165 # Code to be used in simple link tests
   10166 lt_simple_link_test_code='int main(){return(0);}'
   10167 
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 # If no C compiler was specified, use CC.
   10175 LTCC=${LTCC-"$CC"}
   10176 
   10177 # If no C compiler flags were specified, use CFLAGS.
   10178 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   10179 
   10180 # Allow CC to be a program name with arguments.
   10181 compiler=$CC
   10182 
   10183 # Save the default compiler, since it gets overwritten when the other
   10184 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   10185 compiler_DEFAULT=$CC
   10186 
   10187 # save warnings/boilerplate of simple test code
   10188 ac_outfile=conftest.$ac_objext
   10189 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   10190 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10191 _lt_compiler_boilerplate=`cat conftest.err`
   10192 $RM conftest*
   10193 
   10194 ac_outfile=conftest.$ac_objext
   10195 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   10196 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   10197 _lt_linker_boilerplate=`cat conftest.err`
   10198 $RM -r conftest*
   10199 
   10200 
   10201 ## CAVEAT EMPTOR:
   10202 ## There is no encapsulation within the following macros, do not change
   10203 ## the running order or otherwise move them around unless you know exactly
   10204 ## what you are doing...
   10205 if test -n "$compiler"; then
   10206 
   10207 lt_prog_compiler_no_builtin_flag=
   10208 
   10209 if test "$GCC" = yes; then
   10210   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   10211 
   10212   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   10213 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   10214 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
   10215   $as_echo_n "(cached) " >&6
   10216 else
   10217   lt_cv_prog_compiler_rtti_exceptions=no
   10218    ac_outfile=conftest.$ac_objext
   10219    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10220    lt_compiler_flag="-fno-rtti -fno-exceptions"
   10221    # Insert the option either (1) after the last *FLAGS variable, or
   10222    # (2) before a word containing "conftest.", or (3) at the end.
   10223    # Note that $ac_compile itself does not contain backslashes and begins
   10224    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10225    # The option is referenced via a variable to avoid confusing sed.
   10226    lt_compile=`echo "$ac_compile" | $SED \
   10227    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10228    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10229    -e 's:$: $lt_compiler_flag:'`
   10230    (eval echo "\"\$as_me:10230: $lt_compile\"" >&5)
   10231    (eval "$lt_compile" 2>conftest.err)
   10232    ac_status=$?
   10233    cat conftest.err >&5
   10234    echo "$as_me:10234: \$? = $ac_status" >&5
   10235    if (exit $ac_status) && test -s "$ac_outfile"; then
   10236      # The compiler can only warn and ignore the option if not recognized
   10237      # So say no if there are warnings other than the usual output.
   10238      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   10239      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10240      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10241        lt_cv_prog_compiler_rtti_exceptions=yes
   10242      fi
   10243    fi
   10244    $RM conftest*
   10245 
   10246 fi
   10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   10248 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   10249 
   10250 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   10251     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   10252 else
   10253     :
   10254 fi
   10255 
   10256 fi
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263   lt_prog_compiler_wl=
   10264 lt_prog_compiler_pic=
   10265 lt_prog_compiler_static=
   10266 
   10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   10268 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   10269 
   10270   if test "$GCC" = yes; then
   10271     lt_prog_compiler_wl='-Wl,'
   10272     lt_prog_compiler_static='-static'
   10273 
   10274     case $host_os in
   10275       aix*)
   10276       # All AIX code is PIC.
   10277       if test "$host_cpu" = ia64; then
   10278 	# AIX 5 now supports IA64 processor
   10279 	lt_prog_compiler_static='-Bstatic'
   10280       fi
   10281       ;;
   10282 
   10283     amigaos*)
   10284       case $host_cpu in
   10285       powerpc)
   10286             # see comment about AmigaOS4 .so support
   10287             lt_prog_compiler_pic='-fPIC'
   10288         ;;
   10289       m68k)
   10290             # FIXME: we need at least 68020 code to build shared libraries, but
   10291             # adding the `-m68020' flag to GCC prevents building anything better,
   10292             # like `-m68040'.
   10293             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   10294         ;;
   10295       esac
   10296       ;;
   10297 
   10298     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   10299       # PIC is the default for these OSes.
   10300       ;;
   10301 
   10302     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10303       # This hack is so that the source file can tell whether it is being
   10304       # built for inclusion in a dll (and should export symbols for example).
   10305       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   10306       # (--disable-auto-import) libraries
   10307       lt_prog_compiler_pic='-DDLL_EXPORT'
   10308       ;;
   10309 
   10310     darwin* | rhapsody*)
   10311       # PIC is the default on this platform
   10312       # Common symbols not allowed in MH_DYLIB files
   10313       lt_prog_compiler_pic='-fno-common'
   10314       ;;
   10315 
   10316     hpux*)
   10317       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   10318       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   10319       # sets the default TLS model and affects inlining.
   10320       case $host_cpu in
   10321       hppa*64*)
   10322 	# +Z the default
   10323 	;;
   10324       *)
   10325 	lt_prog_compiler_pic='-fPIC'
   10326 	;;
   10327       esac
   10328       ;;
   10329 
   10330     interix[3-9]*)
   10331       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   10332       # Instead, we relocate shared libraries at runtime.
   10333       ;;
   10334 
   10335     msdosdjgpp*)
   10336       # Just because we use GCC doesn't mean we suddenly get shared libraries
   10337       # on systems that don't support them.
   10338       lt_prog_compiler_can_build_shared=no
   10339       enable_shared=no
   10340       ;;
   10341 
   10342     *nto* | *qnx*)
   10343       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10344       # it will coredump.
   10345       lt_prog_compiler_pic='-fPIC -shared'
   10346       ;;
   10347 
   10348     sysv4*MP*)
   10349       if test -d /usr/nec; then
   10350 	lt_prog_compiler_pic=-Kconform_pic
   10351       fi
   10352       ;;
   10353 
   10354     *)
   10355       lt_prog_compiler_pic='-fPIC'
   10356       ;;
   10357     esac
   10358   else
   10359     # PORTME Check for flag to pass linker flags through the system compiler.
   10360     case $host_os in
   10361     aix*)
   10362       lt_prog_compiler_wl='-Wl,'
   10363       if test "$host_cpu" = ia64; then
   10364 	# AIX 5 now supports IA64 processor
   10365 	lt_prog_compiler_static='-Bstatic'
   10366       else
   10367 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   10368       fi
   10369       ;;
   10370 
   10371     mingw* | cygwin* | pw32* | os2* | cegcc*)
   10372       # This hack is so that the source file can tell whether it is being
   10373       # built for inclusion in a dll (and should export symbols for example).
   10374       lt_prog_compiler_pic='-DDLL_EXPORT'
   10375       ;;
   10376 
   10377     hpux9* | hpux10* | hpux11*)
   10378       lt_prog_compiler_wl='-Wl,'
   10379       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   10380       # not for PA HP-UX.
   10381       case $host_cpu in
   10382       hppa*64*|ia64*)
   10383 	# +Z the default
   10384 	;;
   10385       *)
   10386 	lt_prog_compiler_pic='+Z'
   10387 	;;
   10388       esac
   10389       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   10390       lt_prog_compiler_static='${wl}-a ${wl}archive'
   10391       ;;
   10392 
   10393     irix5* | irix6* | nonstopux*)
   10394       lt_prog_compiler_wl='-Wl,'
   10395       # PIC (with -KPIC) is the default.
   10396       lt_prog_compiler_static='-non_shared'
   10397       ;;
   10398 
   10399     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10400       case $cc_basename in
   10401       # old Intel for x86_64 which still supported -KPIC.
   10402       ecc*)
   10403 	lt_prog_compiler_wl='-Wl,'
   10404 	lt_prog_compiler_pic='-KPIC'
   10405 	lt_prog_compiler_static='-static'
   10406         ;;
   10407       # icc used to be incompatible with GCC.
   10408       # ICC 10 doesn't accept -KPIC any more.
   10409       icc* | ifort*)
   10410 	lt_prog_compiler_wl='-Wl,'
   10411 	lt_prog_compiler_pic='-fPIC'
   10412 	lt_prog_compiler_static='-static'
   10413         ;;
   10414       # Lahey Fortran 8.1.
   10415       lf95*)
   10416 	lt_prog_compiler_wl='-Wl,'
   10417 	lt_prog_compiler_pic='--shared'
   10418 	lt_prog_compiler_static='--static'
   10419 	;;
   10420       pgcc* | pgf77* | pgf90* | pgf95*)
   10421         # Portland Group compilers (*not* the Pentium gcc compiler,
   10422 	# which looks to be a dead project)
   10423 	lt_prog_compiler_wl='-Wl,'
   10424 	lt_prog_compiler_pic='-fpic'
   10425 	lt_prog_compiler_static='-Bstatic'
   10426         ;;
   10427       ccc*)
   10428         lt_prog_compiler_wl='-Wl,'
   10429         # All Alpha code is PIC.
   10430         lt_prog_compiler_static='-non_shared'
   10431         ;;
   10432       xl*)
   10433 	# IBM XL C 8.0/Fortran 10.1 on PPC
   10434 	lt_prog_compiler_wl='-Wl,'
   10435 	lt_prog_compiler_pic='-qpic'
   10436 	lt_prog_compiler_static='-qstaticlink'
   10437 	;;
   10438       *)
   10439 	case `$CC -V 2>&1 | sed 5q` in
   10440 	*Sun\ C*)
   10441 	  # Sun C 5.9
   10442 	  lt_prog_compiler_pic='-KPIC'
   10443 	  lt_prog_compiler_static='-Bstatic'
   10444 	  lt_prog_compiler_wl='-Wl,'
   10445 	  ;;
   10446 	*Sun\ F*)
   10447 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   10448 	  lt_prog_compiler_pic='-KPIC'
   10449 	  lt_prog_compiler_static='-Bstatic'
   10450 	  lt_prog_compiler_wl=''
   10451 	  ;;
   10452 	esac
   10453 	;;
   10454       esac
   10455       ;;
   10456 
   10457     newsos6)
   10458       lt_prog_compiler_pic='-KPIC'
   10459       lt_prog_compiler_static='-Bstatic'
   10460       ;;
   10461 
   10462     *nto* | *qnx*)
   10463       # QNX uses GNU C++, but need to define -shared option too, otherwise
   10464       # it will coredump.
   10465       lt_prog_compiler_pic='-fPIC -shared'
   10466       ;;
   10467 
   10468     osf3* | osf4* | osf5*)
   10469       lt_prog_compiler_wl='-Wl,'
   10470       # All OSF/1 code is PIC.
   10471       lt_prog_compiler_static='-non_shared'
   10472       ;;
   10473 
   10474     rdos*)
   10475       lt_prog_compiler_static='-non_shared'
   10476       ;;
   10477 
   10478     solaris*)
   10479       lt_prog_compiler_pic='-KPIC'
   10480       lt_prog_compiler_static='-Bstatic'
   10481       case $cc_basename in
   10482       f77* | f90* | f95*)
   10483 	lt_prog_compiler_wl='-Qoption ld ';;
   10484       *)
   10485 	lt_prog_compiler_wl='-Wl,';;
   10486       esac
   10487       ;;
   10488 
   10489     sunos4*)
   10490       lt_prog_compiler_wl='-Qoption ld '
   10491       lt_prog_compiler_pic='-PIC'
   10492       lt_prog_compiler_static='-Bstatic'
   10493       ;;
   10494 
   10495     sysv4 | sysv4.2uw2* | sysv4.3*)
   10496       lt_prog_compiler_wl='-Wl,'
   10497       lt_prog_compiler_pic='-KPIC'
   10498       lt_prog_compiler_static='-Bstatic'
   10499       ;;
   10500 
   10501     sysv4*MP*)
   10502       if test -d /usr/nec ;then
   10503 	lt_prog_compiler_pic='-Kconform_pic'
   10504 	lt_prog_compiler_static='-Bstatic'
   10505       fi
   10506       ;;
   10507 
   10508     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   10509       lt_prog_compiler_wl='-Wl,'
   10510       lt_prog_compiler_pic='-KPIC'
   10511       lt_prog_compiler_static='-Bstatic'
   10512       ;;
   10513 
   10514     unicos*)
   10515       lt_prog_compiler_wl='-Wl,'
   10516       lt_prog_compiler_can_build_shared=no
   10517       ;;
   10518 
   10519     uts4*)
   10520       lt_prog_compiler_pic='-pic'
   10521       lt_prog_compiler_static='-Bstatic'
   10522       ;;
   10523 
   10524     *)
   10525       lt_prog_compiler_can_build_shared=no
   10526       ;;
   10527     esac
   10528   fi
   10529 
   10530 case $host_os in
   10531   # For platforms which do not support PIC, -DPIC is meaningless:
   10532   *djgpp*)
   10533     lt_prog_compiler_pic=
   10534     ;;
   10535   *)
   10536     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   10537     ;;
   10538 esac
   10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   10540 $as_echo "$lt_prog_compiler_pic" >&6; }
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 #
   10548 # Check to make sure the PIC flag actually works.
   10549 #
   10550 if test -n "$lt_prog_compiler_pic"; then
   10551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   10552 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   10553 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
   10554   $as_echo_n "(cached) " >&6
   10555 else
   10556   lt_cv_prog_compiler_pic_works=no
   10557    ac_outfile=conftest.$ac_objext
   10558    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10559    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   10560    # Insert the option either (1) after the last *FLAGS variable, or
   10561    # (2) before a word containing "conftest.", or (3) at the end.
   10562    # Note that $ac_compile itself does not contain backslashes and begins
   10563    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10564    # The option is referenced via a variable to avoid confusing sed.
   10565    lt_compile=`echo "$ac_compile" | $SED \
   10566    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10567    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10568    -e 's:$: $lt_compiler_flag:'`
   10569    (eval echo "\"\$as_me:10569: $lt_compile\"" >&5)
   10570    (eval "$lt_compile" 2>conftest.err)
   10571    ac_status=$?
   10572    cat conftest.err >&5
   10573    echo "$as_me:10573: \$? = $ac_status" >&5
   10574    if (exit $ac_status) && test -s "$ac_outfile"; then
   10575      # The compiler can only warn and ignore the option if not recognized
   10576      # So say no if there are warnings other than the usual output.
   10577      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   10578      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10579      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   10580        lt_cv_prog_compiler_pic_works=yes
   10581      fi
   10582    fi
   10583    $RM conftest*
   10584 
   10585 fi
   10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   10587 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   10588 
   10589 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   10590     case $lt_prog_compiler_pic in
   10591      "" | " "*) ;;
   10592      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   10593      esac
   10594 else
   10595     lt_prog_compiler_pic=
   10596      lt_prog_compiler_can_build_shared=no
   10597 fi
   10598 
   10599 fi
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 #
   10607 # Check to make sure the static flag actually works.
   10608 #
   10609 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10611 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10612 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
   10613   $as_echo_n "(cached) " >&6
   10614 else
   10615   lt_cv_prog_compiler_static_works=no
   10616    save_LDFLAGS="$LDFLAGS"
   10617    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10618    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10619    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10620      # The linker can only warn and ignore the option if not recognized
   10621      # So say no if there are warnings
   10622      if test -s conftest.err; then
   10623        # Append any errors to the config.log.
   10624        cat conftest.err 1>&5
   10625        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   10626        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10627        if diff conftest.exp conftest.er2 >/dev/null; then
   10628          lt_cv_prog_compiler_static_works=yes
   10629        fi
   10630      else
   10631        lt_cv_prog_compiler_static_works=yes
   10632      fi
   10633    fi
   10634    $RM -r conftest*
   10635    LDFLAGS="$save_LDFLAGS"
   10636 
   10637 fi
   10638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10639 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10640 
   10641 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   10642     :
   10643 else
   10644     lt_prog_compiler_static=
   10645 fi
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10654 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10655 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   10656   $as_echo_n "(cached) " >&6
   10657 else
   10658   lt_cv_prog_compiler_c_o=no
   10659    $RM -r conftest 2>/dev/null
   10660    mkdir conftest
   10661    cd conftest
   10662    mkdir out
   10663    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10664 
   10665    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10666    # Insert the option either (1) after the last *FLAGS variable, or
   10667    # (2) before a word containing "conftest.", or (3) at the end.
   10668    # Note that $ac_compile itself does not contain backslashes and begins
   10669    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10670    lt_compile=`echo "$ac_compile" | $SED \
   10671    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10672    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10673    -e 's:$: $lt_compiler_flag:'`
   10674    (eval echo "\"\$as_me:10674: $lt_compile\"" >&5)
   10675    (eval "$lt_compile" 2>out/conftest.err)
   10676    ac_status=$?
   10677    cat out/conftest.err >&5
   10678    echo "$as_me:10678: \$? = $ac_status" >&5
   10679    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10680    then
   10681      # The compiler can only warn and ignore the option if not recognized
   10682      # So say no if there are warnings
   10683      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   10684      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10685      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10686        lt_cv_prog_compiler_c_o=yes
   10687      fi
   10688    fi
   10689    chmod u+w . 2>&5
   10690    $RM conftest*
   10691    # SGI C++ compiler will create directory out/ii_files/ for
   10692    # template instantiation
   10693    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10694    $RM out/* && rmdir out
   10695    cd ..
   10696    $RM -r conftest
   10697    $RM conftest*
   10698 
   10699 fi
   10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10701 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10709 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10710 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
   10711   $as_echo_n "(cached) " >&6
   10712 else
   10713   lt_cv_prog_compiler_c_o=no
   10714    $RM -r conftest 2>/dev/null
   10715    mkdir conftest
   10716    cd conftest
   10717    mkdir out
   10718    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10719 
   10720    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10721    # Insert the option either (1) after the last *FLAGS variable, or
   10722    # (2) before a word containing "conftest.", or (3) at the end.
   10723    # Note that $ac_compile itself does not contain backslashes and begins
   10724    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10725    lt_compile=`echo "$ac_compile" | $SED \
   10726    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10727    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10728    -e 's:$: $lt_compiler_flag:'`
   10729    (eval echo "\"\$as_me:10729: $lt_compile\"" >&5)
   10730    (eval "$lt_compile" 2>out/conftest.err)
   10731    ac_status=$?
   10732    cat out/conftest.err >&5
   10733    echo "$as_me:10733: \$? = $ac_status" >&5
   10734    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10735    then
   10736      # The compiler can only warn and ignore the option if not recognized
   10737      # So say no if there are warnings
   10738      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   10739      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10740      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10741        lt_cv_prog_compiler_c_o=yes
   10742      fi
   10743    fi
   10744    chmod u+w . 2>&5
   10745    $RM conftest*
   10746    # SGI C++ compiler will create directory out/ii_files/ for
   10747    # template instantiation
   10748    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10749    $RM out/* && rmdir out
   10750    cd ..
   10751    $RM -r conftest
   10752    $RM conftest*
   10753 
   10754 fi
   10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10756 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10757 
   10758 
   10759 
   10760 
   10761 hard_links="nottested"
   10762 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   10763   # do not overwrite the value of need_locks provided by the user
   10764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10765 $as_echo_n "checking if we can lock with hard links... " >&6; }
   10766   hard_links=yes
   10767   $RM conftest*
   10768   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10769   touch conftest.a
   10770   ln conftest.a conftest.b 2>&5 || hard_links=no
   10771   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10773 $as_echo "$hard_links" >&6; }
   10774   if test "$hard_links" = no; then
   10775     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   10776 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   10777     need_locks=warn
   10778   fi
   10779 else
   10780   need_locks=no
   10781 fi
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10789 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10790 
   10791   runpath_var=
   10792   allow_undefined_flag=
   10793   always_export_symbols=no
   10794   archive_cmds=
   10795   archive_expsym_cmds=
   10796   compiler_needs_object=no
   10797   enable_shared_with_static_runtimes=no
   10798   export_dynamic_flag_spec=
   10799   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10800   hardcode_automatic=no
   10801   hardcode_direct=no
   10802   hardcode_direct_absolute=no
   10803   hardcode_libdir_flag_spec=
   10804   hardcode_libdir_flag_spec_ld=
   10805   hardcode_libdir_separator=
   10806   hardcode_minus_L=no
   10807   hardcode_shlibpath_var=unsupported
   10808   inherit_rpath=no
   10809   link_all_deplibs=unknown
   10810   module_cmds=
   10811   module_expsym_cmds=
   10812   old_archive_from_new_cmds=
   10813   old_archive_from_expsyms_cmds=
   10814   thread_safe_flag_spec=
   10815   whole_archive_flag_spec=
   10816   # include_expsyms should be a list of space-separated symbols to be *always*
   10817   # included in the symbol list
   10818   include_expsyms=
   10819   # exclude_expsyms can be an extended regexp of symbols to exclude
   10820   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   10821   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   10822   # as well as any symbol that contains `d'.
   10823   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10824   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10825   # platforms (ab)use it in PIC code, but their linkers get confused if
   10826   # the symbol is explicitly referenced.  Since portable code cannot
   10827   # rely on this symbol name, it's probably fine to never include it in
   10828   # preloaded symbol tables.
   10829   # Exclude shared library initialization/finalization symbols.
   10830   extract_expsyms_cmds=
   10831 
   10832   case $host_os in
   10833   cygwin* | mingw* | pw32* | cegcc*)
   10834     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10835     # When not using gcc, we currently assume that we are using
   10836     # Microsoft Visual C++.
   10837     if test "$GCC" != yes; then
   10838       with_gnu_ld=no
   10839     fi
   10840     ;;
   10841   interix*)
   10842     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10843     with_gnu_ld=yes
   10844     ;;
   10845   openbsd*)
   10846     with_gnu_ld=no
   10847     ;;
   10848   linux* | k*bsd*-gnu)
   10849     link_all_deplibs=no
   10850     ;;
   10851   esac
   10852 
   10853   ld_shlibs=yes
   10854   if test "$with_gnu_ld" = yes; then
   10855     # If archive_cmds runs LD, not CC, wlarc should be empty
   10856     wlarc='${wl}'
   10857 
   10858     # Set some defaults for GNU ld with shared library support. These
   10859     # are reset later if shared libraries are not supported. Putting them
   10860     # here allows them to be overridden if necessary.
   10861     runpath_var=LD_RUN_PATH
   10862     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10863     export_dynamic_flag_spec='${wl}--export-dynamic'
   10864     # ancient GNU ld didn't support --whole-archive et. al.
   10865     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10866       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10867     else
   10868       whole_archive_flag_spec=
   10869     fi
   10870     supports_anon_versioning=no
   10871     case `$LD -v 2>&1` in
   10872       *GNU\ gold*) supports_anon_versioning=yes ;;
   10873       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10874       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10875       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10876       *\ 2.11.*) ;; # other 2.11 versions
   10877       *) supports_anon_versioning=yes ;;
   10878     esac
   10879 
   10880     # See if GNU ld supports shared libraries.
   10881     case $host_os in
   10882     aix[3-9]*)
   10883       # On AIX/PPC, the GNU linker is very broken
   10884       if test "$host_cpu" != ia64; then
   10885 	ld_shlibs=no
   10886 	cat <<_LT_EOF 1>&2
   10887 
   10888 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   10889 *** to be unable to reliably create shared libraries on AIX.
   10890 *** Therefore, libtool is disabling shared libraries support.  If you
   10891 *** really care for shared libraries, you may want to modify your PATH
   10892 *** so that a non-GNU linker is found, and then restart.
   10893 
   10894 _LT_EOF
   10895       fi
   10896       ;;
   10897 
   10898     amigaos*)
   10899       case $host_cpu in
   10900       powerpc)
   10901             # see comment about AmigaOS4 .so support
   10902             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10903             archive_expsym_cmds=''
   10904         ;;
   10905       m68k)
   10906             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)'
   10907             hardcode_libdir_flag_spec='-L$libdir'
   10908             hardcode_minus_L=yes
   10909         ;;
   10910       esac
   10911       ;;
   10912 
   10913     beos*)
   10914       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10915 	allow_undefined_flag=unsupported
   10916 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10917 	# support --undefined.  This deserves some investigation.  FIXME
   10918 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10919       else
   10920 	ld_shlibs=no
   10921       fi
   10922       ;;
   10923 
   10924     cygwin* | mingw* | pw32* | cegcc*)
   10925       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10926       # as there is no search path for DLLs.
   10927       hardcode_libdir_flag_spec='-L$libdir'
   10928       allow_undefined_flag=unsupported
   10929       always_export_symbols=no
   10930       enable_shared_with_static_runtimes=yes
   10931       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10932 
   10933       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10934         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10935 	# If the export-symbols file already is a .def file (1st line
   10936 	# is EXPORTS), use it as is; otherwise, prepend...
   10937 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10938 	  cp $export_symbols $output_objdir/$soname.def;
   10939 	else
   10940 	  echo EXPORTS > $output_objdir/$soname.def;
   10941 	  cat $export_symbols >> $output_objdir/$soname.def;
   10942 	fi~
   10943 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10944       else
   10945 	ld_shlibs=no
   10946       fi
   10947       ;;
   10948 
   10949     interix[3-9]*)
   10950       hardcode_direct=no
   10951       hardcode_shlibpath_var=no
   10952       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10953       export_dynamic_flag_spec='${wl}-E'
   10954       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10955       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10956       # default) and relocated if they conflict, which is a slow very memory
   10957       # consuming and fragmenting process.  To avoid this, we pick a random,
   10958       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10959       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10960       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10961       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'
   10962       ;;
   10963 
   10964     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   10965       tmp_diet=no
   10966       if test "$host_os" = linux-dietlibc; then
   10967 	case $cc_basename in
   10968 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10969 	esac
   10970       fi
   10971       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10972 	 && test "$tmp_diet" = no
   10973       then
   10974 	tmp_addflag=
   10975 	tmp_sharedflag='-shared'
   10976 	case $cc_basename,$host_cpu in
   10977         pgcc*)				# Portland Group C compiler
   10978 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   10979 	  tmp_addflag=' $pic_flag'
   10980 	  ;;
   10981 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   10982 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   10983 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10984 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10985 	  tmp_addflag=' -i_dynamic' ;;
   10986 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10987 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10988 	ifc* | ifort*)			# Intel Fortran compiler
   10989 	  tmp_addflag=' -nofor_main' ;;
   10990 	lf95*)				# Lahey Fortran 8.1
   10991 	  whole_archive_flag_spec=
   10992 	  tmp_sharedflag='--shared' ;;
   10993 	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
   10994 	  tmp_sharedflag='-qmkshrobj'
   10995 	  tmp_addflag= ;;
   10996 	esac
   10997 	case `$CC -V 2>&1 | sed 5q` in
   10998 	*Sun\ C*)			# Sun C 5.9
   10999 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   11000 	  compiler_needs_object=yes
   11001 	  tmp_sharedflag='-G' ;;
   11002 	*Sun\ F*)			# Sun Fortran 8.3
   11003 	  tmp_sharedflag='-G' ;;
   11004 	esac
   11005 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11006 
   11007         if test "x$supports_anon_versioning" = xyes; then
   11008           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11009 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11010 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   11011 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   11012         fi
   11013 
   11014 	case $cc_basename in
   11015 	xlf*)
   11016 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   11017 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   11018 	  hardcode_libdir_flag_spec=
   11019 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   11020 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   11021 	  if test "x$supports_anon_versioning" = xyes; then
   11022 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   11023 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   11024 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   11025 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   11026 	  fi
   11027 	  ;;
   11028 	esac
   11029       else
   11030         ld_shlibs=no
   11031       fi
   11032       ;;
   11033 
   11034     netbsd* | netbsdelf*-gnu)
   11035       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11036 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   11037 	wlarc=
   11038       else
   11039 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11040 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11041       fi
   11042       ;;
   11043 
   11044     solaris*)
   11045       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   11046 	ld_shlibs=no
   11047 	cat <<_LT_EOF 1>&2
   11048 
   11049 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   11050 *** create shared libraries on Solaris systems.  Therefore, libtool
   11051 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11052 *** binutils to release 2.9.1 or newer.  Another option is to modify
   11053 *** your PATH or compiler configuration so that the native linker is
   11054 *** used, and then restart.
   11055 
   11056 _LT_EOF
   11057       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11058 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11059 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11060       else
   11061 	ld_shlibs=no
   11062       fi
   11063       ;;
   11064 
   11065     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   11066       case `$LD -v 2>&1` in
   11067         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   11068 	ld_shlibs=no
   11069 	cat <<_LT_EOF 1>&2
   11070 
   11071 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   11072 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   11073 *** is disabling shared libraries support.  We urge you to upgrade GNU
   11074 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   11075 *** your PATH or compiler configuration so that the native linker is
   11076 *** used, and then restart.
   11077 
   11078 _LT_EOF
   11079 	;;
   11080 	*)
   11081 	  # For security reasons, it is highly recommended that you always
   11082 	  # use absolute paths for naming shared libraries, and exclude the
   11083 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   11084 	  # requires that you compile everything twice, which is a pain.
   11085 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11086 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11087 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11088 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11089 	  else
   11090 	    ld_shlibs=no
   11091 	  fi
   11092 	;;
   11093       esac
   11094       ;;
   11095 
   11096     sunos4*)
   11097       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11098       wlarc=
   11099       hardcode_direct=yes
   11100       hardcode_shlibpath_var=no
   11101       ;;
   11102 
   11103     *)
   11104       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   11105 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11106 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   11107       else
   11108 	ld_shlibs=no
   11109       fi
   11110       ;;
   11111     esac
   11112 
   11113     if test "$ld_shlibs" = no; then
   11114       runpath_var=
   11115       hardcode_libdir_flag_spec=
   11116       export_dynamic_flag_spec=
   11117       whole_archive_flag_spec=
   11118     fi
   11119   else
   11120     # PORTME fill in a description of your system's linker (not GNU ld)
   11121     case $host_os in
   11122     aix3*)
   11123       allow_undefined_flag=unsupported
   11124       always_export_symbols=yes
   11125       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'
   11126       # Note: this linker hardcodes the directories in LIBPATH if there
   11127       # are no directories specified by -L.
   11128       hardcode_minus_L=yes
   11129       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   11130 	# Neither direct hardcoding nor static linking is supported with a
   11131 	# broken collect2.
   11132 	hardcode_direct=unsupported
   11133       fi
   11134       ;;
   11135 
   11136     aix[4-9]*)
   11137       if test "$host_cpu" = ia64; then
   11138 	# On IA64, the linker does run time linking by default, so we don't
   11139 	# have to do anything special.
   11140 	aix_use_runtimelinking=no
   11141 	exp_sym_flag='-Bexport'
   11142 	no_entry_flag=""
   11143       else
   11144 	# If we're using GNU nm, then we don't want the "-C" option.
   11145 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   11146 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   11147 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   11148 	else
   11149 	  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'
   11150 	fi
   11151 	aix_use_runtimelinking=no
   11152 
   11153 	# Test if we are trying to use run time linking or normal
   11154 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11155 	# need to do runtime linking.
   11156 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11157 	  for ld_flag in $LDFLAGS; do
   11158 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   11159 	    aix_use_runtimelinking=yes
   11160 	    break
   11161 	  fi
   11162 	  done
   11163 	  ;;
   11164 	esac
   11165 
   11166 	exp_sym_flag='-bexport'
   11167 	no_entry_flag='-bnoentry'
   11168       fi
   11169 
   11170       # When large executables or shared objects are built, AIX ld can
   11171       # have problems creating the table of contents.  If linking a library
   11172       # or program results in "error TOC overflow" add -mminimal-toc to
   11173       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11174       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11175 
   11176       archive_cmds=''
   11177       hardcode_direct=yes
   11178       hardcode_direct_absolute=yes
   11179       hardcode_libdir_separator=':'
   11180       link_all_deplibs=yes
   11181       file_list_spec='${wl}-f,'
   11182 
   11183       if test "$GCC" = yes; then
   11184 	case $host_os in aix4.[012]|aix4.[012].*)
   11185 	# We only want to do this on AIX 4.2 and lower, the check
   11186 	# below for broken collect2 doesn't work under 4.3+
   11187 	  collect2name=`${CC} -print-prog-name=collect2`
   11188 	  if test -f "$collect2name" &&
   11189 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   11190 	  then
   11191 	  # We have reworked collect2
   11192 	  :
   11193 	  else
   11194 	  # We have old collect2
   11195 	  hardcode_direct=unsupported
   11196 	  # It fails to find uninstalled libraries when the uninstalled
   11197 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11198 	  # to unsupported forces relinking
   11199 	  hardcode_minus_L=yes
   11200 	  hardcode_libdir_flag_spec='-L$libdir'
   11201 	  hardcode_libdir_separator=
   11202 	  fi
   11203 	  ;;
   11204 	esac
   11205 	shared_flag='-shared'
   11206 	if test "$aix_use_runtimelinking" = yes; then
   11207 	  shared_flag="$shared_flag "'${wl}-G'
   11208 	fi
   11209 	link_all_deplibs=no
   11210       else
   11211 	# not using gcc
   11212 	if test "$host_cpu" = ia64; then
   11213 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11214 	# chokes on -Wl,-G. The following line is correct:
   11215 	  shared_flag='-G'
   11216 	else
   11217 	  if test "$aix_use_runtimelinking" = yes; then
   11218 	    shared_flag='${wl}-G'
   11219 	  else
   11220 	    shared_flag='${wl}-bM:SRE'
   11221 	  fi
   11222 	fi
   11223       fi
   11224 
   11225       export_dynamic_flag_spec='${wl}-bexpall'
   11226       # It seems that -bexpall does not export symbols beginning with
   11227       # underscore (_), so it is better to generate a list of symbols to export.
   11228       always_export_symbols=yes
   11229       if test "$aix_use_runtimelinking" = yes; then
   11230 	# Warning - without using the other runtime loading flags (-brtl),
   11231 	# -berok will link without error, but may produce a broken library.
   11232 	allow_undefined_flag='-berok'
   11233         # Determine the default libpath from the value encoded in an
   11234         # empty executable.
   11235         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11236 /* end confdefs.h.  */
   11237 
   11238 int
   11239 main ()
   11240 {
   11241 
   11242   ;
   11243   return 0;
   11244 }
   11245 _ACEOF
   11246 if ac_fn_c_try_link "$LINENO"; then :
   11247 
   11248 lt_aix_libpath_sed='
   11249     /Import File Strings/,/^$/ {
   11250 	/^0/ {
   11251 	    s/^0  *\(.*\)$/\1/
   11252 	    p
   11253 	}
   11254     }'
   11255 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11256 # Check for a 64-bit object if we didn't find anything.
   11257 if test -z "$aix_libpath"; then
   11258   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11259 fi
   11260 fi
   11261 rm -f core conftest.err conftest.$ac_objext \
   11262     conftest$ac_exeext conftest.$ac_ext
   11263 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11264 
   11265         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   11266         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   11267       else
   11268 	if test "$host_cpu" = ia64; then
   11269 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   11270 	  allow_undefined_flag="-z nodefs"
   11271 	  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"
   11272 	else
   11273 	 # Determine the default libpath from the value encoded in an
   11274 	 # empty executable.
   11275 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11276 /* end confdefs.h.  */
   11277 
   11278 int
   11279 main ()
   11280 {
   11281 
   11282   ;
   11283   return 0;
   11284 }
   11285 _ACEOF
   11286 if ac_fn_c_try_link "$LINENO"; then :
   11287 
   11288 lt_aix_libpath_sed='
   11289     /Import File Strings/,/^$/ {
   11290 	/^0/ {
   11291 	    s/^0  *\(.*\)$/\1/
   11292 	    p
   11293 	}
   11294     }'
   11295 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11296 # Check for a 64-bit object if we didn't find anything.
   11297 if test -z "$aix_libpath"; then
   11298   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11299 fi
   11300 fi
   11301 rm -f core conftest.err conftest.$ac_objext \
   11302     conftest$ac_exeext conftest.$ac_ext
   11303 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11304 
   11305 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   11306 	  # Warning - without using the other run time loading flags,
   11307 	  # -berok will link without error, but may produce a broken library.
   11308 	  no_undefined_flag=' ${wl}-bernotok'
   11309 	  allow_undefined_flag=' ${wl}-berok'
   11310 	  # Exported symbols can be pulled into shared objects from archives
   11311 	  whole_archive_flag_spec='$convenience'
   11312 	  archive_cmds_need_lc=yes
   11313 	  # This is similar to how AIX traditionally builds its shared libraries.
   11314 	  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'
   11315 	fi
   11316       fi
   11317       ;;
   11318 
   11319     amigaos*)
   11320       case $host_cpu in
   11321       powerpc)
   11322             # see comment about AmigaOS4 .so support
   11323             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11324             archive_expsym_cmds=''
   11325         ;;
   11326       m68k)
   11327             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)'
   11328             hardcode_libdir_flag_spec='-L$libdir'
   11329             hardcode_minus_L=yes
   11330         ;;
   11331       esac
   11332       ;;
   11333 
   11334     bsdi[45]*)
   11335       export_dynamic_flag_spec=-rdynamic
   11336       ;;
   11337 
   11338     cygwin* | mingw* | pw32* | cegcc*)
   11339       # When not using gcc, we currently assume that we are using
   11340       # Microsoft Visual C++.
   11341       # hardcode_libdir_flag_spec is actually meaningless, as there is
   11342       # no search path for DLLs.
   11343       hardcode_libdir_flag_spec=' '
   11344       allow_undefined_flag=unsupported
   11345       # Tell ltmain to make .lib files, not .a files.
   11346       libext=lib
   11347       # Tell ltmain to make .dll files, not .so files.
   11348       shrext_cmds=".dll"
   11349       # FIXME: Setting linknames here is a bad hack.
   11350       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   11351       # The linker will automatically build a .lib file if we build a DLL.
   11352       old_archive_from_new_cmds='true'
   11353       # FIXME: Should let the user specify the lib program.
   11354       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   11355       fix_srcfile_path='`cygpath -w "$srcfile"`'
   11356       enable_shared_with_static_runtimes=yes
   11357       ;;
   11358 
   11359     darwin* | rhapsody*)
   11360 
   11361 
   11362   archive_cmds_need_lc=no
   11363   hardcode_direct=no
   11364   hardcode_automatic=yes
   11365   hardcode_shlibpath_var=unsupported
   11366   whole_archive_flag_spec=''
   11367   link_all_deplibs=yes
   11368   allow_undefined_flag="$_lt_dar_allow_undefined"
   11369   case $cc_basename in
   11370      ifort*) _lt_dar_can_shared=yes ;;
   11371      *) _lt_dar_can_shared=$GCC ;;
   11372   esac
   11373   if test "$_lt_dar_can_shared" = "yes"; then
   11374     output_verbose_link_cmd=echo
   11375     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11376     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11377     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}"
   11378     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}"
   11379 
   11380   else
   11381   ld_shlibs=no
   11382   fi
   11383 
   11384       ;;
   11385 
   11386     dgux*)
   11387       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11388       hardcode_libdir_flag_spec='-L$libdir'
   11389       hardcode_shlibpath_var=no
   11390       ;;
   11391 
   11392     freebsd1*)
   11393       ld_shlibs=no
   11394       ;;
   11395 
   11396     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   11397     # support.  Future versions do this automatically, but an explicit c++rt0.o
   11398     # does not break anything, and helps significantly (at the cost of a little
   11399     # extra space).
   11400     freebsd2.2*)
   11401       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   11402       hardcode_libdir_flag_spec='-R$libdir'
   11403       hardcode_direct=yes
   11404       hardcode_shlibpath_var=no
   11405       ;;
   11406 
   11407     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   11408     freebsd2*)
   11409       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11410       hardcode_direct=yes
   11411       hardcode_minus_L=yes
   11412       hardcode_shlibpath_var=no
   11413       ;;
   11414 
   11415     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   11416     freebsd* | dragonfly*)
   11417       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   11418       hardcode_libdir_flag_spec='-R$libdir'
   11419       hardcode_direct=yes
   11420       hardcode_shlibpath_var=no
   11421       ;;
   11422 
   11423     hpux9*)
   11424       if test "$GCC" = yes; then
   11425 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   11426       else
   11427 	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'
   11428       fi
   11429       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11430       hardcode_libdir_separator=:
   11431       hardcode_direct=yes
   11432 
   11433       # hardcode_minus_L: Not really in the search PATH,
   11434       # but as the default location of the library.
   11435       hardcode_minus_L=yes
   11436       export_dynamic_flag_spec='${wl}-E'
   11437       ;;
   11438 
   11439     hpux10*)
   11440       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   11441 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11442       else
   11443 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   11444       fi
   11445       if test "$with_gnu_ld" = no; then
   11446 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11447 	hardcode_libdir_flag_spec_ld='+b $libdir'
   11448 	hardcode_libdir_separator=:
   11449 	hardcode_direct=yes
   11450 	hardcode_direct_absolute=yes
   11451 	export_dynamic_flag_spec='${wl}-E'
   11452 	# hardcode_minus_L: Not really in the search PATH,
   11453 	# but as the default location of the library.
   11454 	hardcode_minus_L=yes
   11455       fi
   11456       ;;
   11457 
   11458     hpux11*)
   11459       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   11460 	case $host_cpu in
   11461 	hppa*64*)
   11462 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11463 	  ;;
   11464 	ia64*)
   11465 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11466 	  ;;
   11467 	*)
   11468 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11469 	  ;;
   11470 	esac
   11471       else
   11472 	case $host_cpu in
   11473 	hppa*64*)
   11474 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11475 	  ;;
   11476 	ia64*)
   11477 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   11478 	  ;;
   11479 	*)
   11480 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   11481 	  ;;
   11482 	esac
   11483       fi
   11484       if test "$with_gnu_ld" = no; then
   11485 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   11486 	hardcode_libdir_separator=:
   11487 
   11488 	case $host_cpu in
   11489 	hppa*64*|ia64*)
   11490 	  hardcode_direct=no
   11491 	  hardcode_shlibpath_var=no
   11492 	  ;;
   11493 	*)
   11494 	  hardcode_direct=yes
   11495 	  hardcode_direct_absolute=yes
   11496 	  export_dynamic_flag_spec='${wl}-E'
   11497 
   11498 	  # hardcode_minus_L: Not really in the search PATH,
   11499 	  # but as the default location of the library.
   11500 	  hardcode_minus_L=yes
   11501 	  ;;
   11502 	esac
   11503       fi
   11504       ;;
   11505 
   11506     irix5* | irix6* | nonstopux*)
   11507       if test "$GCC" = yes; then
   11508 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   11509 	# Try to use the -exported_symbol ld option, if it does not
   11510 	# work, assume that -exports_file does not work either and
   11511 	# implicitly export all symbols.
   11512         save_LDFLAGS="$LDFLAGS"
   11513         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   11514         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11515 /* end confdefs.h.  */
   11516 int foo(void) {}
   11517 _ACEOF
   11518 if ac_fn_c_try_link "$LINENO"; then :
   11519   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   11520 
   11521 fi
   11522 rm -f core conftest.err conftest.$ac_objext \
   11523     conftest$ac_exeext conftest.$ac_ext
   11524         LDFLAGS="$save_LDFLAGS"
   11525       else
   11526 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   11527 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   11528       fi
   11529       archive_cmds_need_lc='no'
   11530       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11531       hardcode_libdir_separator=:
   11532       inherit_rpath=yes
   11533       link_all_deplibs=yes
   11534       ;;
   11535 
   11536     netbsd* | netbsdelf*-gnu)
   11537       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11538 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11539       else
   11540 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11541       fi
   11542       hardcode_libdir_flag_spec='-R$libdir'
   11543       hardcode_direct=yes
   11544       hardcode_shlibpath_var=no
   11545       ;;
   11546 
   11547     newsos6)
   11548       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11549       hardcode_direct=yes
   11550       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11551       hardcode_libdir_separator=:
   11552       hardcode_shlibpath_var=no
   11553       ;;
   11554 
   11555     *nto* | *qnx*)
   11556       ;;
   11557 
   11558     openbsd*)
   11559       if test -f /usr/libexec/ld.so; then
   11560 	hardcode_direct=yes
   11561 	hardcode_shlibpath_var=no
   11562 	hardcode_direct_absolute=yes
   11563 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11564 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11565 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   11566 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11567 	  export_dynamic_flag_spec='${wl}-E'
   11568 	else
   11569 	  case $host_os in
   11570 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   11571 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11572 	     hardcode_libdir_flag_spec='-R$libdir'
   11573 	     ;;
   11574 	   *)
   11575 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11576 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11577 	     ;;
   11578 	  esac
   11579 	fi
   11580       else
   11581 	ld_shlibs=no
   11582       fi
   11583       ;;
   11584 
   11585     os2*)
   11586       hardcode_libdir_flag_spec='-L$libdir'
   11587       hardcode_minus_L=yes
   11588       allow_undefined_flag=unsupported
   11589       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'
   11590       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   11591       ;;
   11592 
   11593     osf3*)
   11594       if test "$GCC" = yes; then
   11595 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11596 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   11597       else
   11598 	allow_undefined_flag=' -expect_unresolved \*'
   11599 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   11600       fi
   11601       archive_cmds_need_lc='no'
   11602       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11603       hardcode_libdir_separator=:
   11604       ;;
   11605 
   11606     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11607       if test "$GCC" = yes; then
   11608 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11609 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   11610 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11611       else
   11612 	allow_undefined_flag=' -expect_unresolved \*'
   11613 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   11614 	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~
   11615 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   11616 
   11617 	# Both c and cxx compiler support -rpath directly
   11618 	hardcode_libdir_flag_spec='-rpath $libdir'
   11619       fi
   11620       archive_cmds_need_lc='no'
   11621       hardcode_libdir_separator=:
   11622       ;;
   11623 
   11624     solaris*)
   11625       no_undefined_flag=' -z defs'
   11626       if test "$GCC" = yes; then
   11627 	wlarc='${wl}'
   11628 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11629 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11630 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11631       else
   11632 	case `$CC -V 2>&1` in
   11633 	*"Compilers 5.0"*)
   11634 	  wlarc=''
   11635 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11636 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11637 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11638 	  ;;
   11639 	*)
   11640 	  wlarc='${wl}'
   11641 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11642 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11643 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11644 	  ;;
   11645 	esac
   11646       fi
   11647       hardcode_libdir_flag_spec='-R$libdir'
   11648       hardcode_shlibpath_var=no
   11649       case $host_os in
   11650       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11651       *)
   11652 	# The compiler driver will combine and reorder linker options,
   11653 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   11654 	# but is careful enough not to reorder.
   11655 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11656 	if test "$GCC" = yes; then
   11657 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11658 	else
   11659 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11660 	fi
   11661 	;;
   11662       esac
   11663       link_all_deplibs=yes
   11664       ;;
   11665 
   11666     sunos4*)
   11667       if test "x$host_vendor" = xsequent; then
   11668 	# Use $CC to link under sequent, because it throws in some extra .o
   11669 	# files that make .init and .fini sections work.
   11670 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11671       else
   11672 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11673       fi
   11674       hardcode_libdir_flag_spec='-L$libdir'
   11675       hardcode_direct=yes
   11676       hardcode_minus_L=yes
   11677       hardcode_shlibpath_var=no
   11678       ;;
   11679 
   11680     sysv4)
   11681       case $host_vendor in
   11682 	sni)
   11683 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11684 	  hardcode_direct=yes # is this really true???
   11685 	;;
   11686 	siemens)
   11687 	  ## LD is ld it makes a PLAMLIB
   11688 	  ## CC just makes a GrossModule.
   11689 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11690 	  reload_cmds='$CC -r -o $output$reload_objs'
   11691 	  hardcode_direct=no
   11692         ;;
   11693 	motorola)
   11694 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11695 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11696 	;;
   11697       esac
   11698       runpath_var='LD_RUN_PATH'
   11699       hardcode_shlibpath_var=no
   11700       ;;
   11701 
   11702     sysv4.3*)
   11703       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11704       hardcode_shlibpath_var=no
   11705       export_dynamic_flag_spec='-Bexport'
   11706       ;;
   11707 
   11708     sysv4*MP*)
   11709       if test -d /usr/nec; then
   11710 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11711 	hardcode_shlibpath_var=no
   11712 	runpath_var=LD_RUN_PATH
   11713 	hardcode_runpath_var=yes
   11714 	ld_shlibs=yes
   11715       fi
   11716       ;;
   11717 
   11718     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11719       no_undefined_flag='${wl}-z,text'
   11720       archive_cmds_need_lc=no
   11721       hardcode_shlibpath_var=no
   11722       runpath_var='LD_RUN_PATH'
   11723 
   11724       if test "$GCC" = yes; then
   11725 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11726 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11727       else
   11728 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11729 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11730       fi
   11731       ;;
   11732 
   11733     sysv5* | sco3.2v5* | sco5v6*)
   11734       # Note: We can NOT use -z defs as we might desire, because we do not
   11735       # link with -lc, and that would cause any symbols used from libc to
   11736       # always be unresolved, which means just about no library would
   11737       # ever link correctly.  If we're not using GNU ld we use -z text
   11738       # though, which does catch some bad symbols but isn't as heavy-handed
   11739       # as -z defs.
   11740       no_undefined_flag='${wl}-z,text'
   11741       allow_undefined_flag='${wl}-z,nodefs'
   11742       archive_cmds_need_lc=no
   11743       hardcode_shlibpath_var=no
   11744       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   11745       hardcode_libdir_separator=':'
   11746       link_all_deplibs=yes
   11747       export_dynamic_flag_spec='${wl}-Bexport'
   11748       runpath_var='LD_RUN_PATH'
   11749 
   11750       if test "$GCC" = yes; then
   11751 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11752 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11753       else
   11754 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11755 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11756       fi
   11757       ;;
   11758 
   11759     uts4*)
   11760       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11761       hardcode_libdir_flag_spec='-L$libdir'
   11762       hardcode_shlibpath_var=no
   11763       ;;
   11764 
   11765     *)
   11766       ld_shlibs=no
   11767       ;;
   11768     esac
   11769 
   11770     if test x$host_vendor = xsni; then
   11771       case $host in
   11772       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11773 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   11774 	;;
   11775       esac
   11776     fi
   11777   fi
   11778 
   11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11780 $as_echo "$ld_shlibs" >&6; }
   11781 test "$ld_shlibs" = no && can_build_shared=no
   11782 
   11783 with_gnu_ld=$with_gnu_ld
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 #
   11800 # Do we need to explicitly link libc?
   11801 #
   11802 case "x$archive_cmds_need_lc" in
   11803 x|xyes)
   11804   # Assume -lc should be added
   11805   archive_cmds_need_lc=yes
   11806 
   11807   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11808     case $archive_cmds in
   11809     *'~'*)
   11810       # FIXME: we may have to deal with multi-command sequences.
   11811       ;;
   11812     '$CC '*)
   11813       # Test whether the compiler implicitly links with -lc since on some
   11814       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11815       # to ld, don't add -lc before -lgcc.
   11816       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11817 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11818       $RM conftest*
   11819       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11820 
   11821       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11822   (eval $ac_compile) 2>&5
   11823   ac_status=$?
   11824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11825   test $ac_status = 0; } 2>conftest.err; then
   11826         soname=conftest
   11827         lib=conftest
   11828         libobjs=conftest.$ac_objext
   11829         deplibs=
   11830         wl=$lt_prog_compiler_wl
   11831 	pic_flag=$lt_prog_compiler_pic
   11832         compiler_flags=-v
   11833         linker_flags=-v
   11834         verstring=
   11835         output_objdir=.
   11836         libname=conftest
   11837         lt_save_allow_undefined_flag=$allow_undefined_flag
   11838         allow_undefined_flag=
   11839         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11840   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11841   ac_status=$?
   11842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11843   test $ac_status = 0; }
   11844         then
   11845 	  archive_cmds_need_lc=no
   11846         else
   11847 	  archive_cmds_need_lc=yes
   11848         fi
   11849         allow_undefined_flag=$lt_save_allow_undefined_flag
   11850       else
   11851         cat conftest.err 1>&5
   11852       fi
   11853       $RM conftest*
   11854       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
   11855 $as_echo "$archive_cmds_need_lc" >&6; }
   11856       ;;
   11857     esac
   11858   fi
   11859   ;;
   11860 esac
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965 
   11966 
   11967 
   11968 
   11969 
   11970 
   11971 
   11972 
   11973 
   11974 
   11975 
   11976 
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 
   12002 
   12003 
   12004 
   12005 
   12006 
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 
   12014 
   12015 
   12016 
   12017 
   12018   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   12019 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   12020 
   12021 if test "$GCC" = yes; then
   12022   case $host_os in
   12023     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   12024     *) lt_awk_arg="/^libraries:/" ;;
   12025   esac
   12026   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12027   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   12028     # if the path contains ";" then we assume it to be the separator
   12029     # otherwise default to the standard path separator (i.e. ":") - it is
   12030     # assumed that no part of a normal pathname contains ";" but that should
   12031     # okay in the real world where ";" in dirpaths is itself problematic.
   12032     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   12033   else
   12034     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12035   fi
   12036   # Ok, now we have the path, separated by spaces, we can step through it
   12037   # and add multilib dir if necessary.
   12038   lt_tmp_lt_search_path_spec=
   12039   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   12040   for lt_sys_path in $lt_search_path_spec; do
   12041     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   12042       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   12043     else
   12044       test -d "$lt_sys_path" && \
   12045 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   12046     fi
   12047   done
   12048   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   12049 BEGIN {RS=" "; FS="/|\n";} {
   12050   lt_foo="";
   12051   lt_count=0;
   12052   for (lt_i = NF; lt_i > 0; lt_i--) {
   12053     if ($lt_i != "" && $lt_i != ".") {
   12054       if ($lt_i == "..") {
   12055         lt_count++;
   12056       } else {
   12057         if (lt_count == 0) {
   12058           lt_foo="/" $lt_i lt_foo;
   12059         } else {
   12060           lt_count--;
   12061         }
   12062       }
   12063     }
   12064   }
   12065   if (lt_foo != "") { lt_freq[lt_foo]++; }
   12066   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   12067 }'`
   12068   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   12069 else
   12070   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   12071 fi
   12072 library_names_spec=
   12073 libname_spec='lib$name'
   12074 soname_spec=
   12075 shrext_cmds=".so"
   12076 postinstall_cmds=
   12077 postuninstall_cmds=
   12078 finish_cmds=
   12079 finish_eval=
   12080 shlibpath_var=
   12081 shlibpath_overrides_runpath=unknown
   12082 version_type=none
   12083 dynamic_linker="$host_os ld.so"
   12084 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   12085 need_lib_prefix=unknown
   12086 hardcode_into_libs=no
   12087 
   12088 # when you set need_version to no, make sure it does not cause -set_version
   12089 # flags to be left without arguments
   12090 need_version=unknown
   12091 
   12092 case $host_os in
   12093 aix3*)
   12094   version_type=linux
   12095   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   12096   shlibpath_var=LIBPATH
   12097 
   12098   # AIX 3 has no versioning support, so we append a major version to the name.
   12099   soname_spec='${libname}${release}${shared_ext}$major'
   12100   ;;
   12101 
   12102 aix[4-9]*)
   12103   version_type=linux
   12104   need_lib_prefix=no
   12105   need_version=no
   12106   hardcode_into_libs=yes
   12107   if test "$host_cpu" = ia64; then
   12108     # AIX 5 supports IA64
   12109     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   12110     shlibpath_var=LD_LIBRARY_PATH
   12111   else
   12112     # With GCC up to 2.95.x, collect2 would create an import file
   12113     # for dependence libraries.  The import file would start with
   12114     # the line `#! .'.  This would cause the generated library to
   12115     # depend on `.', always an invalid library.  This was fixed in
   12116     # development snapshots of GCC prior to 3.0.
   12117     case $host_os in
   12118       aix4 | aix4.[01] | aix4.[01].*)
   12119       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   12120 	   echo ' yes '
   12121 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   12122 	:
   12123       else
   12124 	can_build_shared=no
   12125       fi
   12126       ;;
   12127     esac
   12128     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   12129     # soname into executable. Probably we can add versioning support to
   12130     # collect2, so additional links can be useful in future.
   12131     if test "$aix_use_runtimelinking" = yes; then
   12132       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   12133       # instead of lib<name>.a to let people know that these are not
   12134       # typical AIX shared libraries.
   12135       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12136     else
   12137       # We preserve .a as extension for shared libraries through AIX4.2
   12138       # and later when we are not doing run time linking.
   12139       library_names_spec='${libname}${release}.a $libname.a'
   12140       soname_spec='${libname}${release}${shared_ext}$major'
   12141     fi
   12142     shlibpath_var=LIBPATH
   12143   fi
   12144   ;;
   12145 
   12146 amigaos*)
   12147   case $host_cpu in
   12148   powerpc)
   12149     # Since July 2007 AmigaOS4 officially supports .so libraries.
   12150     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   12151     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12152     ;;
   12153   m68k)
   12154     library_names_spec='$libname.ixlibrary $libname.a'
   12155     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   12156     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   12157     ;;
   12158   esac
   12159   ;;
   12160 
   12161 beos*)
   12162   library_names_spec='${libname}${shared_ext}'
   12163   dynamic_linker="$host_os ld.so"
   12164   shlibpath_var=LIBRARY_PATH
   12165   ;;
   12166 
   12167 bsdi[45]*)
   12168   version_type=linux
   12169   need_version=no
   12170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12171   soname_spec='${libname}${release}${shared_ext}$major'
   12172   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   12173   shlibpath_var=LD_LIBRARY_PATH
   12174   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   12175   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   12176   # the default ld.so.conf also contains /usr/contrib/lib and
   12177   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   12178   # libtool to hard-code these into programs
   12179   ;;
   12180 
   12181 cygwin* | mingw* | pw32* | cegcc*)
   12182   version_type=windows
   12183   shrext_cmds=".dll"
   12184   need_version=no
   12185   need_lib_prefix=no
   12186 
   12187   case $GCC,$host_os in
   12188   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   12189     library_names_spec='$libname.dll.a'
   12190     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   12191     postinstall_cmds='base_file=`basename \${file}`~
   12192       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   12193       dldir=$destdir/`dirname \$dlpath`~
   12194       test -d \$dldir || mkdir -p \$dldir~
   12195       $install_prog $dir/$dlname \$dldir/$dlname~
   12196       chmod a+x \$dldir/$dlname~
   12197       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   12198         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   12199       fi'
   12200     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   12201       dlpath=$dir/\$dldll~
   12202        $RM \$dlpath'
   12203     shlibpath_overrides_runpath=yes
   12204 
   12205     case $host_os in
   12206     cygwin*)
   12207       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   12208       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12209       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   12210       ;;
   12211     mingw* | cegcc*)
   12212       # MinGW DLLs use traditional 'lib' prefix
   12213       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12214       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   12215       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   12216         # It is most probably a Windows format PATH printed by
   12217         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   12218         # path with ; separators, and with drive letters. We can handle the
   12219         # drive letters (cygwin fileutils understands them), so leave them,
   12220         # especially as we might pass files found there to a mingw objdump,
   12221         # which wouldn't understand a cygwinified path. Ahh.
   12222         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   12223       else
   12224         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   12225       fi
   12226       ;;
   12227     pw32*)
   12228       # pw32 DLLs use 'pw' prefix rather than 'lib'
   12229       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   12230       ;;
   12231     esac
   12232     ;;
   12233 
   12234   *)
   12235     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   12236     ;;
   12237   esac
   12238   dynamic_linker='Win32 ld.exe'
   12239   # FIXME: first we should search . and the directory the executable is in
   12240   shlibpath_var=PATH
   12241   ;;
   12242 
   12243 darwin* | rhapsody*)
   12244   dynamic_linker="$host_os dyld"
   12245   version_type=darwin
   12246   need_lib_prefix=no
   12247   need_version=no
   12248   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   12249   soname_spec='${libname}${release}${major}$shared_ext'
   12250   shlibpath_overrides_runpath=yes
   12251   shlibpath_var=DYLD_LIBRARY_PATH
   12252   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   12253 
   12254   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   12255   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   12256   ;;
   12257 
   12258 dgux*)
   12259   version_type=linux
   12260   need_lib_prefix=no
   12261   need_version=no
   12262   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   12263   soname_spec='${libname}${release}${shared_ext}$major'
   12264   shlibpath_var=LD_LIBRARY_PATH
   12265   ;;
   12266 
   12267 freebsd1*)
   12268   dynamic_linker=no
   12269   ;;
   12270 
   12271 freebsd* | dragonfly*)
   12272   # DragonFly does not have aout.  When/if they implement a new
   12273   # versioning mechanism, adjust this.
   12274   if test -x /usr/bin/objformat; then
   12275     objformat=`/usr/bin/objformat`
   12276   else
   12277     case $host_os in
   12278     freebsd[123]*) objformat=aout ;;
   12279     *) objformat=elf ;;
   12280     esac
   12281   fi
   12282   version_type=freebsd-$objformat
   12283   case $version_type in
   12284     freebsd-elf*)
   12285       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12286       need_version=no
   12287       need_lib_prefix=no
   12288       ;;
   12289     freebsd-*)
   12290       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   12291       need_version=yes
   12292       ;;
   12293   esac
   12294   shlibpath_var=LD_LIBRARY_PATH
   12295   case $host_os in
   12296   freebsd2*)
   12297     shlibpath_overrides_runpath=yes
   12298     ;;
   12299   freebsd3.[01]* | freebsdelf3.[01]*)
   12300     shlibpath_overrides_runpath=yes
   12301     hardcode_into_libs=yes
   12302     ;;
   12303   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   12304   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   12305     shlibpath_overrides_runpath=no
   12306     hardcode_into_libs=yes
   12307     ;;
   12308   *) # from 4.6 on, and DragonFly
   12309     shlibpath_overrides_runpath=yes
   12310     hardcode_into_libs=yes
   12311     ;;
   12312   esac
   12313   ;;
   12314 
   12315 gnu*)
   12316   version_type=linux
   12317   need_lib_prefix=no
   12318   need_version=no
   12319   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   12320   soname_spec='${libname}${release}${shared_ext}$major'
   12321   shlibpath_var=LD_LIBRARY_PATH
   12322   hardcode_into_libs=yes
   12323   ;;
   12324 
   12325 hpux9* | hpux10* | hpux11*)
   12326   # Give a soname corresponding to the major version so that dld.sl refuses to
   12327   # link against other versions.
   12328   version_type=sunos
   12329   need_lib_prefix=no
   12330   need_version=no
   12331   case $host_cpu in
   12332   ia64*)
   12333     shrext_cmds='.so'
   12334     hardcode_into_libs=yes
   12335     dynamic_linker="$host_os dld.so"
   12336     shlibpath_var=LD_LIBRARY_PATH
   12337     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12338     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12339     soname_spec='${libname}${release}${shared_ext}$major'
   12340     if test "X$HPUX_IA64_MODE" = X32; then
   12341       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   12342     else
   12343       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   12344     fi
   12345     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12346     ;;
   12347   hppa*64*)
   12348     shrext_cmds='.sl'
   12349     hardcode_into_libs=yes
   12350     dynamic_linker="$host_os dld.sl"
   12351     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   12352     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   12353     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12354     soname_spec='${libname}${release}${shared_ext}$major'
   12355     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   12356     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   12357     ;;
   12358   *)
   12359     shrext_cmds='.sl'
   12360     dynamic_linker="$host_os dld.sl"
   12361     shlibpath_var=SHLIB_PATH
   12362     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   12363     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12364     soname_spec='${libname}${release}${shared_ext}$major'
   12365     ;;
   12366   esac
   12367   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   12368   postinstall_cmds='chmod 555 $lib'
   12369   ;;
   12370 
   12371 interix[3-9]*)
   12372   version_type=linux
   12373   need_lib_prefix=no
   12374   need_version=no
   12375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12376   soname_spec='${libname}${release}${shared_ext}$major'
   12377   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   12378   shlibpath_var=LD_LIBRARY_PATH
   12379   shlibpath_overrides_runpath=no
   12380   hardcode_into_libs=yes
   12381   ;;
   12382 
   12383 irix5* | irix6* | nonstopux*)
   12384   case $host_os in
   12385     nonstopux*) version_type=nonstopux ;;
   12386     *)
   12387 	if test "$lt_cv_prog_gnu_ld" = yes; then
   12388 		version_type=linux
   12389 	else
   12390 		version_type=irix
   12391 	fi ;;
   12392   esac
   12393   need_lib_prefix=no
   12394   need_version=no
   12395   soname_spec='${libname}${release}${shared_ext}$major'
   12396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   12397   case $host_os in
   12398   irix5* | nonstopux*)
   12399     libsuff= shlibsuff=
   12400     ;;
   12401   *)
   12402     case $LD in # libtool.m4 will add one of these switches to LD
   12403     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   12404       libsuff= shlibsuff= libmagic=32-bit;;
   12405     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   12406       libsuff=32 shlibsuff=N32 libmagic=N32;;
   12407     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   12408       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   12409     *) libsuff= shlibsuff= libmagic=never-match;;
   12410     esac
   12411     ;;
   12412   esac
   12413   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   12414   shlibpath_overrides_runpath=no
   12415   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   12416   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   12417   hardcode_into_libs=yes
   12418   ;;
   12419 
   12420 # No shared lib support for Linux oldld, aout, or coff.
   12421 linux*oldld* | linux*aout* | linux*coff*)
   12422   dynamic_linker=no
   12423   ;;
   12424 
   12425 # This must be Linux ELF.
   12426 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12427   version_type=linux
   12428   need_lib_prefix=no
   12429   need_version=no
   12430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12431   soname_spec='${libname}${release}${shared_ext}$major'
   12432   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   12433   shlibpath_var=LD_LIBRARY_PATH
   12434   shlibpath_overrides_runpath=no
   12435   # Some binutils ld are patched to set DT_RUNPATH
   12436   save_LDFLAGS=$LDFLAGS
   12437   save_libdir=$libdir
   12438   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   12439        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   12440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12441 /* end confdefs.h.  */
   12442 
   12443 int
   12444 main ()
   12445 {
   12446 
   12447   ;
   12448   return 0;
   12449 }
   12450 _ACEOF
   12451 if ac_fn_c_try_link "$LINENO"; then :
   12452   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   12453   shlibpath_overrides_runpath=yes
   12454 fi
   12455 fi
   12456 rm -f core conftest.err conftest.$ac_objext \
   12457     conftest$ac_exeext conftest.$ac_ext
   12458   LDFLAGS=$save_LDFLAGS
   12459   libdir=$save_libdir
   12460 
   12461   # This implies no fast_install, which is unacceptable.
   12462   # Some rework will be needed to allow for fast_install
   12463   # before this can be enabled.
   12464   hardcode_into_libs=yes
   12465 
   12466   # Append ld.so.conf contents to the search path
   12467   if test -f /etc/ld.so.conf; then
   12468     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   12469     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   12470   fi
   12471 
   12472   # We used to test for /lib/ld.so.1 and disable shared libraries on
   12473   # powerpc, because MkLinux only supported shared libraries with the
   12474   # GNU dynamic linker.  Since this was broken with cross compilers,
   12475   # most powerpc-linux boxes support dynamic linking these days and
   12476   # people can always --disable-shared, the test was removed, and we
   12477   # assume the GNU/Linux dynamic linker is in use.
   12478   dynamic_linker='GNU/Linux ld.so'
   12479   ;;
   12480 
   12481 netbsdelf*-gnu)
   12482   version_type=linux
   12483   need_lib_prefix=no
   12484   need_version=no
   12485   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12486   soname_spec='${libname}${release}${shared_ext}$major'
   12487   shlibpath_var=LD_LIBRARY_PATH
   12488   shlibpath_overrides_runpath=no
   12489   hardcode_into_libs=yes
   12490   dynamic_linker='NetBSD ld.elf_so'
   12491   ;;
   12492 
   12493 netbsd*)
   12494   version_type=sunos
   12495   need_lib_prefix=no
   12496   need_version=no
   12497   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12498     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12499     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12500     dynamic_linker='NetBSD (a.out) ld.so'
   12501   else
   12502     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   12503     soname_spec='${libname}${release}${shared_ext}$major'
   12504     dynamic_linker='NetBSD ld.elf_so'
   12505   fi
   12506   shlibpath_var=LD_LIBRARY_PATH
   12507   shlibpath_overrides_runpath=yes
   12508   hardcode_into_libs=yes
   12509   ;;
   12510 
   12511 newsos6)
   12512   version_type=linux
   12513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12514   shlibpath_var=LD_LIBRARY_PATH
   12515   shlibpath_overrides_runpath=yes
   12516   ;;
   12517 
   12518 *nto* | *qnx*)
   12519   version_type=qnx
   12520   need_lib_prefix=no
   12521   need_version=no
   12522   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12523   soname_spec='${libname}${release}${shared_ext}$major'
   12524   shlibpath_var=LD_LIBRARY_PATH
   12525   shlibpath_overrides_runpath=no
   12526   hardcode_into_libs=yes
   12527   dynamic_linker='ldqnx.so'
   12528   ;;
   12529 
   12530 openbsd*)
   12531   version_type=sunos
   12532   sys_lib_dlsearch_path_spec="/usr/lib"
   12533   need_lib_prefix=no
   12534   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12535   case $host_os in
   12536     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   12537     *)				need_version=no  ;;
   12538   esac
   12539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12540   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12541   shlibpath_var=LD_LIBRARY_PATH
   12542   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12543     case $host_os in
   12544       openbsd2.[89] | openbsd2.[89].*)
   12545 	shlibpath_overrides_runpath=no
   12546 	;;
   12547       *)
   12548 	shlibpath_overrides_runpath=yes
   12549 	;;
   12550       esac
   12551   else
   12552     shlibpath_overrides_runpath=yes
   12553   fi
   12554   ;;
   12555 
   12556 os2*)
   12557   libname_spec='$name'
   12558   shrext_cmds=".dll"
   12559   need_lib_prefix=no
   12560   library_names_spec='$libname${shared_ext} $libname.a'
   12561   dynamic_linker='OS/2 ld.exe'
   12562   shlibpath_var=LIBPATH
   12563   ;;
   12564 
   12565 osf3* | osf4* | osf5*)
   12566   version_type=osf
   12567   need_lib_prefix=no
   12568   need_version=no
   12569   soname_spec='${libname}${release}${shared_ext}$major'
   12570   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12571   shlibpath_var=LD_LIBRARY_PATH
   12572   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12573   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12574   ;;
   12575 
   12576 rdos*)
   12577   dynamic_linker=no
   12578   ;;
   12579 
   12580 solaris*)
   12581   version_type=linux
   12582   need_lib_prefix=no
   12583   need_version=no
   12584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12585   soname_spec='${libname}${release}${shared_ext}$major'
   12586   shlibpath_var=LD_LIBRARY_PATH
   12587   shlibpath_overrides_runpath=yes
   12588   hardcode_into_libs=yes
   12589   # ldd complains unless libraries are executable
   12590   postinstall_cmds='chmod +x $lib'
   12591   ;;
   12592 
   12593 sunos4*)
   12594   version_type=sunos
   12595   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12596   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12597   shlibpath_var=LD_LIBRARY_PATH
   12598   shlibpath_overrides_runpath=yes
   12599   if test "$with_gnu_ld" = yes; then
   12600     need_lib_prefix=no
   12601   fi
   12602   need_version=yes
   12603   ;;
   12604 
   12605 sysv4 | sysv4.3*)
   12606   version_type=linux
   12607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12608   soname_spec='${libname}${release}${shared_ext}$major'
   12609   shlibpath_var=LD_LIBRARY_PATH
   12610   case $host_vendor in
   12611     sni)
   12612       shlibpath_overrides_runpath=no
   12613       need_lib_prefix=no
   12614       runpath_var=LD_RUN_PATH
   12615       ;;
   12616     siemens)
   12617       need_lib_prefix=no
   12618       ;;
   12619     motorola)
   12620       need_lib_prefix=no
   12621       need_version=no
   12622       shlibpath_overrides_runpath=no
   12623       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12624       ;;
   12625   esac
   12626   ;;
   12627 
   12628 sysv4*MP*)
   12629   if test -d /usr/nec ;then
   12630     version_type=linux
   12631     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12632     soname_spec='$libname${shared_ext}.$major'
   12633     shlibpath_var=LD_LIBRARY_PATH
   12634   fi
   12635   ;;
   12636 
   12637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12638   version_type=freebsd-elf
   12639   need_lib_prefix=no
   12640   need_version=no
   12641   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12642   soname_spec='${libname}${release}${shared_ext}$major'
   12643   shlibpath_var=LD_LIBRARY_PATH
   12644   shlibpath_overrides_runpath=yes
   12645   hardcode_into_libs=yes
   12646   if test "$with_gnu_ld" = yes; then
   12647     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12648   else
   12649     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12650     case $host_os in
   12651       sco3.2v5*)
   12652         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12653 	;;
   12654     esac
   12655   fi
   12656   sys_lib_dlsearch_path_spec='/usr/lib'
   12657   ;;
   12658 
   12659 tpf*)
   12660   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12661   version_type=linux
   12662   need_lib_prefix=no
   12663   need_version=no
   12664   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12665   shlibpath_var=LD_LIBRARY_PATH
   12666   shlibpath_overrides_runpath=no
   12667   hardcode_into_libs=yes
   12668   ;;
   12669 
   12670 uts4*)
   12671   version_type=linux
   12672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12673   soname_spec='${libname}${release}${shared_ext}$major'
   12674   shlibpath_var=LD_LIBRARY_PATH
   12675   ;;
   12676 
   12677 *)
   12678   dynamic_linker=no
   12679   ;;
   12680 esac
   12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12682 $as_echo "$dynamic_linker" >&6; }
   12683 test "$dynamic_linker" = no && can_build_shared=no
   12684 
   12685 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12686 if test "$GCC" = yes; then
   12687   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12688 fi
   12689 
   12690 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   12691   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   12692 fi
   12693 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   12694   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   12695 fi
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 
   12722 
   12723 
   12724 
   12725 
   12726 
   12727 
   12728 
   12729 
   12730 
   12731 
   12732 
   12733 
   12734 
   12735 
   12736 
   12737 
   12738 
   12739 
   12740 
   12741 
   12742 
   12743 
   12744 
   12745 
   12746 
   12747 
   12748 
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 
   12755 
   12756 
   12757 
   12758 
   12759 
   12760 
   12761 
   12762 
   12763 
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 
   12772 
   12773 
   12774 
   12775 
   12776 
   12777 
   12778 
   12779 
   12780 
   12781 
   12782 
   12783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12784 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12785 hardcode_action=
   12786 if test -n "$hardcode_libdir_flag_spec" ||
   12787    test -n "$runpath_var" ||
   12788    test "X$hardcode_automatic" = "Xyes" ; then
   12789 
   12790   # We can hardcode non-existent directories.
   12791   if test "$hardcode_direct" != no &&
   12792      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12793      # have to relink, otherwise we might link with an installed library
   12794      # when we should be linking with a yet-to-be-installed one
   12795      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   12796      test "$hardcode_minus_L" != no; then
   12797     # Linking always hardcodes the temporary library directory.
   12798     hardcode_action=relink
   12799   else
   12800     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12801     hardcode_action=immediate
   12802   fi
   12803 else
   12804   # We cannot hardcode anything, or else we can only hardcode existing
   12805   # directories.
   12806   hardcode_action=unsupported
   12807 fi
   12808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12809 $as_echo "$hardcode_action" >&6; }
   12810 
   12811 if test "$hardcode_action" = relink ||
   12812    test "$inherit_rpath" = yes; then
   12813   # Fast installation is not supported
   12814   enable_fast_install=no
   12815 elif test "$shlibpath_overrides_runpath" = yes ||
   12816      test "$enable_shared" = no; then
   12817   # Fast installation is not necessary
   12818   enable_fast_install=needless
   12819 fi
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826   if test "x$enable_dlopen" != xyes; then
   12827   enable_dlopen=unknown
   12828   enable_dlopen_self=unknown
   12829   enable_dlopen_self_static=unknown
   12830 else
   12831   lt_cv_dlopen=no
   12832   lt_cv_dlopen_libs=
   12833 
   12834   case $host_os in
   12835   beos*)
   12836     lt_cv_dlopen="load_add_on"
   12837     lt_cv_dlopen_libs=
   12838     lt_cv_dlopen_self=yes
   12839     ;;
   12840 
   12841   mingw* | pw32* | cegcc*)
   12842     lt_cv_dlopen="LoadLibrary"
   12843     lt_cv_dlopen_libs=
   12844     ;;
   12845 
   12846   cygwin*)
   12847     lt_cv_dlopen="dlopen"
   12848     lt_cv_dlopen_libs=
   12849     ;;
   12850 
   12851   darwin*)
   12852   # if libdl is installed we need to link against it
   12853     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12854 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12855 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   12856   $as_echo_n "(cached) " >&6
   12857 else
   12858   ac_check_lib_save_LIBS=$LIBS
   12859 LIBS="-ldl  $LIBS"
   12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12861 /* end confdefs.h.  */
   12862 
   12863 /* Override any GCC internal prototype to avoid an error.
   12864    Use char because int might match the return type of a GCC
   12865    builtin and then its argument prototype would still apply.  */
   12866 #ifdef __cplusplus
   12867 extern "C"
   12868 #endif
   12869 char dlopen ();
   12870 int
   12871 main ()
   12872 {
   12873 return dlopen ();
   12874   ;
   12875   return 0;
   12876 }
   12877 _ACEOF
   12878 if ac_fn_c_try_link "$LINENO"; then :
   12879   ac_cv_lib_dl_dlopen=yes
   12880 else
   12881   ac_cv_lib_dl_dlopen=no
   12882 fi
   12883 rm -f core conftest.err conftest.$ac_objext \
   12884     conftest$ac_exeext conftest.$ac_ext
   12885 LIBS=$ac_check_lib_save_LIBS
   12886 fi
   12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12888 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12889 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   12890   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12891 else
   12892 
   12893     lt_cv_dlopen="dyld"
   12894     lt_cv_dlopen_libs=
   12895     lt_cv_dlopen_self=yes
   12896 
   12897 fi
   12898 
   12899     ;;
   12900 
   12901   *)
   12902     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12903 if test "x$ac_cv_func_shl_load" = x""yes; then :
   12904   lt_cv_dlopen="shl_load"
   12905 else
   12906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12907 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12908 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
   12909   $as_echo_n "(cached) " >&6
   12910 else
   12911   ac_check_lib_save_LIBS=$LIBS
   12912 LIBS="-ldld  $LIBS"
   12913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12914 /* end confdefs.h.  */
   12915 
   12916 /* Override any GCC internal prototype to avoid an error.
   12917    Use char because int might match the return type of a GCC
   12918    builtin and then its argument prototype would still apply.  */
   12919 #ifdef __cplusplus
   12920 extern "C"
   12921 #endif
   12922 char shl_load ();
   12923 int
   12924 main ()
   12925 {
   12926 return shl_load ();
   12927   ;
   12928   return 0;
   12929 }
   12930 _ACEOF
   12931 if ac_fn_c_try_link "$LINENO"; then :
   12932   ac_cv_lib_dld_shl_load=yes
   12933 else
   12934   ac_cv_lib_dld_shl_load=no
   12935 fi
   12936 rm -f core conftest.err conftest.$ac_objext \
   12937     conftest$ac_exeext conftest.$ac_ext
   12938 LIBS=$ac_check_lib_save_LIBS
   12939 fi
   12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12941 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12942 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
   12943   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12944 else
   12945   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12946 if test "x$ac_cv_func_dlopen" = x""yes; then :
   12947   lt_cv_dlopen="dlopen"
   12948 else
   12949   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12950 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12951 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
   12952   $as_echo_n "(cached) " >&6
   12953 else
   12954   ac_check_lib_save_LIBS=$LIBS
   12955 LIBS="-ldl  $LIBS"
   12956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12957 /* end confdefs.h.  */
   12958 
   12959 /* Override any GCC internal prototype to avoid an error.
   12960    Use char because int might match the return type of a GCC
   12961    builtin and then its argument prototype would still apply.  */
   12962 #ifdef __cplusplus
   12963 extern "C"
   12964 #endif
   12965 char dlopen ();
   12966 int
   12967 main ()
   12968 {
   12969 return dlopen ();
   12970   ;
   12971   return 0;
   12972 }
   12973 _ACEOF
   12974 if ac_fn_c_try_link "$LINENO"; then :
   12975   ac_cv_lib_dl_dlopen=yes
   12976 else
   12977   ac_cv_lib_dl_dlopen=no
   12978 fi
   12979 rm -f core conftest.err conftest.$ac_objext \
   12980     conftest$ac_exeext conftest.$ac_ext
   12981 LIBS=$ac_check_lib_save_LIBS
   12982 fi
   12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12984 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12985 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
   12986   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12987 else
   12988   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12989 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12990 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
   12991   $as_echo_n "(cached) " >&6
   12992 else
   12993   ac_check_lib_save_LIBS=$LIBS
   12994 LIBS="-lsvld  $LIBS"
   12995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12996 /* end confdefs.h.  */
   12997 
   12998 /* Override any GCC internal prototype to avoid an error.
   12999    Use char because int might match the return type of a GCC
   13000    builtin and then its argument prototype would still apply.  */
   13001 #ifdef __cplusplus
   13002 extern "C"
   13003 #endif
   13004 char dlopen ();
   13005 int
   13006 main ()
   13007 {
   13008 return dlopen ();
   13009   ;
   13010   return 0;
   13011 }
   13012 _ACEOF
   13013 if ac_fn_c_try_link "$LINENO"; then :
   13014   ac_cv_lib_svld_dlopen=yes
   13015 else
   13016   ac_cv_lib_svld_dlopen=no
   13017 fi
   13018 rm -f core conftest.err conftest.$ac_objext \
   13019     conftest$ac_exeext conftest.$ac_ext
   13020 LIBS=$ac_check_lib_save_LIBS
   13021 fi
   13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   13023 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   13024 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
   13025   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   13026 else
   13027   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   13028 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   13029 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
   13030   $as_echo_n "(cached) " >&6
   13031 else
   13032   ac_check_lib_save_LIBS=$LIBS
   13033 LIBS="-ldld  $LIBS"
   13034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13035 /* end confdefs.h.  */
   13036 
   13037 /* Override any GCC internal prototype to avoid an error.
   13038    Use char because int might match the return type of a GCC
   13039    builtin and then its argument prototype would still apply.  */
   13040 #ifdef __cplusplus
   13041 extern "C"
   13042 #endif
   13043 char dld_link ();
   13044 int
   13045 main ()
   13046 {
   13047 return dld_link ();
   13048   ;
   13049   return 0;
   13050 }
   13051 _ACEOF
   13052 if ac_fn_c_try_link "$LINENO"; then :
   13053   ac_cv_lib_dld_dld_link=yes
   13054 else
   13055   ac_cv_lib_dld_dld_link=no
   13056 fi
   13057 rm -f core conftest.err conftest.$ac_objext \
   13058     conftest$ac_exeext conftest.$ac_ext
   13059 LIBS=$ac_check_lib_save_LIBS
   13060 fi
   13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   13062 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   13063 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
   13064   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   13065 fi
   13066 
   13067 
   13068 fi
   13069 
   13070 
   13071 fi
   13072 
   13073 
   13074 fi
   13075 
   13076 
   13077 fi
   13078 
   13079 
   13080 fi
   13081 
   13082     ;;
   13083   esac
   13084 
   13085   if test "x$lt_cv_dlopen" != xno; then
   13086     enable_dlopen=yes
   13087   else
   13088     enable_dlopen=no
   13089   fi
   13090 
   13091   case $lt_cv_dlopen in
   13092   dlopen)
   13093     save_CPPFLAGS="$CPPFLAGS"
   13094     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   13095 
   13096     save_LDFLAGS="$LDFLAGS"
   13097     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   13098 
   13099     save_LIBS="$LIBS"
   13100     LIBS="$lt_cv_dlopen_libs $LIBS"
   13101 
   13102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   13103 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   13104 if test "${lt_cv_dlopen_self+set}" = set; then :
   13105   $as_echo_n "(cached) " >&6
   13106 else
   13107   	  if test "$cross_compiling" = yes; then :
   13108   lt_cv_dlopen_self=cross
   13109 else
   13110   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13111   lt_status=$lt_dlunknown
   13112   cat > conftest.$ac_ext <<_LT_EOF
   13113 #line 13113 "configure"
   13114 #include "confdefs.h"
   13115 
   13116 #if HAVE_DLFCN_H
   13117 #include <dlfcn.h>
   13118 #endif
   13119 
   13120 #include <stdio.h>
   13121 
   13122 #ifdef RTLD_GLOBAL
   13123 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13124 #else
   13125 #  ifdef DL_GLOBAL
   13126 #    define LT_DLGLOBAL		DL_GLOBAL
   13127 #  else
   13128 #    define LT_DLGLOBAL		0
   13129 #  endif
   13130 #endif
   13131 
   13132 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13133    find out it does not work in some platform. */
   13134 #ifndef LT_DLLAZY_OR_NOW
   13135 #  ifdef RTLD_LAZY
   13136 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13137 #  else
   13138 #    ifdef DL_LAZY
   13139 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13140 #    else
   13141 #      ifdef RTLD_NOW
   13142 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13143 #      else
   13144 #        ifdef DL_NOW
   13145 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13146 #        else
   13147 #          define LT_DLLAZY_OR_NOW	0
   13148 #        endif
   13149 #      endif
   13150 #    endif
   13151 #  endif
   13152 #endif
   13153 
   13154 void fnord() { int i=42;}
   13155 int main ()
   13156 {
   13157   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13158   int status = $lt_dlunknown;
   13159 
   13160   if (self)
   13161     {
   13162       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13163       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   13164       /* dlclose (self); */
   13165     }
   13166   else
   13167     puts (dlerror ());
   13168 
   13169   return status;
   13170 }
   13171 _LT_EOF
   13172   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13173   (eval $ac_link) 2>&5
   13174   ac_status=$?
   13175   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13176   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   13177     (./conftest; exit; ) >&5 2>/dev/null
   13178     lt_status=$?
   13179     case x$lt_status in
   13180       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   13181       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   13182       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   13183     esac
   13184   else :
   13185     # compilation failed
   13186     lt_cv_dlopen_self=no
   13187   fi
   13188 fi
   13189 rm -fr conftest*
   13190 
   13191 
   13192 fi
   13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   13194 $as_echo "$lt_cv_dlopen_self" >&6; }
   13195 
   13196     if test "x$lt_cv_dlopen_self" = xyes; then
   13197       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   13198       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   13199 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   13200 if test "${lt_cv_dlopen_self_static+set}" = set; then :
   13201   $as_echo_n "(cached) " >&6
   13202 else
   13203   	  if test "$cross_compiling" = yes; then :
   13204   lt_cv_dlopen_self_static=cross
   13205 else
   13206   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   13207   lt_status=$lt_dlunknown
   13208   cat > conftest.$ac_ext <<_LT_EOF
   13209 #line 13209 "configure"
   13210 #include "confdefs.h"
   13211 
   13212 #if HAVE_DLFCN_H
   13213 #include <dlfcn.h>
   13214 #endif
   13215 
   13216 #include <stdio.h>
   13217 
   13218 #ifdef RTLD_GLOBAL
   13219 #  define LT_DLGLOBAL		RTLD_GLOBAL
   13220 #else
   13221 #  ifdef DL_GLOBAL
   13222 #    define LT_DLGLOBAL		DL_GLOBAL
   13223 #  else
   13224 #    define LT_DLGLOBAL		0
   13225 #  endif
   13226 #endif
   13227 
   13228 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   13229    find out it does not work in some platform. */
   13230 #ifndef LT_DLLAZY_OR_NOW
   13231 #  ifdef RTLD_LAZY
   13232 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   13233 #  else
   13234 #    ifdef DL_LAZY
   13235 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   13236 #    else
   13237 #      ifdef RTLD_NOW
   13238 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   13239 #      else
   13240 #        ifdef DL_NOW
   13241 #          define LT_DLLAZY_OR_NOW	DL_NOW
   13242 #        else
   13243 #          define LT_DLLAZY_OR_NOW	0
   13244 #        endif
   13245 #      endif
   13246 #    endif
   13247 #  endif
   13248 #endif
   13249 
   13250 void fnord() { int i=42;}
   13251 int main ()
   13252 {
   13253   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   13254   int status = $lt_dlunknown;
   13255 
   13256   if (self)
   13257     {
   13258       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   13259       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   13260       /* dlclose (self); */
   13261     }
   13262   else
   13263     puts (dlerror ());
   13264 
   13265   return status;
   13266 }
   13267 _LT_EOF
   13268   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   13269   (eval $ac_link) 2>&5
   13270   ac_status=$?
   13271   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13272   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   13273     (./conftest; exit; ) >&5 2>/dev/null
   13274     lt_status=$?
   13275     case x$lt_status in
   13276       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   13277       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   13278       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   13279     esac
   13280   else :
   13281     # compilation failed
   13282     lt_cv_dlopen_self_static=no
   13283   fi
   13284 fi
   13285 rm -fr conftest*
   13286 
   13287 
   13288 fi
   13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   13290 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   13291     fi
   13292 
   13293     CPPFLAGS="$save_CPPFLAGS"
   13294     LDFLAGS="$save_LDFLAGS"
   13295     LIBS="$save_LIBS"
   13296     ;;
   13297   esac
   13298 
   13299   case $lt_cv_dlopen_self in
   13300   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   13301   *) enable_dlopen_self=unknown ;;
   13302   esac
   13303 
   13304   case $lt_cv_dlopen_self_static in
   13305   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   13306   *) enable_dlopen_self_static=unknown ;;
   13307   esac
   13308 fi
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 
   13321 
   13322 
   13323 
   13324 
   13325 
   13326 striplib=
   13327 old_striplib=
   13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   13329 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   13330 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   13331   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   13332   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   13333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13334 $as_echo "yes" >&6; }
   13335 else
   13336 # FIXME - insert some real tests, host_os isn't really good enough
   13337   case $host_os in
   13338   darwin*)
   13339     if test -n "$STRIP" ; then
   13340       striplib="$STRIP -x"
   13341       old_striplib="$STRIP -S"
   13342       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13343 $as_echo "yes" >&6; }
   13344     else
   13345       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13346 $as_echo "no" >&6; }
   13347     fi
   13348     ;;
   13349   *)
   13350     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13351 $as_echo "no" >&6; }
   13352     ;;
   13353   esac
   13354 fi
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 
   13367   # Report which library types will actually be built
   13368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   13369 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   13370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   13371 $as_echo "$can_build_shared" >&6; }
   13372 
   13373   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   13374 $as_echo_n "checking whether to build shared libraries... " >&6; }
   13375   test "$can_build_shared" = "no" && enable_shared=no
   13376 
   13377   # On AIX, shared libraries and static libraries use the same namespace, and
   13378   # are all built from PIC.
   13379   case $host_os in
   13380   aix3*)
   13381     test "$enable_shared" = yes && enable_static=no
   13382     if test -n "$RANLIB"; then
   13383       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   13384       postinstall_cmds='$RANLIB $lib'
   13385     fi
   13386     ;;
   13387 
   13388   aix[4-9]*)
   13389     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   13390       test "$enable_shared" = yes && enable_static=no
   13391     fi
   13392     ;;
   13393   esac
   13394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   13395 $as_echo "$enable_shared" >&6; }
   13396 
   13397   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   13398 $as_echo_n "checking whether to build static libraries... " >&6; }
   13399   # Make sure either enable_shared or enable_static is yes.
   13400   test "$enable_shared" = yes || enable_static=yes
   13401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   13402 $as_echo "$enable_static" >&6; }
   13403 
   13404 
   13405 
   13406 
   13407 fi
   13408 ac_ext=c
   13409 ac_cpp='$CPP $CPPFLAGS'
   13410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13413 
   13414 CC="$lt_save_CC"
   13415 
   13416 
   13417 
   13418 
   13419 
   13420 
   13421 
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428         ac_config_commands="$ac_config_commands libtool"
   13429 
   13430 
   13431 
   13432 
   13433 # Only expand once:
   13434 
   13435 
   13436 
   13437 
   13438 
   13439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc __attribute__ ((mode (XX))) works" >&5
   13440 $as_echo_n "checking whether gcc __attribute__ ((mode (XX))) works... " >&6; }
   13441 if test "${gmp_cv_c_attribute_mode+set}" = set; then :
   13442   $as_echo_n "(cached) " >&6
   13443 else
   13444   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13445 /* end confdefs.h.  */
   13446 typedef int SItype __attribute__ ((mode (SI)));
   13447 int
   13448 main ()
   13449 {
   13450 
   13451   ;
   13452   return 0;
   13453 }
   13454 _ACEOF
   13455 if ac_fn_c_try_compile "$LINENO"; then :
   13456   gmp_cv_c_attribute_mode=yes
   13457 else
   13458   gmp_cv_c_attribute_mode=no
   13459 fi
   13460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13461 
   13462 fi
   13463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gmp_cv_c_attribute_mode" >&5
   13464 $as_echo "$gmp_cv_c_attribute_mode" >&6; }
   13465 if test $gmp_cv_c_attribute_mode = yes; then
   13466 
   13467 $as_echo "#define HAVE_ATTRIBUTE_MODE 1" >>confdefs.h
   13468 
   13469 fi
   13470 
   13471 
   13472 
   13473 
   13474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent GMP" >&5
   13475 $as_echo_n "checking for recent GMP... " >&6; }
   13476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13477 /* end confdefs.h.  */
   13478 
   13479 #include "gmp.h"
   13480 #if (__GNU_MP_VERSION*100+__GNU_MP_VERSION_MINOR*10 < 410)
   13481 # error "min GMP version is 4.1.0"
   13482 error
   13483 #endif
   13484 
   13485 _ACEOF
   13486 if ac_fn_c_try_compile "$LINENO"; then :
   13487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13488 $as_echo "yes" >&6; }
   13489 else
   13490 
   13491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13492 $as_echo "no" >&6; }
   13493  as_fn_error $? "GMP 4.1.0 min required" "$LINENO" 5
   13494 
   13495 fi
   13496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13497 
   13498 if test "$use_gmp_build" = yes ; then
   13499    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gmp internal files" >&5
   13500 $as_echo_n "checking for gmp internal files... " >&6; }
   13501    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13502 /* end confdefs.h.  */
   13503 
   13504    #include "gmp.h"
   13505    #include "gmp-impl.h"
   13506    #include "longlong.h"
   13507 
   13508 _ACEOF
   13509 if ac_fn_c_try_compile "$LINENO"; then :
   13510 
   13511      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13512 $as_echo "yes" >&6; }
   13513 
   13514 $as_echo "#define MPFR_HAVE_GMP_IMPL 1" >>confdefs.h
   13515 
   13516 
   13517 else
   13518 
   13519      as_fn_error $? "header files gmp-impl.h and longlong.h not found" "$LINENO" 5
   13520 
   13521 fi
   13522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13523 fi
   13524 
   13525 if test "$use_gmp_build" = yes ; then
   13526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid GMP_NUMB_BITS" >&5
   13527 $as_echo_n "checking for valid GMP_NUMB_BITS... " >&6; }
   13528   if test "$cross_compiling" = yes; then :
   13529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't test" >&5
   13530 $as_echo "can't test" >&6; }
   13531 else
   13532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13533 /* end confdefs.h.  */
   13534 
   13535 #include <limits.h>
   13536 #include "gmp.h"
   13537 #include "gmp-impl.h"
   13538 
   13539 int
   13540 main ()
   13541 {
   13542 
   13543   return GMP_NUMB_BITS == BYTES_PER_MP_LIMB * CHAR_BIT
   13544          && sizeof(mp_limb_t) == BYTES_PER_MP_LIMB ? 0 : 1;
   13545 
   13546   ;
   13547   return 0;
   13548 }
   13549 _ACEOF
   13550 if ac_fn_c_try_run "$LINENO"; then :
   13551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13552 $as_echo "yes" >&6; }
   13553 else
   13554 
   13555        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13556 $as_echo "no" >&6; }
   13557        as_fn_error $? "GMP_NUMB_BITS is incorrect.
   13558 You probably need to change some of the GMP or MPFR compile options." "$LINENO" 5
   13559 fi
   13560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13561   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13562 fi
   13563 
   13564 fi
   13565 
   13566 
   13567 if test "$dont_link_with_gmp" = yes ; then
   13568 LIBS="-lgmp $LIBS"
   13569 else
   13570 
   13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __gmpz_init in -lgmp" >&5
   13572 $as_echo_n "checking for __gmpz_init in -lgmp... " >&6; }
   13573 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then :
   13574   $as_echo_n "(cached) " >&6
   13575 else
   13576   ac_check_lib_save_LIBS=$LIBS
   13577 LIBS="-lgmp  $LIBS"
   13578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13579 /* end confdefs.h.  */
   13580 
   13581 /* Override any GCC internal prototype to avoid an error.
   13582    Use char because int might match the return type of a GCC
   13583    builtin and then its argument prototype would still apply.  */
   13584 #ifdef __cplusplus
   13585 extern "C"
   13586 #endif
   13587 char __gmpz_init ();
   13588 int
   13589 main ()
   13590 {
   13591 return __gmpz_init ();
   13592   ;
   13593   return 0;
   13594 }
   13595 _ACEOF
   13596 if ac_fn_c_try_link "$LINENO"; then :
   13597   ac_cv_lib_gmp___gmpz_init=yes
   13598 else
   13599   ac_cv_lib_gmp___gmpz_init=no
   13600 fi
   13601 rm -f core conftest.err conftest.$ac_objext \
   13602     conftest$ac_exeext conftest.$ac_ext
   13603 LIBS=$ac_check_lib_save_LIBS
   13604 fi
   13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gmp___gmpz_init" >&5
   13606 $as_echo "$ac_cv_lib_gmp___gmpz_init" >&6; }
   13607 if test "x$ac_cv_lib_gmp___gmpz_init" = x""yes; then :
   13608   LIBS="-lgmp $LIBS"
   13609 else
   13610   as_fn_error $? "libgmp not found or uses a different ABI.
   13611 Please read the INSTALL file -- see \"In case of problem\"." "$LINENO" 5
   13612 fi
   13613 
   13614 
   13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp.h version and libgmp version are the same" >&5
   13616 $as_echo_n "checking if gmp.h version and libgmp version are the same... " >&6; }
   13617 saved_LD_RUN_PATH="$LD_RUN_PATH"
   13618 LD_RUN_PATH="${LD_RUN_PATH:+$LD_RUN_PATH$PATH_SEPARATOR}$gmp_lib_path"
   13619 export LD_RUN_PATH
   13620 if test "$cross_compiling" = yes; then :
   13621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: can not test" >&5
   13622 $as_echo "can not test" >&6; }
   13623 
   13624 else
   13625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13626 /* end confdefs.h.  */
   13627 
   13628 #include <stdio.h>
   13629 #include <string.h>
   13630 #include "gmp.h"
   13631 
   13632 int
   13633 main ()
   13634 {
   13635 
   13636   char buffer[100];
   13637   sprintf (buffer, "%d.%d.%d", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR,
   13638            __GNU_MP_VERSION_PATCHLEVEL);
   13639   printf ("(%s/%s) ", buffer, gmp_version);
   13640   if (strcmp (buffer, gmp_version) == 0)
   13641     return 0;
   13642   if (__GNU_MP_VERSION_PATCHLEVEL != 0)
   13643     return 1;
   13644   sprintf (buffer, "%d.%d", __GNU_MP_VERSION, __GNU_MP_VERSION_MINOR);
   13645   return (strcmp (buffer, gmp_version) != 0) ? 1 : 0;
   13646 
   13647   ;
   13648   return 0;
   13649 }
   13650 _ACEOF
   13651 if ac_fn_c_try_run "$LINENO"; then :
   13652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13653 $as_echo "yes" >&6; }
   13654 
   13655 if test "$ac_cv_type_intmax_t" = yes; then
   13656 
   13657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%jd\"" >&5
   13658 $as_echo_n "checking if gmp_printf supports \"%jd\"... " >&6; }
   13659 if test "$cross_compiling" = yes; then :
   13660   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13661 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13662 as_fn_error $? "cannot run test program while cross compiling
   13663 See \`config.log' for more details" "$LINENO" 5 ; }
   13664 else
   13665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13666 /* end confdefs.h.  */
   13667 
   13668 #include <stdio.h>
   13669 
   13670 #ifdef HAVE_STDINT_H
   13671 # include <stdint.h>
   13672 #endif
   13673 #ifdef HAVE_INTTYPES_H
   13674 # include <inttypes.h>
   13675 #endif
   13676 
   13677 #include <gmp.h>
   13678 
   13679 int
   13680 main ()
   13681 {
   13682 
   13683   char s[256];
   13684   intmax_t a = 17;
   13685 
   13686   if (gmp_sprintf (s, "(%0.0jd)(%d)", a, 42) == -1) return 1;
   13687   return (strcmp (s, "(17)(42)") != 0);
   13688 
   13689   ;
   13690   return 0;
   13691 }
   13692 _ACEOF
   13693 if ac_fn_c_try_run "$LINENO"; then :
   13694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13695 $as_echo "yes" >&6; }
   13696 
   13697 else
   13698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13699 $as_echo "no" >&6; }
   13700 
   13701 $as_echo "#define NPRINTF_J 1" >>confdefs.h
   13702 
   13703 fi
   13704 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13705   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13706 fi
   13707 
   13708 
   13709 fi
   13710 
   13711 
   13712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%hhd\"" >&5
   13713 $as_echo_n "checking if gmp_printf supports \"%hhd\"... " >&6; }
   13714 if test "$cross_compiling" = yes; then :
   13715   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13717 as_fn_error $? "cannot run test program while cross compiling
   13718 See \`config.log' for more details" "$LINENO" 5 ; }
   13719 else
   13720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13721 /* end confdefs.h.  */
   13722 
   13723 #include <stdio.h>
   13724 
   13725 #include <gmp.h>
   13726 
   13727 #include <gmp.h>
   13728 
   13729 int
   13730 main ()
   13731 {
   13732 
   13733   char s[256];
   13734   char a = 17;
   13735 
   13736   if (gmp_sprintf (s, "(%0.0hhd)(%d)", a, 42) == -1) return 1;
   13737   return (strcmp (s, "(17)(42)") != 0);
   13738 
   13739   ;
   13740   return 0;
   13741 }
   13742 _ACEOF
   13743 if ac_fn_c_try_run "$LINENO"; then :
   13744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13745 $as_echo "yes" >&6; }
   13746 
   13747 else
   13748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13749 $as_echo "no" >&6; }
   13750 
   13751 $as_echo "#define NPRINTF_HH 1" >>confdefs.h
   13752 
   13753 fi
   13754 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13755   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13756 fi
   13757 
   13758 
   13759 
   13760 
   13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%lld\"" >&5
   13762 $as_echo_n "checking if gmp_printf supports \"%lld\"... " >&6; }
   13763 if test "$cross_compiling" = yes; then :
   13764   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13766 as_fn_error $? "cannot run test program while cross compiling
   13767 See \`config.log' for more details" "$LINENO" 5 ; }
   13768 else
   13769   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13770 /* end confdefs.h.  */
   13771 
   13772 #include <stdio.h>
   13773 
   13774 #include <gmp.h>
   13775 
   13776 #include <gmp.h>
   13777 
   13778 int
   13779 main ()
   13780 {
   13781 
   13782   char s[256];
   13783   long long int a = 17;
   13784 
   13785   if (gmp_sprintf (s, "(%0.0lld)(%d)", a, 42) == -1) return 1;
   13786   return (strcmp (s, "(17)(42)") != 0);
   13787 
   13788   ;
   13789   return 0;
   13790 }
   13791 _ACEOF
   13792 if ac_fn_c_try_run "$LINENO"; then :
   13793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13794 $as_echo "yes" >&6; }
   13795 
   13796 else
   13797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13798 $as_echo "no" >&6; }
   13799 
   13800 $as_echo "#define NPRINTF_LL 1" >>confdefs.h
   13801 
   13802 fi
   13803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13804   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13805 fi
   13806 
   13807 
   13808 
   13809 
   13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%Lf\"" >&5
   13811 $as_echo_n "checking if gmp_printf supports \"%Lf\"... " >&6; }
   13812 if test "$cross_compiling" = yes; then :
   13813   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13815 as_fn_error $? "cannot run test program while cross compiling
   13816 See \`config.log' for more details" "$LINENO" 5 ; }
   13817 else
   13818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13819 /* end confdefs.h.  */
   13820 
   13821 #include <stdio.h>
   13822 
   13823 #include <gmp.h>
   13824 
   13825 #include <gmp.h>
   13826 
   13827 int
   13828 main ()
   13829 {
   13830 
   13831   char s[256];
   13832   long double a = 17;
   13833 
   13834   if (gmp_sprintf (s, "(%0.0Lf)(%d)", a, 42) == -1) return 1;
   13835   return (strcmp (s, "(17)(42)") != 0);
   13836 
   13837   ;
   13838   return 0;
   13839 }
   13840 _ACEOF
   13841 if ac_fn_c_try_run "$LINENO"; then :
   13842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13843 $as_echo "yes" >&6; }
   13844 
   13845 else
   13846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13847 $as_echo "no" >&6; }
   13848 
   13849 $as_echo "#define NPRINTF_L 1" >>confdefs.h
   13850 
   13851 fi
   13852 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13853   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13854 fi
   13855 
   13856 
   13857 
   13858 
   13859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gmp_printf supports \"%td\"" >&5
   13860 $as_echo_n "checking if gmp_printf supports \"%td\"... " >&6; }
   13861 if test "$cross_compiling" = yes; then :
   13862   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13864 as_fn_error $? "cannot run test program while cross compiling
   13865 See \`config.log' for more details" "$LINENO" 5 ; }
   13866 else
   13867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13868 /* end confdefs.h.  */
   13869 
   13870 #include <stdio.h>
   13871 
   13872 #if defined (__cplusplus)
   13873 #include <cstddef>
   13874 #else
   13875 #include <stddef.h>
   13876 #endif
   13877 #include "gmp.h"
   13878 
   13879 #include <gmp.h>
   13880 
   13881 int
   13882 main ()
   13883 {
   13884 
   13885   char s[256];
   13886   ptrdiff_t a = 17;
   13887 
   13888   if (gmp_sprintf (s, "(%0.0td)(%d)", a, 42) == -1) return 1;
   13889   return (strcmp (s, "(17)(42)") != 0);
   13890 
   13891   ;
   13892   return 0;
   13893 }
   13894 _ACEOF
   13895 if ac_fn_c_try_run "$LINENO"; then :
   13896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   13897 $as_echo "yes" >&6; }
   13898 
   13899 else
   13900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13901 $as_echo "no" >&6; }
   13902 
   13903 $as_echo "#define NPRINTF_T 1" >>confdefs.h
   13904 
   13905 fi
   13906 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13907   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13908 fi
   13909 
   13910 
   13911 
   13912 else
   13913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13914 $as_echo "no" >&6; }
   13915     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'gmp.h' and 'libgmp' seems to have different versions or" >&5
   13916 $as_echo "$as_me: WARNING: 'gmp.h' and 'libgmp' seems to have different versions or" >&2;}
   13917     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we cannot run a program linked with GMP (if you cannot" >&5
   13918 $as_echo "$as_me: WARNING: we cannot run a program linked with GMP (if you cannot" >&2;}
   13919     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: see the version numbers above). A cause may be different" >&5
   13920 $as_echo "$as_me: WARNING: see the version numbers above). A cause may be different" >&2;}
   13921     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GMP versions with different ABI's." >&5
   13922 $as_echo "$as_me: WARNING: GMP versions with different ABI's." >&2;}
   13923     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: However since we can't use 'libtool' inside the configure," >&5
   13924 $as_echo "$as_me: WARNING: However since we can't use 'libtool' inside the configure," >&2;}
   13925     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we can't be sure. See 'config.log' for details." >&5
   13926 $as_echo "$as_me: WARNING: we can't be sure. See 'config.log' for details." >&2;}
   13927 
   13928 fi
   13929 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   13930   conftest.$ac_objext conftest.beam conftest.$ac_ext
   13931 fi
   13932 
   13933 LD_RUN_PATH="$saved_LD_RUN_PATH"
   13934 
   13935 fi
   13936 
   13937 if test -f confdefs.h; then
   13938   sed '/#define PACKAGE_/d' <confdefs.h >confdefs.tmp
   13939   sed '/#define HAVE_STRING/d' <confdefs.tmp >confdefs.h
   13940   sed '/#define HAVE_ALLOCA /d' <confdefs.h >confdefs.tmp
   13941   sed '/#define HAVE_DLFCN_H/d' <confdefs.tmp >confdefs.h
   13942   sed '/#define HAVE_MEM/d' <confdefs.h >confdefs.tmp
   13943   sed '/#define STDC_HEADERS/d' <confdefs.tmp >confdefs.h
   13944   sed '/#define HAVE_STRTOL/d' <confdefs.h >confdefs.tmp
   13945   sed '/#define HAVE_STDLIB_H/d' <confdefs.tmp >confdefs.h
   13946   sed '/#define HAVE_UNISTD_H/d' <confdefs.h >confdefs.tmp
   13947   sed '/#define HAVE_STDC_HEADERS/d' <confdefs.tmp >confdefs.h
   13948   sed '/#define HAVE_LONG_DOUBLE/d' <confdefs.h >confdefs.tmp
   13949   sed '/#define HAVE_SYS_STAT_H/d' <confdefs.tmp >confdefs.h
   13950   sed '/#define HAVE_SYS_TYPES_H/d' <confdefs.h >confdefs.tmp
   13951   sed '/#define PROTOTYPES/d' <confdefs.tmp >confdefs.h
   13952   sed '/#define __PROTOTYPES/d' <confdefs.h >confdefs.tmp
   13953 
   13954   mv confdefs.tmp confdefs.h
   13955 fi
   13956 
   13957 ac_config_files="$ac_config_files Makefile tests/Makefile mparam.h:mparam_h.in"
   13958 
   13959 cat >confcache <<\_ACEOF
   13960 # This file is a shell script that caches the results of configure
   13961 # tests run on this system so they can be shared between configure
   13962 # scripts and configure runs, see configure's option --config-cache.
   13963 # It is not useful on other systems.  If it contains results you don't
   13964 # want to keep, you may remove or edit it.
   13965 #
   13966 # config.status only pays attention to the cache file if you give it
   13967 # the --recheck option to rerun configure.
   13968 #
   13969 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13970 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13971 # following values.
   13972 
   13973 _ACEOF
   13974 
   13975 # The following way of writing the cache mishandles newlines in values,
   13976 # but we know of no workaround that is simple, portable, and efficient.
   13977 # So, we kill variables containing newlines.
   13978 # Ultrix sh set writes to stderr and can't be redirected directly,
   13979 # and sets the high bit in the cache file unless we assign to the vars.
   13980 (
   13981   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   13982     eval ac_val=\$$ac_var
   13983     case $ac_val in #(
   13984     *${as_nl}*)
   13985       case $ac_var in #(
   13986       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   13987 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   13988       esac
   13989       case $ac_var in #(
   13990       _ | IFS | as_nl) ;; #(
   13991       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   13992       *) { eval $ac_var=; unset $ac_var;} ;;
   13993       esac ;;
   13994     esac
   13995   done
   13996 
   13997   (set) 2>&1 |
   13998     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   13999     *${as_nl}ac_space=\ *)
   14000       # `set' does not quote correctly, so add quotes: double-quote
   14001       # substitution turns \\\\ into \\, and sed turns \\ into \.
   14002       sed -n \
   14003 	"s/'/'\\\\''/g;
   14004 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   14005       ;; #(
   14006     *)
   14007       # `set' quotes correctly as required by POSIX, so do not add quotes.
   14008       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   14009       ;;
   14010     esac |
   14011     sort
   14012 ) |
   14013   sed '
   14014      /^ac_cv_env_/b end
   14015      t clear
   14016      :clear
   14017      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   14018      t end
   14019      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   14020      :end' >>confcache
   14021 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   14022   if test -w "$cache_file"; then
   14023     test "x$cache_file" != "x/dev/null" &&
   14024       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   14025 $as_echo "$as_me: updating cache $cache_file" >&6;}
   14026     cat confcache >$cache_file
   14027   else
   14028     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   14029 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   14030   fi
   14031 fi
   14032 rm -f confcache
   14033 
   14034 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   14035 # Let make expand exec_prefix.
   14036 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   14037 
   14038 # Transform confdefs.h into DEFS.
   14039 # Protect against shell expansion while executing Makefile rules.
   14040 # Protect against Makefile macro expansion.
   14041 #
   14042 # If the first sed substitution is executed (which looks for macros that
   14043 # take arguments), then branch to the quote section.  Otherwise,
   14044 # look for a macro that doesn't take arguments.
   14045 ac_script='
   14046 :mline
   14047 /\\$/{
   14048  N
   14049  s,\\\n,,
   14050  b mline
   14051 }
   14052 t clear
   14053 :clear
   14054 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
   14055 t quote
   14056 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
   14057 t quote
   14058 b any
   14059 :quote
   14060 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
   14061 s/\[/\\&/g
   14062 s/\]/\\&/g
   14063 s/\$/$$/g
   14064 H
   14065 :any
   14066 ${
   14067 	g
   14068 	s/^\n//
   14069 	s/\n/ /g
   14070 	p
   14071 }
   14072 '
   14073 DEFS=`sed -n "$ac_script" confdefs.h`
   14074 
   14075 
   14076 ac_libobjs=
   14077 ac_ltlibobjs=
   14078 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   14079   # 1. Remove the extension, and $U if already installed.
   14080   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   14081   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   14082   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   14083   #    will be set to the directory where LIBOBJS objects are built.
   14084   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   14085   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   14086 done
   14087 LIBOBJS=$ac_libobjs
   14088 
   14089 LTLIBOBJS=$ac_ltlibobjs
   14090 
   14091 
   14092  if test -n "$EXEEXT"; then
   14093   am__EXEEXT_TRUE=
   14094   am__EXEEXT_FALSE='#'
   14095 else
   14096   am__EXEEXT_TRUE='#'
   14097   am__EXEEXT_FALSE=
   14098 fi
   14099 
   14100 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   14101   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   14102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14103 fi
   14104 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   14105   as_fn_error $? "conditional \"AMDEP\" was never defined.
   14106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14107 fi
   14108 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   14109   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   14110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   14111 fi
   14112 
   14113 : ${CONFIG_STATUS=./config.status}
   14114 ac_write_fail=0
   14115 ac_clean_files_save=$ac_clean_files
   14116 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   14117 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   14118 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   14119 as_write_fail=0
   14120 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   14121 #! $SHELL
   14122 # Generated by $as_me.
   14123 # Run this file to recreate the current configuration.
   14124 # Compiler output produced by configure, useful for debugging
   14125 # configure, is in config.log if it exists.
   14126 
   14127 debug=false
   14128 ac_cs_recheck=false
   14129 ac_cs_silent=false
   14130 
   14131 SHELL=\${CONFIG_SHELL-$SHELL}
   14132 export SHELL
   14133 _ASEOF
   14134 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   14135 ## -------------------- ##
   14136 ## M4sh Initialization. ##
   14137 ## -------------------- ##
   14138 
   14139 # Be more Bourne compatible
   14140 DUALCASE=1; export DUALCASE # for MKS sh
   14141 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   14142   emulate sh
   14143   NULLCMD=:
   14144   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   14145   # is contrary to our usage.  Disable this feature.
   14146   alias -g '${1+"$@"}'='"$@"'
   14147   setopt NO_GLOB_SUBST
   14148 else
   14149   case `(set -o) 2>/dev/null` in #(
   14150   *posix*) :
   14151     set -o posix ;; #(
   14152   *) :
   14153      ;;
   14154 esac
   14155 fi
   14156 
   14157 
   14158 as_nl='
   14159 '
   14160 export as_nl
   14161 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   14162 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   14163 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   14164 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   14165 # Prefer a ksh shell builtin over an external printf program on Solaris,
   14166 # but without wasting forks for bash or zsh.
   14167 if test -z "$BASH_VERSION$ZSH_VERSION" \
   14168     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   14169   as_echo='print -r --'
   14170   as_echo_n='print -rn --'
   14171 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   14172   as_echo='printf %s\n'
   14173   as_echo_n='printf %s'
   14174 else
   14175   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   14176     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   14177     as_echo_n='/usr/ucb/echo -n'
   14178   else
   14179     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   14180     as_echo_n_body='eval
   14181       arg=$1;
   14182       case $arg in #(
   14183       *"$as_nl"*)
   14184 	expr "X$arg" : "X\\(.*\\)$as_nl";
   14185 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   14186       esac;
   14187       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   14188     '
   14189     export as_echo_n_body
   14190     as_echo_n='sh -c $as_echo_n_body as_echo'
   14191   fi
   14192   export as_echo_body
   14193   as_echo='sh -c $as_echo_body as_echo'
   14194 fi
   14195 
   14196 # The user is always right.
   14197 if test "${PATH_SEPARATOR+set}" != set; then
   14198   PATH_SEPARATOR=:
   14199   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   14200     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   14201       PATH_SEPARATOR=';'
   14202   }
   14203 fi
   14204 
   14205 
   14206 # IFS
   14207 # We need space, tab and new line, in precisely that order.  Quoting is
   14208 # there to prevent editors from complaining about space-tab.
   14209 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   14210 # splitting by setting IFS to empty value.)
   14211 IFS=" ""	$as_nl"
   14212 
   14213 # Find who we are.  Look in the path if we contain no directory separator.
   14214 case $0 in #((
   14215   *[\\/]* ) as_myself=$0 ;;
   14216   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   14217 for as_dir in $PATH
   14218 do
   14219   IFS=$as_save_IFS
   14220   test -z "$as_dir" && as_dir=.
   14221     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   14222   done
   14223 IFS=$as_save_IFS
   14224 
   14225      ;;
   14226 esac
   14227 # We did not find ourselves, most probably we were run as `sh COMMAND'
   14228 # in which case we are not to be found in the path.
   14229 if test "x$as_myself" = x; then
   14230   as_myself=$0
   14231 fi
   14232 if test ! -f "$as_myself"; then
   14233   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   14234   exit 1
   14235 fi
   14236 
   14237 # Unset variables that we do not need and which cause bugs (e.g. in
   14238 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   14239 # suppresses any "Segmentation fault" message there.  '((' could
   14240 # trigger a bug in pdksh 5.2.14.
   14241 for as_var in BASH_ENV ENV MAIL MAILPATH
   14242 do eval test x\${$as_var+set} = xset \
   14243   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   14244 done
   14245 PS1='$ '
   14246 PS2='> '
   14247 PS4='+ '
   14248 
   14249 # NLS nuisances.
   14250 LC_ALL=C
   14251 export LC_ALL
   14252 LANGUAGE=C
   14253 export LANGUAGE
   14254 
   14255 # CDPATH.
   14256 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14257 
   14258 
   14259 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   14260 # ----------------------------------------
   14261 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   14262 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   14263 # script with STATUS, using 1 if that was 0.
   14264 as_fn_error ()
   14265 {
   14266   as_status=$1; test $as_status -eq 0 && as_status=1
   14267   if test "$4"; then
   14268     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   14269     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   14270   fi
   14271   $as_echo "$as_me: error: $2" >&2
   14272   as_fn_exit $as_status
   14273 } # as_fn_error
   14274 
   14275 
   14276 # as_fn_set_status STATUS
   14277 # -----------------------
   14278 # Set $? to STATUS, without forking.
   14279 as_fn_set_status ()
   14280 {
   14281   return $1
   14282 } # as_fn_set_status
   14283 
   14284 # as_fn_exit STATUS
   14285 # -----------------
   14286 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   14287 as_fn_exit ()
   14288 {
   14289   set +e
   14290   as_fn_set_status $1
   14291   exit $1
   14292 } # as_fn_exit
   14293 
   14294 # as_fn_unset VAR
   14295 # ---------------
   14296 # Portably unset VAR.
   14297 as_fn_unset ()
   14298 {
   14299   { eval $1=; unset $1;}
   14300 }
   14301 as_unset=as_fn_unset
   14302 # as_fn_append VAR VALUE
   14303 # ----------------------
   14304 # Append the text in VALUE to the end of the definition contained in VAR. Take
   14305 # advantage of any shell optimizations that allow amortized linear growth over
   14306 # repeated appends, instead of the typical quadratic growth present in naive
   14307 # implementations.
   14308 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   14309   eval 'as_fn_append ()
   14310   {
   14311     eval $1+=\$2
   14312   }'
   14313 else
   14314   as_fn_append ()
   14315   {
   14316     eval $1=\$$1\$2
   14317   }
   14318 fi # as_fn_append
   14319 
   14320 # as_fn_arith ARG...
   14321 # ------------------
   14322 # Perform arithmetic evaluation on the ARGs, and store the result in the
   14323 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   14324 # must be portable across $(()) and expr.
   14325 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   14326   eval 'as_fn_arith ()
   14327   {
   14328     as_val=$(( $* ))
   14329   }'
   14330 else
   14331   as_fn_arith ()
   14332   {
   14333     as_val=`expr "$@" || test $? -eq 1`
   14334   }
   14335 fi # as_fn_arith
   14336 
   14337 
   14338 if expr a : '\(a\)' >/dev/null 2>&1 &&
   14339    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   14340   as_expr=expr
   14341 else
   14342   as_expr=false
   14343 fi
   14344 
   14345 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   14346   as_basename=basename
   14347 else
   14348   as_basename=false
   14349 fi
   14350 
   14351 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   14352   as_dirname=dirname
   14353 else
   14354   as_dirname=false
   14355 fi
   14356 
   14357 as_me=`$as_basename -- "$0" ||
   14358 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   14359 	 X"$0" : 'X\(//\)$' \| \
   14360 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   14361 $as_echo X/"$0" |
   14362     sed '/^.*\/\([^/][^/]*\)\/*$/{
   14363 	    s//\1/
   14364 	    q
   14365 	  }
   14366 	  /^X\/\(\/\/\)$/{
   14367 	    s//\1/
   14368 	    q
   14369 	  }
   14370 	  /^X\/\(\/\).*/{
   14371 	    s//\1/
   14372 	    q
   14373 	  }
   14374 	  s/.*/./; q'`
   14375 
   14376 # Avoid depending upon Character Ranges.
   14377 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   14378 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   14379 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   14380 as_cr_digits='0123456789'
   14381 as_cr_alnum=$as_cr_Letters$as_cr_digits
   14382 
   14383 ECHO_C= ECHO_N= ECHO_T=
   14384 case `echo -n x` in #(((((
   14385 -n*)
   14386   case `echo 'xy\c'` in
   14387   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   14388   xy)  ECHO_C='\c';;
   14389   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   14390        ECHO_T='	';;
   14391   esac;;
   14392 *)
   14393   ECHO_N='-n';;
   14394 esac
   14395 
   14396 rm -f conf$$ conf$$.exe conf$$.file
   14397 if test -d conf$$.dir; then
   14398   rm -f conf$$.dir/conf$$.file
   14399 else
   14400   rm -f conf$$.dir
   14401   mkdir conf$$.dir 2>/dev/null
   14402 fi
   14403 if (echo >conf$$.file) 2>/dev/null; then
   14404   if ln -s conf$$.file conf$$ 2>/dev/null; then
   14405     as_ln_s='ln -s'
   14406     # ... but there are two gotchas:
   14407     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   14408     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   14409     # In both cases, we have to default to `cp -p'.
   14410     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   14411       as_ln_s='cp -p'
   14412   elif ln conf$$.file conf$$ 2>/dev/null; then
   14413     as_ln_s=ln
   14414   else
   14415     as_ln_s='cp -p'
   14416   fi
   14417 else
   14418   as_ln_s='cp -p'
   14419 fi
   14420 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   14421 rmdir conf$$.dir 2>/dev/null
   14422 
   14423 
   14424 # as_fn_mkdir_p
   14425 # -------------
   14426 # Create "$as_dir" as a directory, including parents if necessary.
   14427 as_fn_mkdir_p ()
   14428 {
   14429 
   14430   case $as_dir in #(
   14431   -*) as_dir=./$as_dir;;
   14432   esac
   14433   test -d "$as_dir" || eval $as_mkdir_p || {
   14434     as_dirs=
   14435     while :; do
   14436       case $as_dir in #(
   14437       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   14438       *) as_qdir=$as_dir;;
   14439       esac
   14440       as_dirs="'$as_qdir' $as_dirs"
   14441       as_dir=`$as_dirname -- "$as_dir" ||
   14442 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14443 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14444 	 X"$as_dir" : 'X\(//\)$' \| \
   14445 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   14446 $as_echo X"$as_dir" |
   14447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   14448 	    s//\1/
   14449 	    q
   14450 	  }
   14451 	  /^X\(\/\/\)[^/].*/{
   14452 	    s//\1/
   14453 	    q
   14454 	  }
   14455 	  /^X\(\/\/\)$/{
   14456 	    s//\1/
   14457 	    q
   14458 	  }
   14459 	  /^X\(\/\).*/{
   14460 	    s//\1/
   14461 	    q
   14462 	  }
   14463 	  s/.*/./; q'`
   14464       test -d "$as_dir" && break
   14465     done
   14466     test -z "$as_dirs" || eval "mkdir $as_dirs"
   14467   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   14468 
   14469 
   14470 } # as_fn_mkdir_p
   14471 if mkdir -p . 2>/dev/null; then
   14472   as_mkdir_p='mkdir -p "$as_dir"'
   14473 else
   14474   test -d ./-p && rmdir ./-p
   14475   as_mkdir_p=false
   14476 fi
   14477 
   14478 if test -x / >/dev/null 2>&1; then
   14479   as_test_x='test -x'
   14480 else
   14481   if ls -dL / >/dev/null 2>&1; then
   14482     as_ls_L_option=L
   14483   else
   14484     as_ls_L_option=
   14485   fi
   14486   as_test_x='
   14487     eval sh -c '\''
   14488       if test -d "$1"; then
   14489 	test -d "$1/.";
   14490       else
   14491 	case $1 in #(
   14492 	-*)set "./$1";;
   14493 	esac;
   14494 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   14495 	???[sx]*):;;*)false;;esac;fi
   14496     '\'' sh
   14497   '
   14498 fi
   14499 as_executable_p=$as_test_x
   14500 
   14501 # Sed expression to map a string onto a valid CPP name.
   14502 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   14503 
   14504 # Sed expression to map a string onto a valid variable name.
   14505 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   14506 
   14507 
   14508 exec 6>&1
   14509 ## ----------------------------------- ##
   14510 ## Main body of $CONFIG_STATUS script. ##
   14511 ## ----------------------------------- ##
   14512 _ASEOF
   14513 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   14514 
   14515 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14516 # Save the log message, to keep $0 and so on meaningful, and to
   14517 # report actual input values of CONFIG_FILES etc. instead of their
   14518 # values after options handling.
   14519 ac_log="
   14520 This file was extended by MPFR $as_me 3.0.1, which was
   14521 generated by GNU Autoconf 2.67.  Invocation command line was
   14522 
   14523   CONFIG_FILES    = $CONFIG_FILES
   14524   CONFIG_HEADERS  = $CONFIG_HEADERS
   14525   CONFIG_LINKS    = $CONFIG_LINKS
   14526   CONFIG_COMMANDS = $CONFIG_COMMANDS
   14527   $ $0 $@
   14528 
   14529 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   14530 "
   14531 
   14532 _ACEOF
   14533 
   14534 case $ac_config_files in *"
   14535 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   14536 esac
   14537 
   14538 
   14539 
   14540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14541 # Files that config.status was made for.
   14542 config_files="$ac_config_files"
   14543 config_commands="$ac_config_commands"
   14544 
   14545 _ACEOF
   14546 
   14547 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14548 ac_cs_usage="\
   14549 \`$as_me' instantiates files and other configuration actions
   14550 from templates according to the current configuration.  Unless the files
   14551 and actions are specified as TAGs, all are instantiated by default.
   14552 
   14553 Usage: $0 [OPTION]... [TAG]...
   14554 
   14555   -h, --help       print this help, then exit
   14556   -V, --version    print version number and configuration settings, then exit
   14557       --config     print configuration, then exit
   14558   -q, --quiet, --silent
   14559                    do not print progress messages
   14560   -d, --debug      don't remove temporary files
   14561       --recheck    update $as_me by reconfiguring in the same conditions
   14562       --file=FILE[:TEMPLATE]
   14563                    instantiate the configuration file FILE
   14564 
   14565 Configuration files:
   14566 $config_files
   14567 
   14568 Configuration commands:
   14569 $config_commands
   14570 
   14571 Report bugs to the package provider."
   14572 
   14573 _ACEOF
   14574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14575 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   14576 ac_cs_version="\\
   14577 MPFR config.status 3.0.1
   14578 configured by $0, generated by GNU Autoconf 2.67,
   14579   with options \\"\$ac_cs_config\\"
   14580 
   14581 Copyright (C) 2010 Free Software Foundation, Inc.
   14582 This config.status script is free software; the Free Software Foundation
   14583 gives unlimited permission to copy, distribute and modify it."
   14584 
   14585 ac_pwd='$ac_pwd'
   14586 srcdir='$srcdir'
   14587 INSTALL='$INSTALL'
   14588 MKDIR_P='$MKDIR_P'
   14589 AWK='$AWK'
   14590 test -n "\$AWK" || AWK=awk
   14591 _ACEOF
   14592 
   14593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14594 # The default lists apply if the user does not specify any file.
   14595 ac_need_defaults=:
   14596 while test $# != 0
   14597 do
   14598   case $1 in
   14599   --*=?*)
   14600     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14601     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   14602     ac_shift=:
   14603     ;;
   14604   --*=)
   14605     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   14606     ac_optarg=
   14607     ac_shift=:
   14608     ;;
   14609   *)
   14610     ac_option=$1
   14611     ac_optarg=$2
   14612     ac_shift=shift
   14613     ;;
   14614   esac
   14615 
   14616   case $ac_option in
   14617   # Handling of the options.
   14618   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   14619     ac_cs_recheck=: ;;
   14620   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   14621     $as_echo "$ac_cs_version"; exit ;;
   14622   --config | --confi | --conf | --con | --co | --c )
   14623     $as_echo "$ac_cs_config"; exit ;;
   14624   --debug | --debu | --deb | --de | --d | -d )
   14625     debug=: ;;
   14626   --file | --fil | --fi | --f )
   14627     $ac_shift
   14628     case $ac_optarg in
   14629     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   14630     '') as_fn_error $? "missing file argument" ;;
   14631     esac
   14632     as_fn_append CONFIG_FILES " '$ac_optarg'"
   14633     ac_need_defaults=false;;
   14634   --he | --h |  --help | --hel | -h )
   14635     $as_echo "$ac_cs_usage"; exit ;;
   14636   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14637   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14638     ac_cs_silent=: ;;
   14639 
   14640   # This is an error.
   14641   -*) as_fn_error $? "unrecognized option: \`$1'
   14642 Try \`$0 --help' for more information." ;;
   14643 
   14644   *) as_fn_append ac_config_targets " $1"
   14645      ac_need_defaults=false ;;
   14646 
   14647   esac
   14648   shift
   14649 done
   14650 
   14651 ac_configure_extra_args=
   14652 
   14653 if $ac_cs_silent; then
   14654   exec 6>/dev/null
   14655   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14656 fi
   14657 
   14658 _ACEOF
   14659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14660 if \$ac_cs_recheck; then
   14661   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14662   shift
   14663   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   14664   CONFIG_SHELL='$SHELL'
   14665   export CONFIG_SHELL
   14666   exec "\$@"
   14667 fi
   14668 
   14669 _ACEOF
   14670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14671 exec 5>>config.log
   14672 {
   14673   echo
   14674   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   14675 ## Running $as_me. ##
   14676 _ASBOX
   14677   $as_echo "$ac_log"
   14678 } >&5
   14679 
   14680 _ACEOF
   14681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   14682 #
   14683 # INIT-COMMANDS
   14684 #
   14685 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14686 
   14687 
   14688 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14689 # if CDPATH is set.
   14690 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14691 
   14692 sed_quote_subst='$sed_quote_subst'
   14693 double_quote_subst='$double_quote_subst'
   14694 delay_variable_subst='$delay_variable_subst'
   14695 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
   14696 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   14697 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
   14698 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   14699 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   14700 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   14701 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   14702 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   14703 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   14704 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14705 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   14706 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   14707 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14708 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   14709 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   14710 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   14711 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   14712 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   14713 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14714 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14715 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   14716 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   14717 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   14718 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   14719 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   14720 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   14721 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   14722 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   14723 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   14724 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14725 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14726 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   14727 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   14728 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   14729 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14730 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   14731 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   14732 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14733 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14734 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14735 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   14736 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14737 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   14738 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   14739 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   14740 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   14741 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   14742 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14743 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   14744 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   14745 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   14746 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   14747 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14748 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   14749 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   14750 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   14751 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   14752 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   14753 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
   14754 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
   14755 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
   14756 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
   14757 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
   14758 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   14759 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14760 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14761 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   14762 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   14763 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14764 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14765 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   14766 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14767 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14768 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14769 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14770 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14771 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14772 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14773 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14774 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14775 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14776 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14777 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   14778 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   14779 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   14780 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   14781 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14782 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   14783 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   14784 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   14785 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   14786 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   14787 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14788 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14789 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14790 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14791 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14792 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   14793 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14794 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   14795 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   14796 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14797 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14798 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14799 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14800 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14801 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14802 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14803 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14804 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14805 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14806 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14807 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14808 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14809 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14810 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14811 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14812 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14813 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14814 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14815 
   14816 LTCC='$LTCC'
   14817 LTCFLAGS='$LTCFLAGS'
   14818 compiler='$compiler_DEFAULT'
   14819 
   14820 # Quote evaled strings.
   14821 for var in SED \
   14822 GREP \
   14823 EGREP \
   14824 FGREP \
   14825 LD \
   14826 NM \
   14827 LN_S \
   14828 lt_SP2NL \
   14829 lt_NL2SP \
   14830 reload_flag \
   14831 deplibs_check_method \
   14832 file_magic_cmd \
   14833 AR \
   14834 AR_FLAGS \
   14835 STRIP \
   14836 RANLIB \
   14837 CC \
   14838 CFLAGS \
   14839 compiler \
   14840 lt_cv_sys_global_symbol_pipe \
   14841 lt_cv_sys_global_symbol_to_cdecl \
   14842 lt_cv_sys_global_symbol_to_c_name_address \
   14843 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   14844 SHELL \
   14845 ECHO \
   14846 lt_prog_compiler_no_builtin_flag \
   14847 lt_prog_compiler_wl \
   14848 lt_prog_compiler_pic \
   14849 lt_prog_compiler_static \
   14850 lt_cv_prog_compiler_c_o \
   14851 need_locks \
   14852 DSYMUTIL \
   14853 NMEDIT \
   14854 LIPO \
   14855 OTOOL \
   14856 OTOOL64 \
   14857 shrext_cmds \
   14858 export_dynamic_flag_spec \
   14859 whole_archive_flag_spec \
   14860 compiler_needs_object \
   14861 with_gnu_ld \
   14862 allow_undefined_flag \
   14863 no_undefined_flag \
   14864 hardcode_libdir_flag_spec \
   14865 hardcode_libdir_flag_spec_ld \
   14866 hardcode_libdir_separator \
   14867 fix_srcfile_path \
   14868 exclude_expsyms \
   14869 include_expsyms \
   14870 file_list_spec \
   14871 variables_saved_for_relink \
   14872 libname_spec \
   14873 library_names_spec \
   14874 soname_spec \
   14875 finish_eval \
   14876 old_striplib \
   14877 striplib; do
   14878     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14879     *[\\\\\\\`\\"\\\$]*)
   14880       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14881       ;;
   14882     *)
   14883       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14884       ;;
   14885     esac
   14886 done
   14887 
   14888 # Double-quote double-evaled strings.
   14889 for var in reload_cmds \
   14890 old_postinstall_cmds \
   14891 old_postuninstall_cmds \
   14892 old_archive_cmds \
   14893 extract_expsyms_cmds \
   14894 old_archive_from_new_cmds \
   14895 old_archive_from_expsyms_cmds \
   14896 archive_cmds \
   14897 archive_expsym_cmds \
   14898 module_cmds \
   14899 module_expsym_cmds \
   14900 export_symbols_cmds \
   14901 prelink_cmds \
   14902 postinstall_cmds \
   14903 postuninstall_cmds \
   14904 finish_cmds \
   14905 sys_lib_search_path_spec \
   14906 sys_lib_dlsearch_path_spec; do
   14907     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14908     *[\\\\\\\`\\"\\\$]*)
   14909       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14910       ;;
   14911     *)
   14912       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14913       ;;
   14914     esac
   14915 done
   14916 
   14917 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14918 case \$lt_ECHO in
   14919 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14920   ;;
   14921 esac
   14922 
   14923 ac_aux_dir='$ac_aux_dir'
   14924 xsi_shell='$xsi_shell'
   14925 lt_shell_append='$lt_shell_append'
   14926 
   14927 # See if we are running on zsh, and set the options which allow our
   14928 # commands through without removal of \ escapes INIT.
   14929 if test -n "\${ZSH_VERSION+set}" ; then
   14930    setopt NO_GLOB_SUBST
   14931 fi
   14932 
   14933 
   14934     PACKAGE='$PACKAGE'
   14935     VERSION='$VERSION'
   14936     TIMESTAMP='$TIMESTAMP'
   14937     RM='$RM'
   14938     ofile='$ofile'
   14939 
   14940 
   14941 
   14942 
   14943 _ACEOF
   14944 
   14945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   14946 
   14947 # Handling of arguments.
   14948 for ac_config_target in $ac_config_targets
   14949 do
   14950   case $ac_config_target in
   14951     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14952     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14953     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14954     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   14955     "mparam.h") CONFIG_FILES="$CONFIG_FILES mparam.h:mparam_h.in" ;;
   14956 
   14957   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
   14958   esac
   14959 done
   14960 
   14961 
   14962 # If the user did not use the arguments to specify the items to instantiate,
   14963 # then the envvar interface is used.  Set only those that are not.
   14964 # We use the long form for the default assignment because of an extremely
   14965 # bizarre bug on SunOS 4.1.3.
   14966 if $ac_need_defaults; then
   14967   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14968   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14969 fi
   14970 
   14971 # Have a temporary directory for convenience.  Make it in the build tree
   14972 # simply because there is no reason against having it here, and in addition,
   14973 # creating and moving files from /tmp can sometimes cause problems.
   14974 # Hook for its removal unless debugging.
   14975 # Note that there is a small window in which the directory will not be cleaned:
   14976 # after its creation but before its name has been assigned to `$tmp'.
   14977 $debug ||
   14978 {
   14979   tmp=
   14980   trap 'exit_status=$?
   14981   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   14982 ' 0
   14983   trap 'as_fn_exit 1' 1 2 13 15
   14984 }
   14985 # Create a (secure) tmp directory for tmp files.
   14986 
   14987 {
   14988   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   14989   test -n "$tmp" && test -d "$tmp"
   14990 }  ||
   14991 {
   14992   tmp=./conf$$-$RANDOM
   14993   (umask 077 && mkdir "$tmp")
   14994 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   14995 
   14996 # Set up the scripts for CONFIG_FILES section.
   14997 # No need to generate them if there are no CONFIG_FILES.
   14998 # This happens for instance with `./config.status config.h'.
   14999 if test -n "$CONFIG_FILES"; then
   15000 
   15001 
   15002 ac_cr=`echo X | tr X '\015'`
   15003 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   15004 # But we know of no other shell where ac_cr would be empty at this
   15005 # point, so we can use a bashism as a fallback.
   15006 if test "x$ac_cr" = x; then
   15007   eval ac_cr=\$\'\\r\'
   15008 fi
   15009 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   15010 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   15011   ac_cs_awk_cr='\\r'
   15012 else
   15013   ac_cs_awk_cr=$ac_cr
   15014 fi
   15015 
   15016 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   15017 _ACEOF
   15018 
   15019 
   15020 {
   15021   echo "cat >conf$$subs.awk <<_ACEOF" &&
   15022   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   15023   echo "_ACEOF"
   15024 } >conf$$subs.sh ||
   15025   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15026 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   15027 ac_delim='%!_!# '
   15028 for ac_last_try in false false false false false :; do
   15029   . ./conf$$subs.sh ||
   15030     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15031 
   15032   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   15033   if test $ac_delim_n = $ac_delim_num; then
   15034     break
   15035   elif $ac_last_try; then
   15036     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   15037   else
   15038     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   15039   fi
   15040 done
   15041 rm -f conf$$subs.sh
   15042 
   15043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15044 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   15045 _ACEOF
   15046 sed -n '
   15047 h
   15048 s/^/S["/; s/!.*/"]=/
   15049 p
   15050 g
   15051 s/^[^!]*!//
   15052 :repl
   15053 t repl
   15054 s/'"$ac_delim"'$//
   15055 t delim
   15056 :nl
   15057 h
   15058 s/\(.\{148\}\)..*/\1/
   15059 t more1
   15060 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   15061 p
   15062 n
   15063 b repl
   15064 :more1
   15065 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15066 p
   15067 g
   15068 s/.\{148\}//
   15069 t nl
   15070 :delim
   15071 h
   15072 s/\(.\{148\}\)..*/\1/
   15073 t more2
   15074 s/["\\]/\\&/g; s/^/"/; s/$/"/
   15075 p
   15076 b
   15077 :more2
   15078 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   15079 p
   15080 g
   15081 s/.\{148\}//
   15082 t delim
   15083 ' <conf$$subs.awk | sed '
   15084 /^[^""]/{
   15085   N
   15086   s/\n//
   15087 }
   15088 ' >>$CONFIG_STATUS || ac_write_fail=1
   15089 rm -f conf$$subs.awk
   15090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15091 _ACAWK
   15092 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   15093   for (key in S) S_is_set[key] = 1
   15094   FS = ""
   15095 
   15096 }
   15097 {
   15098   line = $ 0
   15099   nfields = split(line, field, "@")
   15100   substed = 0
   15101   len = length(field[1])
   15102   for (i = 2; i < nfields; i++) {
   15103     key = field[i]
   15104     keylen = length(key)
   15105     if (S_is_set[key]) {
   15106       value = S[key]
   15107       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   15108       len += length(value) + length(field[++i])
   15109       substed = 1
   15110     } else
   15111       len += 1 + keylen
   15112   }
   15113 
   15114   print line
   15115 }
   15116 
   15117 _ACAWK
   15118 _ACEOF
   15119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15120 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   15121   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   15122 else
   15123   cat
   15124 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   15125   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   15126 _ACEOF
   15127 
   15128 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   15129 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   15130 # trailing colons and then remove the whole line if VPATH becomes empty
   15131 # (actually we leave an empty line to preserve line numbers).
   15132 if test "x$srcdir" = x.; then
   15133   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   15134 h
   15135 s///
   15136 s/^/:/
   15137 s/[	 ]*$/:/
   15138 s/:\$(srcdir):/:/g
   15139 s/:\${srcdir}:/:/g
   15140 s/:@srcdir@:/:/g
   15141 s/^:*//
   15142 s/:*$//
   15143 x
   15144 s/\(=[	 ]*\).*/\1/
   15145 G
   15146 s/\n//
   15147 s/^[^=]*=[	 ]*$//
   15148 }'
   15149 fi
   15150 
   15151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15152 fi # test -n "$CONFIG_FILES"
   15153 
   15154 
   15155 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
   15156 shift
   15157 for ac_tag
   15158 do
   15159   case $ac_tag in
   15160   :[FHLC]) ac_mode=$ac_tag; continue;;
   15161   esac
   15162   case $ac_mode$ac_tag in
   15163   :[FHL]*:*);;
   15164   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
   15165   :[FH]-) ac_tag=-:-;;
   15166   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   15167   esac
   15168   ac_save_IFS=$IFS
   15169   IFS=:
   15170   set x $ac_tag
   15171   IFS=$ac_save_IFS
   15172   shift
   15173   ac_file=$1
   15174   shift
   15175 
   15176   case $ac_mode in
   15177   :L) ac_source=$1;;
   15178   :[FH])
   15179     ac_file_inputs=
   15180     for ac_f
   15181     do
   15182       case $ac_f in
   15183       -) ac_f="$tmp/stdin";;
   15184       *) # Look for the file first in the build tree, then in the source tree
   15185 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   15186 	 # because $ac_f cannot contain `:'.
   15187 	 test -f "$ac_f" ||
   15188 	   case $ac_f in
   15189 	   [\\/$]*) false;;
   15190 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   15191 	   esac ||
   15192 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
   15193       esac
   15194       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   15195       as_fn_append ac_file_inputs " '$ac_f'"
   15196     done
   15197 
   15198     # Let's still pretend it is `configure' which instantiates (i.e., don't
   15199     # use $as_me), people would be surprised to read:
   15200     #    /* config.h.  Generated by config.status.  */
   15201     configure_input='Generated from '`
   15202 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   15203 	`' by configure.'
   15204     if test x"$ac_file" != x-; then
   15205       configure_input="$ac_file.  $configure_input"
   15206       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   15207 $as_echo "$as_me: creating $ac_file" >&6;}
   15208     fi
   15209     # Neutralize special characters interpreted by sed in replacement strings.
   15210     case $configure_input in #(
   15211     *\&* | *\|* | *\\* )
   15212        ac_sed_conf_input=`$as_echo "$configure_input" |
   15213        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   15214     *) ac_sed_conf_input=$configure_input;;
   15215     esac
   15216 
   15217     case $ac_tag in
   15218     *:-:* | *:-) cat >"$tmp/stdin" \
   15219       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
   15220     esac
   15221     ;;
   15222   esac
   15223 
   15224   ac_dir=`$as_dirname -- "$ac_file" ||
   15225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15226 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   15227 	 X"$ac_file" : 'X\(//\)$' \| \
   15228 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   15229 $as_echo X"$ac_file" |
   15230     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15231 	    s//\1/
   15232 	    q
   15233 	  }
   15234 	  /^X\(\/\/\)[^/].*/{
   15235 	    s//\1/
   15236 	    q
   15237 	  }
   15238 	  /^X\(\/\/\)$/{
   15239 	    s//\1/
   15240 	    q
   15241 	  }
   15242 	  /^X\(\/\).*/{
   15243 	    s//\1/
   15244 	    q
   15245 	  }
   15246 	  s/.*/./; q'`
   15247   as_dir="$ac_dir"; as_fn_mkdir_p
   15248   ac_builddir=.
   15249 
   15250 case "$ac_dir" in
   15251 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15252 *)
   15253   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   15254   # A ".." for each directory in $ac_dir_suffix.
   15255   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   15256   case $ac_top_builddir_sub in
   15257   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   15258   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   15259   esac ;;
   15260 esac
   15261 ac_abs_top_builddir=$ac_pwd
   15262 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   15263 # for backward compatibility:
   15264 ac_top_builddir=$ac_top_build_prefix
   15265 
   15266 case $srcdir in
   15267   .)  # We are building in place.
   15268     ac_srcdir=.
   15269     ac_top_srcdir=$ac_top_builddir_sub
   15270     ac_abs_top_srcdir=$ac_pwd ;;
   15271   [\\/]* | ?:[\\/]* )  # Absolute name.
   15272     ac_srcdir=$srcdir$ac_dir_suffix;
   15273     ac_top_srcdir=$srcdir
   15274     ac_abs_top_srcdir=$srcdir ;;
   15275   *) # Relative name.
   15276     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   15277     ac_top_srcdir=$ac_top_build_prefix$srcdir
   15278     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   15279 esac
   15280 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   15281 
   15282 
   15283   case $ac_mode in
   15284   :F)
   15285   #
   15286   # CONFIG_FILE
   15287   #
   15288 
   15289   case $INSTALL in
   15290   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   15291   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   15292   esac
   15293   ac_MKDIR_P=$MKDIR_P
   15294   case $MKDIR_P in
   15295   [\\/$]* | ?:[\\/]* ) ;;
   15296   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   15297   esac
   15298 _ACEOF
   15299 
   15300 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15301 # If the template does not know about datarootdir, expand it.
   15302 # FIXME: This hack should be removed a few years after 2.60.
   15303 ac_datarootdir_hack=; ac_datarootdir_seen=
   15304 ac_sed_dataroot='
   15305 /datarootdir/ {
   15306   p
   15307   q
   15308 }
   15309 /@datadir@/p
   15310 /@docdir@/p
   15311 /@infodir@/p
   15312 /@localedir@/p
   15313 /@mandir@/p'
   15314 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   15315 *datarootdir*) ac_datarootdir_seen=yes;;
   15316 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   15317   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   15318 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   15319 _ACEOF
   15320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15321   ac_datarootdir_hack='
   15322   s&@datadir@&$datadir&g
   15323   s&@docdir@&$docdir&g
   15324   s&@infodir@&$infodir&g
   15325   s&@localedir@&$localedir&g
   15326   s&@mandir@&$mandir&g
   15327   s&\\\${datarootdir}&$datarootdir&g' ;;
   15328 esac
   15329 _ACEOF
   15330 
   15331 # Neutralize VPATH when `$srcdir' = `.'.
   15332 # Shell code in configure.ac might set extrasub.
   15333 # FIXME: do we really want to maintain this feature?
   15334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   15335 ac_sed_extra="$ac_vpsub
   15336 $extrasub
   15337 _ACEOF
   15338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   15339 :t
   15340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   15341 s|@configure_input@|$ac_sed_conf_input|;t t
   15342 s&@top_builddir@&$ac_top_builddir_sub&;t t
   15343 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   15344 s&@srcdir@&$ac_srcdir&;t t
   15345 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   15346 s&@top_srcdir@&$ac_top_srcdir&;t t
   15347 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   15348 s&@builddir@&$ac_builddir&;t t
   15349 s&@abs_builddir@&$ac_abs_builddir&;t t
   15350 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   15351 s&@INSTALL@&$ac_INSTALL&;t t
   15352 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   15353 $ac_datarootdir_hack
   15354 "
   15355 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   15356   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15357 
   15358 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   15359   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   15360   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   15361   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15362 which seems to be undefined.  Please make sure it is defined" >&5
   15363 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   15364 which seems to be undefined.  Please make sure it is defined" >&2;}
   15365 
   15366   rm -f "$tmp/stdin"
   15367   case $ac_file in
   15368   -) cat "$tmp/out" && rm -f "$tmp/out";;
   15369   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   15370   esac \
   15371   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   15372  ;;
   15373 
   15374 
   15375   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   15376 $as_echo "$as_me: executing $ac_file commands" >&6;}
   15377  ;;
   15378   esac
   15379 
   15380 
   15381   case $ac_file$ac_mode in
   15382     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   15383   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   15384   # are listed without --file.  Let's play safe and only enable the eval
   15385   # if we detect the quoting.
   15386   case $CONFIG_FILES in
   15387   *\'*) eval set x "$CONFIG_FILES" ;;
   15388   *)   set x $CONFIG_FILES ;;
   15389   esac
   15390   shift
   15391   for mf
   15392   do
   15393     # Strip MF so we end up with the name of the file.
   15394     mf=`echo "$mf" | sed -e 's/:.*$//'`
   15395     # Check whether this is an Automake generated Makefile or not.
   15396     # We used to match only the files named `Makefile.in', but
   15397     # some people rename them; so instead we look at the file content.
   15398     # Grep'ing the first line is not enough: some people post-process
   15399     # each Makefile.in and add a new line on top of each file to say so.
   15400     # Grep'ing the whole file is not good either: AIX grep has a line
   15401     # limit of 2048, but all sed's we know have understand at least 4000.
   15402     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   15403       dirpart=`$as_dirname -- "$mf" ||
   15404 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15405 	 X"$mf" : 'X\(//\)[^/]' \| \
   15406 	 X"$mf" : 'X\(//\)$' \| \
   15407 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   15408 $as_echo X"$mf" |
   15409     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15410 	    s//\1/
   15411 	    q
   15412 	  }
   15413 	  /^X\(\/\/\)[^/].*/{
   15414 	    s//\1/
   15415 	    q
   15416 	  }
   15417 	  /^X\(\/\/\)$/{
   15418 	    s//\1/
   15419 	    q
   15420 	  }
   15421 	  /^X\(\/\).*/{
   15422 	    s//\1/
   15423 	    q
   15424 	  }
   15425 	  s/.*/./; q'`
   15426     else
   15427       continue
   15428     fi
   15429     # Extract the definition of DEPDIR, am__include, and am__quote
   15430     # from the Makefile without running `make'.
   15431     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15432     test -z "$DEPDIR" && continue
   15433     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15434     test -z "am__include" && continue
   15435     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15436     # When using ansi2knr, U may be empty or an underscore; expand it
   15437     U=`sed -n 's/^U = //p' < "$mf"`
   15438     # Find all dependency output files, they are included files with
   15439     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15440     # simplest approach to changing $(DEPDIR) to its actual value in the
   15441     # expansion.
   15442     for file in `sed -n "
   15443       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15444 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15445       # Make sure the directory exists.
   15446       test -f "$dirpart/$file" && continue
   15447       fdir=`$as_dirname -- "$file" ||
   15448 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15449 	 X"$file" : 'X\(//\)[^/]' \| \
   15450 	 X"$file" : 'X\(//\)$' \| \
   15451 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   15452 $as_echo X"$file" |
   15453     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   15454 	    s//\1/
   15455 	    q
   15456 	  }
   15457 	  /^X\(\/\/\)[^/].*/{
   15458 	    s//\1/
   15459 	    q
   15460 	  }
   15461 	  /^X\(\/\/\)$/{
   15462 	    s//\1/
   15463 	    q
   15464 	  }
   15465 	  /^X\(\/\).*/{
   15466 	    s//\1/
   15467 	    q
   15468 	  }
   15469 	  s/.*/./; q'`
   15470       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   15471       # echo "creating $dirpart/$file"
   15472       echo '# dummy' > "$dirpart/$file"
   15473     done
   15474   done
   15475 }
   15476  ;;
   15477     "libtool":C)
   15478 
   15479     # See if we are running on zsh, and set the options which allow our
   15480     # commands through without removal of \ escapes.
   15481     if test -n "${ZSH_VERSION+set}" ; then
   15482       setopt NO_GLOB_SUBST
   15483     fi
   15484 
   15485     cfgfile="${ofile}T"
   15486     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15487     $RM "$cfgfile"
   15488 
   15489     cat <<_LT_EOF >> "$cfgfile"
   15490 #! $SHELL
   15491 
   15492 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15493 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   15494 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15495 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15496 #
   15497 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15498 #                 2006, 2007, 2008 Free Software Foundation, Inc.
   15499 #   Written by Gordon Matzigkeit, 1996
   15500 #
   15501 #   This file is part of GNU Libtool.
   15502 #
   15503 # GNU Libtool is free software; you can redistribute it and/or
   15504 # modify it under the terms of the GNU General Public License as
   15505 # published by the Free Software Foundation; either version 2 of
   15506 # the License, or (at your option) any later version.
   15507 #
   15508 # As a special exception to the GNU General Public License,
   15509 # if you distribute this file as part of a program or library that
   15510 # is built using GNU Libtool, you may include this file under the
   15511 # same distribution terms that you use for the rest of that program.
   15512 #
   15513 # GNU Libtool is distributed in the hope that it will be useful,
   15514 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   15515 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   15516 # GNU General Public License for more details.
   15517 #
   15518 # You should have received a copy of the GNU General Public License
   15519 # along with GNU Libtool; see the file COPYING.  If not, a copy
   15520 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   15521 # obtained by writing to the Free Software Foundation, Inc.,
   15522 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   15523 
   15524 
   15525 # The names of the tagged configurations supported by this script.
   15526 available_tags=""
   15527 
   15528 # ### BEGIN LIBTOOL CONFIG
   15529 
   15530 # Assembler program.
   15531 AS=$AS
   15532 
   15533 # DLL creation program.
   15534 DLLTOOL=$DLLTOOL
   15535 
   15536 # Object dumper program.
   15537 OBJDUMP=$OBJDUMP
   15538 
   15539 # Which release of libtool.m4 was used?
   15540 macro_version=$macro_version
   15541 macro_revision=$macro_revision
   15542 
   15543 # Whether or not to build shared libraries.
   15544 build_libtool_libs=$enable_shared
   15545 
   15546 # Whether or not to build static libraries.
   15547 build_old_libs=$enable_static
   15548 
   15549 # What type of objects to build.
   15550 pic_mode=$pic_mode
   15551 
   15552 # Whether or not to optimize for fast installation.
   15553 fast_install=$enable_fast_install
   15554 
   15555 # The host system.
   15556 host_alias=$host_alias
   15557 host=$host
   15558 host_os=$host_os
   15559 
   15560 # The build system.
   15561 build_alias=$build_alias
   15562 build=$build
   15563 build_os=$build_os
   15564 
   15565 # A sed program that does not truncate output.
   15566 SED=$lt_SED
   15567 
   15568 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15569 Xsed="\$SED -e 1s/^X//"
   15570 
   15571 # A grep program that handles long lines.
   15572 GREP=$lt_GREP
   15573 
   15574 # An ERE matcher.
   15575 EGREP=$lt_EGREP
   15576 
   15577 # A literal string matcher.
   15578 FGREP=$lt_FGREP
   15579 
   15580 # A BSD- or MS-compatible name lister.
   15581 NM=$lt_NM
   15582 
   15583 # Whether we need soft or hard links.
   15584 LN_S=$lt_LN_S
   15585 
   15586 # What is the maximum length of a command?
   15587 max_cmd_len=$max_cmd_len
   15588 
   15589 # Object file suffix (normally "o").
   15590 objext=$ac_objext
   15591 
   15592 # Executable file suffix (normally "").
   15593 exeext=$exeext
   15594 
   15595 # whether the shell understands "unset".
   15596 lt_unset=$lt_unset
   15597 
   15598 # turn spaces into newlines.
   15599 SP2NL=$lt_lt_SP2NL
   15600 
   15601 # turn newlines into spaces.
   15602 NL2SP=$lt_lt_NL2SP
   15603 
   15604 # How to create reloadable object files.
   15605 reload_flag=$lt_reload_flag
   15606 reload_cmds=$lt_reload_cmds
   15607 
   15608 # Method to check whether dependent libraries are shared objects.
   15609 deplibs_check_method=$lt_deplibs_check_method
   15610 
   15611 # Command to use when deplibs_check_method == "file_magic".
   15612 file_magic_cmd=$lt_file_magic_cmd
   15613 
   15614 # The archiver.
   15615 AR=$lt_AR
   15616 AR_FLAGS=$lt_AR_FLAGS
   15617 
   15618 # A symbol stripping program.
   15619 STRIP=$lt_STRIP
   15620 
   15621 # Commands used to install an old-style archive.
   15622 RANLIB=$lt_RANLIB
   15623 old_postinstall_cmds=$lt_old_postinstall_cmds
   15624 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15625 
   15626 # A C compiler.
   15627 LTCC=$lt_CC
   15628 
   15629 # LTCC compiler flags.
   15630 LTCFLAGS=$lt_CFLAGS
   15631 
   15632 # Take the output of nm and produce a listing of raw symbols and C names.
   15633 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15634 
   15635 # Transform the output of nm in a proper C declaration.
   15636 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15637 
   15638 # Transform the output of nm in a C name address pair.
   15639 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15640 
   15641 # Transform the output of nm in a C name address pair when lib prefix is needed.
   15642 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   15643 
   15644 # The name of the directory that contains temporary libtool files.
   15645 objdir=$objdir
   15646 
   15647 # Shell to use when invoking shell scripts.
   15648 SHELL=$lt_SHELL
   15649 
   15650 # An echo program that does not interpret backslashes.
   15651 ECHO=$lt_ECHO
   15652 
   15653 # Used to examine libraries when file_magic_cmd begins with "file".
   15654 MAGIC_CMD=$MAGIC_CMD
   15655 
   15656 # Must we lock files when doing compilation?
   15657 need_locks=$lt_need_locks
   15658 
   15659 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   15660 DSYMUTIL=$lt_DSYMUTIL
   15661 
   15662 # Tool to change global to local symbols on Mac OS X.
   15663 NMEDIT=$lt_NMEDIT
   15664 
   15665 # Tool to manipulate fat objects and archives on Mac OS X.
   15666 LIPO=$lt_LIPO
   15667 
   15668 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   15669 OTOOL=$lt_OTOOL
   15670 
   15671 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   15672 OTOOL64=$lt_OTOOL64
   15673 
   15674 # Old archive suffix (normally "a").
   15675 libext=$libext
   15676 
   15677 # Shared library suffix (normally ".so").
   15678 shrext_cmds=$lt_shrext_cmds
   15679 
   15680 # The commands to extract the exported symbol list from a shared archive.
   15681 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15682 
   15683 # Variables whose values should be saved in libtool wrapper scripts and
   15684 # restored at link time.
   15685 variables_saved_for_relink=$lt_variables_saved_for_relink
   15686 
   15687 # Do we need the "lib" prefix for modules?
   15688 need_lib_prefix=$need_lib_prefix
   15689 
   15690 # Do we need a version for libraries?
   15691 need_version=$need_version
   15692 
   15693 # Library versioning type.
   15694 version_type=$version_type
   15695 
   15696 # Shared library runtime path variable.
   15697 runpath_var=$runpath_var
   15698 
   15699 # Shared library path variable.
   15700 shlibpath_var=$shlibpath_var
   15701 
   15702 # Is shlibpath searched before the hard-coded library search path?
   15703 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15704 
   15705 # Format of library name prefix.
   15706 libname_spec=$lt_libname_spec
   15707 
   15708 # List of archive names.  First name is the real one, the rest are links.
   15709 # The last name is the one that the linker finds with -lNAME
   15710 library_names_spec=$lt_library_names_spec
   15711 
   15712 # The coded name of the library, if different from the real name.
   15713 soname_spec=$lt_soname_spec
   15714 
   15715 # Command to use after installation of a shared archive.
   15716 postinstall_cmds=$lt_postinstall_cmds
   15717 
   15718 # Command to use after uninstallation of a shared archive.
   15719 postuninstall_cmds=$lt_postuninstall_cmds
   15720 
   15721 # Commands used to finish a libtool library installation in a directory.
   15722 finish_cmds=$lt_finish_cmds
   15723 
   15724 # As "finish_cmds", except a single script fragment to be evaled but
   15725 # not shown.
   15726 finish_eval=$lt_finish_eval
   15727 
   15728 # Whether we should hardcode library paths into libraries.
   15729 hardcode_into_libs=$hardcode_into_libs
   15730 
   15731 # Compile-time system search path for libraries.
   15732 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15733 
   15734 # Run-time system search path for libraries.
   15735 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15736 
   15737 # Whether dlopen is supported.
   15738 dlopen_support=$enable_dlopen
   15739 
   15740 # Whether dlopen of programs is supported.
   15741 dlopen_self=$enable_dlopen_self
   15742 
   15743 # Whether dlopen of statically linked programs is supported.
   15744 dlopen_self_static=$enable_dlopen_self_static
   15745 
   15746 # Commands to strip libraries.
   15747 old_striplib=$lt_old_striplib
   15748 striplib=$lt_striplib
   15749 
   15750 
   15751 # The linker used to build libraries.
   15752 LD=$lt_LD
   15753 
   15754 # Commands used to build an old-style archive.
   15755 old_archive_cmds=$lt_old_archive_cmds
   15756 
   15757 # A language specific compiler.
   15758 CC=$lt_compiler
   15759 
   15760 # Is the compiler the GNU compiler?
   15761 with_gcc=$GCC
   15762 
   15763 # Compiler flag to turn off builtin functions.
   15764 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15765 
   15766 # How to pass a linker flag through the compiler.
   15767 wl=$lt_lt_prog_compiler_wl
   15768 
   15769 # Additional compiler flags for building library objects.
   15770 pic_flag=$lt_lt_prog_compiler_pic
   15771 
   15772 # Compiler flag to prevent dynamic linking.
   15773 link_static_flag=$lt_lt_prog_compiler_static
   15774 
   15775 # Does compiler simultaneously support -c and -o options?
   15776 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15777 
   15778 # Whether or not to add -lc for building shared libraries.
   15779 build_libtool_need_lc=$archive_cmds_need_lc
   15780 
   15781 # Whether or not to disallow shared libs when runtime libs are static.
   15782 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15783 
   15784 # Compiler flag to allow reflexive dlopens.
   15785 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15786 
   15787 # Compiler flag to generate shared objects directly from archives.
   15788 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15789 
   15790 # Whether the compiler copes with passing no objects directly.
   15791 compiler_needs_object=$lt_compiler_needs_object
   15792 
   15793 # Create an old-style archive from a shared archive.
   15794 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15795 
   15796 # Create a temporary old-style archive to link instead of a shared archive.
   15797 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15798 
   15799 # Commands used to build a shared archive.
   15800 archive_cmds=$lt_archive_cmds
   15801 archive_expsym_cmds=$lt_archive_expsym_cmds
   15802 
   15803 # Commands used to build a loadable module if different from building
   15804 # a shared archive.
   15805 module_cmds=$lt_module_cmds
   15806 module_expsym_cmds=$lt_module_expsym_cmds
   15807 
   15808 # Whether we are building with GNU ld or not.
   15809 with_gnu_ld=$lt_with_gnu_ld
   15810 
   15811 # Flag that allows shared libraries with undefined symbols to be built.
   15812 allow_undefined_flag=$lt_allow_undefined_flag
   15813 
   15814 # Flag that enforces no undefined symbols.
   15815 no_undefined_flag=$lt_no_undefined_flag
   15816 
   15817 # Flag to hardcode \$libdir into a binary during linking.
   15818 # This must work even if \$libdir does not exist
   15819 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15820 
   15821 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15822 # during linking.  This must work even if \$libdir does not exist.
   15823 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15824 
   15825 # Whether we need a single "-rpath" flag with a separated argument.
   15826 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15827 
   15828 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15829 # DIR into the resulting binary.
   15830 hardcode_direct=$hardcode_direct
   15831 
   15832 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15833 # DIR into the resulting binary and the resulting library dependency is
   15834 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15835 # library is relocated.
   15836 hardcode_direct_absolute=$hardcode_direct_absolute
   15837 
   15838 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15839 # into the resulting binary.
   15840 hardcode_minus_L=$hardcode_minus_L
   15841 
   15842 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15843 # into the resulting binary.
   15844 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15845 
   15846 # Set to "yes" if building a shared library automatically hardcodes DIR
   15847 # into the library and all subsequent libraries and executables linked
   15848 # against it.
   15849 hardcode_automatic=$hardcode_automatic
   15850 
   15851 # Set to yes if linker adds runtime paths of dependent libraries
   15852 # to runtime path list.
   15853 inherit_rpath=$inherit_rpath
   15854 
   15855 # Whether libtool must link a program against all its dependency libraries.
   15856 link_all_deplibs=$link_all_deplibs
   15857 
   15858 # Fix the shell variable \$srcfile for the compiler.
   15859 fix_srcfile_path=$lt_fix_srcfile_path
   15860 
   15861 # Set to "yes" if exported symbols are required.
   15862 always_export_symbols=$always_export_symbols
   15863 
   15864 # The commands to list exported symbols.
   15865 export_symbols_cmds=$lt_export_symbols_cmds
   15866 
   15867 # Symbols that should not be listed in the preloaded symbols.
   15868 exclude_expsyms=$lt_exclude_expsyms
   15869 
   15870 # Symbols that must always be exported.
   15871 include_expsyms=$lt_include_expsyms
   15872 
   15873 # Commands necessary for linking programs (against libraries) with templates.
   15874 prelink_cmds=$lt_prelink_cmds
   15875 
   15876 # Specify filename containing input files.
   15877 file_list_spec=$lt_file_list_spec
   15878 
   15879 # How to hardcode a shared library path into an executable.
   15880 hardcode_action=$hardcode_action
   15881 
   15882 # ### END LIBTOOL CONFIG
   15883 
   15884 _LT_EOF
   15885 
   15886   case $host_os in
   15887   aix3*)
   15888     cat <<\_LT_EOF >> "$cfgfile"
   15889 # AIX sometimes has problems with the GCC collect2 program.  For some
   15890 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15891 # vanish in a puff of smoke.
   15892 if test "X${COLLECT_NAMES+set}" != Xset; then
   15893   COLLECT_NAMES=
   15894   export COLLECT_NAMES
   15895 fi
   15896 _LT_EOF
   15897     ;;
   15898   esac
   15899 
   15900 
   15901 ltmain="$ac_aux_dir/ltmain.sh"
   15902 
   15903 
   15904   # We use sed instead of cat because bash on DJGPP gets confused if
   15905   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15906   # text mode, it properly converts lines to CR/LF.  This bash problem
   15907   # is reportedly fixed, but why not run on old versions too?
   15908   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15909     || (rm -f "$cfgfile"; exit 1)
   15910 
   15911   case $xsi_shell in
   15912   yes)
   15913     cat << \_LT_EOF >> "$cfgfile"
   15914 
   15915 # func_dirname file append nondir_replacement
   15916 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15917 # otherwise set result to NONDIR_REPLACEMENT.
   15918 func_dirname ()
   15919 {
   15920   case ${1} in
   15921     */*) func_dirname_result="${1%/*}${2}" ;;
   15922     *  ) func_dirname_result="${3}" ;;
   15923   esac
   15924 }
   15925 
   15926 # func_basename file
   15927 func_basename ()
   15928 {
   15929   func_basename_result="${1##*/}"
   15930 }
   15931 
   15932 # func_dirname_and_basename file append nondir_replacement
   15933 # perform func_basename and func_dirname in a single function
   15934 # call:
   15935 #   dirname:  Compute the dirname of FILE.  If nonempty,
   15936 #             add APPEND to the result, otherwise set result
   15937 #             to NONDIR_REPLACEMENT.
   15938 #             value returned in "$func_dirname_result"
   15939 #   basename: Compute filename of FILE.
   15940 #             value retuned in "$func_basename_result"
   15941 # Implementation must be kept synchronized with func_dirname
   15942 # and func_basename. For efficiency, we do not delegate to
   15943 # those functions but instead duplicate the functionality here.
   15944 func_dirname_and_basename ()
   15945 {
   15946   case ${1} in
   15947     */*) func_dirname_result="${1%/*}${2}" ;;
   15948     *  ) func_dirname_result="${3}" ;;
   15949   esac
   15950   func_basename_result="${1##*/}"
   15951 }
   15952 
   15953 # func_stripname prefix suffix name
   15954 # strip PREFIX and SUFFIX off of NAME.
   15955 # PREFIX and SUFFIX must not contain globbing or regex special
   15956 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15957 # dot (in which case that matches only a dot).
   15958 func_stripname ()
   15959 {
   15960   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15961   # positional parameters, so assign one to ordinary parameter first.
   15962   func_stripname_result=${3}
   15963   func_stripname_result=${func_stripname_result#"${1}"}
   15964   func_stripname_result=${func_stripname_result%"${2}"}
   15965 }
   15966 
   15967 # func_opt_split
   15968 func_opt_split ()
   15969 {
   15970   func_opt_split_opt=${1%%=*}
   15971   func_opt_split_arg=${1#*=}
   15972 }
   15973 
   15974 # func_lo2o object
   15975 func_lo2o ()
   15976 {
   15977   case ${1} in
   15978     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15979     *)    func_lo2o_result=${1} ;;
   15980   esac
   15981 }
   15982 
   15983 # func_xform libobj-or-source
   15984 func_xform ()
   15985 {
   15986   func_xform_result=${1%.*}.lo
   15987 }
   15988 
   15989 # func_arith arithmetic-term...
   15990 func_arith ()
   15991 {
   15992   func_arith_result=$(( $* ))
   15993 }
   15994 
   15995 # func_len string
   15996 # STRING may not start with a hyphen.
   15997 func_len ()
   15998 {
   15999   func_len_result=${#1}
   16000 }
   16001 
   16002 _LT_EOF
   16003     ;;
   16004   *) # Bourne compatible functions.
   16005     cat << \_LT_EOF >> "$cfgfile"
   16006 
   16007 # func_dirname file append nondir_replacement
   16008 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   16009 # otherwise set result to NONDIR_REPLACEMENT.
   16010 func_dirname ()
   16011 {
   16012   # Extract subdirectory from the argument.
   16013   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   16014   if test "X$func_dirname_result" = "X${1}"; then
   16015     func_dirname_result="${3}"
   16016   else
   16017     func_dirname_result="$func_dirname_result${2}"
   16018   fi
   16019 }
   16020 
   16021 # func_basename file
   16022 func_basename ()
   16023 {
   16024   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   16025 }
   16026 
   16027 
   16028 # func_stripname prefix suffix name
   16029 # strip PREFIX and SUFFIX off of NAME.
   16030 # PREFIX and SUFFIX must not contain globbing or regex special
   16031 # characters, hashes, percent signs, but SUFFIX may contain a leading
   16032 # dot (in which case that matches only a dot).
   16033 # func_strip_suffix prefix name
   16034 func_stripname ()
   16035 {
   16036   case ${2} in
   16037     .*) func_stripname_result=`$ECHO "X${3}" \
   16038            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   16039     *)  func_stripname_result=`$ECHO "X${3}" \
   16040            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   16041   esac
   16042 }
   16043 
   16044 # sed scripts:
   16045 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   16046 my_sed_long_arg='1s/^-[^=]*=//'
   16047 
   16048 # func_opt_split
   16049 func_opt_split ()
   16050 {
   16051   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   16052   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   16053 }
   16054 
   16055 # func_lo2o object
   16056 func_lo2o ()
   16057 {
   16058   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   16059 }
   16060 
   16061 # func_xform libobj-or-source
   16062 func_xform ()
   16063 {
   16064   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
   16065 }
   16066 
   16067 # func_arith arithmetic-term...
   16068 func_arith ()
   16069 {
   16070   func_arith_result=`expr "$@"`
   16071 }
   16072 
   16073 # func_len string
   16074 # STRING may not start with a hyphen.
   16075 func_len ()
   16076 {
   16077   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   16078 }
   16079 
   16080 _LT_EOF
   16081 esac
   16082 
   16083 case $lt_shell_append in
   16084   yes)
   16085     cat << \_LT_EOF >> "$cfgfile"
   16086 
   16087 # func_append var value
   16088 # Append VALUE to the end of shell variable VAR.
   16089 func_append ()
   16090 {
   16091   eval "$1+=\$2"
   16092 }
   16093 _LT_EOF
   16094     ;;
   16095   *)
   16096     cat << \_LT_EOF >> "$cfgfile"
   16097 
   16098 # func_append var value
   16099 # Append VALUE to the end of shell variable VAR.
   16100 func_append ()
   16101 {
   16102   eval "$1=\$$1\$2"
   16103 }
   16104 
   16105 _LT_EOF
   16106     ;;
   16107   esac
   16108 
   16109 
   16110   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   16111     || (rm -f "$cfgfile"; exit 1)
   16112 
   16113   mv -f "$cfgfile" "$ofile" ||
   16114     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   16115   chmod +x "$ofile"
   16116 
   16117  ;;
   16118 
   16119   esac
   16120 done # for ac_tag
   16121 
   16122 
   16123 as_fn_exit 0
   16124 _ACEOF
   16125 ac_clean_files=$ac_clean_files_save
   16126 
   16127 test $ac_write_fail = 0 ||
   16128   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   16129 
   16130 
   16131 # configure is writing to config.log, and then calls config.status.
   16132 # config.status does its own redirection, appending to config.log.
   16133 # Unfortunately, on DOS this fails, as config.log is still kept open
   16134 # by configure, so config.status won't be able to write to it; its
   16135 # output is simply discarded.  So we exec the FD to /dev/null,
   16136 # effectively closing config.log, so it can be properly (re)opened and
   16137 # appended to by config.status.  When coming back to configure, we
   16138 # need to make the FD available again.
   16139 if test "$no_create" != yes; then
   16140   ac_cs_success=:
   16141   ac_config_status_args=
   16142   test "$silent" = yes &&
   16143     ac_config_status_args="$ac_config_status_args --quiet"
   16144   exec 5>/dev/null
   16145   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   16146   exec 5>>config.log
   16147   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   16148   # would make configure fail if this is the last instruction.
   16149   $ac_cs_success || as_fn_exit 1
   16150 fi
   16151 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   16152   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   16153 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   16154 fi
   16155 
   16156 
   16157