[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / gmp

Diff for /OpenXM_contrib/gmp/Attic/configure between version 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2000/12/01 05:44:41 version 1.1.1.4, 2003/08/25 16:05:58
Line 1 
Line 1 
 #! /bin/sh  #! /bin/sh
 # From configure.in Revision: 1.129.2.2  # From configure.in Revision: 1.425.2.17 .
   #
   #
   #
   # Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
   # Foundation, Inc.
   #
   # This file is part of the GNU MP Library.
   #
   # The GNU MP Library is free software; you can redistribute it and/or modify
   # it under the terms of the GNU Lesser General Public License as published
   # by the Free Software Foundation; either version 2.1 of the License, or (at
   # your option) any later version.
   #
   # The GNU MP Library is distributed in the hope that it will be useful, but
   # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   # or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
   # License for more details.
   #
   # You should have received a copy of the GNU Lesser General Public License
   # along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
   # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
   # MA 02111-1307, USA.
   #
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using Autoconf version 2.14a.  # Generated by Autoconf 2.52.
 # Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000  
 # Free Software Foundation, Inc.  
 #  #
   # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   # Free Software Foundation, Inc.
 # This configure script is free software; the Free Software Foundation  # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.  # gives unlimited permission to copy, distribute and modify it.
   
 # Defaults:  # Check that we are running under the correct shell.
   SHELL=${CONFIG_SHELL-/bin/sh}
   
   case X$ECHO in
   X*--fallback-echo)
     # Remove one level of quotation (which was required for Make).
     ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
     ;;
   esac
   
   echo=${ECHO-echo}
   if test "X$1" = X--no-reexec; then
     # Discard the --no-reexec flag, and continue.
     shift
   elif test "X$1" = X--fallback-echo; then
     # Avoid inline document here, it may be left over
     :
   elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then
     # Yippee, $echo works!
     :
   else
     # Restart under the correct shell.
     exec $SHELL "$0" --no-reexec ${1+"$@"}
   fi
   
   if test "X$1" = X--fallback-echo; then
     # used as fallback echo
     shift
     cat <<EOF
   $*
   EOF
     exit 0
   fi
   
   # The HP-UX ksh and POSIX shell print the target directory to stdout
   # if CDPATH is set.
   if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
   
   if test -z "$ECHO"; then
   if test "X${echo_test_string+set}" != Xset; then
   # find a string as large as possible, as long as the shell can cope with it
     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
       if (echo_test_string="`eval $cmd`") 2>/dev/null &&
          echo_test_string="`eval $cmd`" &&
          (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
       then
         break
       fi
     done
   fi
   
   if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
      echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
      test "X$echo_testing_string" = "X$echo_test_string"; then
     :
   else
     # The Solaris, AIX, and Digital Unix default echo programs unquote
     # backslashes.  This makes it impossible to quote backslashes using
     #   echo "$something" | sed 's/\\/\\\\/g'
     #
     # So, first we look for a working echo in the user's PATH.
   
     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     for dir in $PATH /usr/ucb; do
       IFS="$lt_save_ifs"
       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
          test "X$echo_testing_string" = "X$echo_test_string"; then
         echo="$dir/echo"
         break
       fi
     done
     IFS="$lt_save_ifs"
   
     if test "X$echo" = Xecho; then
       # We didn't find a better echo, so look for alternatives.
       if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
          echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
          test "X$echo_testing_string" = "X$echo_test_string"; then
         # This shell has a builtin print -r that does the trick.
         echo='print -r'
       elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
            test "X$CONFIG_SHELL" != X/bin/ksh; then
         # If we have ksh, try running configure again with it.
         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
         export ORIGINAL_CONFIG_SHELL
         CONFIG_SHELL=/bin/ksh
         export CONFIG_SHELL
         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
       else
         # Try using printf.
         echo='printf %s\n'
         if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
            echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
            test "X$echo_testing_string" = "X$echo_test_string"; then
           # Cool, printf works
           :
         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
              test "X$echo_testing_string" = 'X\t' &&
              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
              test "X$echo_testing_string" = "X$echo_test_string"; then
           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
           export CONFIG_SHELL
           SHELL="$CONFIG_SHELL"
           export SHELL
           echo="$CONFIG_SHELL $0 --fallback-echo"
         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
              test "X$echo_testing_string" = 'X\t' &&
              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
              test "X$echo_testing_string" = "X$echo_test_string"; then
           echo="$CONFIG_SHELL $0 --fallback-echo"
         else
           # maybe with a smaller string...
           prev=:
   
           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
             if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
             then
               break
             fi
             prev="$cmd"
           done
   
           if test "$prev" != 'sed 50q "$0"'; then
             echo_test_string=`eval $prev`
             export echo_test_string
             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
           else
             # Oops.  We lost completely, so just stick with echo.
             echo=echo
           fi
         fi
       fi
     fi
   fi
   fi
   
   # Copy echo and quote the copy suitably for passing to libtool from
   # the Makefile, instead of quoting the original, which is used later.
   ECHO=$echo
   if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
      ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   fi
   
   # Avoid depending upon Character Ranges.
   as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   as_cr_digits='0123456789'
   as_cr_alnum=$as_cr_Letters$as_cr_digits
   
   # Sed expression to map a string onto a valid variable name.
   as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   
   # Sed expression to map a string onto a valid CPP name.
   as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   
   # Be Bourne compatible
   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     emulate sh
     NULLCMD=:
   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     set -o posix
   fi
   
   # Name of the executable.
   as_me=`echo "$0" |sed 's,.*[\\/],,'`
   
   if expr a : '\(a\)' >/dev/null 2>&1; then
     as_expr=expr
   else
     as_expr=false
   fi
   
   rm -f conf$$ conf$$.exe conf$$.file
   echo >conf$$.file
   if ln -s conf$$.file conf$$ 2>/dev/null; then
     # We could just check for DJGPP; but this test a) works b) is more generic
     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     if test -f conf$$.exe; then
       # Don't use ln at all; we don't have any links
       as_ln_s='cp -p'
     else
       as_ln_s='ln -s'
     fi
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
     as_ln_s='cp -p'
   fi
   rm -f conf$$ conf$$.exe conf$$.file
   
   as_executable_p="test -f"
   
   # Support unset when possible.
   if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     as_unset=unset
   else
     as_unset=false
   fi
   
   # NLS nuisances.
   $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   
   # IFS
   # We need space, tab and new line, in precisely that order.
   as_nl='
   '
   IFS="   $as_nl"
   
   # CDPATH.
   $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   
   # Name of the host.
   # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   # so uname gets run too.
   ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   
   exec 6>&1
   
   #
   # Initializations.
   #
 ac_default_prefix=/usr/local  ac_default_prefix=/usr/local
 # Any additions from configure.in:  cross_compiling=no
   subdirs=
   MFLAGS= MAKEFLAGS=
   SHELL=${CONFIG_SHELL-/bin/sh}
   
   # Maximum number of lines to put in a shell here document.
   # This variable seems obsolete.  It should probably be removed, and
   # only ac_max_sed_lines should be used.
   : ${ac_max_here_lines=38}
   
   ac_unique_file="gmp-impl.h"
   # Factoring default headers for most tests.
   ac_includes_default="\
   #include <stdio.h>
   #if HAVE_SYS_TYPES_H
   # include <sys/types.h>
   #endif
   #if HAVE_SYS_STAT_H
   # include <sys/stat.h>
   #endif
   #if STDC_HEADERS
   # include <stdlib.h>
   # include <stddef.h>
   #else
   # if HAVE_STDLIB_H
   #  include <stdlib.h>
   # endif
   #endif
   #if HAVE_STRING_H
   # if !STDC_HEADERS && HAVE_MEMORY_H
   #  include <memory.h>
   # endif
   # include <string.h>
   #endif
   #if HAVE_STRINGS_H
   # include <strings.h>
   #endif
   #if HAVE_INTTYPES_H
   # include <inttypes.h>
   #else
   # if HAVE_STDINT_H
   #  include <stdint.h>
   # endif
   #endif
   #if HAVE_UNISTD_H
   # include <unistd.h>
   #endif"
   
 # Initialize some variables set by options.  # Initialize some variables set by options.
 ac_init_help=false  ac_init_help=
 ac_init_version=false  ac_init_version=false
 # The variables have the same names as the options, with  # The variables have the same names as the options, with
 # dashes changed to underlines.  # dashes changed to underlines.
 build=NONE  cache_file=/dev/null
 cache_file=./config.cache  
 exec_prefix=NONE  exec_prefix=NONE
 host=NONE  
 no_create=  no_create=
 nonopt=NONE  
 no_recursion=  no_recursion=
 prefix=NONE  prefix=NONE
 program_prefix=NONE  program_prefix=NONE
Line 31  program_transform_name=s,x,x,
Line 328  program_transform_name=s,x,x,
 silent=  silent=
 site=  site=
 srcdir=  srcdir=
 target=NONE  
 verbose=  verbose=
 x_includes=NONE  x_includes=NONE
 x_libraries=NONE  x_libraries=NONE
   
   # Installation directory options.
   # These are left unexpanded so users can "make install exec_prefix=/foo"
   # and all the variables that are supposed to be based on exec_prefix
   # by default will actually change.
   # Use braces instead of parens because sh, perl, etc. also accept them.
 bindir='${exec_prefix}/bin'  bindir='${exec_prefix}/bin'
 sbindir='${exec_prefix}/sbin'  sbindir='${exec_prefix}/sbin'
 libexecdir='${exec_prefix}/libexec'  libexecdir='${exec_prefix}/libexec'
Line 48  oldincludedir='/usr/include'
Line 350  oldincludedir='/usr/include'
 infodir='${prefix}/info'  infodir='${prefix}/info'
 mandir='${prefix}/man'  mandir='${prefix}/man'
   
 # Initialize some other variables.  # Identity of this package.
 subdirs=  PACKAGE_NAME=
 MFLAGS= MAKEFLAGS=  PACKAGE_TARNAME=
 SHELL=${CONFIG_SHELL-/bin/sh}  PACKAGE_VERSION=
 # Maximum number of lines to put in a shell here document.  PACKAGE_STRING=
 : ${ac_max_here_lines=48}  PACKAGE_BUGREPORT=
 # Sed expression to map a string onto a valid sh and CPP variable names.  
 ac_tr_sh='sed -e y%*+%pp%;s%[^a-zA-Z0-9_]%_%g'  
 ac_tr_cpp='sed -e y%*abcdefghijklmnopqrstuvwxyz%PABCDEFGHIJKLMNOPQRSTUVWXYZ%;s%[^A-Z0-9_]%_%g'  
   
 ac_prev=  ac_prev=
 for ac_option  for ac_option
Line 68  do
Line 367  do
     continue      continue
   fi    fi
   
   ac_optarg=`echo "$ac_option" | sed -n 's/^[^=]*=//p'`    ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
   
   # Accept the important Cygnus configure options, so we can diagnose typos.    # Accept the important Cygnus configure options, so we can diagnose typos.
   
   case "$ac_option" in    case $ac_option in
   
   -bindir | --bindir | --bindi | --bind | --bin | --bi)    -bindir | --bindir | --bindi | --bind | --bin | --bi)
     ac_prev=bindir ;;      ac_prev=bindir ;;
   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
     bindir="$ac_optarg" ;;      bindir=$ac_optarg ;;
   
   -build | --build | --buil | --bui | --bu)    -build | --build | --buil | --bui | --bu)
     ac_prev=build ;;      ac_prev=build_alias ;;
   -build=* | --build=* | --buil=* | --bui=* | --bu=*)    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
     build="$ac_optarg" ;;      build_alias=$ac_optarg ;;
   
   -cache-file | --cache-file | --cache-fil | --cache-fi \    -cache-file | --cache-file | --cache-fil | --cache-fi \
   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
     ac_prev=cache_file ;;      ac_prev=cache_file ;;
   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
     cache_file="$ac_optarg" ;;      cache_file=$ac_optarg ;;
   
     --config-cache | -C)
       cache_file=config.cache ;;
   
   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)    -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     ac_prev=datadir ;;      ac_prev=datadir ;;
   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \    -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
   | --da=*)    | --da=*)
     datadir="$ac_optarg" ;;      datadir=$ac_optarg ;;
   
   -disable-* | --disable-*)    -disable-* | --disable-*)
     ac_feature=`echo "$ac_option"|sed -e 's/-*disable-//'`      ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       { echo "configure: error: invalid feature: $ac_feature" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     fi     { (exit 1); exit 1; }; }
     ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     eval "enable_${ac_feature}=no" ;;      eval "enable_$ac_feature=no" ;;
   
   -enable-* | --enable-*)    -enable-* | --enable-*)
     ac_feature=`echo "$ac_option"|sed -e 's/-*enable-//' -e 's/=.*//'`      ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     if echo "$ac_feature" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then      expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       { echo "configure: error: invalid feature: $ac_feature" 1>&2; exit 1; }        { echo "$as_me: error: invalid feature name: $ac_feature" >&2
     fi     { (exit 1); exit 1; }; }
     ac_feature=`echo $ac_feature| sed 's/-/_/g'`      ac_feature=`echo $ac_feature | sed 's/-/_/g'`
     case "$ac_option" in      case $ac_option in
       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
       *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
     esac      esac
     eval "enable_${ac_feature}='$ac_optarg'" ;;      eval "enable_$ac_feature='$ac_optarg'" ;;
   
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
Line 126  do
Line 428  do
   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   | --exec=* | --exe=* | --ex=*)    | --exec=* | --exe=* | --ex=*)
     exec_prefix="$ac_optarg" ;;      exec_prefix=$ac_optarg ;;
   
   -gas | --gas | --ga | --g)    -gas | --gas | --ga | --g)
     # Obsolete; use --with-gas.      # Obsolete; use --with-gas.
     with_gas=yes ;;      with_gas=yes ;;
   
   -help | --help | --hel | --he | -h)    -help | --help | --hel | --he | -h)
     ac_init_help=: ;;      ac_init_help=long ;;
     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
       ac_init_help=recursive ;;
     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
       ac_init_help=short ;;
   
   -host | --host | --hos | --ho)    -host | --host | --hos | --ho)
     ac_prev=host ;;      ac_prev=host_alias ;;
   -host=* | --host=* | --hos=* | --ho=*)    -host=* | --host=* | --hos=* | --ho=*)
     host="$ac_optarg" ;;      host_alias=$ac_optarg ;;
   
   -includedir | --includedir | --includedi | --included | --include \    -includedir | --includedir | --includedi | --included | --include \
   | --includ | --inclu | --incl | --inc)    | --includ | --inclu | --incl | --inc)
     ac_prev=includedir ;;      ac_prev=includedir ;;
   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   | --includ=* | --inclu=* | --incl=* | --inc=*)    | --includ=* | --inclu=* | --incl=* | --inc=*)
     includedir="$ac_optarg" ;;      includedir=$ac_optarg ;;
   
   -infodir | --infodir | --infodi | --infod | --info | --inf)    -infodir | --infodir | --infodi | --infod | --info | --inf)
     ac_prev=infodir ;;      ac_prev=infodir ;;
   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
     infodir="$ac_optarg" ;;      infodir=$ac_optarg ;;
   
   -libdir | --libdir | --libdi | --libd)    -libdir | --libdir | --libdi | --libd)
     ac_prev=libdir ;;      ac_prev=libdir ;;
   -libdir=* | --libdir=* | --libdi=* | --libd=*)    -libdir=* | --libdir=* | --libdi=* | --libd=*)
     libdir="$ac_optarg" ;;      libdir=$ac_optarg ;;
   
   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   | --libexe | --libex | --libe)    | --libexe | --libex | --libe)
     ac_prev=libexecdir ;;      ac_prev=libexecdir ;;
   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   | --libexe=* | --libex=* | --libe=*)    | --libexe=* | --libex=* | --libe=*)
     libexecdir="$ac_optarg" ;;      libexecdir=$ac_optarg ;;
   
   -localstatedir | --localstatedir | --localstatedi | --localstated \    -localstatedir | --localstatedir | --localstatedi | --localstated \
   | --localstate | --localstat | --localsta | --localst \    | --localstate | --localstat | --localsta | --localst \
Line 170  do
Line 477  do
   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   | --localstate=* | --localstat=* | --localsta=* | --localst=* \    | --localstate=* | --localstat=* | --localsta=* | --localst=* \
   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)    | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     localstatedir="$ac_optarg" ;;      localstatedir=$ac_optarg ;;
   
   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
     ac_prev=mandir ;;      ac_prev=mandir ;;
   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
     mandir="$ac_optarg" ;;      mandir=$ac_optarg ;;
   
   -nfp | --nfp | --nf)    -nfp | --nfp | --nf)
     # Obsolete; use --without-fp.      # Obsolete; use --without-fp.
Line 196  do
Line 503  do
   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
     oldincludedir="$ac_optarg" ;;      oldincludedir=$ac_optarg ;;
   
   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
     ac_prev=prefix ;;      ac_prev=prefix ;;
   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
     prefix="$ac_optarg" ;;      prefix=$ac_optarg ;;
   
   -program-prefix | --program-prefix | --program-prefi | --program-pref \    -program-prefix | --program-prefix | --program-prefi | --program-pref \
   | --program-pre | --program-pr | --program-p)    | --program-pre | --program-pr | --program-p)
     ac_prev=program_prefix ;;      ac_prev=program_prefix ;;
   -program-prefix=* | --program-prefix=* | --program-prefi=* \    -program-prefix=* | --program-prefix=* | --program-prefi=* \
   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
     program_prefix="$ac_optarg" ;;      program_prefix=$ac_optarg ;;
   
   -program-suffix | --program-suffix | --program-suffi | --program-suff \    -program-suffix | --program-suffix | --program-suffi | --program-suff \
   | --program-suf | --program-su | --program-s)    | --program-suf | --program-su | --program-s)
     ac_prev=program_suffix ;;      ac_prev=program_suffix ;;
   -program-suffix=* | --program-suffix=* | --program-suffi=* \    -program-suffix=* | --program-suffix=* | --program-suffi=* \
   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
     program_suffix="$ac_optarg" ;;      program_suffix=$ac_optarg ;;
   
   -program-transform-name | --program-transform-name \    -program-transform-name | --program-transform-name \
   | --program-transform-nam | --program-transform-na \    | --program-transform-nam | --program-transform-na \
Line 232  do
Line 539  do
   | --program-transfo=* | --program-transf=* \    | --program-transfo=* | --program-transf=* \
   | --program-trans=* | --program-tran=* \    | --program-trans=* | --program-tran=* \
   | --progr-tra=* | --program-tr=* | --program-t=*)    | --progr-tra=* | --program-tr=* | --program-t=*)
     program_transform_name="$ac_optarg" ;;      program_transform_name=$ac_optarg ;;
   
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   | -silent | --silent | --silen | --sile | --sil)    | -silent | --silent | --silen | --sile | --sil)
Line 242  do
Line 549  do
     ac_prev=sbindir ;;      ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   | --sbi=* | --sb=*)    | --sbi=* | --sb=*)
     sbindir="$ac_optarg" ;;      sbindir=$ac_optarg ;;
   
   -sharedstatedir | --sharedstatedir | --sharedstatedi \    -sharedstatedir | --sharedstatedir | --sharedstatedi \
   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
Line 253  do
Line 560  do
   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   | --sha=* | --sh=*)    | --sha=* | --sh=*)
     sharedstatedir="$ac_optarg" ;;      sharedstatedir=$ac_optarg ;;
   
   -site | --site | --sit)    -site | --site | --sit)
     ac_prev=site ;;      ac_prev=site ;;
   -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
     site="$ac_optarg" ;;      site=$ac_optarg ;;
   
   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
     ac_prev=srcdir ;;      ac_prev=srcdir ;;
   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
     srcdir="$ac_optarg" ;;      srcdir=$ac_optarg ;;
   
   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   | --syscon | --sysco | --sysc | --sys | --sy)    | --syscon | --sysco | --sysc | --sys | --sy)
     ac_prev=sysconfdir ;;      ac_prev=sysconfdir ;;
   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
     sysconfdir="$ac_optarg" ;;      sysconfdir=$ac_optarg ;;
   
   -target | --target | --targe | --targ | --tar | --ta | --t)    -target | --target | --targe | --targ | --tar | --ta | --t)
     ac_prev=target ;;      ac_prev=target_alias ;;
   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
     target="$ac_optarg" ;;      target_alias=$ac_optarg ;;
   
   -v | -verbose | --verbose | --verbos | --verbo | --verb)    -v | -verbose | --verbose | --verbos | --verbo | --verb)
     verbose=yes ;;      verbose=yes ;;
Line 284  do
Line 591  do
     ac_init_version=: ;;      ac_init_version=: ;;
   
   -with-* | --with-*)    -with-* | --with-*)
     ac_package=`echo "$ac_option"|sed -e 's/-*with-//' -e 's/=.*//'`      ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       { echo "configure: error: invalid package: $ac_package" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
     fi     { (exit 1); exit 1; }; }
     ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package| sed 's/-/_/g'`
     case "$ac_option" in      case $ac_option in
       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;        *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
       *) ac_optarg=yes ;;        *) ac_optarg=yes ;;
     esac      esac
     eval "with_${ac_package}='$ac_optarg'" ;;      eval "with_$ac_package='$ac_optarg'" ;;
   
   -without-* | --without-*)    -without-* | --without-*)
     ac_package=`echo "$ac_option"|sed -e 's/-*without-//'`      ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     if echo "$ac_package" | grep '[^-a-zA-Z0-9_]' >/dev/null 2>&1; then      expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
       { echo "configure: error: invalid package: $ac_package" 1>&2; exit 1; }        { echo "$as_me: error: invalid package name: $ac_package" >&2
     fi     { (exit 1); exit 1; }; }
     ac_package=`echo $ac_package| sed 's/-/_/g'`      ac_package=`echo $ac_package | sed 's/-/_/g'`
     eval "with_${ac_package}=no" ;;      eval "with_$ac_package=no" ;;
   
   --x)    --x)
     # Obsolete; use --with-x.      # Obsolete; use --with-x.
Line 314  do
Line 621  do
     ac_prev=x_includes ;;      ac_prev=x_includes ;;
   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
     x_includes="$ac_optarg" ;;      x_includes=$ac_optarg ;;
   
   -x-libraries | --x-libraries | --x-librarie | --x-librari \    -x-libraries | --x-libraries | --x-librarie | --x-librari \
   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
     ac_prev=x_libraries ;;      ac_prev=x_libraries ;;
   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries="$ac_optarg" ;;      x_libraries=$ac_optarg ;;
   
   -*) { echo "configure: error: unrecognized option: $ac_option    -*) { echo "$as_me: error: unrecognized option: $ac_option
 Try \`configure --help' for more information." 1>&2; exit 1; }  Try \`$0 --help' for more information." >&2
      { (exit 1); exit 1; }; }
     ;;      ;;
   
   *=*)    *=*)
     ac_envvar=`echo "$ac_option" | sed -e 's/=.*//'`      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
     # Reject names that are not valid shell variable names.      # Reject names that are not valid shell variable names.
     if echo "$ac_envvar" | grep '[^a-zA-Z0-9_]' >/dev/null 2>&1; then      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
       { echo "configure: error: invalid variable name: $ac_envvar" 1>&2; exit 1; }        { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     fi     { (exit 1); exit 1; }; }
     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`      ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
     eval "$ac_envvar='$ac_optarg'"      eval "$ac_envvar='$ac_optarg'"
     export $ac_envvar ;;      export $ac_envvar ;;
   
   *)    *)
     if echo "$ac_option" | grep '[^-a-zA-Z0-9.]' >/dev/null 2>&1; then      # FIXME: should be removed in autoconf 3.0.
       echo "configure: warning: invalid host type: $ac_option" 1>&2      echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     fi      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     if test "x$nonopt" != xNONE; then        echo "$as_me: WARNING: invalid host type: $ac_option" >&2
       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     fi  
     nonopt="$ac_option"  
     ;;      ;;
   
   esac    esac
 done  done
   
 if test -n "$ac_prev"; then  if test -n "$ac_prev"; then
   { echo "configure: error: missing argument to --\`echo $ac_prev | sed 's/_/-/g'\`" 1>&2; exit 1; }    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
     { echo "$as_me: error: missing argument to $ac_option" >&2
      { (exit 1); exit 1; }; }
 fi  fi
 if $ac_init_help; then  
   # Be sure to have absolute paths.
   for ac_var in exec_prefix prefix
   do
     eval ac_val=$`echo $ac_var`
     case $ac_val in
       [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
       *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
      { (exit 1); exit 1; }; };;
     esac
   done
   
   # Be sure to have absolute paths.
   for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
                 localstatedir libdir includedir oldincludedir infodir mandir
   do
     eval ac_val=$`echo $ac_var`
     case $ac_val in
       [\\/$]* | ?:[\\/]* ) ;;
       *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
      { (exit 1); exit 1; }; };;
     esac
   done
   
   # There might be people who depend on the old broken behavior: `$host'
   # used to hold the argument of --host etc.
   build=$build_alias
   host=$host_alias
   target=$target_alias
   
   # FIXME: should be removed in autoconf 3.0.
   if test "x$host_alias" != x; then
     if test "x$build_alias" = x; then
       cross_compiling=maybe
       echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
       If a cross compiler is detected then cross compile mode will be used." >&2
     elif test "x$build_alias" != "x$host_alias"; then
       cross_compiling=yes
     fi
   fi
   
   ac_tool_prefix=
   test -n "$host_alias" && ac_tool_prefix=$host_alias-
   
   test "$silent" = yes && exec 6>/dev/null
   
   # Find the source files, if location was not specified.
   if test -z "$srcdir"; then
     ac_srcdir_defaulted=yes
     # Try the directory containing this script, then its parent.
     ac_prog=$0
     ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
     test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
     srcdir=$ac_confdir
     if test ! -r $srcdir/$ac_unique_file; then
       srcdir=..
     fi
   else
     ac_srcdir_defaulted=no
   fi
   if test ! -r $srcdir/$ac_unique_file; then
     if test "$ac_srcdir_defaulted" = yes; then
       { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
      { (exit 1); exit 1; }; }
     else
       { echo "$as_me: error: cannot find sources in $srcdir" >&2
      { (exit 1); exit 1; }; }
     fi
   fi
   srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
   ac_env_build_alias_set=${build_alias+set}
   ac_env_build_alias_value=$build_alias
   ac_cv_env_build_alias_set=${build_alias+set}
   ac_cv_env_build_alias_value=$build_alias
   ac_env_host_alias_set=${host_alias+set}
   ac_env_host_alias_value=$host_alias
   ac_cv_env_host_alias_set=${host_alias+set}
   ac_cv_env_host_alias_value=$host_alias
   ac_env_target_alias_set=${target_alias+set}
   ac_env_target_alias_value=$target_alias
   ac_cv_env_target_alias_set=${target_alias+set}
   ac_cv_env_target_alias_value=$target_alias
   ac_env_ABI_set=${ABI+set}
   ac_env_ABI_value=$ABI
   ac_cv_env_ABI_set=${ABI+set}
   ac_cv_env_ABI_value=$ABI
   ac_env_CC_set=${CC+set}
   ac_env_CC_value=$CC
   ac_cv_env_CC_set=${CC+set}
   ac_cv_env_CC_value=$CC
   ac_env_CFLAGS_set=${CFLAGS+set}
   ac_env_CFLAGS_value=$CFLAGS
   ac_cv_env_CFLAGS_set=${CFLAGS+set}
   ac_cv_env_CFLAGS_value=$CFLAGS
   ac_env_LDFLAGS_set=${LDFLAGS+set}
   ac_env_LDFLAGS_value=$LDFLAGS
   ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
   ac_cv_env_LDFLAGS_value=$LDFLAGS
   ac_env_CPPFLAGS_set=${CPPFLAGS+set}
   ac_env_CPPFLAGS_value=$CPPFLAGS
   ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
   ac_cv_env_CPPFLAGS_value=$CPPFLAGS
   ac_env_CPP_set=${CPP+set}
   ac_env_CPP_value=$CPP
   ac_cv_env_CPP_set=${CPP+set}
   ac_cv_env_CPP_value=$CPP
   ac_env_CXX_set=${CXX+set}
   ac_env_CXX_value=$CXX
   ac_cv_env_CXX_set=${CXX+set}
   ac_cv_env_CXX_value=$CXX
   ac_env_CXXFLAGS_set=${CXXFLAGS+set}
   ac_env_CXXFLAGS_value=$CXXFLAGS
   ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
   ac_cv_env_CXXFLAGS_value=$CXXFLAGS
   ac_env_CXXCPP_set=${CXXCPP+set}
   ac_env_CXXCPP_value=$CXXCPP
   ac_cv_env_CXXCPP_set=${CXXCPP+set}
   ac_cv_env_CXXCPP_value=$CXXCPP
   ac_env_M4_set=${M4+set}
   ac_env_M4_value=$M4
   ac_cv_env_M4_set=${M4+set}
   ac_cv_env_M4_value=$M4
   
   #
   # Report the --help message.
   #
   if test "$ac_init_help" = "long"; then
   # Omit some internal or obsolete options to make the list less imposing.    # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.    # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<\EOF    cat <<EOF
 `configure' configures software source code packages to adapt to many kinds  \`configure' configures this package to adapt to many kinds of systems.
 of systems.  
   
 Usage: configure [OPTION]... [VAR=VALUE]... [HOST]  Usage: $0 [OPTION]... [VAR=VALUE]...
   
 To safely assign special values to environment variables (e.g., CC,  To assign environment variables (e.g., CC, CFLAGS...), specify them as
 CFLAGS...), give to `configure' the definition as VAR=VALUE.  VAR=VALUE.  See below for descriptions of some of the useful variables.
   
 Defaults for the options are specified in brackets.  Defaults for the options are specified in brackets.
   
 Configuration:  Configuration:
   -h, --help              print this message    -h, --help              display this help and exit
   -V, --version           print the version of autoconf that created configure        --help=short        display options specific to this package
   -q, --quiet, --silent   do not print `checking...' messages        --help=recursive    display the short help of all the included packages
       --cache-file=FILE   cache test results in FILE    -V, --version           display version information and exit
     -q, --quiet, --silent   do not print \`checking...' messages
         --cache-file=FILE   cache test results in FILE [disabled]
     -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files    -n, --no-create         do not create output files
         --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   
 EOF  EOF
   
   cat <<EOF    cat <<EOF
 Directories:  Installation directories:
   --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
                           [$ac_default_prefix]                            [$ac_default_prefix]
   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                           [same as prefix]                            [PREFIX]
   --bindir=DIR            user executables in DIR [EPREFIX/bin]  
   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]  
   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]  
   --datadir=DIR           read-only architecture-independent data in DIR  
                           [PREFIX/share]  
   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]  
   --sharedstatedir=DIR    modifiable architecture-independent data in DIR  
                           [PREFIX/com]  
   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]  
   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]  
   --includedir=DIR        C header files in DIR [PREFIX/include]  
   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]  
   --infodir=DIR           info documentation in DIR [PREFIX/info]  
   --mandir=DIR            man documentation in DIR [PREFIX/man]  
   --srcdir=DIR            find the sources in DIR [configure dir or ..]  
 EOF  
   
   cat <<\EOF  By default, \`make install' will install all the files in
   \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   for instance \`--prefix=\$HOME'.
   
 Host type:  For better control, use the options below.
   --build=BUILD      configure for building on BUILD [BUILD=HOST]  
   --host=HOST        configure for HOST [guessed]  Fine tuning of the installation directories:
   --target=TARGET    configure for TARGET [TARGET=HOST]    --bindir=DIR           user executables [EPREFIX/bin]
     --sbindir=DIR          system admin executables [EPREFIX/sbin]
     --libexecdir=DIR       program executables [EPREFIX/libexec]
     --datadir=DIR          read-only architecture-independent data [PREFIX/share]
     --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     --libdir=DIR           object code libraries [EPREFIX/lib]
     --includedir=DIR       C header files [PREFIX/include]
     --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     --infodir=DIR          info documentation [PREFIX/info]
     --mandir=DIR           man documentation [PREFIX/man]
 EOF  EOF
   
   cat <<\EOF    cat <<\EOF
Line 414  Program names:
Line 849  Program names:
   --program-suffix=SUFFIX            append SUFFIX to installed program names    --program-suffix=SUFFIX            append SUFFIX to installed program names
   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names    --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   
   System types:
     --build=BUILD     configure for building on BUILD [guessed]
     --host=HOST       build programs to run on HOST [BUILD]
   EOF
   fi
   
   if test -n "$ac_init_help"; then
   
     cat <<\EOF
   
 Optional Features:  Optional Features:
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE=ARG  include FEATURE ARG=yes    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --disable-dependency-tracking Speeds up one-time builds    --disable-dependency-tracking Speeds up one-time builds
   --enable-dependency-tracking  Do not reject slow dependency extractors    --enable-dependency-tracking  Do not reject slow dependency extractors
   --enable-maintainer-mode enable make rules and dependencies not useful    --enable-maintainer-mode enable make rules and dependencies not useful
                           (and sometimes confusing) to the casual installer                            (and sometimes confusing) to the casual installer
   --enable-assert         enable ASSERT checking default=no    --enable-assert         enable ASSERT checking [default=no]
   --enable-alloca         use alloca for temp space default=yes    --enable-alloca         how to get temp memory [default=reentrant]
   --enable-fft            enable FFTs for multiplication default=no    --enable-cxx            enable C++ support [default=no]
   --enable-mpbsd          build Berkley MP compatibility library default=no    --enable-fft            enable FFTs for multiplication [default=yes]
   --enable-mpfr           build MPFR default=no    --enable-mpbsd          build Berkley MP compatibility library
   --enable-shared=PKGS  build shared libraries default=yes                            [default=no]
   --enable-static=PKGS  build static libraries default=yes    --enable-mpfr           build MPFR [default=no]
   --enable-fast-install=PKGS  optimize for fast installation default=yes    --enable-nails          use nails on limbs [default=no]
     --enable-profiling      build with profiler support [default=no]
     --enable-shared[=PKGS]
                             build shared libraries [default=yes]
     --enable-static[=PKGS]
                             build static libraries [default=yes]
     --enable-fast-install[=PKGS]
                             optimize for fast installation [default=yes]
   --disable-libtool-lock  avoid locking (might break parallel builds)    --disable-libtool-lock  avoid locking (might break parallel builds)
   
 Optional Packages:  Optional Packages:
   --with-PACKAGE=ARG    use PACKAGE ARG=yes    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   --with-gnu-ld           assume the C compiler uses GNU ld default=no    --with-readline         readline support in calc demo program
   --with-pic              try to use only PIC/non-PIC objects default=use both                            [default=detect]
     --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     --with-pic              try to use only PIC/non-PIC objects [default=use
                             both]
     --with-tags=TAGS        include additional configurations [CXX,GCJ]
   
   Some influential environment variables:
     ABI         desired ABI (for processors supporting more than one ABI)
     CC          C compiler command
     CFLAGS      C compiler flags
     LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                 nonstandard directory <lib dir>
     CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                 headers in a nonstandard directory <include dir>
     CPP         C preprocessor
     CXX         C++ compiler command
     CXXFLAGS    C++ compiler flags
     CXXCPP      C++ preprocessor
     M4          m4 macro processor
   
   Use these variables to override the choices made by `configure' or to help
   it to find libraries and programs with nonstandard names/locations.
   
 EOF  EOF
   exit 0  
 fi  fi
   
   if test "$ac_init_help" = "recursive"; then
     # If there are subdirs, report their specific --help.
     ac_popdir=`pwd`
     for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
       cd $ac_subdir
       # A "../" for each directory in /$ac_subdir.
       ac_dots=`echo $ac_subdir |
                sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
   
       case $srcdir in
       .) # No --srcdir option.  We are building in place.
         ac_sub_srcdir=$srcdir ;;
       [\\/]* | ?:[\\/]* ) # Absolute path.
         ac_sub_srcdir=$srcdir/$ac_subdir ;;
       *) # Relative path.
         ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
       esac
   
       # Check for guested configure; otherwise get Cygnus style configure.
       if test -f $ac_sub_srcdir/configure.gnu; then
         echo
         $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
       elif test -f $ac_sub_srcdir/configure; then
         echo
         $SHELL $ac_sub_srcdir/configure  --help=recursive
       elif test -f $ac_sub_srcdir/configure.ac ||
              test -f $ac_sub_srcdir/configure.in; then
         echo
         $ac_configure --help
       else
         echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
       fi
       cd $ac_popdir
     done
   fi
   
   test -n "$ac_init_help" && exit 0
 if $ac_init_version; then  if $ac_init_version; then
   cat <<\EOF    cat <<\EOF
 Generated automatically using Autoconf version 2.14a.  
 Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000  
 Free Software Foundation, Inc.  
   
   Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
   Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation  This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.  gives unlimited permission to copy, distribute and modify it.
   
   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software
   Foundation, Inc.
   
   This file is part of the GNU MP Library.
   
   The GNU MP Library is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as published
   by the Free Software Foundation; either version 2.1 of the License, or (at
   your option) any later version.
   
   The GNU MP Library is distributed in the hope that it will be useful, but
   WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
   License for more details.
   
   You should have received a copy of the GNU Lesser General Public License
   along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
   the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
   MA 02111-1307, USA.
   
 EOF  EOF
   exit 0    exit 0
 fi  fi
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  exec 5>config.log
   cat >&5 <<EOF
   This file contains any messages produced by compilers while
   running configure, to aid debugging if configure makes a mistake.
   
   It was created by $as_me, which was
   generated by GNU Autoconf 2.52.  Invocation command line was
   
     $ $0 $@
   
   EOF
   {
   cat <<_ASUNAME
   ## ---------- ##
   ## Platform.  ##
   ## ---------- ##
   
   hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   uname -m = `(uname -m) 2>/dev/null || echo unknown`
   uname -r = `(uname -r) 2>/dev/null || echo unknown`
   uname -s = `(uname -s) 2>/dev/null || echo unknown`
   uname -v = `(uname -v) 2>/dev/null || echo unknown`
   
   /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   
   /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   
   PATH = $PATH
   
   _ASUNAME
   } >&5
   
   cat >&5 <<EOF
   ## ------------ ##
   ## Core tests.  ##
   ## ------------ ##
   
   EOF
   
 # Keep a trace of the command line.  # Keep a trace of the command line.
 # Strip out --no-create and --no-recursion so they do not pile up.  # Strip out --no-create and --no-recursion so they do not pile up.
 # Also quote any args containing shell meta-characters.  # Also quote any args containing shell meta-characters.
 ac_configure_args=  ac_configure_args=
   ac_sep=
 for ac_arg  for ac_arg
 do  do
   case "$ac_arg" in    case $ac_arg in
   -no-create | --no-create | --no-creat | --no-crea | --no-cre \    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   | --no-cr | --no-c) ;;    | --no-cr | --no-c) ;;
   -no-recursion | --no-recursion | --no-recursio | --no-recursi \    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)    *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
   ac_configure_args="$ac_configure_args '$ac_arg'" ;;      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   *) ac_configure_args="$ac_configure_args $ac_arg" ;;      ac_sep=" " ;;
     *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
        ac_sep=" " ;;
   esac    esac
     # Get rid of the leading space.
 done  done
   
 # File descriptor usage:  # When interrupted or exit'd, cleanup temporary files, and complete
 # 0 standard input  # config.log.  We remove comments because anyway the quotes in there
 # 1 file creation  # would cause problems or look ugly.
 # 2 errors and warnings  trap 'exit_status=$?
 # 3 some systems may open it to /dev/tty    # Save into config.log some information that might help in debugging.
 # 4 used on the Kubota Titan    echo >&5
 # 6 checking for... messages and results    echo "## ----------------- ##" >&5
 # 5 compiler messages saved in config.log    echo "## Cache variables.  ##" >&5
 if test "$silent" = yes; then    echo "## ----------------- ##" >&5
   exec 6>/dev/null    echo >&5
 else    # The following way of writing the cache mishandles newlines in values,
   exec 6>&1  {
 fi    (set) 2>&1 |
 exec 5>./config.log      case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
       *ac_space=\ *)
         sed -n \
           "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
             s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
         ;;
       *)
         sed -n \
           "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
         ;;
       esac;
   } >&5
     sed "/^$/d" confdefs.h >conftest.log
     if test -s conftest.log; then
       echo >&5
       echo "## ------------ ##" >&5
       echo "## confdefs.h.  ##" >&5
       echo "## ------------ ##" >&5
       echo >&5
       cat conftest.log >&5
     fi
     (echo; echo) >&5
     test "$ac_signal" != 0 &&
       echo "$as_me: caught signal $ac_signal" >&5
     echo "$as_me: exit $exit_status" >&5
     rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
       exit $exit_status
        ' 0
   for ac_signal in 1 2 13 15; do
     trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   done
   ac_signal=0
   
 echo "\  
 This file contains any messages produced by compilers while  
 running configure, to aid debugging if configure makes a mistake.  
   
 It was created by configure version 2.14a, executed with  
  > $0 $ac_configure_args  
 " 1>&5  
   
 # NLS nuisances.  
 # Only set these to C if already set.  These must not be set unconditionally  
 # because not all systems understand e.g. LANG=C (notably SCO).  
 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!  
 # Non-C LC_CTYPE values break the ctype check.  
 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi  
 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi  
 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi  
 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi  
   
 # confdefs.h avoids OS command line length limits that DEFS can exceed.  # confdefs.h avoids OS command line length limits that DEFS can exceed.
 rm -rf conftest* confdefs.h  rm -rf conftest* confdefs.h
 # AIX cpp loses on an empty file, so make sure it contains at least a newline.  # AIX cpp loses on an empty file, so make sure it contains at least a newline.
 echo >confdefs.h  echo >confdefs.h
   
 # A filename unique to this package, relative to the directory that  # Let the site file select an alternate cache file if it wants to.
 # configure is in, which we can look for to find out if srcdir is correct.  
 ac_unique_file=  
   
 # Find the source files, if location was not specified.  
 if test -z "$srcdir"; then  
   ac_srcdir_defaulted=yes  
   # Try the directory containing this script, then its parent.  
   ac_prog=$0  
   ac_confdir=`echo "$ac_prog" | sed 's%/[^/][^/]*$%%'`  
   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.  
   srcdir=$ac_confdir  
   if test ! -r $srcdir/$ac_unique_file; then  
     srcdir=..  
   fi  
 else  
   ac_srcdir_defaulted=no  
 fi  
 if test ! -r $srcdir/$ac_unique_file; then  
   if test "$ac_srcdir_defaulted" = yes; then  
     { echo "configure: error: cannot find sources in $ac_confdir or .." 1>&2; exit 1; }  
   else  
     { echo "configure: error: cannot find sources in $srcdir" 1>&2; exit 1; }  
   fi  
 fi  
 srcdir=`echo "$srcdir" | sed 's%\([^/]\)/*$%\1%'`  
   
 # Prefer explicitly selected file to automatically selected ones.  # Prefer explicitly selected file to automatically selected ones.
 if test -z "$CONFIG_SITE"; then  if test -z "$CONFIG_SITE"; then
   if test "x$prefix" != xNONE; then    if test "x$prefix" != xNONE; then
Line 545  if test -z "$CONFIG_SITE"; then
Line 1111  if test -z "$CONFIG_SITE"; then
 fi  fi
 for ac_site_file in $CONFIG_SITE; do  for ac_site_file in $CONFIG_SITE; do
   if test -r "$ac_site_file"; then    if test -r "$ac_site_file"; then
     echo "loading site script $ac_site_file"      { echo "$as_me:1114: loading site script $ac_site_file" >&5
   echo "$as_me: loading site script $ac_site_file" >&6;}
       cat "$ac_site_file" >&5
     . "$ac_site_file"      . "$ac_site_file"
   fi    fi
 done  done
   
 if test -r "$cache_file"; then  if test -r "$cache_file"; then
   echo "loading cache $cache_file"    # Some versions of bash will fail to source /dev/null (special
       test -f "$cache_file" && . $cache_file    # files actually), so we avoid doing that.
     if test -f "$cache_file"; then
       { echo "$as_me:1125: loading cache $cache_file" >&5
   echo "$as_me: loading cache $cache_file" >&6;}
       case $cache_file in
         [\\/]* | ?:[\\/]* ) . $cache_file;;
         *)                      . ./$cache_file;;
       esac
     fi
 else  else
   echo "creating cache $cache_file"    { echo "$as_me:1133: creating cache $cache_file" >&5
   echo "$as_me: creating cache $cache_file" >&6;}
   >$cache_file    >$cache_file
 fi  fi
   
   # Check that the precious variables saved in the cache have kept the same
   # value.
   ac_cache_corrupted=false
   for ac_var in `(set) 2>&1 |
                  sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
     eval ac_old_set=\$ac_cv_env_${ac_var}_set
     eval ac_new_set=\$ac_env_${ac_var}_set
     eval ac_old_val="\$ac_cv_env_${ac_var}_value"
     eval ac_new_val="\$ac_env_${ac_var}_value"
     case $ac_old_set,$ac_new_set in
       set,)
         { echo "$as_me:1149: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
         ac_cache_corrupted=: ;;
       ,set)
         { echo "$as_me:1153: error: \`$ac_var' was not set in the previous run" >&5
   echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
         ac_cache_corrupted=: ;;
       ,);;
       *)
         if test "x$ac_old_val" != "x$ac_new_val"; then
           { echo "$as_me:1159: error: \`$ac_var' has changed since the previous run:" >&5
   echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
           { echo "$as_me:1161:   former value:  $ac_old_val" >&5
   echo "$as_me:   former value:  $ac_old_val" >&2;}
           { echo "$as_me:1163:   current value: $ac_new_val" >&5
   echo "$as_me:   current value: $ac_new_val" >&2;}
           ac_cache_corrupted=:
         fi;;
     esac
     # Pass precious variables to config.status.  It doesn't matter if
     # we pass some twice (in addition to the command line arguments).
     if test "$ac_new_set" = set; then
       case $ac_new_val in
       *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
         ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
         ac_configure_args="$ac_configure_args '$ac_arg'"
         ;;
       *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
          ;;
       esac
     fi
   done
   if $ac_cache_corrupted; then
     { echo "$as_me:1182: error: changes in the environment can compromise the build" >&5
   echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     { { echo "$as_me:1184: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
 ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 ac_exeext=  case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
 ac_objext=o    *c*,-n*) ECHO_N= ECHO_C='
 # Factoring default headers for most tests.  ' ECHO_T='      ' ;;
 ac_includes_default="\    *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
 #include <stdio.h>    *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
 #include <sys/types.h>  esac
 #if STDC_HEADERS  echo "#! $SHELL" >conftest.sh
 # include <stdlib.h>  echo  "exit 0"   >>conftest.sh
 # include <stddef.h>  chmod +x conftest.sh
 #else  if { (echo "$as_me:1204: PATH=\".;.\"; conftest.sh") >&5
 # if HAVE_STDLIB_H    (PATH=".;."; conftest.sh) 2>&5
 #  include <stdlib.h>    ac_status=$?
 # endif    echo "$as_me:1207: \$? = $ac_status" >&5
 #endif    (exit $ac_status); }; then
 #if HAVE_STRING_H    ac_path_separator=';'
 # if !STDC_HEADERS && HAVE_MEMORY_H  
 #  include <memory.h>  
 # endif  
 # include <string.h>  
 #else  
 # if HAVE_STRINGS_H  
 #  include <strings.h>  
 # endif  
 #endif  
 #if HAVE_INTTYPES_H  
 # include <inttypes.h>  
 #endif  
 #if HAVE_UNISTD_H  
 # include <unistd.h>  
 #endif"  
   
 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then  
   # Stardent Vistra SVR4 grep lacks -e, says Kaveh R. Ghazi.  
   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then  
     ECHO_N= ECHO_C='  
 ' ECHO_T='      '  
   else  
     ECHO_N=-n ECHO_C= ECHO_T=  
   fi  
 else  else
   ECHO_N= ECHO_C='\c' ECHO_T=    ac_path_separator=:
 fi  fi
   PATH_SEPARATOR="$ac_path_separator"
   rm -f conftest.sh
   
   # If --target is not used then $target_alias is empty, but if say
   # "./configure athlon-pc-freebsd3.5" is used, then all three of
   # $build_alias, $host_alias and $target_alias are set to
   # "athlon-pc-freebsd3.5".
   #
   if test -n "$target_alias" && test "$target_alias" != "$host_alias"; then
     { { echo "$as_me:1222: error: --target is not appropriate for GMP
   Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
   explicitly.  Use --host if cross-compiling (see \"Installing GMP\" in the
   manual for more on this)." >&5
   echo "$as_me: error: --target is not appropriate for GMP
   Use --build=CPU-VENDOR-OS if you need to specify your CPU and/or system
   explicitly.  Use --host if cross-compiling (see \"Installing GMP\" in the
   manual for more on this)." >&2;}
      { (exit 1); exit 1; }; }
   fi
   
   gmp_configm4="config.m4"
   gmp_tmpconfigm4=cnfm4.tmp
   gmp_tmpconfigm4i=cnfm4i.tmp
   gmp_tmpconfigm4p=cnfm4p.tmp
   rm -f $gmp_tmpconfigm4 $gmp_tmpconfigm4i $gmp_tmpconfigm4p
   
   # CONFIG_TOP_SRCDIR is a path from the mpn builddir to the top srcdir.
   # The pattern here tests for an absolute path the same way as
   # _AC_OUTPUT_FILES in autoconf acgeneral.m4.
   case $srcdir in
   [\\/]* | ?:[\\/]* )  tmp="$srcdir"    ;;
   *)                       tmp="../$srcdir" ;;
   esac
   echo "define(<CONFIG_TOP_SRCDIR>,<\`$tmp'>)" >>$gmp_tmpconfigm4
   
   # All CPUs use asm-defs.m4
   echo "include(CONFIG_TOP_SRCDIR\`/mpn/asm-defs.m4')" >>$gmp_tmpconfigm4i
   
 ac_aux_dir=  ac_aux_dir=
 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   if test -f $ac_dir/install-sh; then    if test -f $ac_dir/install-sh; then
Line 625  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
Line 1265  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   fi    fi
 done  done
 if test -z "$ac_aux_dir"; then  if test -z "$ac_aux_dir"; then
   { echo "configure: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }    { { echo "$as_me:1268: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
      { (exit 1); exit 1; }; }
 fi  fi
 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  ac_config_guess="$SHELL $ac_aux_dir/config.guess"
 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  ac_config_sub="$SHELL $ac_aux_dir/config.sub"
 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.  ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   
 echo $ECHO_N "checking host system type... $ECHO_C" 1>&6  # Make sure we can run config.sub.
 echo "configure:636: checking host system type" 1>&5  $ac_config_sub sun4 >/dev/null 2>&1 ||
 if test "x$ac_cv_host" = "x" || (test "x$host" != "xNONE" && test "x$host" != "x$ac_cv_host_alias"); then    { { echo "$as_me:1278: error: cannot run $ac_config_sub" >&5
   echo "$as_me: error: cannot run $ac_config_sub" >&2;}
      { (exit 1); exit 1; }; }
   
   # Make sure we can run config.sub.  echo "$as_me:1282: checking build system type" >&5
   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else  echo $ECHO_N "checking build system type... $ECHO_C" >&6
     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }  if test "${ac_cv_build+set}" = set; then
   fi    echo $ECHO_N "(cached) $ECHO_C" >&6
   
   ac_cv_host_alias=$host  
   case "$ac_cv_host_alias" in  
   NONE)  
     case $nonopt in  
     NONE)  
       if ac_cv_host_alias=`$ac_config_guess`; then :  
       else { echo "configure: error: cannot guess host type; you must specify one" 1>&2; exit 1; }  
       fi ;;    *) ac_cv_host_alias=$nonopt ;;  
     esac ;;  
   esac  
   
   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || exit 1  
   ac_cv_host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
   ac_cv_host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
   ac_cv_host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 else  else
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    ac_cv_build_alias=$build_alias
 fi  test -z "$ac_cv_build_alias" &&
     ac_cv_build_alias=`$ac_config_guess`
   test -z "$ac_cv_build_alias" &&
     { { echo "$as_me:1291: error: cannot guess build type; you must specify one" >&5
   echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
      { (exit 1); exit 1; }; }
   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
     { { echo "$as_me:1295: error: $ac_config_sub $ac_cv_build_alias failed." >&5
   echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
      { (exit 1); exit 1; }; }
   
 echo "$ECHO_T""$ac_cv_host" 1>&6  
   
 host=$ac_cv_host  
 host_alias=$ac_cv_host_alias  
 host_cpu=$ac_cv_host_cpu  
 host_vendor=$ac_cv_host_vendor  
 host_os=$ac_cv_host_os  
   
 echo $ECHO_N "checking target system type... $ECHO_C" 1>&6  
 echo "configure:672: checking target system type" 1>&5  
 if test "x$ac_cv_target" = "x" || (test "x$target" != "xNONE" && test "x$target" != "x$ac_cv_target_alias"); then  
   
   # Make sure we can run config.sub.  
   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else  
     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }  
   fi  
   
   ac_cv_target_alias=$target  
   case "$ac_cv_target_alias" in  
   NONE)  
     case $nonopt in  
     NONE)  
       ac_cv_target_alias=$host_alias ;;  
     *) ac_cv_target_alias=$nonopt ;;  
     esac ;;  
   esac  
   
   ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || exit 1  
   ac_cv_target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
   ac_cv_target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
   ac_cv_target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 else  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 fi  fi
   echo "$as_me:1300: result: $ac_cv_build" >&5
   echo "${ECHO_T}$ac_cv_build" >&6
   build=$ac_cv_build
   build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   
 echo "$ECHO_T""$ac_cv_target" 1>&6  echo "$as_me:1307: checking host system type" >&5
   echo $ECHO_N "checking host system type... $ECHO_C" >&6
 target=$ac_cv_target  if test "${ac_cv_host+set}" = set; then
 target_alias=$ac_cv_target_alias    echo $ECHO_N "(cached) $ECHO_C" >&6
 target_cpu=$ac_cv_target_cpu  
 target_vendor=$ac_cv_target_vendor  
 target_os=$ac_cv_target_os  
   
 echo $ECHO_N "checking build system type... $ECHO_C" 1>&6  
 echo "configure:707: checking build system type" 1>&5  
 if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then  
   
   # Make sure we can run config.sub.  
   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else  
     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }  
   fi  
   
   ac_cv_build_alias=$build  
   case "$ac_cv_build_alias" in  
   NONE)  
     case $nonopt in  
     NONE)  
       ac_cv_build_alias=$host_alias ;;  
     *) ac_cv_build_alias=$nonopt ;;  
     esac ;;  
   esac  
   
   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1  
   ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
   ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
   ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 else  else
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    ac_cv_host_alias=$host_alias
   test -z "$ac_cv_host_alias" &&
     ac_cv_host_alias=$ac_cv_build_alias
   ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
     { { echo "$as_me:1316: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
      { (exit 1); exit 1; }; }
   
 fi  fi
   echo "$as_me:1321: result: $ac_cv_host" >&5
   echo "${ECHO_T}$ac_cv_host" >&6
   host=$ac_cv_host
   host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   
 echo "$ECHO_T""$ac_cv_build" 1>&6  tmp_host=`echo $host_cpu | sed 's/\./_/'`
   cat >>confdefs.h <<EOF
   #define HAVE_HOST_CPU_$tmp_host 1
   EOF
   
 build=$ac_cv_build  echo "define_not_for_expansion(\`HAVE_HOST_CPU_$tmp_host')" >> $gmp_tmpconfigm4p
 build_alias=$ac_cv_build_alias  
 build_cpu=$ac_cv_build_cpu  
 build_vendor=$ac_cv_build_vendor  
 build_os=$ac_cv_build_os  
   
 # Do some error checking and defaulting for the host and target type.  
 # The inputs are:  
 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT  
 #  
 # The rules are:  
 # 1. You are not allowed to specify --host, --target, and nonopt at the  
 #    same time.  
 # 2. Host defaults to nonopt.  
 # 3. If nonopt is not specified, then host defaults to the current host,  
 #    as determined by config.guess.  
 # 4. Target and build default to nonopt.  
 # 5. If nonopt is not specified, then target and build default to host.  
   
 # The aliases save the names the user supplied, while $host etc.  
 # will get canonicalized.  
 case $host---$target---$nonopt in  
 NONE---*---* | *---NONE---* | *---*---NONE) ;;  
 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;  
 esac  
   
 test "$host_alias" != "$target_alias" &&  
   test "$program_prefix$program_suffix$program_transform_name" = \  
     NONENONEs,x,x, &&  
   program_prefix=${target_alias}-  
   
 # Find a good install program.  We prefer a C program (faster),  # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or  # so one script is as good as another.  But avoid the broken or
 # incompatible versions:  # incompatible versions:
Line 769  test "$host_alias" != "$target_alias" &&
Line 1339  test "$host_alias" != "$target_alias" &&
 # SunOS /usr/etc/install  # SunOS /usr/etc/install
 # IRIX /sbin/install  # IRIX /sbin/install
 # AIX /bin/install  # AIX /bin/install
   # AmigaOS /C/install, which installs bootblocks on floppy discs
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 # ./install, which can be erroneously created by make from ./install.sh.  # ./install, which can be erroneously created by make from ./install.sh.
 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6  echo "$as_me:1347: checking for a BSD compatible install" >&5
 echo "configure:778: checking for a BSD compatible install" 1>&5  echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6
 if test -z "$INSTALL"; then  if test -z "$INSTALL"; then
 if test "${ac_cv_path_install+set}" = set; then  if test "${ac_cv_path_install+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"      ac_save_IFS=$IFS; IFS=$ac_path_separator
   for ac_dir in $PATH; do    for ac_dir in $PATH; do
       IFS=$ac_save_IFS
     # Account for people who put trailing slashes in PATH elements.      # Account for people who put trailing slashes in PATH elements.
     case "$ac_dir/" in      case $ac_dir/ in
     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;      / | ./ | .// | /cC/* \
       | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \
       | /usr/ucb/* ) ;;
     *)      *)
       # OSF1 and SCO ODT 3.0 have their own names for install.        # OSF1 and SCO ODT 3.0 have their own names for install.
       # Don't use installbsd from OSF since it installs stuff as root        # Don't use installbsd from OSF since it installs stuff as root
       # by default.        # by default.
       for ac_prog in ginstall scoinst install; do        for ac_prog in ginstall scoinst install; do
         if test -f $ac_dir/$ac_prog; then          if $as_executable_p "$ac_dir/$ac_prog"; then
           if test $ac_prog = install &&            if test $ac_prog = install &&
             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then              grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then
             # AIX install.  It has an incompatible calling convention.              # AIX install.  It has an incompatible calling convention.
             :              :
           elif test $ac_prog = install &&            elif test $ac_prog = install &&
             grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then              grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then
             # program-specific install script used by HP pwplus--don't use.              # program-specific install script used by HP pwplus--don't use.
             :              :
           else            else
Line 807  else
Line 1381  else
       ;;        ;;
     esac      esac
   done    done
   IFS="$ac_save_IFS"  
   
 fi  fi
   if test "${ac_cv_path_install+set}" = set; then    if test "${ac_cv_path_install+set}" = set; then
     INSTALL="$ac_cv_path_install"      INSTALL=$ac_cv_path_install
   else    else
     # As a last resort, use the slow shell script.  We don't cache a      # As a last resort, use the slow shell script.  We don't cache a
     # path for INSTALL within a source directory, because that will      # path for INSTALL within a source directory, because that will
     # break other packages using the cache if that directory is      # break other packages using the cache if that directory is
     # removed, or if the path is relative.      # removed, or if the path is relative.
     INSTALL="$ac_install_sh"      INSTALL=$ac_install_sh
   fi    fi
 fi  fi
 echo "$ECHO_T""$INSTALL" 1>&6  echo "$as_me:1396: result: $INSTALL" >&5
   echo "${ECHO_T}$INSTALL" >&6
   
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 # It thinks the first close brace ends the variable substitution.  # It thinks the first close brace ends the variable substitution.
Line 830  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL
Line 1404  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   
 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" 1>&6  echo "$as_me:1407: checking whether build environment is sane" >&5
 echo "configure:835: checking whether build environment is sane" 1>&5  echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
 # Just in case  # Just in case
 sleep 1  sleep 1
 echo timestamp > conftestfile  echo timestamp > conftest.file
 # Do `set' in a subshell so we don't clobber the current shell's  # Do `set' in a subshell so we don't clobber the current shell's
 # arguments.  Must try -L first in case configure is actually a  # arguments.  Must try -L first in case configure is actually a
 # symlink; some systems play weird games with the mod time of symlinks  # symlink; some systems play weird games with the mod time of symlinks
 # (eg FreeBSD returns the mod time of the symlink's containing  # (eg FreeBSD returns the mod time of the symlink's containing
 # directory).  # directory).
 if (  if (
    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
    if test "$*" = "X"; then     if test "$*" = "X"; then
       # -L didn't work.        # -L didn't work.
       set X `ls -t $srcdir/configure conftestfile`        set X `ls -t $srcdir/configure conftest.file`
    fi     fi
    if test "$*" != "X $srcdir/configure conftestfile" \     rm -f conftest.file
       && test "$*" != "X conftestfile $srcdir/configure"; then     if test "$*" != "X $srcdir/configure conftest.file" \
         && test "$*" != "X conftest.file $srcdir/configure"; then
   
       # If neither matched, then we have a broken ls.  This can happen        # If neither matched, then we have a broken ls.  This can happen
       # if, for instance, CONFIG_SHELL is bash and it inherits a        # if, for instance, CONFIG_SHELL is bash and it inherits a
       # broken ls alias from the environment.  This has actually        # broken ls alias from the environment.  This has actually
       # happened.  Such a system could not be considered "sane".        # happened.  Such a system could not be considered "sane".
       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken        { { echo "$as_me:1431: error: ls -t appears to fail.  Make sure there is not a broken
 alias in your environment" 1>&2; exit 1; }  alias in your environment" >&5
   echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   alias in your environment" >&2;}
      { (exit 1); exit 1; }; }
    fi     fi
   
    test "$2" = conftestfile     test "$2" = conftest.file
    )     )
 then  then
    # Ok.     # Ok.
    :     :
 else  else
    { echo "configure: error: newly created file is older than distributed files!     { { echo "$as_me:1444: error: newly created file is older than distributed files!
 Check your system clock" 1>&2; exit 1; }  Check your system clock" >&5
   echo "$as_me: error: newly created file is older than distributed files!
   Check your system clock" >&2;}
      { (exit 1); exit 1; }; }
 fi  fi
 rm -f conftest*  echo "$as_me:1450: result: yes" >&5
 echo "$ECHO_T""yes" 1>&6  echo "${ECHO_T}yes" >&6
 if test "$program_transform_name" = s,x,x,; then  
   program_transform_name=  
 else  
   # Double any \ or $.  echo might interpret backslashes.  
   cat <<\EOF >conftestsed  
 s,\\,\\\\,g; s,\$,$$,g  
 EOF  
   program_transform_name=`echo $program_transform_name | sed -f conftestsed`  
   rm -f conftestsed  
 fi  
 test "$program_prefix" != NONE &&  test "$program_prefix" != NONE &&
   program_transform_name="s,^,${program_prefix},;$program_transform_name"    program_transform_name="s,^,$program_prefix,;$program_transform_name"
 # Use a double $ so make ignores it.  # Use a double $ so make ignores it.
 test "$program_suffix" != NONE &&  test "$program_suffix" != NONE &&
   program_transform_name="s,\$\$,${program_suffix},;$program_transform_name"    program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   # Double any \ or $.  echo might interpret backslashes.
   # By default was `s,x,x', remove it if useless.
   cat <<\_ACEOF >conftest.sed
   s/[\\$]/&&/g;s/;s,x,x,$//
   _ACEOF
   program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   rm conftest.sed
   
 # sed with no file args requires a program.  # expand $ac_aux_dir to an absolute path
 test "$program_transform_name" = "" && program_transform_name="s,x,x,"  am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
   
 test x"${MISSING+set}" = xset || \  test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   MISSING="\${SHELL} `CDPATH=: && cd $ac_aux_dir && pwd`/missing"  # Use eval to expand $SHELL
 if eval "$MISSING --run :"; then  if eval "$MISSING --run true"; then
   am_missing_run="$MISSING --run "    am_missing_run="$MISSING --run "
 else  else
   am_missing_run=    am_missing_run=
   am_backtick='`'    am_backtick='`'
   echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2    { echo "$as_me:1475: WARNING: ${am_backtick}missing' script is too old or missing" >&5
   echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
 fi  fi
   
 for ac_prog in mawk gawk nawk awk  for ac_prog in mawk gawk nawk awk
 do  do
 # Extract the first word of "$ac_prog", so it can be a program name with args.    # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2  set dummy $ac_prog; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo "$as_me:1483: checking for $ac_word" >&5
 echo "configure:906: checking for $ac_word" 1>&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_AWK+set}" = set; then  if test "${ac_cv_prog_AWK+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -n "$AWK"; then    if test -n "$AWK"; then
   ac_cv_prog_AWK="$AWK" # Let the user override the test.    ac_cv_prog_AWK="$AWK" # Let the user override the test.
 else  else
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
 ac_dummy="$PATH"  ac_dummy="$PATH"
 for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
   test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
   if test -f $ac_dir/$ac_word; then    $as_executable_p "$ac_dir/$ac_word" || continue
     echo "$ac_dir/$ac_word"  ac_cv_prog_AWK="$ac_prog"
   fi  echo "$as_me:1498: found $ac_dir/$ac_word" >&5
   break
 done  done
 IFS="$ac_save_ifs"  
 `; do  
     ac_cv_prog_AWK="$ac_prog"  
     break  
   done  
 fi  fi
 fi  fi
 AWK="$ac_cv_prog_AWK"  AWK=$ac_cv_prog_AWK
 if test -n "$AWK"; then  if test -n "$AWK"; then
   echo "$ECHO_T""$AWK" 1>&6    echo "$as_me:1506: result: $AWK" >&5
   echo "${ECHO_T}$AWK" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:1509: result: no" >&5
   echo "${ECHO_T}no" >&6
 fi  fi
   
 test -n "$AWK" && break    test -n "$AWK" && break
 done  done
   
 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" 1>&6  echo "$as_me:1516: checking whether ${MAKE-make} sets \${MAKE}" >&5
 echo "configure:939: checking whether ${MAKE-make} sets \${MAKE}" 1>&5  echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`  set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then  if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   cat >conftestmake <<\EOF    cat >conftest.make <<\EOF
 all:  all:
         @echo 'ac_maketemp="${MAKE}"'          @echo 'ac_maketemp="${MAKE}"'
 EOF  EOF
 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`  eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
 if test -n "$ac_maketemp"; then  if test -n "$ac_maketemp"; then
   eval ac_cv_prog_make_${ac_make}_set=yes    eval ac_cv_prog_make_${ac_make}_set=yes
 else  else
   eval ac_cv_prog_make_${ac_make}_set=no    eval ac_cv_prog_make_${ac_make}_set=no
 fi  fi
 rm -f conftestmake  rm -f conftest.make
 fi  fi
 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then  if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   echo "$ECHO_T""yes" 1>&6    echo "$as_me:1536: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   SET_MAKE=    SET_MAKE=
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:1540: result: no" >&5
   echo "${ECHO_T}no" >&6
   SET_MAKE="MAKE=${MAKE-make}"    SET_MAKE="MAKE=${MAKE-make}"
 fi  fi
   
Line 965  fi
Line 1546  fi
 if test "${enable_dependency_tracking+set}" = set; then  if test "${enable_dependency_tracking+set}" = set; then
   enableval="$enable_dependency_tracking"    enableval="$enable_dependency_tracking"
   
 fi  fi;
 if test "x$enable_dependency_tracking" = xno; then  if test "x$enable_dependency_tracking" != xno; then
   AMDEP="#"  
 else  
   am_depcomp="$ac_aux_dir/depcomp"    am_depcomp="$ac_aux_dir/depcomp"
   if test ! -f "$am_depcomp"; then    AMDEPBACKSLASH='\'
     AMDEP="#"  
   else  
     AMDEP=  
   fi  
 fi  fi
   
 if test -z "$AMDEP"; then  if test "x$enable_dependency_tracking" != xno; then
   AMDEPBACKSLASH='\'    AMDEP_TRUE=
     AMDEP_FALSE='#'
 else  else
   AMDEPBACKSLASH=    AMDEP_TRUE='#'
     AMDEP_FALSE=
 fi  fi
   
 if test -d .deps || mkdir .deps 2> /dev/null || test -d .deps; then  rm -f .deps 2>/dev/null
   mkdir .deps 2>/dev/null
   if test -d .deps; then
   DEPDIR=.deps    DEPDIR=.deps
 else  else
     # MS-DOS does not allow filenames that begin with a dot.
   DEPDIR=_deps    DEPDIR=_deps
 fi  fi
   rmdir .deps 2>/dev/null
   
 PACKAGE=gmp  # test to see if srcdir already configured
   if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
 VERSION=3.1.1  
   
 if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&  
    test -f $srcdir/config.status; then     test -f $srcdir/config.status; then
   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }    { { echo "$as_me:1576: error: source directory already configured; run \"make distclean\" there first" >&5
   echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
      { (exit 1); exit 1; }; }
 fi  fi
   
   # Define the identity of the package.
   PACKAGE=gmp
   VERSION=4.1.2
   
 cat >>confdefs.h <<EOF  cat >>confdefs.h <<EOF
 #define PACKAGE "$PACKAGE"  #define PACKAGE "$PACKAGE"
 EOF  EOF
Line 1005  cat >>confdefs.h <<EOF
Line 1590  cat >>confdefs.h <<EOF
 #define VERSION "$VERSION"  #define VERSION "$VERSION"
 EOF  EOF
   
   # Autoconf 2.50 wants to disallow AM_ names.  We explicitly allow
   # the ones we care about.
   
   # Autoconf 2.50 always computes EXEEXT.  However we need to be
   # compatible with 2.13, for now.  So we always define EXEEXT, but we
   # don't compute it.
   
   # Similar for OBJEXT -- only we only use OBJEXT if the user actually
   # requests that it be used.  This is a bit dumb.
   : ${OBJEXT=o}
   
   # Some tools Automake needs.
   
 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}  ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
   
 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
Line 1017  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
Line 1615  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   
 AMTAR=${AMTAR-"${am_missing_run}tar"}  AMTAR=${AMTAR-"${am_missing_run}tar"}
   
 if test -z "$install_sh"; then  install_sh=${install_sh-"$am_aux_dir/install-sh"}
    install_sh="$ac_aux_dir/install-sh"  
    test -f "$install_sh" || install_sh="$ac_aux_dir/install.sh"  
    test -f "$install_sh" || install_sh="${am_missing_run}${ac_auxdir}/install-sh"  
          install_sh="`echo $install_sh | sed -e 's/\${SHELL}//'`"  
 fi  
   
 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" 1>&6  INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 echo "configure:1029: checking whether to enable maintainer-specific portions of Makefiles" 1>&5  
   # We need awk for the "check" target.  The system "awk" is bad on
   # some platforms.
   
                                                       ac_config_headers="$ac_config_headers config.h:config.in"
   
   echo "$as_me:1627: checking whether to enable maintainer-specific portions of Makefiles" >&5
   echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.      # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
 if test "${enable_maintainer_mode+set}" = set; then  if test "${enable_maintainer_mode+set}" = set; then
   enableval="$enable_maintainer_mode"    enableval="$enable_maintainer_mode"
   USE_MAINTAINER_MODE=$enableval    USE_MAINTAINER_MODE=$enableval
 else  else
   USE_MAINTAINER_MODE=no    USE_MAINTAINER_MODE=no
 fi  fi;
   echo "$ECHO_T""$USE_MAINTAINER_MODE" 1>&6    echo "$as_me:1636: result: $USE_MAINTAINER_MODE" >&5
   echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   
 if test $USE_MAINTAINER_MODE = yes; then  if test $USE_MAINTAINER_MODE = yes; then
   MAINTAINER_MODE_TRUE=    MAINTAINER_MODE_TRUE=
Line 1044  else
Line 1645  else
 fi  fi
   MAINT=$MAINTAINER_MODE_TRUE    MAINT=$MAINTAINER_MODE_TRUE
   
 gmp_configm4="config.m4"  
 gmp_tmpconfigm4=cnfm4.tmp  
 gmp_tmpconfigm4i=cnfm4i.tmp  
 gmp_tmpconfigm4p=cnfm4p.tmp  
 test -f $gmp_tmpconfigm4 && rm $gmp_tmpconfigm4  
 test -f $gmp_tmpconfigm4i && rm $gmp_tmpconfigm4i  
 test -f $gmp_tmpconfigm4p && rm $gmp_tmpconfigm4p  
   
 # Check whether --enable-assert or --disable-assert was given.  # Check whether --enable-assert or --disable-assert was given.
 if test "${enable_assert+set}" = set; then  if test "${enable_assert+set}" = set; then
   enableval="$enable_assert"    enableval="$enable_assert"
   case "${enableval}" in    case $enableval in
 yes|no) ;;  yes|no) ;;
 *) { echo "configure: error: bad value ${enableval} for --enable-assert, need yes or no" 1>&2; exit 1; } ;;  *) { { echo "$as_me:1653: error: bad value $enableval for --enable-assert, need yes or no" >&5
   echo "$as_me: error: bad value $enableval for --enable-assert, need yes or no" >&2;}
      { (exit 1); exit 1; }; } ;;
 esac  esac
 else  else
   enable_assert=no    enable_assert=no
 fi  fi;
   
 if test "$enable_assert" = "yes"; then  if test "$enable_assert" = "yes"; then
   cat >>confdefs.h <<\EOF  
   cat >>confdefs.h <<\EOF
 #define WANT_ASSERT 1  #define WANT_ASSERT 1
 EOF  EOF
   
Line 1073  fi
Line 1669  fi
 # Check whether --enable-alloca or --disable-alloca was given.  # Check whether --enable-alloca or --disable-alloca was given.
 if test "${enable_alloca+set}" = set; then  if test "${enable_alloca+set}" = set; then
   enableval="$enable_alloca"    enableval="$enable_alloca"
   case "${enableval}" in    case $enableval in
 yes|no) ;;  alloca|malloc-reentrant|malloc-notreentrant) ;;
 *) { echo "configure: error: bad value ${enableval} for --enable-alloca, need yes or no" 1>&2; exit 1; } ;;  yes|no|reentrant|notreentrant) ;;
   debug) ;;
   *)
     { { echo "$as_me:1677: error: bad value $enableval for --enable-alloca, need one of:
   yes no reentrant notreentrant alloca malloc-reentrant malloc-notreentrant debug" >&5
   echo "$as_me: error: bad value $enableval for --enable-alloca, need one of:
   yes no reentrant notreentrant alloca malloc-reentrant malloc-notreentrant debug" >&2;}
      { (exit 1); exit 1; }; } ;;
 esac  esac
 else  else
   enable_alloca=yes    enable_alloca=reentrant
 fi  fi;
   
 if test "$enable_alloca" = "no"; then  # IMPROVE ME: The default for C++ is disabled.  The tests currently
   cat >>confdefs.h <<\EOF  # performed below for a working C++ compiler are not particularly strong,
 #define USE_STACK_ALLOC 1  # and in general can't be expected to get the right setup on their own.  The
 EOF  # most significant problem is getting the ABI the same.  Defaulting CXXFLAGS
   # to CFLAGS takes only a small step towards this.  It's also probably worth
   # worrying whether the C and C++ runtimes from say gcc and a vendor C++ can
   # work together.  Some rather broken C++ installations were encountered
   # during testing, and though such things clearly aren't GMP's problem, if
   # --enable-cxx=detect were to be the default then some careful checks of
   # which, if any, C++ compiler on the system is up to scratch would be
   # wanted.
   #
   # Check whether --enable-cxx or --disable-cxx was given.
   if test "${enable_cxx+set}" = set; then
     enableval="$enable_cxx"
     case $enableval in
   yes|no|detect) ;;
   *) { { echo "$as_me:1704: error: bad value $enableval for --enable-cxx, need yes/no/detect" >&5
   echo "$as_me: error: bad value $enableval for --enable-cxx, need yes/no/detect" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   else
     enable_cxx=no
   fi;
   
 fi  
   
 # Check whether --enable-fft or --disable-fft was given.  # Check whether --enable-fft or --disable-fft was given.
 if test "${enable_fft+set}" = set; then  if test "${enable_fft+set}" = set; then
   enableval="$enable_fft"    enableval="$enable_fft"
   case "${enableval}" in    case $enableval in
 yes|no) ;;  yes|no) ;;
 *) { echo "configure: error: bad value ${enableval} for --enable-fft, need yes or no" 1>&2; exit 1; } ;;  *) { { echo "$as_me:1717: error: bad value $enableval for --enable-fft, need yes or no" >&5
   echo "$as_me: error: bad value $enableval for --enable-fft, need yes or no" >&2;}
      { (exit 1); exit 1; }; } ;;
 esac  esac
 else  else
   enable_fft=no    enable_fft=yes
 fi  fi;
   
 if test "$enable_fft" = "yes"; then  if test "$enable_fft" = "yes"; then
   cat >>confdefs.h <<\EOF  
   cat >>confdefs.h <<\EOF
 #define WANT_FFT 1  #define WANT_FFT 1
 EOF  EOF
   
Line 1109  fi
Line 1733  fi
 # Check whether --enable-mpbsd or --disable-mpbsd was given.  # Check whether --enable-mpbsd or --disable-mpbsd was given.
 if test "${enable_mpbsd+set}" = set; then  if test "${enable_mpbsd+set}" = set; then
   enableval="$enable_mpbsd"    enableval="$enable_mpbsd"
   case "${enableval}" in    case $enableval in
 yes|no) ;;  yes|no) ;;
 *) { echo "configure: error: bad value ${enableval} for --enable-mpbsd, need yes or no" 1>&2; exit 1; } ;;  *) { { echo "$as_me:1738: error: bad value $enableval for --enable-mpbsd, need yes or no" >&5
   echo "$as_me: error: bad value $enableval for --enable-mpbsd, need yes or no" >&2;}
      { (exit 1); exit 1; }; } ;;
 esac  esac
 else  else
   enable_mpbsd=no    enable_mpbsd=no
 fi  fi;
   
 if test "$enable_mpbsd" = "yes"; then  if test "$enable_mpbsd" = "yes"; then
   WANT_MPBSD_TRUE=    WANT_MPBSD_TRUE=
Line 1128  fi
Line 1754  fi
 # Check whether --enable-mpfr or --disable-mpfr was given.  # Check whether --enable-mpfr or --disable-mpfr was given.
 if test "${enable_mpfr+set}" = set; then  if test "${enable_mpfr+set}" = set; then
   enableval="$enable_mpfr"    enableval="$enable_mpfr"
   case "${enableval}" in    case $enableval in
 yes|no) ;;  yes|no) ;;
 *) { echo "configure: error: bad value ${enableval} for --enable-mpfr, need yes or no" 1>&2; exit 1; } ;;  *) { { echo "$as_me:1759: error: bad value $enableval for --enable-mpfr, need yes or no" >&5
   echo "$as_me: error: bad value $enableval for --enable-mpfr, need yes or no" >&2;}
      { (exit 1); exit 1; }; } ;;
 esac  esac
 else  else
   enable_mpfr=no    enable_mpfr=no
 fi  fi;
   
 if test "$enable_mpfr" = "yes"; then  if test "$enable_mpfr" = "yes"; then
   WANT_MPFR_TRUE=    WANT_MPFR_TRUE=
Line 1144  else
Line 1772  else
   WANT_MPFR_FALSE=    WANT_MPFR_FALSE=
 fi  fi
   
 os_64bit="no"  # Check whether --enable-nails or --disable-nails was given.
 cclist="gcc cc"         # FIXME: Prefer c89 to cc.  if test "${enable_nails+set}" = set; then
 gmp_cflags_gcc="-g -O2"    enableval="$enable_nails"
 gmp_cflags64_gcc="-g -O2"    case $enableval in
 gmp_cflags_cc="-g"  yes|no|[0-9]|[0-9][0-9]) ;;
 gmp_cflags64_cc="-g"  *) { { echo "$as_me:1780: error: bad value $enableval for --enable-nails, need yes/no/number" >&5
   echo "$as_me: error: bad value $enableval for --enable-nails, need yes/no/number" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   else
     enable_nails=no
   fi;
   
 case "$target" in  case $enable_nails in
   # Alpha  yes) GMP_NAIL_BITS=2 ;;
   alpha*-cray-unicos*)  no)  GMP_NAIL_BITS=0 ;;
     # Don't perform any assembly syntax tests on this beast.  *)   GMP_NAIL_BITS=$enable_nails ;;
     gmp_no_asm_syntax_testing=yes  esac
     cclist=cc  
     gmp_cflags_cc="$gmp_cflags_cc -O"  # Check whether --enable-profiling or --disable-profiling was given.
   if test "${enable_profiling+set}" = set; then
     enableval="$enable_profiling"
     case $enableval in
   no|prof|gprof) ;;
   *) { { echo "$as_me:1799: error: bad value $enableval for --enable-profiling, need no/prof/gprof" >&5
   echo "$as_me: error: bad value $enableval for --enable-profiling, need no/prof/gprof" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   else
     enable_profiling=no
   fi;
   
   echo "define(<WANT_PROFILING>,<\`$enable_profiling'>)" >> $gmp_tmpconfigm4
   
   # -fomit-frame-pointer is incompatible with -pg, on x86s at least
   if test "$enable_profiling" = gprof; then
     fomit_frame_pointer=
   else
     fomit_frame_pointer="-fomit-frame-pointer"
   fi
   
   # Check whether --with-readline or --without-readline was given.
   if test "${with_readline+set}" = set; then
     withval="$with_readline"
     case $withval in
   yes|no|detect) ;;
   *) { { echo "$as_me:1821: error: bad value $withval for --with-readline, need yes/no/detect" >&5
   echo "$as_me: error: bad value $withval for --with-readline, need yes/no/detect" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   else
     with_readline=detect
   fi;
   
   # Table of compilers, options, and mpn paths.  This code has various related
   # purposes
   #
   #   - better default CC/CFLAGS selections than autoconf otherwise gives
   #   - default CC/CFLAGS selections for extra CPU types specific to GMP
   #   - a few tests for known bad compilers
   #   - choice of ABIs on suitable systems
   #   - selection of corresponding mpn search path
   #
   # After GMP specific searches and tests, the standard autoconf AC_PROG_CC is
   # called.  User selections of CC etc are respected.
   #
   # Care is taken not to use macros like AC_TRY_COMPILE during the GMP
   # pre-testing, since they of course depend on AC_PROG_CC, and also some of
   # them cache their results, which is not wanted.
   #
   # The ABI selection mechanism is unique to GMP.  All that reaches autoconf
   # is a different selection of CC/CFLAGS according to the best ABI the system
   # supports, and/or what the user selects.  Naturally the mpn assembler code
   # selected is very dependent on the ABI.
   #
   # The closest the standard tools come to a notion of ABI is something like
   # "sparc64" which encodes a CPU and an ABI together.  This doesn't seem to
   # scale well for GMP, where exact CPU types like "ultrasparc2" are wanted,
   # separate from the ABI used on them.
   #
   #
   # The variables set here are
   #
   #   cclist              the compiler choices
   #   xx_cflags           flags for compiler xx
   #   xx_cppflags         cpp flags for compiler xx
   #   xx_cflags_optlist   list of sets of optional flags
   #   xx_cflags_yyy       set yyy of optional flags for compiler xx
   #   xx_ldflags          -Wc,-foo flags for libtool linking with compiler xx
   #   ar_flags            extra flags for $AR
   #   nm_flags            extra flags for $NM
   #   limb                limb size, can be "longlong"
   #   path                mpn search path
   #   extra_functions     extra mpn functions
   #
   # Suppose xx_cflags_optlist="arch", then flags from $xx_cflags_arch are
   # tried, and the first flag that works will be used.  An optlist like "arch
   # cpu optimize" can be used to get multiple independent sets of flags tried.
   # The first that works from each will be used.  If no flag in a set works
   # then nothing from that set is added.
   #
   # For multiple ABIs, the scheme extends as follows.
   #
   #   abilist               set of ABI choices
   #   cclist_aa             compiler choices in ABI aa
   #   xx_aa_cflags          flags for xx in ABI aa
   #   xx_aa_cppflags        cpp flags for xx in ABI aa
   #   xx_aa_cflags_optlist  list of sets of optional flags in ABI aa
   #   xx_aa_cflags_yyy      set yyy of optional flags for compiler xx in ABI aa
   #   xx_aa_ldflags         -Wc,-foo flags for libtool linking
   #   ar_aa_flags           extra flags for $AR in ABI aa
   #   nm_aa_flags           extra flags for $NM in ABI aa
   #   limb_aa               limb size in ABI aa, can be "longlong"
   #   path_aa               mpn search path in ABI aa
   #   extra_functions_aa    extra mpn functions in ABI aa
   #
   # As a convenience, the unadorned xx_cflags (etc) are used for the last ABI
   # in ablist, if an xx_aa_cflags for that ABI isn't given.  For example if
   # abilist="64 32" then $cc_64_cflags will be used for the 64-bit ABI, but
   # for the 32-bit either $cc_32_cflags or $cc_cflags is used, whichever is
   # defined.  This makes it easy to add some 64-bit compilers and flags to an
   # unadorned 32-bit set.
   #
   # limb=longlong (or limb_aa=longlong) applies to all compilers within that
   # ABI.  It won't work to have some needing long long and some not, since a
   # single instantiated gmp.h will be used by both.
   #
   # SPEED_CYCLECOUNTER, cyclecounter_size and CALLING_CONVENTIONS_OBJS are
   # also set here, with an ABI suffix.
   #
   #
   #
   # A table-driven approach like this to mapping cpu type to good compiler
   # options is a bit of a maintenance burden, but there's not much uniformity
   # between options specifications on different compilers.  Some sort of
   # separately updatable tool might be cute.
   #
   # The use of lots of variables like this, direct and indirect, tends to
   # obscure when and how various things are done, but unfortunately it's
   # pretty much the only way.  If shell subroutines were portable then actual
   # code like "if this .. do that" could be written, but attempting the same
   # with full copies of GMP_PROG_CC_WORKS etc expanded at every point would
   # hugely bloat the output.
   
   # abilist needs to be non-empty, "standard" is just a generic name here
   abilist="standard"
   
   # FIXME: We'd like to prefer an ANSI compiler, perhaps by preferring
   # c89 over cc here.  But note that on HP-UX c89 provides a castrated
   # environment, and would want to be excluded somehow.  Maybe
   # AC_PROG_CC_STDC already does enough to stick cc into ANSI mode and
   # we don't need to worry.
   #
   cclist="gcc cc"
   
   gcc_cflags="-g -O2"
   gcc_64_cflags="-g -O2"
   cc_cflags="-O"
   cc_64_cflags="-O"
   
   SPEED_CYCLECOUNTER_OBJ=
   cyclecounter_size=2
   
   HAVE_HOST_CPU_FAMILY_power=0
   
   HAVE_HOST_CPU_FAMILY_powerpc=0
   
   case $host in
   
     a29k*-*-*)
       path="a29k"
     ;;      ;;
   alpha*-*-osf*)  
     flavour=`echo $target_cpu | sed 's/^alpha//g'`  
     if test -n "$flavour"; then  
       case $flavour in     # compilers don't seem to understand `ev67' and such.  
         ev6? | ev7*) flavour=ev6;;  
       esac  
       gmp_optcflags_gcc="-mcpu=$flavour"  
       # FIXME: We shouldn't fail fatally if none of these work, but that's  
       # how xoptcflags work and we don't have any other mechanism right now.  
       # Why do we need this here and not for alpha*-*-* below?  
       gmp_xoptcflags_gcc="-Wa,-arch,${flavour} -Wa,-m${flavour}"  
       gmp_optcflags_cc="-arch $flavour -tune $flavour"  
     fi  
     ;;  
   alpha*-*-*)    alpha*-*-*)
     cclist="gcc"      case $host_cpu in
     flavour=`echo $target_cpu | sed 's/^alpha//g'`        alphaev5* | alphapca5*) path="alpha/ev5 alpha" ;;
     if test -n "$flavour"; then        alphaev6*)             path="alpha/ev6 alpha/ev5 alpha" ;;
       case $flavour in        *)                     path="alpha" ;;
         ev6? | ev7*) flavour=ev6;;      esac
       esac      extra_functions="cntlz"
       gmp_optcflags_gcc="-mcpu=$flavour"      gcc_cflags_optlist="cpu asm"
     fi  
     ;;  
   # Cray vector machines.  This must come after alpha* so that we can  
   # recognize present and future vector processors with a wildcard.  
   *-cray-unicos*)  
     # Don't perform any assembly syntax tests on this beast.  
     gmp_no_asm_syntax_testing=yes  
     cclist=cc  
     # Don't inherit default gmp_cflags_cc value; it comes with -g which  
     # disables all optimization on Cray vector systems  
     gmp_cflags_cc="-O"  
     ;;  
   
   # AMD and Intel x86 configurations      # gcc 2.7.2.3 doesn't know any -mcpu= for alpha, apparently.
   i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)      # gcc 2.95 and 3.0 know ev4, ev5, ev56, pca56, ev6.
     # Rumour has it -O2 used to give worse register allocation than just -O.      # gcc 3.1 pre-releases add ev67.
     gmp_cflags_gcc="-g -O -fomit-frame-pointer"      #
       case $host_cpu in
         alpha)        gcc_cflags_cpu="-mcpu=ev4" ;;
         alphaev5)     gcc_cflags_cpu="-mcpu=ev5" ;;
         alphaev56)    gcc_cflags_cpu="-mcpu=ev56" ;;
         alphapca56 | alphapca57)
                       gcc_cflags_cpu="-mcpu=pca56" ;;
         alphaev6)     gcc_cflags_cpu="-mcpu=ev6" ;;
         alphaev67 | alphaev68)
                       gcc_cflags_cpu="-mcpu=ev67 -mcpu=ev6" ;;
       esac
   
     case "${target}" in      # On old versions of gcc, which don't know -mcpu=, we believe an
       i386*-*-*)    gmp_optcflags_gcc="-mcpu=i386 -march=i386";;      # explicit -Wa,-mev5 etc will be necessary to put the assembler in
       i486*-*-*)    gmp_optcflags_gcc="-mcpu=i486 -march=i486";;      # the right mode for our .asm files and longlong.h asm blocks.
       i586*-*-* | pentium-*-* | pentiummmx-*-*)      #
                     gmp_optcflags_gcc="-mcpu=pentium -march=pentium";;      # On newer versions of gcc, when -mcpu= is known, we must give a
       # -Wa which is at least as high as the code gcc will generate,
       # since the options ordering seems to make our setting override
       # that passed by gcc.
       #
       # gas prior to 2.14 doesn't accept -mev67, but -mev6 seems enough for
       # ctlz and cttz (in 2.10.0 at least).
       #
       # OSF `as' accepts ev68 but stupidly treats it as ev4.  -arch only seems
       # to affect insns like ldbu which are expanded as macros when necessary.
       # Insns like ctlz which were never available as macros are always
       # accepted and always generate their plain code.
       #
       case $host_cpu in
         alpha)        gcc_cflags_asm="-Wa,-arch,ev4 -Wa,-mev4" ;;
         alphaev5)     gcc_cflags_asm="-Wa,-arch,ev5 -Wa,-mev5" ;;
         alphaev56)    gcc_cflags_asm="-Wa,-arch,ev56 -Wa,-mev56" ;;
         alphapca56 | alphapca57)
                       gcc_cflags_asm="-Wa,-arch,pca56 -Wa,-mpca56" ;;
         alphaev6)     gcc_cflags_asm="-Wa,-arch,ev6 -Wa,-mev6" ;;
         alphaev67 | alphaev68)
                       gcc_cflags_asm="-Wa,-arch,ev67 -Wa,-mev67 -Wa,-arch,ev6 -Wa,-mev6" ;;
       esac
   
       # -march=pentiumpro not used because mpz/powm.c (swox cvs rev 1.4)      # It might be better to ask "cc" whether it's Cray C or DEC C,
       # tickles a bug in gcc 2.95.2 (believed fixed in 2.96).      # instead of relying on the OS part of $host.  But it's hard to
       i686*-*-* | pentiumpro-*-* | pentium[23]-*-*)      # imagine either of those compilers anywhere except their native
                     gmp_optcflags_gcc="-mcpu=pentiumpro";;      # systems.
       #
       case $host in
         *-cray-unicos*)
           cc_cflags="-O"          # no -g, it silently disables all optimizations
   
       k6*-*-*)      gmp_optcflags_gcc="-mcpu=k6 -march=k6";;  echo "include_mpn(\`alpha/unicos.m4')" >> $gmp_tmpconfigm4i
   
       # Athlon instruction costs are close to p6: 3 cycle load latency, 4-6          # Don't perform any assembly syntax tests on this beast.
       # cycle mul, 40 cycle div, pairable adc, ...          gmp_asm_syntax_testing=no
       # FIXME: Change this when gcc gets something specific for Athlon.          ;;
       # -march=pentiumpro not used, per i686 above.        *-*-osf*)
       athlon-*-*)   gmp_optcflags_gcc="-mcpu=pentiumpro";;  
   echo "include_mpn(\`alpha/default.m4')" >> $gmp_tmpconfigm4i
   
           cc_cflags=""
           cc_cflags_optlist="opt cpu"
   
           # not sure if -fast works on old versions, so make it optional
           cc_cflags_opt="-fast -O2"
   
           # DEC C V5.9-005 knows ev4, ev5, ev56, pca56, ev6.
           # Compaq C V6.3-029 adds ev67.
           #
           case $host_cpu in
             alpha)       cc_cflags_cpu="-arch~ev4~-tune~ev4" ;;
             alphaev5)    cc_cflags_cpu="-arch~ev5~-tune~ev5" ;;
             alphaev56)   cc_cflags_cpu="-arch~ev56~-tune~ev56" ;;
             alphapca56 | alphapca57)
                          cc_cflags_cpu="-arch~pca56~-tune~pca56" ;;
             alphaev6)    cc_cflags_cpu="-arch~ev6~-tune~ev6" ;;
             alphaev67 | alphaev68)
                          cc_cflags_cpu="-arch~ev67~-tune~ev67 -arch~ev6~-tune~ev6" ;;
           esac
           ;;
         *)
   
   echo "include_mpn(\`alpha/default.m4')" >> $gmp_tmpconfigm4i
   
           ;;
     esac      esac
   
       case $host in
         *-*-unicos*)
           # tune/alpha.asm assumes int==4bytes but unicos uses int==8bytes
           ;;
         *)
           SPEED_CYCLECOUNTER_OBJ=alpha.lo
           cyclecounter_size=1 ;;
       esac
     ;;      ;;
   
   # Sparc    # Cray vector machines.
   ultrasparc*-*-solaris2.[7-9] | sparcv9-*-solaris2.[7-9])    # This must come after alpha* so that we can recognize present and future
     os_64bit=yes    # vector processors with a wildcard.
     gmp_cflags_gcc="$gmp_cflags_gcc -Wa,-xarch=v8plus"    *-cray-unicos*)
     gmp_xoptcflags_gcc="-mcpu=v9 -mcpu=v8 -mv8"      gmp_asm_syntax_testing=no
     gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"      cclist="cc"
     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"      # We used to have -hscalar0 here as a workaround for miscompilation of
     gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"      # mpz/import.c, but let's hope Cray fixes their bugs instead, since
       # -hscalar0 causes disastrously poor code to be generated.
       cc_cflags="-O3 -hnofastmd -htask0 -Wa,-B"
       path="cray"
     ;;      ;;
   sparc64-*-linux*)  
     # Need to think more about the options passed here.  This isn't good for    arm*-*-*)
     # some sparc64 linux distros, since we end up not optimizing when all the      path="arm"
     # options below fail.      gcc_cflags="$gcc_cflags $fomit_frame_pointer"
     os_64bit=yes      gcc_testlist="gcc-arm-umodsi"
     gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"      extra_functions="udiv"
     gmp_cflags_gcc="$gmp_cflags_gcc -m32"  
     gmp_xoptflags_gcc="-mcpu=ultrasparc -mvis"  echo "include_mpn(\`arm/arm-defs.m4')" >> $gmp_tmpconfigm4i
   
     ;;      ;;
   ultrasparc*-*-* | sparcv9-*-*)  
     gmp_cflags_gcc="$gmp_cflags_gcc -Wa,-xarch=v8plus"    clipper*-*-*)
     gmp_xoptcflags_gcc="-mcpu=v9 -mcpu=v8 -mv8"      path="clipper"
     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"  
     ;;      ;;
   sparcv8*-*-solaris2.* | microsparc*-*-solaris2.*)  
     gmp_cflags_gcc="$gmp_cflags_gcc"    # Fujitsu
     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"    f30[01]-fujitsu-sysv*)
     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4"      cclist="gcc vcc"
       # FIXME: flags for vcc?
       vcc_cflags="-g"
       path="fujitsu"
     ;;      ;;
   sparcv8*-*-* | microsparc*-*-*)               # SunOS, Linux, *BSD  
     cclist="gcc acc cc"    hppa*-*-*)
     gmp_cflags_gcc="$gmp_cflags_gcc"      # HP cc is K&R by default, but AM_C_PROTOTYPES will add "-Ae", or "-Aa
     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"      # -D_HPUX_SOURCE", to put it into ansi mode, if possible.
     gmp_cflags_acc="-g -O2 -cg92"  
     gmp_cflags_cc="-O2"         # FIXME: Flag for v8?      # default to pa7100
       gcc_cflags="-g -O2"
       gcc_cflags_optlist="arch"
       gcc_cflags_arch="-mpa-risc-1-1"
       cc_cflags="+DA1.1 +O2"
       path="pa32/hppa1_1/pa7100 pa32/hppa1_1 pa32"
       extra_functions="udiv_qrnnd"
   
       SPEED_CYCLECOUNTER_OBJ=hppa.lo
       cyclecounter_size=1
   
       case $host in
         hppa1.0*-*-*)
           # override back to plain 1.0
           gcc_cflags_optlist=
           cc_cflags="+O2"
           path="pa32"
           ;;
         hppa7000*-*-*)
           path="pa32/hppa1_1 pa32"
           ;;
   
         hppa2.0*-*-*)
           abilist="2.0n 1.0"
   
           # FIXME: It's suspected that an assembler feature test might be
           # necessary before -mpa-risc-2-0 can be enabled, since it's not
           # clear (as of gcc 2.95.2) whether that option always gives an
           # explicit ".level 2.0" or whatever to the assembler.  In any case,
           # under gcc 2.95.2 it only enables a few extra floating point insns,
           # so it's not very important.
           #
           # gmp_cflags_arch="-mpa-risc-2-0 -mpa-risc-1-1"
   
           # FIXME: path should be "pa32/hppa2_0 pa32/hppa1_1 pa32"
           path="pa32/hppa2_0 pa32/hppa1_1/pa7100 pa32/hppa1_1 pa32"
   
           # no gcc support for long long in 2.0n
           cclist_20n="cc"
           # +O3 causes problems with fp rounding in mpfr/tests/tdiv.
           cc_20n_cflags="+DA2.0 +e +O2"
           cc_20n_testlist="hpc-hppa-2-0"
           path_20n="pa64"
           limb_20n=longlong
           extra_functions_20n="umul_ppmm udiv_qrnnd"
           SPEED_CYCLECOUNTER_OBJ_20n=hppa2.lo
           cyclecounter_size_20n=2
   
           # ABI=2.0w is available for hppa2.0w and hppa2.0, but not for hppa2.0n.
           case $host in
           hppa2.0n-*-*) ;;
           *)
             # HPUX 11 or up is required to run 2.0w.  Not sure about other
             # systems (GNU/Linux for instance), but lets assume they're ok.
             case $host in
             *-*-hpux1[1-9]*) abilist="2.0w $abilist" ;;
             *-*-hpux*)                                 ;;
             *)                 abilist="2.0w $abilist" ;;
             esac
   
             # gcc support for 2.0w is in progress
             cclist_20w="cc"
             cc_20w_cflags="+DD64 +O2" # +O3 causes problems with fp rounding in mpfr/tests/tdiv.
             cc_20w_testlist="hpc-hppa-2-0"
             path_20w="pa64"
             extra_functions_20w="umul_ppmm udiv_qrnnd"
             SPEED_CYCLECOUNTER_OBJ_20w=hppa2w.lo
             cyclecounter_size_20w=2
             ;;
           esac
           ;;
       esac
     ;;      ;;
   supersparc*-*-solaris2.*)  
     gmp_cflags_gcc="$gmp_cflags_gcc -DSUPERSPARC"    i960*-*-*)
     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"      path="i960"
     gmp_cflags_cc="-xtarget=native -xarch=v8 -xO4 -DSUPERSPARC"  
     ;;      ;;
   supersparc*-*-*)              # SunOS, Linux, *BSD  
     cclist="gcc acc cc"    ia64*-*-*)
     gmp_cflags_gcc="$gmp_cflags_gcc -DSUPERSPARC"      path="ia64"
     gmp_xoptcflags_gcc="-mcpu=v8 -mv8"  
     gmp_cflags_acc="-g -O2 -cg92 -DSUPERSPARC"  echo "include_mpn(\`ia64/default.m4')" >> $gmp_tmpconfigm4i
     gmp_cflags_cc="-O2 -DSUPERSPARC"    # FIXME: Flag for v8?  
       SPEED_CYCLECOUNTER_OBJ=ia64.lo
     ;;      ;;
   *sparc*-*-*)  
     cclist="gcc acc cc"    # Motorola 68k
     gmp_cflags_acc="-g -O2"    #
     gmp_cflags_cc="-g -O2"    m68*-*-*)
   
   echo "include_mpn(\`m68k/m68k-defs.m4')" >> $gmp_tmpconfigm4i
   
       gcc_cflags="-g $fomit_frame_pointer"
       gcc_cflags_optlist="optimize arch"
       gcc_cflags_optimize="-O2"   # munged below on gcc 2.95.x
   
       # gcc 2.7.2 doesn't know -m68060 or -mcpu32, so let them fall back
       # appropriately.
       # FIXME: Maybe "-m68020 -mnobitfield" would suit cpu32 on 2.7.2.
       #
       case $host in
       m68020-*-*)  gcc_cflags_arch="-m68020" ;;
       m68030-*-*)  gcc_cflags_arch="-m68030" ;;
       m68040-*-*)  gcc_cflags_arch="-m68040" ;;
       m68060-*-*)  gcc_cflags_arch="-m68060 -m68040" ;;
       m68360-*-*)  gcc_cflags_arch="-mcpu32 -m68000" ;;
       *)           gcc_cflags_arch="-m68000" ;;
       esac
   
       # FIXME: m68k/mc68020 looks like it's ok for cpu32, but this wants to be
       # tested.  Will need to introduce an m68k/cpu32 if m68k/mc62020 ever uses
       # the bitfield instructions.
       case $host in
       m680[2346]0-*-* | m68360-*-*)  path="m68k/mc68020 m68k"
                                        extra_functions="udiv umul" ;;
       *)                               path="m68k" ;;
       esac
     ;;      ;;
   
   # POWER/PowerPC    # Motorola 88k
   powerpc64-*-aix*)    m88k*-*-*)
     cclist="gcc xlc"      path="m88k"
     gmp_cflags_gcc="$gmp_cflags_gcc -maix64 -mpowerpc64"  
     gmp_cflags_xlc="-g -O2 -q64 -qtune=pwr3"  
     ;;      ;;
   powerpc*-*-aix*)    m88110*-*-*)
     cclist="gcc xlc"      # FIXME: Use `-O2'?
     gmp_cflags_gcc="$gmp_cflags_gcc -mpowerpc"      gcc_cflags="-g -O -m88110"
     gmp_cflags_xlc="$gmp_cflags_cc -qarch=ppc -O2"      path="m88k/mc88110 m88k"
     ;;      ;;
   power-*-aix*)  
     cclist="gcc xlc"    # National Semiconductor 32k
     gmp_cflags_gcc="$gmp_cflags_gcc -mpower"    ns32k*-*-*)
     gmp_cflags_xlc="$gmp_cflags_cc -qarch=pwr -O2"      path="ns32k"
     ;;      ;;
   powerpc64*-*-*)  
     gmp_cflags_gcc="$gmp_cflags_gcc -mpowerpc64"    # IRIX 5 and earlier can only run 32-bit o32.
     #
     # IRIX 6 and up always has a 64-bit mips CPU can run n32 or 64.  n32 is
     # preferred over 64, but only because that's been the default in past
     # versions of GMP.  The two are equally efficient.
     #
     # Linux kernel 2.2.13 arch/mips/kernel/irixelf.c has a comment about not
     # supporting n32 or 64.
     #
     # FIXME: It's necessary to pass -mabi or -n32 to the compiler when
     # linking.  Libtool used to strip them, hence the ldflags here.  It
     # looks like it has something equivalent itself now, so perhaps
     # these can be removed.
     #
     mips*-*-*)
       abilist="o32"
       gcc_cflags_optlist="abi"
       gcc_cflags_abi="-mabi=32"
       gcc_testlist="gcc-mips-o32"
       path="mips32"
       cc_cflags="-O2 -o32"   # no -g, it disables all optimizations
       extra_functions="umul"
       # this suits both mips32 and mips64
   
   echo "include_mpn(\`mips32/mips-defs.m4')" >> $gmp_tmpconfigm4i
   
       case $host in
         mips64*-*-* | mips*-*-irix6789*)
           abilist="n32 64 o32"
   
           cclist_n32="gcc cc"
           gcc_n32_cflags="-g -O2 -mabi=n32"
           gcc_n32_ldflags="-Wc,-mabi=n32"
           # Pass just -O1, MIPSpro 7.2.1 miscompiles mpn/generic/divrem_1.c
           # cvs version 1.20, for -O2 and -O3
           cc_n32_cflags="-O1 -n32"        # no -g, it disables all optimizations
           cc_n32_ldflags="-Wc,-n32"
           limb_n32=longlong
           path_n32="mips64"
           extra_functions_n32="umul"
   
           cclist_64="gcc cc"
           gcc_64_cflags="-g -O2 -mabi=64"
           gcc_64_ldflags="-Wc,-mabi=64"
           cc_64_cflags="-O2 -64"          # no -g, it disables all optimizations
           cc_64_ldflags="-Wc,-64"
           path_64="mips64"
           extra_functions_64="umul"
           ;;
       esac
       ;;
   
     # Darwin (powerpc-apple-darwin1.3) has gcc installed as cc.
     #
     # The darwin assembler doesn't accept "-mppc", so gcc_cflags_asm is
     # optional.  The right flag would be "-arch ppc" or some such, but that's
     # already the default.
     #
     # The darwin pre-compiling preprocessor is disabled with -no-cpp-precomp
     # since it doesn't like "__attribute__ ((mode (SI)))" etc in gmp-impl.h,
     # and so always ends up running the plain preprocessor anyway.  This could
     # be done in CPPFLAGS rather than CFLAGS, but there's not many places
     # preprocessing is done separately, and this is only a speedup, the normal
     # preprocessor gets run if there's any problems.
     #
     powerpc*-*-*)
     cat >>confdefs.h <<\EOF      cat >>confdefs.h <<\EOF
 #define _LONG_LONG_LIMB 1  #define HAVE_HOST_CPU_FAMILY_powerpc 1
 EOF  EOF
             ;;  
   powerpc*-*-*)      HAVE_HOST_CPU_FAMILY_powerpc=1
     gmp_cflags_gcc="$gmp_cflags_gcc -mpowerpc"      cclist="gcc cc"
       cc_cflags="-g -O2"
       gcc_cflags="-g -O2 -mpowerpc"
       gcc_cflags_optlist="asm precomp cpu"
       gcc_cflags_asm="-Wa,-mppc"
       gcc_cflags_precomp="-no-cpp-precomp"
       extra_functions="umul"
   
       case $host_cpu in
         powerpc740 | powerpc750 | powerpc7400)
           path="powerpc32/750 powerpc32" ;;
         *)
           path="powerpc32" ;;
       esac
   
       # gcc 2.7.2 knows -mcpu=403, 603, 604.
       # gcc 2.95 adds 401, 505, 602, 603e, ec603e, 604e, 620, 740, 750,
       #   801, 821, 823, 860.
       # gcc 3.0 adds 630, rs64a.
       # gcc 3.1 pre-releases add 405, 7400, 7450.
       #
       # FIXME: The way 603e falls back to 603 for gcc 2.7.2 should be
       # done for all the others too.  But what would be the correct
       # arrangements?
       #
       case $host_cpu in
         powerpc401)   gcc_cflags_cpu="-mcpu=401" ;;
         powerpc403)   gcc_cflags_cpu="-mcpu=403" ;;
         powerpc405)   gcc_cflags_cpu="-mcpu=405" ;;
         powerpc505)   gcc_cflags_cpu="-mcpu=505" ;;
         powerpc602)   gcc_cflags_cpu="-mcpu=602" ;;
         powerpc603)   gcc_cflags_cpu="-mcpu=603" ;;
         powerpc603e)  gcc_cflags_cpu="-mcpu=603e -mcpu=603" ;;
         powerpc604)   gcc_cflags_cpu="-mcpu=604" ;;
         powerpc604e)  gcc_cflags_cpu="-mcpu=604e -mcpu=604" ;;
         powerpc620)   gcc_cflags_cpu="-mcpu=620" ;;
         powerpc630)   gcc_cflags_cpu="-mcpu=630" ;;
         powerpc740)   gcc_cflags_cpu="-mcpu=740" ;;
         powerpc7400)  gcc_cflags_cpu="-mcpu=7400" ;;
         powerpc7450)  gcc_cflags_cpu="-mcpu=7450" ;;
         powerpc750)   gcc_cflags_cpu="-mcpu=750" ;;
         powerpc801)   gcc_cflags_cpu="-mcpu=801" ;;
         powerpc821)   gcc_cflags_cpu="-mcpu=821" ;;
         powerpc823)   gcc_cflags_cpu="-mcpu=823" ;;
         powerpc860)   gcc_cflags_cpu="-mcpu=860" ;;
       esac
   
       case $host in
         *-*-aix*)
           cclist="gcc xlc cc"
           xlc_cflags="-g -O2 -qmaxmem=20000"
           xlc_cflags_optlist="arch"
   
           # xlc (what version?) knows -qarch=ppc, ppcgr, 601, 602, 603, 604,
           # 403, rs64a
           # -qarch=ppc is needed, so ensure everything falls back to that.
           # FIXME: Perhaps newer versions know more flavours.
           #
           case $host_cpu in
             powerpc403)   xlc_cflags_arch="-qarch=403 -qarch=ppc" ;;
             powerpc602)   xlc_cflags_arch="-qarch=602 -qarch=ppc" ;;
             powerpc603)   xlc_cflags_arch="-qarch=603 -qarch=ppc" ;;
             powerpc603e)  xlc_cflags_arch="-qarch=603 -qarch=ppc" ;;
             powerpc604)   xlc_cflags_arch="-qarch=604 -qarch=ppc" ;;
             powerpc604e)  xlc_cflags_arch="-qarch=604 -qarch=ppc" ;;
             *)            xlc_cflags_arch="-qarch=ppc" ;;
           esac
           ;;
       esac
   
       case $host in
         powerpc64-*-* | powerpc64le-*-* | powerpc620-*-* | powerpc630-*-*)
           # On AIX a true 64-bit ABI is available.
           case $host in
             *-*-aix*)
               # Need -Wc to pass object type flags through to the linker.
               abilist="aix64 32"
               cclist_aix64="gcc xlc"
               gcc_aix64_cflags="-g -O2 -maix64 -mpowerpc64"
               gcc_aix64_cflags_optlist="cpu"
               gcc_aix64_ldflags="-Wc,-maix64"
               xlc_aix64_cflags="-g -O2 -q64 -qtune=pwr3 -qmaxmem=20000"
               xlc_aix64_ldflags="-Wc,-q64"
               # Must indicate object type to ar and nm
               ar_aix64_flags="-X64"
               nm_aix64_flags="-X64"
               path_aix64="powerpc64"
               extra_functions_aix64="umul"
               ;;
           esac
           ;;
       esac
     ;;      ;;
   
   # MIPS    # POWER
   mips-sgi-irix6.*)    power-*-* | power[12]-*-* | power2sc-*-*)
     os_64bit=yes      cat >>confdefs.h <<\EOF
     gmp_cflags64_gcc="-g -O2 -mabi=n32"  #define HAVE_HOST_CPU_FAMILY_power 1
     gmp_cflags64_cc="$gmp_cflags64_cc -O2 -n32"  EOF
   
       HAVE_HOST_CPU_FAMILY_power=1
       cclist="gcc"
       extra_functions="udiv_w_sdiv"
       path="power"
   
       gcc_cflags_optlist="cpu"
       case $host in
         power-*-*)    gcc_cflags_cpu="-mcpu=power -mpower" ;;
         power1-*-*)   gcc_cflags_cpu="-mcpu=rios1 -mpower" ;;
         power2-*-*)   gcc_cflags_cpu="-mcpu=rios2 -mpower" ;;
         power2sc-*-*) gcc_cflags_cpu="-mcpu=rsc   -mpower" ;;
       esac
       case $host in
       *-*-aix*)
         cclist="gcc xlc"
         xlc_cflags="-g -O2 -qarch=pwr -qmaxmem=20000"
         ;;
       esac
     ;;      ;;
   
   # Motorola 68k family    # FIXME: ppc601 isn't accepted by config.sub.
   m88110*-*-*)    ppc601-*-*)
     gmp_cflags_gcc="-g -O -m88110"          ;;      path="power powerpc32"
   m68*-*-*)  
     gmp_cflags_gcc="$gmp_cflags_gcc -fomit-frame-pointer"  
     ;;      ;;
   
   # HP    pyramid-*-*)
   hppa1.0*-*-*)      path="pyr"
     cclist="gcc c89 cc"  
     gmp_cflags_c89="$gmp_cflags_cc +O2"  
     gmp_cflags_cc="$gmp_cflags_cc +O2"  
     ;;      ;;
   hppa2.0w*-*-*)  
     cclist="c89 cc"    # IBM s/370 and similar
     gmp_cflags_c89="+DD64 +O3"    s3[6-9]0*-*-*)
     gmp_cflags_cc="+DD64 +O3"      gcc_cflags="-g -O2 $fomit_frame_pointer"
       path="s390"
       extra_functions="udiv_w_sdiv"
     ;;      ;;
   hppa2.0*-*-*)  
     os_64bit=yes    sh-*-*)   path="sh" ;;
     cclist="gcc c89 cc"    sh2-*-*)  path="sh/sh2 sh" ;;
     gmp_cflags64_gcc="$gmp_cflags64_gcc -mWHAT -D_LONG_LONG_LIMB"  
     # +O2 to cc triggers bug in mpz/powm.c (1.4)    *sparc*-*-*)
     gmp_cflags64_c89="+DA2.0 +e +O3 -D_LONG_LONG_LIMB"      # For cc and acc, -g disables -O, so it's not used
     gmp_cflags64_cc="+DA2.0 +e +O3 -D_LONG_LONG_LIMB"      cclist="gcc acc cc"
     gmp_cflags_c89="$gmp_cflags_cc +O2"      path="sparc32"
     gmp_cflags_cc="$gmp_cflags_cc +O2"      gcc_cflags="-g -O2"
       gcc_cflags_optlist="cpu"
       gcc_cflags_cpu=
       acc_cflags="-O2"
       cc_cflags="-O2"
   
   echo "include_mpn(\`sparc32/sparc-defs.m4')" >> $gmp_tmpconfigm4i
   
       # FIXME: This should be selected according to the CPU
       if test x${floating_point} = xno
       then extra_functions="udiv_nfp"
       else extra_functions="udiv_fp"
       fi
   
       case $host in
         sparcv8*-*-* | supersparc*-*-* | microsparc*-*-*)
           gcc_cflags_cpu="-mcpu=v8 -mv8"
           acc_cflags="-O2 -cg92"
           path="sparc32/v8 sparc32"
           extra_functions="udiv"
   
           case $host in
             *-*-solaris2.*)  cc_cflags="-xtarget=native -xarch=v8 -xO4" ;;
           esac
           case $host in
             supersparc*-*-*) path="sparc32/v8/supersparc sparc32/v8 sparc32" ;;
           esac
           ;;
   
         # sparc64-*-linux-gnu is a misnomer, since there's no support for any
         # 64-bit operations in user mode.  We assume that a future release
         # will have some 64-bit support and that the gcc options will be the
         # same as on solaris.
         #
         # cc -xarch actually controls the ABI, hence it must be v8 for 32-bit,
         # even though the chip is v9.
         #
         sparcv9*-*-* | ultrasparc*-*-* | sparc64-*-*)
           path="sparc32/v9 sparc32/v8 sparc32"
           extra_functions="udiv_fp"
   
           SPEED_CYCLECOUNTER_OBJ=sparcv9.lo
   
           gcc_cflags="-g -O2 -Wa,-xarch=v8plus"
           gcc_cflags_cpu="-mcpu=ultrasparc -mcpu=v9 -mcpu=v8 -mv8"
   
           cc_cflags="-xtarget=native -xarch=v8 -xO4"
   
           case $host in
             *-*-solaris2.[7-9])
               # solaris prior to 2.6 doesn't save registers properly, so the
               # 64-bit ABI is only available for 2.7 up
               abilist="64 32"
               path_64="sparc64"
               cclist_64="gcc cc"
               gcc_64_cflags="-g -O2 -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
               gcc_64_ldflags="-Wc,-m64"
               # -fast enables different optimizations depending compiler version
               # -fns=no and -fsimple=1 disables some transformations that
               # conflict with IEEE 754, which some compiler versions perform.
               cc_64_cflags="-fast -fns=no -fsimple=1 -xarch=v9"
               SPEED_CYCLECOUNTER_OBJ_64=sparcv9.lo
               cyclecounter_size_64=2
               ;;
             *-*-*bsd*)
               # NetBSD and OpenBSD sparc64
               abilist="64"
               extra_functions=
               path="sparc64"
               gcc_cflags="-g -O2"
               cyclecounter_size=2
               ;;
           esac
         ;;
       esac
     ;;      ;;
   
   # VAX    # VAX
   vax*-*-*)    vax*-*-*)
     gmp_cflags_gcc="$gmp_cflags_gcc -fomit-frame-pointer"      # Currently (version 3.0) gcc on vax always uses a frame pointer
       # (config/vax/vax.h FRAME_POINTER_REQUIRED=1), so -fomit-frame-pointer
       # will be ignored.
       #
       gcc_cflags="-g -O2 $fomit_frame_pointer"
       path="vax"
       extra_functions="udiv_w_sdiv"
     ;;      ;;
   
   # Fujitsu    # AMD and Intel x86 configurations
   f30[01]-fujitsu-sysv*)    i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)
     cclist="gcc vcc"      cat >>confdefs.h <<\EOF
     gmp_cflags_vcc="-g"         # FIXME: flags for vcc?  #define HAVE_HOST_CPU_FAMILY_x86 1
   EOF
   
       # Rumour has it gcc -O2 used to give worse register allocation than just
       # -O, but lets assume that's no longer true.
       gcc_cflags="-g -O2 $fomit_frame_pointer"
   
   echo "include_mpn(\`x86/x86-defs.m4')" >> $gmp_tmpconfigm4i
   
       extra_functions="udiv umul"
       CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
   
       # Availability of rdtsc is checked at run-time.
       SPEED_CYCLECOUNTER_OBJ=pentium.lo
   
       # gcc 2.7.2 only knows i386 and i486, using -m386 or -m486.  These
       # represent -mcpu= since -m486 doesn't generate 486 specific insns.  The
       # -mcpu= and -march= options will fail, leaving just -m486.
       #
       # gcc 2.95.2 adds k6, pentium and pentiumpro, and allows -march= and
       # -mcpu=.
       #
       # gcc 3.0 adds athlon.
       #
       # gcc 3.1 adds pentium4.
   
       # Defaults for anything not otherwise mentioned.
       path="x86"
       gcc_cflags_optlist="cpu arch"
       gcc_cflags_cpu="-mcpu=i486 -m486"
       gcc_cflags_arch="-march=i486"
   
       case $host in
         i386*-*-*)
           # Because i386 means generic x86, -mcpu=i486 is used since that
           # should better suit newer processors.
           # FIXME: How would a user ask for an actual 80386? Currently only by
           # using CFLAGS="-mcpu=386" or whatever.
           gcc_cflags_cpu="-mcpu=i486 -m486"
           gcc_cflags_arch="-march=i386"
           ;;
         i586*-*-* | pentium-*-* | pentiummmx-*-*)
           gcc_cflags_cpu="-mcpu=pentium -m486"
           gcc_cflags_arch="-march=pentium"
           ;;
         i686*-*-* | pentiumpro-*-* | pentium[23]-*-*)
           gcc_cflags_cpu="-mcpu=pentiumpro -mcpu=i486 -m486"
           gcc_cflags_arch="-march=pentiumpro -march=pentium -march=i486"
           ;;
         k6*-*-*)
           gcc_cflags_cpu="-mcpu=k6 -mcpu=i486 -m486"
           gcc_cflags_arch="-march=k6 -march=i486"
           ;;
         athlon-*-*)
           # Athlon instruction costs are close to P6 (3 cycle load latency,
           # 4-6 cycle mul, 40 cycle div, pairable adc, etc) so if gcc doesn't
           # know athlon (eg. 2.95.2 doesn't) then fall back on pentiumpro.
           gcc_cflags_cpu="-mcpu=athlon -mcpu=pentiumpro -mcpu=i486 -m486"
           gcc_cflags_arch="-march=athlon -march=pentiumpro -march=pentium -march=i486"
           ;;
         pentium4-*-*)
           # pentium4 is known to gcc 3.1 and up, not sure what cpu choice
           # would best suit previous versions, pentiumpro will get us cmov
           # from gcc 2.95.4 up, otherwise let's just try i486.
           gcc_cflags_cpu="-mcpu=pentium4 -mcpu=pentiumpro -mcpu=i486 -m486"
           gcc_cflags_arch="-march=pentium4 -march=pentiumpro -march=pentium -march=i486"
           ;;
       esac
   
       case $host in
         i486*-*-*)                  path="x86/i486 x86" ;;
         i586*-*-* | pentium-*-*)    path="x86/pentium x86" ;;
         pentiummmx-*-*)             path="x86/pentium/mmx x86/pentium x86" ;;
         i686*-*-* | pentiumpro-*-*) path="x86/p6 x86" ;;
         pentium2-*-*)   path="x86/p6/mmx x86/p6 x86" ;;
         pentium3-*-*)   path="x86/p6/p3mmx x86/p6/mmx x86/p6 x86";;
         k6[23]*-*-*)  path="x86/k6/k62mmx x86/k6/mmx x86/k6 x86" ;;
         k6*-*-*)        path="x86/k6/mmx x86/k6 x86" ;;
         athlon-*-*)     path="x86/k7/mmx x86/k7 x86" ;;
         pentium4-*-*)   path="x86/pentium4/sse2 x86/pentium4/mmx x86/pentium4 x86" ;;
       esac
     ;;      ;;
   
     # FIXME: z8kx won't get through config.sub.  Could make 16 versus 32 bit
     # limb an ABI option perhaps.
     z8kx*-*-*)
       path="z8000x"
       extra_functions="udiv_w_sdiv"
       ;;
     z8k*-*-*)
       path="z8000"
       extra_functions="udiv_w_sdiv"
       ;;
   
     # Special CPU "none" selects generic C.  -DNO_ASM is used to disable gcc
     # asm blocks in longlong.h (since they're driven by cpp pre-defined
     # symbols like __alpha rather than the configured $host_cpu).
     #
     none-*-*)
       abilist="long longlong"
       cclist_long=$cclist
       gcc_long_cflags=$gcc_cflags
       gcc_long_cppflags="-DNO_ASM"
       cc_long_cflags=$cc_cflags
       cclist_longlong=$cclist
       gcc_longlong_cflags=$gcc_cflags
       gcc_longlong_cppflags="-DNO_ASM"
       cc_longlong_cflags=$cc_cflags
       limb_longlong=longlong
       ;;
   
 esac  esac
   
 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6  CFLAGS_or_unset=${CFLAGS-'(unset)'}
 echo "configure:1352: checking for BSD-compatible nm" 1>&5  CPPFLAGS_or_unset=${CPPFLAGS-'(unset)'}
 if test "${ac_cv_path_NM+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  cat >&5 <<EOF
   configure:1014: User:
   ABI=$ABI
   CC=$CC
   CFLAGS=$CFLAGS_or_unset
   CPPFLAGS=$CPPFLAGS_or_unset
   MPN_PATH=$MPN_PATH
   configure:1020: GMP:
   abilist=$abilist
   cclist=$cclist
   EOF
   
   test_CFLAGS=${CFLAGS+set}
   test_CPPFLAGS=${CPPFLAGS+set}
   
   for abi in $abilist; do
     abi_last="$abi"
   done
   
   # If the user specifies an ABI then it must be in $abilist, after that
   # $abilist is restricted to just that choice.
   #
   if test -n "$ABI"; then
     found=no
     for abi in $abilist; do
       if test $abi = "$ABI"; then found=yes; break; fi
     done
     if test $found = no; then
       { { echo "$as_me:2677: error: ABI=$ABI is not among the following valid choices: $abilist" >&5
   echo "$as_me: error: ABI=$ABI is not among the following valid choices: $abilist" >&2;}
      { (exit 1); exit 1; }; }
     fi
     abilist="$ABI"
   fi
   
   found_compiler=no
   
   for abi in $abilist; do
   
     # Suppose abilist="64 32", then for abi=64, will have abi1="_64" and
     # abi2="_64".  For abi=32, will have abi1="_32" and abi2="".  This is how
     # $gcc_cflags becomes a fallback for $gcc_32_cflags (the last in the
     # abilist), but there's no fallback for $gcc_64_cflags.
     #
     abi1=`echo _$abi | sed 's/[.]//g'`
     if test $abi = $abi_last; then abi2=; else abi2="$abi1"; fi
   
     # Compiler choices under this ABI
                                 eval cclist_chosen=\"\$cclist$abi1\"
     test -n "$cclist_chosen" || eval cclist_chosen=\"\$cclist$abi2\"
   
     # If there's a user specified $CC then don't use a list for
     # $cclist_chosen, just a single value for $ccbase.
     #
     if test -n "$CC"; then
   
       # The first word of $CC, stripped of any directory.  For instance
       # CC="/usr/local/bin/gcc -pipe" will give "gcc".
       #
       for ccbase in $CC; do break; done
       ccbase=`echo $ccbase | sed 's:.*/::'`
   
       # If this $ccbase is in $cclist_chosen then it's a compiler we know and
       # we can do flags defaulting with it.  If not, then $cclist_chosen is
       # set to "unrecognised" so no default flags are used.
       #
       # "unrecognised" is used to avoid bad effects with eval if $ccbase has
       # non-symbol characters.  For instance ccbase=my+cc would end up with
       # something like cflags="$my+cc_cflags" which would give
       # cflags="+cc_cflags" rather than the intended empty string for an
       # unknown compiler.
       #
       found=unrecognised
       for i in $cclist_chosen; do
         if test "$ccbase" = $i; then
           found=$ccbase
           break
         fi
       done
       cclist_chosen=$found
     fi
   
     for ccbase in $cclist_chosen; do
   
       # When cross compiling, look for a compiler with the $host_alias as a
       # prefix, the same way that AC_CHECK_TOOL does.  But don't do this to a
       # user-selected $CC.
       #
       # $cross_compiling will be yes/no/maybe at this point.  Do the host
       # prefixing for "maybe" as well as "yes".
       #
       if test "$cross_compiling" != no && test -z "$CC"; then
         cross_compiling_prefix="${host_alias}-"
       fi
   
       for ccprefix in $cross_compiling_prefix ""; do
   
         cc="$CC"
         test -n "$cc" || cc="$ccprefix$ccbase"
   
         # If the compiler is gcc but installed under another name, then change
         # $ccbase so as to use the flags we know for gcc.  This helps for
         # instance when specifying CC=gcc272 on Debian GNU/Linux, or the
         # native cc which is really gcc on NeXT or MacOS-X.
         #
         # FIXME: There's a slight misfeature here.  If cc is actually gcc but
         # gcc is not a known compiler under this $abi then we'll end up
         # testing it with no flags and it'll work, but chances are it won't be
         # in the right mode for the ABI we desire.  Let's quietly hope this
         # doesn't happen.
         #
         if test $ccbase != gcc; then
           cat >conftest.c <<EOF
   #ifndef __GNUC__
     choke me
   #endif
   EOF
   gmp_compile="$cc -c conftest.c >&5"
   if { (eval echo "$as_me:2767: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:2770: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     rm -f conftest*
     echo "$as_me:2773: checking whether $cc is gcc" >&5
   echo $ECHO_N "checking whether $cc is gcc... $ECHO_C" >&6
     echo "$as_me:2775: result: yes" >&5
   echo "${ECHO_T}yes" >&6
     ccbase=gcc
 else  else
   if test -n "$NM"; then    rm -f conftest*
   # Let the user override the test.    :
   ac_cv_path_NM="$NM"  fi
   
         fi
   
         # Similarly if the compiler is IBM xlc but invoked as cc or whatever
         # then change $ccbase and make the default xlc flags available.
         if test $ccbase != xlc; then
           gmp_command="$cc 2>&1 | grep xlc >/dev/null"
   if { (eval echo "$as_me:2789: \"$gmp_command\"") >&5
     (eval $gmp_command) 2>&5
     ac_status=$?
     echo "$as_me:2792: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     echo "$as_me:2794: checking whether $cc is xlc" >&5
   echo $ECHO_N "checking whether $cc is xlc... $ECHO_C" >&6
     echo "$as_me:2796: result: yes" >&5
   echo "${ECHO_T}yes" >&6
     ccbase=xlc
 else  else
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    :
   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do  fi
     test -z "$ac_dir" && ac_dir=.  
     if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then  
       # Check to see if the nm accepts a BSD-compat flag.  
       # Adding the `sed 1q' prevents false positives on HP-UX, which says:  
       #   nm: unknown option "B" ignored  
       if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then  
         ac_cv_path_NM="$ac_dir/nm -B"  
         break  
       elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then  
         ac_cv_path_NM="$ac_dir/nm -p"  
         break  
       else  
         ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but  
         continue # so that we can try to find one that supports BSD flags  
       fi        fi
   
         # Any user CFLAGS, even an empty string, takes precendence
                              eval cflags=\"\$${ccbase}${abi1}_cflags\"
         test -n "$cflags" || eval cflags=\"\$${ccbase}${abi2}_cflags\"
         if test "$test_CFLAGS" = set; then cflags=$CFLAGS; fi
   
         # Any user CPPFLAGS, even an empty string, takes precendence
                                eval cppflags=\"\$${ccbase}${abi1}_cppflags\"
         test -n "$cppflags" || eval cppflags=\"\$${ccbase}${abi2}_cppflags\"
         if test "$test_CPPFLAGS" = set; then cppflags=$CPPFLAGS; fi
   
         # --enable-profiling adds -p/-pg even to user-specified CFLAGS.
         # This is convenient, but it's perhaps a bit naughty to modify user
         # CFLAGS.
         case "$enable_profiling" in
         prof)  cflags="$cflags -p" ;;
         gprof) cflags="$cflags -pg" ;;
         esac
   
         echo "$as_me:2823: checking compiler $cc $cflags $cppflags" >&5
   echo $ECHO_N "checking compiler $cc $cflags $cppflags... $ECHO_C" >&6
   cat >conftest.c <<EOF
   
   /* The following provokes an internal error from gcc 2.95.2 -mpowerpc64
      (without -maix64), hence detecting an unusable compiler */
   void *g() { return (void *) 0; }
   void *f() { return g(); }
   
   /* The following provokes an invalid instruction syntax from i386 gcc
      -march=pentiumpro on Solaris 2.8.  The native sun assembler
      requires a non-standard syntax for cmov which gcc (as of 2.95.2 at
      least) doesn't know.  */
   int n;
   int cmov () { return (n >= 0 ? n : 0); }
   
   /* The following provokes a linker invocation problem with gcc 3.0.3
      on AIX 4.3 under "-maix64 -mpowerpc64 -mcpu=630".  The -mcpu=630
      option causes gcc to incorrectly select the 32-bit libgcc.a, not
      the 64-bit one, and consequently it misses out on the __fixunsdfdi
      helper (double -> uint64 conversion).  */
   double d;
   unsigned long gcc303 () { return (unsigned long) d; }
   
   int main () { return 0; }
   EOF
   gmp_prog_cc_works=no
   gmp_compile="$cc $cflags $cppflags conftest.c >&5"
   if { (eval echo "$as_me:2851: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:2854: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     if test "$cross_compiling" = no; then
       if { ac_try='./a.out || ./a.exe || ./conftest'
     { (eval echo "$as_me:2858: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:2861: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
         gmp_prog_cc_works=yes
     fi      fi
   done    else
   IFS="$ac_save_ifs"      gmp_prog_cc_works=yes
   test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm    fi
 fi  fi
   rm -f conftest* a.out a.exe
   echo "$as_me:2870: result: $gmp_prog_cc_works" >&5
   echo "${ECHO_T}$gmp_prog_cc_works" >&6
   if test $gmp_prog_cc_works = yes; then
     :
   else
     continue
 fi  fi
   
 NM="$ac_cv_path_NM"        # The tests to perform on this $cc, if any
 echo "$ECHO_T""$NM" 1>&6                               eval testlist=\"\$${ccbase}${abi1}_testlist\"
         # nm on 64-bit AIX needs to know the object file format        test -n "$testlist" || eval testlist=\"\$${ccbase}${abi2}_testlist\"
 case "$target" in  
   powerpc64*-*-aix*)        testlist_pass=yes
     NM="$NM -X 64"        for tst in $testlist; do
     ;;          case $tst in
           hpc-hppa-2-0)   echo "$as_me:2885: checking whether HP compiler $cc is good for 64-bits" >&5
   echo $ECHO_N "checking whether HP compiler $cc is good for 64-bits... $ECHO_C" >&6
   # Bad compiler output:
   #   ccom: HP92453-01 G.10.32.05 HP C Compiler
   # Good compiler output:
   #   ccom: HP92453-01 A.10.32.30 HP C Compiler
   # Let A.10.32.30 or higher be ok.
   echo >conftest.c
   gmp_tmp_vs=`$cc  -V -c -o conftest.$OBJEXT conftest.c 2>&1 | grep "^ccom:"`
   echo "Version string: $gmp_tmp_vs" >&5
   rm conftest*
   gmp_tmp_v1=`echo $gmp_tmp_vs | sed 's/.* .\.\(.*\)\..*\..* HP C.*/\1/'`
   gmp_tmp_v2=`echo $gmp_tmp_vs | sed 's/.* .\..*\.\(.*\)\..* HP C.*/\1/'`
   gmp_tmp_v3=`echo $gmp_tmp_vs | sed 's/.* .\..*\..*\.\(.*\) HP C.*/\1/'`
   echo "Version number: $gmp_tmp_v1.$gmp_tmp_v2.$gmp_tmp_v3" >&5
   if test -z "$gmp_tmp_v1"; then
     gmp_hpc_64bit=not-applicable
   else
     gmp_compare_ge=no
   if test -n "$gmp_tmp_v1"; then
     if test "$gmp_tmp_v1" -gt 10; then
       gmp_compare_ge=yes
     else
       if test "$gmp_tmp_v1" -eq 10; then
         if test -n "$gmp_tmp_v2"; then
     if test "$gmp_tmp_v2" -gt 32; then
       gmp_compare_ge=yes
     else
       if test "$gmp_tmp_v2" -eq 32; then
         if test -n "$gmp_tmp_v3" && test "$gmp_tmp_v3" -ge 30; then
     gmp_compare_ge=yes
   fi
   
       fi
     fi
   fi
   
       fi
     fi
   fi
   
     gmp_hpc_64bit=$gmp_compare_ge
   fi
   echo "$as_me:2928: result: $gmp_hpc_64bit" >&5
   echo "${ECHO_T}$gmp_hpc_64bit" >&6
   if test $gmp_hpc_64bit = yes; then
     :
   else
     testlist_pass=no
   fi
    ;;
           gcc-arm-umodsi) echo "$as_me:2936: checking whether ARM gcc unsigned division works" >&5
   echo $ECHO_N "checking whether ARM gcc unsigned division works... $ECHO_C" >&6
   tmp_version=`$cc --version`
   echo "$tmp_version" >&5
   case $tmp_version in
     2.95 | 2.95.[123])
       testlist_pass=no
       gmp_gcc_arm_umodsi_result="no, gcc 2.95.0123" ;;
     *)
       :
       gmp_gcc_arm_umodsi_result=yes ;;
 esac  esac
   echo "$as_me:2948: result: $gmp_gcc_arm_umodsi_result" >&5
   echo "${ECHO_T}$gmp_gcc_arm_umodsi_result" >&6
    ;;
           gcc-mips-o32)   echo "$as_me:2951: checking whether gcc supports o32" >&5
   echo $ECHO_N "checking whether gcc supports o32... $ECHO_C" >&6
   echo 'int x;' >conftest.c
   echo "$cc -mabi=32 -c conftest.c" >&5
   if $cc -mabi=32 -c conftest.c >conftest.out 2>&1; then
     result=yes
   else
     cat conftest.out >&5
     if grep "cc1: Invalid option \`abi=32'" conftest.out >/dev/null; then
       result=yes
     else
       result=no
     fi
   fi
   rm -f conftest.*
   echo "$as_me:2966: result: $result" >&5
   echo "${ECHO_T}$result" >&6
   if test $result = yes; then
     :
   else
     testlist_pass=no
   fi
    ;;
           esac
           if test $testlist_pass = no; then break; fi
         done
   
 # Save CFLAGS given on command line.        if test $testlist_pass = yes; then
 gmp_user_CFLAGS="$CFLAGS"          found_compiler=yes
           break
         fi
       done
   
 if test -z "$CC"; then      if test $found_compiler = yes; then break; fi
   # Find compiler.    done
   
 if test $host != $build; then    if test $found_compiler = yes; then break; fi
   ac_tool_prefix=${host_alias}-  done
   
   # If we recognised the CPU, as indicated by $path being set, then insist
   # that we have a working compiler, either from our $cclist choices or from
   # $CC.  We can't let AC_PROG_CC look around for a compiler because it might
   # find one that we've rejected (for not supporting the modes our asm code
   # demands, etc).
   #
   # If we didn't recognise the CPU (and this includes host_cpu=none), then
   # fall through and let AC_PROG_CC look around for a compiler too.  This is
   # mostly in the interests of following a standard autoconf setup, after all
   # we've already tested cc and gcc adequately (hopefully).  As of autoconf
   # 2.50 the only thing AC_PROG_CC really adds is a check for "cl" (Microsoft
   # C on MS-DOS systems).
   #
   if test $found_compiler = no && test -n "$path"; then
     { { echo "$as_me:3004: error: could not find a working compiler" >&5
   echo "$as_me: error: could not find a working compiler" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
   if test $found_compiler = yes; then
   
     # If we're creating CFLAGS, then look for optional additions.  If the user
     # set CFLAGS then leave it alone.
     #
     if test "$test_CFLAGS" != set; then
                             eval optlist=\"\$${ccbase}${abi1}_cflags_optlist\"
       test -n "$optlist" || eval optlist=\"\$${ccbase}${abi2}_cflags_optlist\"
   
       for opt in $optlist; do
                                eval optflags=\"\$${ccbase}${abi1}_cflags_${opt}\"
         test -n "$optflags" || eval optflags=\"\$${ccbase}${abi2}_cflags_${opt}\"
         test -n "$optflags" || eval optflags=\"\$${ccbase}_cflags_${opt}\"
   
         for flag in $optflags; do
   
           # ~ respresents a space in an option spec
           flag=`echo "$flag" | tr '~' ' '`
   
           case $flag in
             -O*)
               # ease back to just -O on m68k gcc 2.95.x
               case $host in
   m68*-*-*)
     if test $ccbase = gcc; then
       case `$cc --version` in
       2.95*) flag=-O ;;
       esac
     fi
     ;;
   esac
   
               ;;
             -no-cpp-precomp)
               # special check, avoiding a warning
               if test "$ccbase" = gcc; then
     echo "$as_me:3045: checking compiler $cc $cflags -no-cpp-precomp" >&5
   echo $ECHO_N "checking compiler $cc $cflags -no-cpp-precomp... $ECHO_C" >&6
     result=no
     cat >conftest.c <<EOF
   int main () { return 0; }
   EOF
     gmp_compile="$cc $cflags -no-cpp-precomp conftest.c >conftest.out 2>&1"
     if { (eval echo "$as_me:3052: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:3055: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       if grep "unrecognized option.*-no-cpp-precomp" conftest.out >/dev/null; then : ;
       else
         result=yes
       fi
     fi
     cat conftest.out >&5
     rm -f conftest* a.out
     echo "$as_me:3064: result: $result" >&5
   echo "${ECHO_T}$result" >&6
     if test "$result" = yes; then
         cflags="$cflags $flag"
                                      break
     else
         continue
     fi
   fi
   
               ;;
             -Wa,-m*)
               case $host in
                 alpha*-*-*)
                   echo "$as_me:3078: checking assembler $cc $cflags $flag" >&5
   echo $ECHO_N "checking assembler $cc $cflags $flag... $ECHO_C" >&6
   result=no
   cat >conftest.c <<EOF
   int main () {}
   EOF
   gmp_compile="$cc $cflags $flag -c conftest.c >conftest.out 2>&1"
   if { (eval echo "$as_me:3085: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:3088: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     if grep "Unknown CPU identifier" conftest.out >/dev/null; then : ;
     else
       result=yes
     fi
   fi
   cat conftest.out >&5
   rm -f conftest*
   echo "$as_me:3097: result: $result" >&5
   echo "${ECHO_T}$result" >&6
   if test "$result" = yes; then
     :
 else  else
   ac_tool_prefix=    continue
 fi  fi
   
 gmp_cc_list="$cclist"                ;;
 gmp_req_64bit_cc="$os_64bit"              esac
               ;;
           esac
   
 CC32=          echo "$as_me:3110: checking compiler $cc $cflags $cppflags $flag" >&5
 CC64=  echo $ECHO_N "checking compiler $cc $cflags $cppflags $flag... $ECHO_C" >&6
 for c in $gmp_cc_list; do  cat >conftest.c <<EOF
   # Avoid cache hits.  
   unset CC  
   unset ac_cv_prog_CC  
   
 # Extract the first word of "${ac_tool_prefix}$c", so it can be a program name with args.  /* The following provokes an internal error from gcc 2.95.2 -mpowerpc64
 set dummy ${ac_tool_prefix}$c; ac_word=$2     (without -maix64), hence detecting an unusable compiler */
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  void *g() { return (void *) 0; }
 echo "configure:1418: checking for $ac_word" 1>&5  void *f() { return g(); }
   
   /* The following provokes an invalid instruction syntax from i386 gcc
      -march=pentiumpro on Solaris 2.8.  The native sun assembler
      requires a non-standard syntax for cmov which gcc (as of 2.95.2 at
      least) doesn't know.  */
   int n;
   int cmov () { return (n >= 0 ? n : 0); }
   
   /* The following provokes a linker invocation problem with gcc 3.0.3
      on AIX 4.3 under "-maix64 -mpowerpc64 -mcpu=630".  The -mcpu=630
      option causes gcc to incorrectly select the 32-bit libgcc.a, not
      the 64-bit one, and consequently it misses out on the __fixunsdfdi
      helper (double -> uint64 conversion).  */
   double d;
   unsigned long gcc303 () { return (unsigned long) d; }
   
   int main () { return 0; }
   EOF
   gmp_prog_cc_works=no
   gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
   if { (eval echo "$as_me:3138: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:3141: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     if test "$cross_compiling" = no; then
       if { ac_try='./a.out || ./a.exe || ./conftest'
     { (eval echo "$as_me:3145: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:3148: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
         gmp_prog_cc_works=yes
       fi
     else
       gmp_prog_cc_works=yes
     fi
   fi
   rm -f conftest* a.out a.exe
   echo "$as_me:3157: result: $gmp_prog_cc_works" >&5
   echo "${ECHO_T}$gmp_prog_cc_works" >&6
   if test $gmp_prog_cc_works = yes; then
     cflags="$cflags $flag"
             break
   else
     :
   fi
   
         done
       done
     fi
   
     ABI="$abi"
     CC="$cc"
     CFLAGS="$cflags"
     CPPFLAGS="$cppflags"
   
     # Could easily have this in config.h too, if desired.
     ABI_nodots=`echo $ABI | sed 's/\./_/'`
   
   echo "define_not_for_expansion(\`HAVE_ABI_$ABI_nodots')" >> $gmp_tmpconfigm4p
   
     # GMP_LDFLAGS substitution, selected according to ABI.
     # These are needed on libgmp.la and libmp.la, but currently not on
     # convenience libraries like tune/libspeed.la or mpz/libmpz.la.
     #
                               eval GMP_LDFLAGS=\"\$${ccbase}${abi1}_ldflags\"
     test -n "$GMP_LDFLAGS" || eval GMP_LDFLAGS=\"\$${ccbase}${abi1}_ldflags\"
   
     # extra_functions, selected according to ABI
                       eval tmp=\"\$extra_functions$abi1\"
     test -n "$tmp" || eval tmp=\"\$extra_functions$abi2\"
     extra_functions="$tmp"
   
     # Cycle counter, selected according to ABI.
     #
                       eval tmp=\"\$SPEED_CYCLECOUNTER_OBJ$abi1\"
     test -n "$tmp" || eval tmp=\"\$SPEED_CYCLECOUNTER_OBJ$abi2\"
     SPEED_CYCLECOUNTER_OBJ="$tmp"
                       eval tmp=\"\$cyclecounter_size$abi1\"
     test -n "$tmp" || eval tmp=\"\$cyclecounter_size$abi2\"
     cyclecounter_size="$tmp"
   
     if test -n "$SPEED_CYCLECOUNTER_OBJ"; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_SPEED_CYCLECOUNTER $cyclecounter_size
   EOF
   
     fi
   
     # Calling conventions checking, selected according to ABI.
     #
                       eval tmp=\"\$CALLING_CONVENTIONS_OBJS$abi1\"
     test -n "$tmp" || eval tmp=\"\$CALLING_CONVENTIONS_OBJS$abi2\"
     CALLING_CONVENTIONS_OBJS="$tmp"
   
     if test -n "$CALLING_CONVENTIONS_OBJS"; then
   
   cat >>confdefs.h <<\EOF
   #define HAVE_CALLING_CONVENTIONS 1
   EOF
   
     fi
   
   fi
   
   # If the user gave an MPN_PATH, use that verbatim, otherwise choose
   # according to the ABI and add "generic".
   #
   if test -n "$MPN_PATH"; then
     path="$MPN_PATH"
   else
                       eval tmp=\"\$path$abi1\"
     test -n "$tmp" || eval tmp=\"\$path$abi2\"
     path="$tmp generic"
   fi
   
   # Whether using a long long limb in this ABI.
                             eval limb_chosen=\"\$limb$abi1\"
   test -n "$limb_chosen" || eval limb_chosen=\"\$limb$abi2\"
   case $limb_chosen in
   longlong) DEFN_LONG_LONG_LIMB="#define _LONG_LONG_LIMB 1"    ;;
   *)        DEFN_LONG_LONG_LIMB="/* #undef _LONG_LONG_LIMB */" ;;
   esac
   
   # The C compiler and preprocessor, put into ANSI mode if possible.
   ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   set dummy ${ac_tool_prefix}gcc; ac_word=$2
   echo "$as_me:3253: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
   ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
 else  else
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
 ac_dummy="$PATH"  ac_dummy="$PATH"
 for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
   test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
   if test -f $ac_dir/$ac_word; then    $as_executable_p "$ac_dir/$ac_word" || continue
     echo "$ac_dir/$ac_word"  ac_cv_prog_CC="${ac_tool_prefix}gcc"
   fi  echo "$as_me:3268: found $ac_dir/$ac_word" >&5
   break
 done  done
 IFS="$ac_save_ifs"  
 `; do  
     ac_cv_prog_CC="${ac_tool_prefix}$c"  
     break  
   done  
 fi  fi
 fi  fi
 CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
 if test -n "$CC"; then  if test -n "$CC"; then
   echo "$ECHO_T""$CC" 1>&6    echo "$as_me:3276: result: $CC" >&5
   echo "${ECHO_T}$CC" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:3279: result: no" >&5
   echo "${ECHO_T}no" >&6
 fi  fi
   
   fi
 if test -z "$ac_cv_prog_CC"; then  if test -z "$ac_cv_prog_CC"; then
     ac_ct_CC=$CC
     # Extract the first word of "gcc", so it can be a program name with args.
   set dummy gcc; ac_word=$2
   echo "$as_me:3288: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_CC"; then
     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_CC="gcc"
   echo "$as_me:3303: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   ac_ct_CC=$ac_cv_prog_ac_ct_CC
   if test -n "$ac_ct_CC"; then
     echo "$as_me:3311: result: $ac_ct_CC" >&5
   echo "${ECHO_T}$ac_ct_CC" >&6
   else
     echo "$as_me:3314: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     CC=$ac_ct_CC
   else
     CC="$ac_cv_prog_CC"
   fi
   
   if test -z "$CC"; then
   if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
     # Extract the first word of "$c", so it can be a program name with args.    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 set dummy $c; ac_word=$2  set dummy ${ac_tool_prefix}cc; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo "$as_me:3327: checking for $ac_word" >&5
 echo "configure:1452: checking for $ac_word" 1>&5  echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 if test "${ac_cv_prog_CC+set}" = set; then  if test "${ac_cv_prog_CC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -n "$CC"; then    if test -n "$CC"; then
   ac_cv_prog_CC="$CC" # Let the user override the test.    ac_cv_prog_CC="$CC" # Let the user override the test.
 else  else
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
 ac_dummy="$PATH"  ac_dummy="$PATH"
 for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
   test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
   if test -f $ac_dir/$ac_word; then    $as_executable_p "$ac_dir/$ac_word" || continue
     echo "$ac_dir/$ac_word"  ac_cv_prog_CC="${ac_tool_prefix}cc"
   fi  echo "$as_me:3342: found $ac_dir/$ac_word" >&5
   break
 done  done
 IFS="$ac_save_ifs"  
 `; do  
     ac_cv_prog_CC="$c"  
     break  
   done  
   test -z "$ac_cv_prog_CC" && ac_cv_prog_CC="$c"  
 fi  fi
 fi  fi
 CC="$ac_cv_prog_CC"  CC=$ac_cv_prog_CC
 if test -n "$CC"; then  if test -n "$CC"; then
   echo "$ECHO_T""$CC" 1>&6    echo "$as_me:3350: result: $CC" >&5
   echo "${ECHO_T}$CC" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:3353: result: no" >&5
   echo "${ECHO_T}no" >&6
 fi  fi
   
   else  fi
     CC="$c"  if test -z "$ac_cv_prog_CC"; then
     ac_ct_CC=$CC
     # Extract the first word of "cc", so it can be a program name with args.
   set dummy cc; ac_word=$2
   echo "$as_me:3362: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_CC"; then
     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_CC="cc"
   echo "$as_me:3377: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   ac_ct_CC=$ac_cv_prog_ac_ct_CC
   if test -n "$ac_ct_CC"; then
     echo "$as_me:3385: result: $ac_ct_CC" >&5
   echo "${ECHO_T}$ac_ct_CC" >&6
   else
     echo "$as_me:3388: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     CC=$ac_ct_CC
   else
     CC="$ac_cv_prog_CC"
   fi
   
   fi
   if test -z "$CC"; then
     # Extract the first word of "cc", so it can be a program name with args.
   set dummy cc; ac_word=$2
   echo "$as_me:3401: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_CC+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$CC"; then
     ac_cv_prog_CC="$CC" # Let the user override the test.
   else
     ac_prog_rejected=no
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
     ac_prog_rejected=yes
     continue
   fi
   ac_cv_prog_CC="cc"
   echo "$as_me:3421: found $ac_dir/$ac_word" >&5
   break
   done
   
   if test $ac_prog_rejected = yes; then
     # We found a bogon in the path, so make sure we never use it.
     set dummy $ac_cv_prog_CC
     shift
     if test $# != 0; then
       # We chose a different compiler from the bogus one.
       # However, it has the same basename, so the bogon will be chosen
       # first if we set CC to just the basename; use the full file name.
       shift
       set dummy "$ac_dir/$ac_word" ${1+"$@"}
       shift
       ac_cv_prog_CC="$@"
   fi    fi
 fi  fi
   fi
   fi
   CC=$ac_cv_prog_CC
   if test -n "$CC"; then
     echo "$as_me:3443: result: $CC" >&5
   echo "${ECHO_T}$CC" >&6
   else
     echo "$as_me:3446: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
   fi
   if test -z "$CC"; then
     if test -n "$ac_tool_prefix"; then
     for ac_prog in cl
     do
       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   echo "$as_me:3457: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_CC+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   if test -n "$CC"; then    if test -n "$CC"; then
     eval c_flags=\$gmp_cflags_$c    ac_cv_prog_CC="$CC" # Let the user override the test.
     ac_ext=c  else
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.    ac_save_IFS=$IFS; IFS=$ac_path_separator
 ac_cpp='$CPP $CPPFLAGS'  ac_dummy="$PATH"
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  for ac_dir in $ac_dummy; do
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'    IFS=$ac_save_IFS
 cross_compiling=$ac_cv_prog_cc_cross    test -z "$ac_dir" && ac_dir=.
         CC="$CC"    $as_executable_p "$ac_dir/$ac_word" || continue
 CFLAGS="$c_flags"  ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6  echo "$as_me:3472: found $ac_dir/$ac_word" >&5
 echo "configure:1498: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5  break
   done
   
 # Simple test for all targets.  fi
 cat >conftest.$ac_ext <<EOF  fi
   CC=$ac_cv_prog_CC
   if test -n "$CC"; then
     echo "$as_me:3480: result: $CC" >&5
   echo "${ECHO_T}$CC" >&6
   else
     echo "$as_me:3483: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
 #line 1503 "configure"      test -n "$CC" && break
 #include "confdefs.h"    done
   fi
   if test -z "$CC"; then
     ac_ct_CC=$CC
     for ac_prog in cl
   do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
   set dummy $ac_prog; ac_word=$2
   echo "$as_me:3496: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_CC"; then
     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_CC="$ac_prog"
   echo "$as_me:3511: found $ac_dir/$ac_word" >&5
   break
   done
   
 int main(){return(0);}  fi
 EOF  fi
 if { (eval echo configure:1508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  ac_ct_CC=$ac_cv_prog_ac_ct_CC
   tmp_works=yes  if test -n "$ac_ct_CC"; then
   # If we can't run a trivial program, we are probably using a cross compiler.    echo "$as_me:3519: result: $ac_ct_CC" >&5
   if (./conftest; exit) 2>/dev/null; then  echo "${ECHO_T}$ac_ct_CC" >&6
     tmp_cross=no  
   else  
     tmp_cross=yes  
   fi  
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me:3522: result: no" >&5
   cat conftest.$ac_ext >&5  echo "${ECHO_T}no" >&6
   tmp_works=no  
 fi  fi
 rm -fr conftest*  
   
 # Target specific tests.    test -n "$ac_ct_CC" && break
 if test "$tmp_works" = "yes"; then  done
   case "$target" in  
     *-*-aix*)   # Returning a funcptr.    CC=$ac_ct_CC
       cat >conftest.$ac_ext <<EOF  fi
 #line 1528 "configure"  
   fi
   
   test -z "$CC" && { { echo "$as_me:3534: error: no acceptable cc found in \$PATH" >&5
   echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
      { (exit 1); exit 1; }; }
   
   # Provide some information about the compiler.
   echo "$as_me:3539:" \
        "checking for C compiler version" >&5
   ac_compiler=`set X $ac_compile; echo $2`
   { (eval echo "$as_me:3542: \"$ac_compiler --version </dev/null >&5\"") >&5
     (eval $ac_compiler --version </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:3545: \$? = $ac_status" >&5
     (exit $ac_status); }
   { (eval echo "$as_me:3547: \"$ac_compiler -v </dev/null >&5\"") >&5
     (eval $ac_compiler -v </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:3550: \$? = $ac_status" >&5
     (exit $ac_status); }
   { (eval echo "$as_me:3552: \"$ac_compiler -V </dev/null >&5\"") >&5
     (eval $ac_compiler -V </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:3555: \$? = $ac_status" >&5
     (exit $ac_status); }
   
   cat >conftest.$ac_ext <<_ACEOF
   #line 3559 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
 main ()  main ()
 {  {
 } void *g(); void *f() { return g(); } int bar(){  
   ;    ;
   return 0;    return 0;
 }  }
 EOF  _ACEOF
 if { (eval echo configure:1539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  ac_clean_files_save=$ac_clean_files
   rm -rf conftest*  ac_clean_files="$ac_clean_files a.out a.exe"
   tmp_works=yes  # Try to create an executable without -o first, disregard a.out.
 else  # It will help us diagnose broken compilers, and finding out an intuition
   echo "configure: failed program was:" >&5  # of exeext.
   cat conftest.$ac_ext >&5  echo "$as_me:3575: checking for C compiler default output" >&5
   rm -rf conftest*  echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
   tmp_works=no  ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 fi  if { (eval echo "$as_me:3578: \"$ac_link_default\"") >&5
 rm -f conftest*    (eval $ac_link_default) 2>&5
       ;;    ac_status=$?
     echo "$as_me:3581: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     # Find the output, starting from the most likely.  This scheme is
   # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   # resort.
   for ac_file in `ls a.exe conftest.exe 2>/dev/null;
                   ls a.out conftest 2>/dev/null;
                   ls a.* conftest.* 2>/dev/null`; do
     case $ac_file in
       *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
       a.out ) # We found the default executable, but exeext='' is most
               # certainly right.
               break;;
       *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
             # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
             export ac_cv_exeext
             break;;
       * ) break;;
   esac    esac
 fi  done
   
 if test "$tmp_works" = "yes"; then  
   gmp_prog_cc_works=yes  
 else  else
   gmp_prog_cc_works=no    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   { { echo "$as_me:3604: error: C compiler cannot create executables" >&5
   echo "$as_me: error: C compiler cannot create executables" >&2;}
      { (exit 77); exit 77; }; }
 fi  fi
   
 echo "$ECHO_T""$tmp_works" 1>&6  ac_exeext=$ac_cv_exeext
   echo "$as_me:3610: result: $ac_file" >&5
   echo "${ECHO_T}$ac_file" >&6
   
     if test "$gmp_prog_cc_works" != "yes"; then  # Check the compiler produces executables we can run.  If not, either
       continue  # the compiler is broken, or we cross compile.
   echo "$as_me:3615: checking whether the C compiler works" >&5
   echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   # If not cross compiling, check that we can run a simple program.
   if test "$cross_compiling" != yes; then
     if { ac_try='./$ac_file'
     { (eval echo "$as_me:3621: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:3624: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
       cross_compiling=no
     else
       if test "$cross_compiling" = maybe; then
           cross_compiling=yes
       else
           { { echo "$as_me:3631: error: cannot run C compiled programs.
   If you meant to cross compile, use \`--host'." >&5
   echo "$as_me: error: cannot run C compiled programs.
   If you meant to cross compile, use \`--host'." >&2;}
      { (exit 1); exit 1; }; }
     fi      fi
     fi
   fi
   echo "$as_me:3639: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   
     # Save first working compiler, whether 32- or 64-bit capable.  rm -f a.out a.exe conftest$ac_cv_exeext
     if test -z "$CC32"; then  ac_clean_files=$ac_clean_files_save
       CC32="$CC"  # Check the compiler produces executables we can run.  If not, either
     fi  # the compiler is broken, or we cross compile.
     if test "$gmp_req_64bit_cc" = "yes"; then  echo "$as_me:3646: checking whether we are cross compiling" >&5
       eval c_flags=\$gmp_cflags64_$c  echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   echo "$as_me:3648: result: $cross_compiling" >&5
   echo "${ECHO_T}$cross_compiling" >&6
   
       # Verify that the compiler works in 64-bit mode as well.  echo "$as_me:3651: checking for executable suffix" >&5
       # /usr/ucb/cc on Solaris 7 can *compile* in 64-bit mode, but not link.  echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
       ac_ext=c  if { (eval echo "$as_me:3653: \"$ac_link\"") >&5
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.    (eval $ac_link) 2>&5
 ac_cpp='$CPP $CPPFLAGS'    ac_status=$?
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'    echo "$as_me:3656: \$? = $ac_status" >&5
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'    (exit $ac_status); }; then
 cross_compiling=$ac_cv_prog_cc_cross    # If both `conftest.exe' and `conftest' are `present' (well, observable)
         CC="$c"  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 CFLAGS="$c_flags"  # work properly (i.e., refer to `conftest.exe'), while it won't with
 echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6  # `rm'.
 echo "configure:1583: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5  for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
     case $ac_file in
       *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
       *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
             export ac_cv_exeext
             break;;
       * ) break;;
     esac
   done
   else
     { { echo "$as_me:3672: error: cannot compute EXEEXT: cannot compile and link" >&5
   echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
 # Simple test for all targets.  rm -f conftest$ac_cv_exeext
 cat >conftest.$ac_ext <<EOF  echo "$as_me:3678: result: $ac_cv_exeext" >&5
   echo "${ECHO_T}$ac_cv_exeext" >&6
   
 #line 1588 "configure"  rm -f conftest.$ac_ext
   EXEEXT=$ac_cv_exeext
   ac_exeext=$EXEEXT
   echo "$as_me:3684: checking for object suffix" >&5
   echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
   if test "${ac_cv_objext+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 3690 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main(){return(0);}  int
 EOF  main ()
 if { (eval echo configure:1593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  {
   tmp_works=yes  
   # If we can't run a trivial program, we are probably using a cross compiler.    ;
   if (./conftest; exit) 2>/dev/null; then    return 0;
     tmp_cross=no  }
   else  _ACEOF
     tmp_cross=yes  rm -f conftest.o conftest.obj
   fi  if { (eval echo "$as_me:3702: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:3705: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
     case $ac_file in
       *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
       *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
          break;;
     esac
   done
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
   tmp_works=no  { { echo "$as_me:3717: error: cannot compute OBJEXT: cannot compile" >&5
   echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
      { (exit 1); exit 1; }; }
 fi  fi
 rm -fr conftest*  
   
 # Target specific tests.  rm -f conftest.$ac_cv_objext conftest.$ac_ext
 if test "$tmp_works" = "yes"; then  fi
   case "$target" in  echo "$as_me:3724: result: $ac_cv_objext" >&5
     *-*-aix*)   # Returning a funcptr.  echo "${ECHO_T}$ac_cv_objext" >&6
       cat >conftest.$ac_ext <<EOF  OBJEXT=$ac_cv_objext
 #line 1613 "configure"  ac_objext=$OBJEXT
   echo "$as_me:3728: checking whether we are using the GNU C compiler" >&5
   echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   if test "${ac_cv_c_compiler_gnu+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 3734 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
 main ()  main ()
 {  {
 } void *g(); void *f() { return g(); } int bar(){  #ifndef __GNUC__
          choke me
   #endif
   
   ;    ;
   return 0;    return 0;
 }  }
 EOF  _ACEOF
 if { (eval echo configure:1624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -f conftest.$ac_objext
   rm -rf conftest*  if { (eval echo "$as_me:3749: \"$ac_compile\"") >&5
   tmp_works=yes    (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:3752: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:3755: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:3758: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_compiler_gnu=yes
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
   rm -rf conftest*  ac_compiler_gnu=no
   tmp_works=no  
 fi  fi
 rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
       ;;  ac_cv_c_compiler_gnu=$ac_compiler_gnu
   esac  
 fi  
   
 if test "$tmp_works" = "yes"; then  
   gmp_prog_cc_works=yes  
 else  
   gmp_prog_cc_works=no  
 fi  fi
   echo "$as_me:3770: result: $ac_cv_c_compiler_gnu" >&5
 echo "$ECHO_T""$tmp_works" 1>&6  echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   GCC=`test $ac_compiler_gnu = yes && echo yes`
       if test "$gmp_prog_cc_works" = "yes"; then  ac_test_CFLAGS=${CFLAGS+set}
   ac_save_CFLAGS=$CFLAGS
   gmp_tmp_CC_save="$CC"  CFLAGS="-g"
   CC="$c"  echo "$as_me:3776: checking whether $CC accepts -g" >&5
   echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6  echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
 echo "configure:1651: checking whether the C compiler ($CC) is 64-bit capable" 1>&5  if test "${ac_cv_prog_cc_g+set}" = set; then
   if test -z "$NM"; then    echo $ECHO_N "(cached) $ECHO_C" >&6
     echo; echo "configure: GMP_CHECK_CC_64BIT: fatal: need nm"  else
     exit 1    cat >conftest.$ac_ext <<_ACEOF
   fi  #line 3782 "configure"
   gmp_tmp_CFLAGS_save="$CFLAGS"  
   CFLAGS="$c_flags"  
   
   case "$target" in  
     hppa2.0*-*-*)  
       # FIXME: If gcc is installed under another name than "gcc", we will  
       # test the wrong thing.  
       if test "$CC" != "gcc"; then  
                                                 echo >conftest.c  
         gmp_tmp_vs=`$CC $CFLAGS -V -c -o conftest.o conftest.c 2>&1 | grep "^ccom:"`  
         rm conftest*  
         gmp_tmp_v1=`echo $gmp_tmp_vs | sed 's/.* .\.\(.*\)\..*\..* HP C.*/\1/'`  
         gmp_tmp_v2=`echo $gmp_tmp_vs | sed 's/.* .\..*\.\(.*\)\..* HP C.*/\1/'`  
         gmp_tmp_v3=`echo $gmp_tmp_vs | sed 's/.* .\..*\..*\.\(.*\) HP C.*/\1/'`  
         gmp_cv_cc_64bit=no  
         test -n "$gmp_tmp_v1" && test "$gmp_tmp_v1" -ge "10" \  
           && test -n "$gmp_tmp_v2" && test "$gmp_tmp_v2" -ge "32" \  
           && test -n "$gmp_tmp_v3" && test "$gmp_tmp_v3" -ge "30" \  
           && gmp_cv_cc_64bit=yes  
       else      # gcc  
         # FIXME: Compile a minimal file and determine if the resulting object  
         # file is an ELF file.  If so, gcc can produce 64-bit code.  
         # Do we have file(1) for target?  
         gmp_cv_cc_64bit=no  
       fi  
       ;;  
     mips-sgi-irix6.*)  
       # We use `-n32' to cc and `-mabi=n32' to gcc, resulting in 64-bit  
       # arithmetic but not 64-bit pointers, so the general test for sizeof  
       # (void *) is not valid.  
       # Simply try to compile an empty main.  If that succeeds return  
       # true.  
       cat >conftest.$ac_ext <<EOF  
 #line 1689 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 1695  main ()
Line 3789  main ()
   ;    ;
   return 0;    return 0;
 }  }
 EOF  _ACEOF
 if { (eval echo configure:1700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -f conftest.$ac_objext
   rm -rf conftest*  if { (eval echo "$as_me:3794: \"$ac_compile\"") >&5
   gmp_cv_cc_64bit=yes    (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:3797: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:3800: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:3803: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_prog_cc_g=yes
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
   rm -rf conftest*  ac_cv_prog_cc_g=no
   gmp_cv_cc_64bit=no  
 fi  fi
 rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
       ;;  fi
     *-*-*)  echo "$as_me:3813: result: $ac_cv_prog_cc_g" >&5
       # Allocate an array of size sizeof (void *) and use nm to determine its  echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
       # size.  We depend on the first declared variable being put at address 0.  if test "$ac_test_CFLAGS" = set; then
       cat >conftest.c <<EOF    CFLAGS=$ac_save_CFLAGS
 char arr[sizeof (void *)]={0};  elif test $ac_cv_prog_cc_g = yes; then
 char post=0;    if test "$GCC" = yes; then
 EOF      CFLAGS="-g -O2"
       gmp_compile="$CC $CFLAGS -c conftest.c 1>&5"  
       if { (eval echo configure:1719: \"$gmp_compile\") 1>&5; (eval $gmp_compile) 2>&5; }; then  
                 gmp_tmp_val=`$NM conftest.o | grep post | sed -e 's;[[][0-9][]]\(.*\);\1;' \  
           -e 's;[^1-9]*\([0-9]*\).*;\1;'`  
                 if test "$gmp_tmp_val" = "8"; then  
           gmp_cv_cc_64bit=yes  
         else  
           gmp_cv_cc_64bit=no  
         fi  
       else  
         echo "configure: failed program was:" >&5  
         cat conftest.$ac_ext >&5  
         gmp_cv_cc_64bit=no  
       fi  
       rm -f conftest*  
       ;;  
   esac  
   
   CC="$gmp_tmp_CC_save"  
   CFLAGS="$gmp_tmp_CFLAGS_save"  
   echo "$ECHO_T""$gmp_cv_cc_64bit" 1>&6  
   
         if test "$gmp_cv_cc_64bit" = "yes"; then  
           test -z "$CC64" && CC64="$c"  
           test -z "$CFLAGS64" && CFLAGS64="$c_flags"  
           # We have CC64 so we're done.  
           break  
         fi  
       fi  
     else  
       # We have CC32, and we don't need a 64-bit compiler so we're done.  
       break  
     fi  
   fi  
 done  
 CC="$CC32"  
   
   # If 64-bit OS and we have a 64-bit compiler, use it.  
   if test -n "$os_64bit" && test -n "$CC64"; then  
     CC=$CC64  
     CFLAGS=$CFLAGS64  
   else    else
     eval CFLAGS=\$gmp_cflags_$CC      CFLAGS="-g"
   fi    fi
   else
   # Try compiler flags that may work with only some compiler versions.    if test "$GCC" = yes; then
   # gmp_optcflags: All or nothing.      CFLAGS="-O2"
   eval optcflags=\$gmp_optcflags_$CC  
   if test -n "$optcflags"; then  
     CFLAGS_save="$CFLAGS"  
     CFLAGS="$CFLAGS $optcflags"  
     echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6  
 echo "configure:1770: checking whether $CC accepts $optcflags" 1>&5  
     ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
   
     cat >conftest.$ac_ext <<EOF  
   
 #line 1780 "configure"  
 #include "confdefs.h"  
   
 int main(){return(0);}  
 EOF  
 if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   optok=yes  
   # If we can't run a trivial program, we are probably using a cross compiler.  
   if (./conftest; exit) 2>/dev/null; then  
     cross=no  
   else    else
     cross=yes      CFLAGS=
   fi    fi
   fi
   # Some people use a C++ compiler to compile C.  Since we use `exit',
   # in C++ we need to declare it.  In case someone uses the same compiler
   # for both compiling C and C++ we need to have the C++ compiler decide
   # the declaration of exit, since it's the most demanding environment.
   cat >conftest.$ac_ext <<_ACEOF
   #ifndef __cplusplus
     choke me
   #endif
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:3840: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:3843: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:3846: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:3849: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     for ac_declaration in \
      ''\
      '#include <stdlib.h>' \
      'extern "C" void std::exit (int) throw (); using std::exit;' \
      'extern "C" void std::exit (int); using std::exit;' \
      'extern "C" void exit (int) throw ();' \
      'extern "C" void exit (int);' \
      'void exit (int);'
   do
     cat >conftest.$ac_ext <<_ACEOF
   #line 3861 "configure"
   #include "confdefs.h"
   #include <stdlib.h>
   $ac_declaration
   int
   main ()
   {
   exit (42);
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:3874: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:3877: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:3880: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:3883: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
   optok=no  continue
 fi  fi
 rm -fr conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
     if test "$optok" = "yes"; then    cat >conftest.$ac_ext <<_ACEOF
       echo "$ECHO_T""yes" 1>&6  #line 3893 "configure"
     else  
       echo "$ECHO_T""no" 1>&6  
       CFLAGS="$CFLAGS_save"  
     fi  
   fi  
   # gmp_xoptcflags: First is best, one has to work.  
   eval xoptcflags=\$gmp_xoptcflags_$CC  
   if test -n "$xoptcflags"; then  
     gmp_found="no"  
     for xopt in $xoptcflags; do  
       CFLAGS_save="$CFLAGS"  
       CFLAGS="$CFLAGS $xopt"  
       echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6  
 echo "configure:1814: checking whether $CC accepts $xopt" 1>&5  
       ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
   
       cat >conftest.$ac_ext <<EOF  
   
 #line 1824 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
   $ac_declaration
 int main(){return(0);}  int
 EOF  main ()
 if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  {
   optok=yes  exit (42);
   # If we can't run a trivial program, we are probably using a cross compiler.    ;
   if (./conftest; exit) 2>/dev/null; then    return 0;
     cross=no  }
   else  _ACEOF
     cross=yes  rm -f conftest.$ac_objext
   fi  if { (eval echo "$as_me:3905: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:3908: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:3911: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:3914: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     break
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
   optok=no  
 fi  fi
 rm -fr conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
       if test "$optok" = "yes"; then  done
         echo "$ECHO_T""yes" 1>&6  rm -f conftest*
         gmp_found="yes"  if test -n "$ac_declaration"; then
         break    echo '#ifdef __cplusplus' >>confdefs.h
       else    echo $ac_declaration      >>confdefs.h
         echo "$ECHO_T""no" 1>&6    echo '#endif'             >>confdefs.h
         CFLAGS="$CFLAGS_save"  
       fi  
     done  
     if test "$gmp_found" = "no"; then  
       echo "$0: fatal: need a compiler that understands one of $xoptcflags"  
       exit 1  
     fi  
   fi  
 fi  fi
   
 # Restore CFLAGS given on command line.  else
 # FIXME: We've run through quite some unnecessary code looking for a    echo "$as_me: failed program was:" >&5
 # nice compiler and working flags for it, just to spoil that with user  cat conftest.$ac_ext >&5
 # supplied flags.  fi
 test -n "$gmp_user_CFLAGS" && CFLAGS="$gmp_user_CFLAGS"  rm -f conftest.$ac_objext conftest.$ac_ext
   ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 # Select chosen compiler.  ac_config_commands="$ac_config_commands default-1"
   
 echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6  am_make=${MAKE-make}
 echo "configure:1868: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5  cat > confinc << 'END'
   doit:
           @echo done
   END
   # If we don't find an include directive, just comment out the code.
   echo "$as_me:3949: checking for style of include used by $am_make" >&5
   echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   am__include='#'
   am__quote=
   _am_result=none
   # First try GNU make style include.
   echo "include confinc" > confmf
   # We grep out `Entering directory' and `Leaving directory'
   # messages which can occur if `w' ends up in MAKEFLAGS.
   # In particular we don't look at `^make:' because GNU make might
   # be invoked under some other name (usually "gmake"), in which
   # case it prints its new name instead of `make'.
   if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
      am__include=include
      am__quote=
      _am_result=GNU
   fi
   # Now try BSD make style include.
   if test "$am__include" = "#"; then
      echo '.include "confinc"' > confmf
      if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
         am__include=.include
         am__quote='"'
         _am_result=BSD
      fi
   fi
   
 ac_ext=c  echo "$as_me:3976: result: $_am_result" >&5
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  echo "${ECHO_T}$_am_result" >&6
 ac_cpp='$CPP $CPPFLAGS'  rm -f confinc confmf
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
   
 cat >conftest.$ac_ext <<EOF  depcc="$CC"   am_compiler_list=
   
 #line 1879 "configure"  echo "$as_me:3982: checking dependency style of $depcc" >&5
 #include "confdefs.h"  echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     # We make a subdir and do the tests there.  Otherwise we can end up
     # making bogus files that we don't know about and never remove.  For
     # instance it was reported that on HP-UX the gcc test will end up
     # making a dummy file named `D' -- because `-MD' means `put the output
     # in D'.
     mkdir conftest.dir
     # Copy depcomp to subdir because otherwise we won't find it if we're
     # using a relative directory.
     cp "$am_depcomp" conftest.dir
     cd conftest.dir
   
 int main(){return(0);}    am_cv_CC_dependencies_compiler_type=none
 EOF    if test "$am_compiler_list" = ""; then
 if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   ac_cv_prog_cc_works=yes  
   # If we can't run a trivial program, we are probably using a cross compiler.  
   if (./conftest; exit) 2>/dev/null; then  
     ac_cv_prog_cc_cross=no  
   else  
     ac_cv_prog_cc_cross=yes  
   fi    fi
     for depmode in $am_compiler_list; do
       # We need to recreate these files for each test, as the compiler may
       # overwrite some of them when testing with obscure command lines.
       # This happens at least with the AIX C compiler.
       echo '#include "conftest.h"' > conftest.c
       echo 'int i;' > conftest.h
       echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
   
       case $depmode in
       nosideeffect)
         # after this tag, mechanisms are not by side-effect, so they'll
         # only be used when explicitly requested
         if test "x$enable_dependency_tracking" = xyes; then
           continue
         else
           break
         fi
         ;;
       none) break ;;
       esac
       # We check with `-c' and `-o' for the sake of the "dashmstdout"
       # mode.  It turns out that the SunPro C++ compiler does not properly
       # handle `-M -o', and we need to detect this.
       if depmode=$depmode \
          source=conftest.c object=conftest.o \
          depfile=conftest.Po tmpdepfile=conftest.TPo \
          $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
          grep conftest.h conftest.Po > /dev/null 2>&1 &&
          ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
         am_cv_CC_dependencies_compiler_type=$depmode
         break
       fi
     done
   
     cd ..
     rm -rf conftest.dir
 else  else
   echo "configure: failed program was:" >&5    am_cv_CC_dependencies_compiler_type=none
   cat conftest.$ac_ext >&5  
   ac_cv_prog_cc_works=no  
 fi  fi
 rm -fr conftest*  
 ac_ext=c  
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  
 ac_cpp='$CPP $CPPFLAGS'  
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  
 cross_compiling=$ac_cv_prog_cc_cross  
   
 echo "$ECHO_T""$ac_cv_prog_cc_works" 1>&6  
 if test $ac_cv_prog_cc_works = no; then  
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 77; }  
 fi  fi
 echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6  echo "$as_me:4044: result: $am_cv_CC_dependencies_compiler_type" >&5
 echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5  echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6  CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
 cross_compiling=$ac_cv_prog_cc_cross  
   
 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6  echo "$as_me:4048: checking for $CC option to accept ANSI C" >&5
 echo "configure:1915: checking whether we are using GNU C" 1>&5  echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
 if test "${ac_cv_prog_gcc+set}" = set; then  if test "${ac_cv_prog_cc_stdc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   cat >conftest.c <<EOF    ac_cv_prog_cc_stdc=no
 #ifdef __GNUC__  ac_save_CC=$CC
   yes;  cat >conftest.$ac_ext <<_ACEOF
 #endif  #line 4056 "configure"
 EOF  #include "confdefs.h"
 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  #include <stdarg.h>
   ac_cv_prog_gcc=yes  #include <stdio.h>
   #include <sys/types.h>
   #include <sys/stat.h>
   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   struct buf { int x; };
   FILE * (*rcsopen) (struct buf *, struct stat *, int);
   static char *e (p, i)
        char **p;
        int i;
   {
     return p[i];
   }
   static char *f (char * (*g) (char **, int), char **p, ...)
   {
     char *s;
     va_list v;
     va_start (v,p);
     s = g (p, va_arg (v,int));
     va_end (v);
     return s;
   }
   int test (int i, double x);
   struct s1 {int (*f) (int a);};
   struct s2 {int (*f) (double a);};
   int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   int argc;
   char **argv;
   int
   main ()
   {
   return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     ;
     return 0;
   }
   _ACEOF
   # Don't try gcc -ansi; that turns off useful extensions and
   # breaks some systems' header files.
   # AIX                   -qlanglvl=ansi
   # Ultrix and OSF/1      -std1
   # HP-UX 10.20 and later -Ae
   # HP-UX older versions  -Aa -D_HPUX_SOURCE
   # SVR4                  -Xc -D__EXTENSIONS__
   for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   do
     CC="$ac_save_CC $ac_arg"
     rm -f conftest.$ac_objext
   if { (eval echo "$as_me:4105: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:4108: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:4111: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:4114: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_prog_cc_stdc=$ac_arg
   break
 else  else
   ac_cv_prog_gcc=no    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
 fi  fi
 fi  rm -f conftest.$ac_objext
 echo "$ECHO_T""$ac_cv_prog_gcc" 1>&6  done
   rm -f conftest.$ac_ext conftest.$ac_objext
   CC=$ac_save_CC
   
 if test "$ac_cv_prog_gcc" = "yes"; then  
   GCC=yes  
 else  
   GCC=  
 fi  fi
   
 # Set CFLAGS if not already set.  case "x$ac_cv_prog_cc_stdc" in
 if test -z "$CFLAGS"; then    x|xno)
   CFLAGS="-g"      echo "$as_me:4131: result: none needed" >&5
   if test "$GCC" = "yes"; then  echo "${ECHO_T}none needed" >&6 ;;
     CFLAGS="$CFLAGS -O2"    *)
   fi      echo "$as_me:4134: result: $ac_cv_prog_cc_stdc" >&5
 fi  echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
       CC="$CC $ac_cv_prog_cc_stdc" ;;
   esac
   
 if test "${ac_cv_prog_CC+set}" = set; then  ac_ext=c
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  ac_cpp='$CPP $CPPFLAGS'
 else  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_cv_prog_CC="$CC"  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 fi  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   echo "$as_me:4144: checking how to run the C preprocessor" >&5
 # How to assemble.  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
 CCAS="$CC -c"  
   
 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6  
 echo "configure:1956: checking how to run the C preprocessor" 1>&5  
 # On Suns, sometimes $CPP names a directory.  # On Suns, sometimes $CPP names a directory.
 if test -n "$CPP" && test -d "$CPP"; then  if test -n "$CPP" && test -d "$CPP"; then
   CPP=    CPP=
 fi  fi
 if test -z "$CPP"; then  if test -z "$CPP"; then
 if test "${ac_cv_prog_CPP+set}" = set; then    if test "${ac_cv_prog_CPP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
     # This must be in double quotes, not single quotes, because CPP may get        # Double quotes because CPP needs to be expanded
   # substituted into the Makefile and "${CC-cc}" will confuse make.      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   CPP="${CC-cc} -E"      do
         ac_preproc_ok=false
   for ac_c_preproc_warn_flag in '' yes
   do
     # Use a header file that comes with gcc, so configuring glibc
     # with a fresh cross-compiler works.
   # On the NeXT, cc -E runs the code through the compiler's parser,    # On the NeXT, cc -E runs the code through the compiler's parser,
   # not just through cpp.    # not just through cpp. "Syntax error" is here to catch this case.
     cat >conftest.$ac_ext <<_ACEOF
 cat >conftest.$ac_ext <<EOF  #line 4165 "configure"
 #line 1972 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <assert.h>
 Syntax Error                       Syntax error
 EOF  _ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:4170: \"$ac_cpp conftest.$ac_ext\"") >&5
 { (eval echo configure:1978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
 if test -z "$ac_err"; then    egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:4176: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
   :    :
 else  else
   echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
   rm -rf conftest*    # Broken: fails on valid input.
   CPP="${CC-cc} -E -traditional-cpp"  continue
   fi
   rm -f conftest.err conftest.$ac_ext
   
 cat >conftest.$ac_ext <<EOF    # OK, works on sane cases.  Now check whether non-existent headers
 #line 1990 "configure"    # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
   #line 4199 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <ac_nonexistent.h>
 Syntax Error  _ACEOF
 EOF  if { (eval echo "$as_me:4203: \"$ac_cpp conftest.$ac_ext\"") >&5
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    ac_status=$?
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    egrep -v '^ *\+' conftest.er1 >conftest.err
 if test -z "$ac_err"; then    rm -f conftest.er1
   :    cat conftest.err >&5
     echo "$as_me:4209: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
 else  else
   echo "$ac_err" >&5    ac_cpp_err=yes
   echo "configure: failed program was:" >&5  fi
   if test -z "$ac_cpp_err"; then
     # Broken: success on invalid input.
   continue
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
   rm -rf conftest*    # Passes both tests.
   CPP="${CC-cc} -nologo -E"  ac_preproc_ok=:
   break
   fi
   rm -f conftest.err conftest.$ac_ext
   
 cat >conftest.$ac_ext <<EOF  done
 #line 2008 "configure"  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   rm -f conftest.err conftest.$ac_ext
   if $ac_preproc_ok; then
     break
   fi
   
       done
       ac_cv_prog_CPP=$CPP
   
   fi
     CPP=$ac_cv_prog_CPP
   else
     ac_cv_prog_CPP=$CPP
   fi
   echo "$as_me:4246: result: $CPP" >&5
   echo "${ECHO_T}$CPP" >&6
   ac_preproc_ok=false
   for ac_c_preproc_warn_flag in '' yes
   do
     # Use a header file that comes with gcc, so configuring glibc
     # with a fresh cross-compiler works.
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp. "Syntax error" is here to catch this case.
     cat >conftest.$ac_ext <<_ACEOF
   #line 4256 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <assert.h>
 Syntax Error                       Syntax error
 EOF  _ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:4261: \"$ac_cpp conftest.$ac_ext\"") >&5
 { (eval echo configure:2014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
 if test -z "$ac_err"; then    egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:4267: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
   :    :
 else  else
   echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
   rm -rf conftest*    # Broken: fails on valid input.
   CPP=/lib/cpp  continue
 fi  fi
 rm -f conftest*  rm -f conftest.err conftest.$ac_ext
   
     # OK, works on sane cases.  Now check whether non-existent headers
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
   #line 4290 "configure"
   #include "confdefs.h"
   #include <ac_nonexistent.h>
   _ACEOF
   if { (eval echo "$as_me:4294: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:4300: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
 fi  fi
 rm -f conftest*  if test -z "$ac_cpp_err"; then
 fi    # Broken: success on invalid input.
 rm -f conftest*  continue
   ac_cv_prog_CPP="$CPP"  
 fi  
   CPP="$ac_cv_prog_CPP"  
 else  else
   ac_cv_prog_CPP="$CPP"    echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     # Passes both tests.
   ac_preproc_ok=:
   break
 fi  fi
 echo "$ECHO_T""$CPP" 1>&6  rm -f conftest.err conftest.$ac_ext
   
 # Find a good install program.  We prefer a C program (faster),  done
 # so one script is as good as another.  But avoid the broken or  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 # incompatible versions:  rm -f conftest.err conftest.$ac_ext
 # SysV /etc/install, /usr/sbin/install  if $ac_preproc_ok; then
 # SunOS /usr/etc/install    :
 # IRIX /sbin/install  
 # AIX /bin/install  
 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag  
 # AFS /usr/afsws/bin/install, which mishandles nonexistent args  
 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"  
 # ./install, which can be erroneously created by make from ./install.sh.  
 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6  
 echo "configure:2050: checking for a BSD compatible install" 1>&5  
 if test -z "$INSTALL"; then  
 if test "${ac_cv_path_install+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  else
     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"    { { echo "$as_me:4328: error: C preprocessor \"$CPP\" fails sanity check" >&5
   for ac_dir in $PATH; do  echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
     # Account for people who put trailing slashes in PATH elements.     { (exit 1); exit 1; }; }
     case "$ac_dir/" in  
     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;  
     *)  
       # OSF1 and SCO ODT 3.0 have their own names for install.  
       # Don't use installbsd from OSF since it installs stuff as root  
       # by default.  
       for ac_prog in ginstall scoinst install; do  
         if test -f $ac_dir/$ac_prog; then  
           if test $ac_prog = install &&  
             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then  
             # AIX install.  It has an incompatible calling convention.  
             :  
           elif test $ac_prog = install &&  
             grep pwplus $ac_dir/$ac_prog >/dev/null 2>&1; then  
             # program-specific install script used by HP pwplus--don't use.  
             :  
           else  
             ac_cv_path_install="$ac_dir/$ac_prog -c"  
             break 2  
           fi  
         fi  
       done  
       ;;  
     esac  
   done  
   IFS="$ac_save_IFS"  
   
 fi  fi
   if test "${ac_cv_path_install+set}" = set; then  
     INSTALL="$ac_cv_path_install"  
   else  
     # As a last resort, use the slow shell script.  We don't cache a  
     # path for INSTALL within a source directory, because that will  
     # break other packages using the cache if that directory is  
     # removed, or if the path is relative.  
     INSTALL="$ac_install_sh"  
   fi  
 fi  
 echo "$ECHO_T""$INSTALL" 1>&6  
   
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.  ac_ext=c
 # It thinks the first close brace ends the variable substitution.  ac_cpp='$CPP $CPPFLAGS'
 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'  case $ac_cv_prog_cc_stdc in
     no)
       ;;
     *)
       cat >conftest.$ac_ext <<_ACEOF
   #line 4344 "configure"
   #include "confdefs.h"
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'  #if ! __GMP_HAVE_PROTOTYPES
   die die die
   #endif
   
 echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6  int
 echo "configure:2107: checking whether ln -s works" 1>&5  main ()
 if test "${ac_cv_prog_LN_S+set}" = set; then  {
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:4366: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:4369: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:4372: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:4375: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
 else  else
   rm -f conftestdata    echo "$as_me: failed program was:" >&5
 if ln -s X conftestdata 2>/dev/null  cat conftest.$ac_ext >&5
 then  { echo "$as_me:4381: WARNING: gmp.h doesnt recognise compiler as ANSI, prototypes and \"const\" will be unavailable" >&5
   rm -f conftestdata  echo "$as_me: WARNING: gmp.h doesnt recognise compiler as ANSI, prototypes and \"const\" will be unavailable" >&2;}
   ac_cv_prog_LN_S="ln -s"  
 else  
   ac_cv_prog_LN_S=ln  
 fi  fi
 fi  rm -f conftest.$ac_objext conftest.$ac_ext
 LN_S="$ac_cv_prog_LN_S"      ;;
 if test "$ac_cv_prog_LN_S" = "ln -s"; then  esac
   echo "$ECHO_T""yes" 1>&6  
 else  
   echo "$ECHO_T""no" 1>&6  
 fi  
   
 echo $ECHO_N "checking for suitable m4... $ECHO_C" 1>&6  # The C++ compiler, if desired.
 echo "configure:2128: checking for suitable m4" 1>&5  want_cxx=no
 if test "${gmp_cv_prog_m4+set}" = set; then  if test $enable_cxx != no; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    test_CXXFLAGS=${CXXFLAGS+set}
     ac_ext=cc
   ac_cpp='$CXXCPP $CPPFLAGS'
   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   if test -n "$ac_tool_prefix"; then
     for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
     do
       # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   echo "$as_me:4402: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_CXX+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -n "$M4"; then    if test -n "$CXX"; then
   gmp_cv_prog_m4="$M4"    ac_cv_prog_CXX="$CXX" # Let the user override the test.
 else  else
   cat >conftest.m4 <<\EOF    ac_save_IFS=$IFS; IFS=$ac_path_separator
 define(dollarhash,``$#'')dnl  ac_dummy="$PATH"
 ifelse(dollarhash(x),1,`define(t1,Y)',  for ac_dir in $ac_dummy; do
 ``bad: $# not supported (SunOS /usr/bin/m4)    IFS=$ac_save_IFS
 '')dnl    test -z "$ac_dir" && ac_dir=.
 ifelse(eval(89),89,`define(t2,Y)',    $as_executable_p "$ac_dir/$ac_word" || continue
 `bad: eval() doesnt support 8 or 9 in a constant (OpenBSD 2.6 m4)  ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 ')dnl  echo "$as_me:4417: found $ac_dir/$ac_word" >&5
 ifelse(t1`'t2,YY,`good  break
 ')dnl  done
 EOF  
   echo "trying m4" 1>&5  
   gmp_tmp_val="`(m4 conftest.m4) 2>&5`"  
   echo "$gmp_tmp_val" 1>&5  
   if test "$gmp_tmp_val" = good; then  
     gmp_cv_prog_m4="m4"  
   else  
     IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"  
     ac_dummy="$PATH:/usr/5bin"  
     for ac_dir in $ac_dummy; do  
       test -z "$ac_dir" && ac_dir=.  
       echo "trying $ac_dir/m4" 1>&5  
       gmp_tmp_val="`($ac_dir/m4 conftest.m4) 2>&5`"  
       echo "$gmp_tmp_val" 1>&5  
       if test "$gmp_tmp_val" = good; then  
         gmp_cv_prog_m4="$ac_dir/m4"  
         break  
       fi  
     done  
     IFS="$ac_save_ifs"  
     if test -z "$gmp_cv_prog_m4"; then  
       { echo "configure: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." 1>&2; exit 1; }  
     fi  
   fi  
   rm -f conftest.m4  
 fi  fi
 fi  fi
 echo "$ECHO_T""$gmp_cv_prog_m4" 1>&6  CXX=$ac_cv_prog_CXX
 M4="$gmp_cv_prog_m4"  if test -n "$CXX"; then
     echo "$as_me:4425: result: $CXX" >&5
   echo "${ECHO_T}$CXX" >&6
   else
     echo "$as_me:4428: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
 # Extract the first word of "ar", so it can be a program name with args.      test -n "$CXX" && break
 set dummy ar; ac_word=$2    done
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  fi
 echo "configure:2178: checking for $ac_word" 1>&5  if test -z "$CXX"; then
 if test "${ac_cv_prog_AR+set}" = set; then    ac_ct_CXX=$CXX
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
   set dummy $ac_prog; ac_word=$2
   echo "$as_me:4441: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -n "$AR"; then    if test -n "$ac_ct_CXX"; then
   ac_cv_prog_AR="$AR" # Let the user override the test.    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 else  else
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    ac_save_IFS=$IFS; IFS=$ac_path_separator
 ac_dummy="$PATH"  ac_dummy="$PATH"
 for ac_dir in $ac_dummy; do  for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
   test -z "$ac_dir" && ac_dir=.    test -z "$ac_dir" && ac_dir=.
   if test -f $ac_dir/$ac_word; then    $as_executable_p "$ac_dir/$ac_word" || continue
     echo "$ac_dir/$ac_word"  ac_cv_prog_ac_ct_CXX="$ac_prog"
   fi  echo "$as_me:4456: found $ac_dir/$ac_word" >&5
   break
 done  done
 IFS="$ac_save_ifs"  
 `; do  
     ac_cv_prog_AR="ar"  
     break  
   done  
 fi  fi
 fi  fi
 AR="$ac_cv_prog_AR"  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 if test -n "$AR"; then  if test -n "$ac_ct_CXX"; then
   echo "$ECHO_T""$AR" 1>&6    echo "$as_me:4464: result: $ac_ct_CXX" >&5
   echo "${ECHO_T}$ac_ct_CXX" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:4467: result: no" >&5
   echo "${ECHO_T}no" >&6
 fi  fi
   
 # ar on AIX needs to know the object file format    test -n "$ac_ct_CXX" && break
 case "$target" in  done
   powerpc64*-*-aix*)  test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
     AR="$AR -X 64"  
     ;;  
 esac  
   
 if test "$gmp_no_asm_syntax_testing" != "yes"; then    CXX=$ac_ct_CXX
   echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6  
 echo "configure:2216: checking how to switch to text section" 1>&5  
 if test "${gmp_cv_check_asm_text+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  
   case "$target" in  
   *-*-aix*)  
   
     gmp_cv_check_asm_text=".csect .text[PR]"  
   
     ;;  
   *-*-hpux*) gmp_cv_check_asm_text=".code" ;;  
   *) gmp_cv_check_asm_text=".text" ;;  
 esac  
   
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6  
 echo "define(<TEXT>, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4  
   
   echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6  # Provide some information about the compiler.
 echo "configure:2235: checking how to switch to data section" 1>&5  echo "$as_me:4479:" \
 if test "${gmp_cv_check_asm_data+set}" = set; then       "checking for C++ compiler version" >&5
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  ac_compiler=`set X $ac_compile; echo $2`
   { (eval echo "$as_me:4482: \"$ac_compiler --version </dev/null >&5\"") >&5
     (eval $ac_compiler --version </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:4485: \$? = $ac_status" >&5
     (exit $ac_status); }
   { (eval echo "$as_me:4487: \"$ac_compiler -v </dev/null >&5\"") >&5
     (eval $ac_compiler -v </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:4490: \$? = $ac_status" >&5
     (exit $ac_status); }
   { (eval echo "$as_me:4492: \"$ac_compiler -V </dev/null >&5\"") >&5
     (eval $ac_compiler -V </dev/null >&5) 2>&5
     ac_status=$?
     echo "$as_me:4495: \$? = $ac_status" >&5
     (exit $ac_status); }
   
   echo "$as_me:4498: checking whether we are using the GNU C++ compiler" >&5
   echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
   if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   case "$target" in    cat >conftest.$ac_ext <<_ACEOF
   *-*-aix*)  #line 4504 "configure"
   #include "confdefs.h"
   
     gmp_cv_check_asm_data=".csect .data[RW]"  int
   main ()
   {
   #ifndef __GNUC__
          choke me
   #endif
   
     ;;    ;
   *) gmp_cv_check_asm_data=".data" ;;    return 0;
 esac  }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:4519: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:4522: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:4525: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:4528: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_compiler_gnu=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_compiler_gnu=no
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6  rm -f conftest.$ac_objext conftest.$ac_ext
 echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   
   echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6  fi
 echo "configure:2253: checking how to export a symbol" 1>&5  echo "$as_me:4540: result: $ac_cv_cxx_compiler_gnu" >&5
 if test "${gmp_cv_check_asm_globl+set}" = set; then  echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  GXX=`test $ac_compiler_gnu = yes && echo yes`
   ac_test_CXXFLAGS=${CXXFLAGS+set}
   ac_save_CXXFLAGS=$CXXFLAGS
   CXXFLAGS="-g"
   echo "$as_me:4546: checking whether $CXX accepts -g" >&5
   echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
   if test "${ac_cv_prog_cxx_g+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   case "$target" in    cat >conftest.$ac_ext <<_ACEOF
   *-*-hpux*) gmp_cv_check_asm_globl=".export" ;;  #line 4552 "configure"
   *) gmp_cv_check_asm_globl=".globl" ;;  #include "confdefs.h"
 esac  
   
 fi  int
 echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6  main ()
 echo "define(<GLOBL>, <$gmp_cv_check_asm_globl>)" >> $gmp_tmpconfigm4  {
   
   echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" 1>&6    ;
 echo "configure:2267: checking what assembly label suffix to use" 1>&5    return 0;
 if test "${gmp_cv_check_asm_label_suffix+set}" = set; then  }
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:4564: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:4567: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:4570: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:4573: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_prog_cxx_g=yes
 else  else
   case "$target" in    echo "$as_me: failed program was:" >&5
   *-*-hpux*) gmp_cv_check_asm_label_suffix="" ;;  cat conftest.$ac_ext >&5
   *) gmp_cv_check_asm_label_suffix=":" ;;  ac_cv_prog_cxx_g=no
 esac  
   
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6  rm -f conftest.$ac_objext conftest.$ac_ext
 echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_check_asm_label_suffix>)" >> $gmp_tmpconfigm4  fi
   echo "$as_me:4583: result: $ac_cv_prog_cxx_g" >&5
   echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" 1>&6  echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
 echo "configure:2281: checking how the .type assembly directive should be used" 1>&5  if test "$ac_test_CXXFLAGS" = set; then
 if test "${gmp_cv_check_asm_type+set}" = set; then    CXXFLAGS=$ac_save_CXXFLAGS
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  elif test $ac_cv_prog_cxx_g = yes; then
     if test "$GXX" = yes; then
       CXXFLAGS="-g -O2"
     else
       CXXFLAGS="-g"
     fi
 else  else
   ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"    if test "$GXX" = yes; then
 for gmp_tmp_prefix in @ \# %; do      CXXFLAGS="-O2"
   echo "        .type   sym,${gmp_tmp_prefix}function" > conftest.s    else
   if { (eval echo configure:2288: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then      CXXFLAGS=
     gmp_cv_check_asm_type=".type        \$1,${gmp_tmp_prefix}\$2"  
     break  
   fi    fi
 done  
 if test -z "$gmp_cv_check_asm_type"; then  
   gmp_cv_check_asm_type="dnl"  
 fi  fi
   for ac_declaration in \
      ''\
      '#include <stdlib.h>' \
      'extern "C" void std::exit (int) throw (); using std::exit;' \
      'extern "C" void std::exit (int); using std::exit;' \
      'extern "C" void exit (int) throw ();' \
      'extern "C" void exit (int);' \
      'void exit (int);'
   do
     cat >conftest.$ac_ext <<_ACEOF
   #line 4610 "configure"
   #include "confdefs.h"
   #include <stdlib.h>
   $ac_declaration
   int
   main ()
   {
   exit (42);
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:4623: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:4626: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:4629: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:4632: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   continue
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6  rm -f conftest.$ac_objext conftest.$ac_ext
 echo "define(<TYPE>, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4    cat >conftest.$ac_ext <<_ACEOF
   #line 4642 "configure"
   echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6  #include "confdefs.h"
 echo "configure:2302: checking if the .size assembly directive works" 1>&5  $ac_declaration
 if test "${gmp_cv_check_asm_size+set}" = set; then  int
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  main ()
   {
   exit (42);
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:4654: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:4657: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:4660: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:4663: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     break
 else  else
   ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"    echo "$as_me: failed program was:" >&5
 echo '  .size   sym,1' > conftest.s  cat conftest.$ac_ext >&5
 if { (eval echo configure:2308: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  
   gmp_cv_check_asm_size=".size  \$1,\$2"  
 else  
   gmp_cv_check_asm_size="dnl"  
 fi  fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   done
   rm -f conftest*
   if test -n "$ac_declaration"; then
     echo '#ifdef __cplusplus' >>confdefs.h
     echo $ac_declaration      >>confdefs.h
     echo '#endif'             >>confdefs.h
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6  
 echo "define(<SIZE>, <$gmp_cv_check_asm_size>)" >> $gmp_tmpconfigm4  
   
 echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" 1>&6  ac_ext=c
 echo "configure:2319: checking what prefix to use for a local label" 1>&5  ac_cpp='$CPP $CPPFLAGS'
 if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   depcc="$CXX"  am_compiler_list=
   
   echo "$as_me:4687: checking dependency style of $depcc" >&5
   echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -z "$NM"; then    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   echo; echo "GMP_CHECK_ASM_LSYM_PREFIX: fatal: need nm"    # We make a subdir and do the tests there.  Otherwise we can end up
   exit 1    # making bogus files that we don't know about and never remove.  For
 fi    # instance it was reported that on HP-UX the gcc test will end up
 ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"    # making a dummy file named `D' -- because `-MD' means `put the output
 gmp_cv_check_asm_lsym_prefix="L"    # in D'.
 for gmp_tmp_pre in L .L $ L$; do    mkdir conftest.dir
   cat > conftest.s <<EOF    # Copy depcomp to subdir because otherwise we won't find it if we're
 dummy${gmp_cv_check_asm_label_suffix}    # using a relative directory.
 ${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix}    cp "$am_depcomp" conftest.dir
         .byte 0    cd conftest.dir
 EOF  
   if { (eval echo configure:2335: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then    am_cv_CXX_dependencies_compiler_type=none
     $NM conftest.o >/dev/null 2>&1    if test "$am_compiler_list" = ""; then
     gmp_rc=$?       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     if test "$gmp_rc" != "0"; then    fi
       echo "configure: $NM failure, using default"    for depmode in $am_compiler_list; do
       # We need to recreate these files for each test, as the compiler may
       # overwrite some of them when testing with obscure command lines.
       # This happens at least with the AIX C compiler.
       echo '#include "conftest.h"' > conftest.c
       echo 'int i;' > conftest.h
       echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
   
       case $depmode in
       nosideeffect)
         # after this tag, mechanisms are not by side-effect, so they'll
         # only be used when explicitly requested
         if test "x$enable_dependency_tracking" = xyes; then
           continue
         else
           break
         fi
         ;;
       none) break ;;
       esac
       # We check with `-c' and `-o' for the sake of the "dashmstdout"
       # mode.  It turns out that the SunPro C++ compiler does not properly
       # handle `-M -o', and we need to detect this.
       if depmode=$depmode \
          source=conftest.c object=conftest.o \
          depfile=conftest.Po tmpdepfile=conftest.TPo \
          $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
          grep conftest.h conftest.Po > /dev/null 2>&1 &&
          ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
         am_cv_CXX_dependencies_compiler_type=$depmode
       break        break
     fi      fi
     if $NM conftest.o | grep gurkmacka >/dev/null; then true; else    done
       gmp_cv_check_asm_lsym_prefix="$gmp_tmp_pre"  
       break  
     fi  
   else  
     echo "configure: failed program was:" >&5  
     cat conftest.s >&5  
     # Use default.  
   fi  
 done  
 rm -f conftest*  
   
     cd ..
     rm -rf conftest.dir
   else
     am_cv_CXX_dependencies_compiler_type=none
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6  
 echo "define(<LSYM_PREFIX>, <${gmp_cv_check_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4  
   
 echo $ECHO_N "checking how to define a 32-bit word... $ECHO_C" 1>&6  
 echo "configure:2359: checking how to [define] a 32-bit word" 1>&5  
 if test "${gmp_cv_check_asm_w32+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  
   if test -z "$NM"; then  
   echo; echo "configure: GMP_CHECK_ASM_W32: fatal: need nm"  
   exit 1  
 fi  fi
   echo "$as_me:4749: result: $am_cv_CXX_dependencies_compiler_type" >&5
   echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
   CXXDEPMODE="depmode=$am_cv_CXX_dependencies_compiler_type"
   
 # FIXME: HPUX puts first symbol at 0x40000000, breaking our assumption    echo "CXXFLAGS chosen by autoconf: $CXXFLAGS" >&5
 # that it's at 0x0.  We'll have to declare another symbol before the    cxxflags_ac_prog_cxx=$CXXFLAGS
 # .long/.word and look at the distance between the two symbols.  The    cxxflags_list=ac_prog_cxx
 # only problem is that the sed expression(s) barfs (on Solaris, for  
 # example) for the symbol with value 0.  For now, HPUX uses .word.  
   
 case "$target" in    # If the user didn't specify $CXXFLAGS, then try $CFLAGS, with -g removed
   *-*-hpux*)    # if AC_PROG_CXX thinks that doesn't work.  $CFLAGS stands a good chance
     gmp_cv_check_asm_w32=".word"    # of working, eg. on a GNU system where CC=gcc and CXX=g++.
     ;;    #
   *-*-*)    if test "$test_CXXFLAGS" != set; then
     ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"      cxxflags_cflags=$CFLAGS
     for gmp_tmp_op in .long .word; do      cxxflags_list="cflags $cxxflags_list"
       cat > conftest.s <<EOF      if test "$ac_prog_cxx_g" = no; then
         $gmp_cv_check_asm_data        cxxflags_cflags=`echo "$cxxflags_cflags" | sed -e 's/ -g //' -e 's/^-g //' -e 's/ -g$//'`
         $gmp_cv_check_asm_globl foo      fi
         $gmp_tmp_op     0    fi
 foo${gmp_cv_check_asm_label_suffix}  
         .byte   0    # See if the C++ compiler works.  If the user specified CXXFLAGS then all
     # we're doing is checking whether AC_PROG_CXX succeeded, since it doesn't
     # give a fatal error, just leaves CXX set to a default g++.  If on the
     # other hand the user didn't specify CXXFLAGS then we get to try here our
     # $cxxflags_list alternatives.
     #
     for cxxflags_choice in $cxxflags_list; do
       eval CXXFLAGS=\"\$cxxflags_$cxxflags_choice\"
       echo "$as_me:4777: checking C++ compiler $CXX $CXXFLAGS" >&5
   echo $ECHO_N "checking C++ compiler $CXX $CXXFLAGS... $ECHO_C" >&6
   cat >conftest.cc <<EOF
   #include <iostream>
   using namespace std;
   int
   main (void)
   {
     cout.setf (ios::hex);
     cout << 123;
     return 0;
   }
 EOF  EOF
       if { (eval echo configure:2388: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  
   
         gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \  gmp_cxxcompile="$CXX $CXXFLAGS conftest.cc -o conftest >&5"
              -e 's;[^1-9]*\([0-9]*\).*;\1;'`  if { (eval echo "$as_me:4792: \"$gmp_cxxcompile\"") >&5
                 if test "$gmp_tmp_val" = "4"; then    (eval $gmp_cxxcompile) 2>&5
           gmp_cv_check_asm_w32="$gmp_tmp_op"    ac_status=$?
           break    echo "$as_me:4795: \$? = $ac_status" >&5
         fi    (exit $ac_status); }; then
       fi    rm -f conftest*
     done    echo "$as_me:4798: result: yes" >&5
     ;;  echo "${ECHO_T}yes" >&6
 esac    want_cxx=yes
         break
   else
     rm -f conftest*
     echo "$as_me:4804: result: no" >&5
   echo "${ECHO_T}no" >&6
     :
   fi
   
 if test -z "$gmp_cv_check_asm_w32"; then    done
   echo; echo "configure: GMP_CHECK_ASM_W32: fatal: do not know how to define a 32-bit word"  
   exit 1    # If --enable-cxx=yes but a C++ compiler can't be found, then abort.
     if test $want_cxx = no && test $enable_cxx = yes; then
       { { echo "$as_me:4813: error: C++ compiler not available" >&5
   echo "$as_me: error: C++ compiler not available" >&2;}
      { (exit 1); exit 1; }; }
     fi
 fi  fi
 rm -f conftest*  
   
   if test $want_cxx = yes; then
     WANT_CXX_TRUE=
     WANT_CXX_FALSE='#'
   else
     WANT_CXX_TRUE='#'
     WANT_CXX_FALSE=
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6  
 echo "define(<W32>, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4  
   
   echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6  # FIXME: We're not interested in CXXCPP for ourselves, but if we don't call
 echo "configure:2412: checking if symbols are prefixed by underscore" 1>&5  # it here then AC_PROG_LIBTOOL (via _LT_AC_TAGCONFIG) will do so
 if test "${gmp_cv_check_asm_underscore+set}" = set; then  # unconditionally, and that will fail if there's no C++ compiler (and no
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  # generic /lib/cpp).
   #
   if test $want_cxx = yes; then
     ac_ext=cc
   ac_cpp='$CXXCPP $CPPFLAGS'
   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   echo "$as_me:4838: checking how to run the C++ preprocessor" >&5
   echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
   if test -z "$CXXCPP"; then
     if test "${ac_cv_prog_CXXCPP+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   cat > conftest.$ac_ext <<EOF        # Double quotes because CXXCPP needs to be expanded
 #line 2417 "configure"      for CXXCPP in "$CXX -E" "/lib/cpp"
       do
         ac_preproc_ok=false
   for ac_cxx_preproc_warn_flag in '' yes
   do
     # Use a header file that comes with gcc, so configuring glibc
     # with a fresh cross-compiler works.
     # On the NeXT, cc -E runs the code through the compiler's parser,
     # not just through cpp. "Syntax error" is here to catch this case.
     cat >conftest.$ac_ext <<_ACEOF
   #line 4855 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 int underscore_test() {  #include <assert.h>
 return; }                       Syntax error
 EOF  _ACEOF
 if { (eval echo configure:2422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo "$as_me:4860: \"$ac_cpp conftest.$ac_ext\"") >&5
   if grep _underscore_test conftest* >/dev/null; then    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     gmp_cv_check_asm_underscore=yes    ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:4866: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
   else    else
     gmp_cv_check_asm_underscore=no      ac_cpp_err=
   fi    fi
 else  else
   echo "configure: failed program was:" >&5    ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
     :
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
     # Broken: fails on valid input.
   continue
 fi  fi
 rm -f conftest*  rm -f conftest.err conftest.$ac_ext
   
     # OK, works on sane cases.  Now check whether non-existent headers
     # can be detected and how.
     cat >conftest.$ac_ext <<_ACEOF
   #line 4889 "configure"
   #include "confdefs.h"
   #include <ac_nonexistent.h>
   _ACEOF
   if { (eval echo "$as_me:4893: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:4899: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_underscore" 1>&6  if test -z "$ac_cpp_err"; then
 if test "$gmp_cv_check_asm_underscore" = "yes"; then    # Broken: success on invalid input.
   continue
 echo 'define(<GSYM_PREFIX>, <_>)' >> $gmp_tmpconfigm4  
   
   underscore=yes  
 else  else
     echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     # Passes both tests.
   ac_preproc_ok=:
   break
   fi
   rm -f conftest.err conftest.$ac_ext
   
 echo 'define(<GSYM_PREFIX>, <>)' >> $gmp_tmpconfigm4  done
   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   underscore=no  rm -f conftest.err conftest.$ac_ext
   if $ac_preproc_ok; then
     break
 fi  fi
   
 echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6      done
 echo "configure:2449: checking if .align assembly directive is logarithmic" 1>&5      ac_cv_prog_CXXCPP=$CXXCPP
 if test "${gmp_cv_check_asm_align_log+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  fi
     CXXCPP=$ac_cv_prog_CXXCPP
 else  else
   if test -z "$NM"; then    ac_cv_prog_CXXCPP=$CXXCPP
   echo; echo "configure: GMP_CHECK_ASM_ALIGN_LOG: fatal: need nm"  
   exit 1  
 fi  fi
 cat > conftest.s <<EOF  echo "$as_me:4936: result: $CXXCPP" >&5
         $gmp_cv_check_asm_data  echo "${ECHO_T}$CXXCPP" >&6
         .align  4  ac_preproc_ok=false
         $gmp_cv_check_asm_globl foo  for ac_cxx_preproc_warn_flag in '' yes
         .byte   1  do
         .align  4    # Use a header file that comes with gcc, so configuring glibc
 foo$gmp_cv_check_asm_label_suffix    # with a fresh cross-compiler works.
         .byte   2    # On the NeXT, cc -E runs the code through the compiler's parser,
 EOF    # not just through cpp. "Syntax error" is here to catch this case.
 ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"    cat >conftest.$ac_ext <<_ACEOF
 if { (eval echo configure:2467: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  #line 4946 "configure"
   #include "confdefs.h"
   gmp_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \  #include <assert.h>
        -e 's;[^1-9]*\([0-9]*\).*;\1;'`                       Syntax error
     if test "$gmp_tmp_val" = "10" || test "$gmp_tmp_val" = "16"; then  _ACEOF
     gmp_cv_check_asm_align_log=yes  if { (eval echo "$as_me:4951: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:4957: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
   else    else
     gmp_cv_check_asm_align_log=no      ac_cpp_err=
   fi    fi
 else  else
   echo "configure: failed program was:" >&5    ac_cpp_err=yes
   cat conftest.s >&5  
 fi  fi
 rm -f conftest*  if test -z "$ac_cpp_err"; then
     :
   else
     echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     # Broken: fails on valid input.
   continue
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_align_log" 1>&6  rm -f conftest.err conftest.$ac_ext
   
 echo "define(<ALIGN_LOGARITHMIC>,<$gmp_cv_check_asm_align_log>)" >> $gmp_tmpconfigm4    # OK, works on sane cases.  Now check whether non-existent headers
     # can be detected and how.
 if test "$gmp_cv_check_asm_align_log" = "yes"; then    cat >conftest.$ac_ext <<_ACEOF
   asm_align=log  #line 4980 "configure"
   #include "confdefs.h"
   #include <ac_nonexistent.h>
   _ACEOF
   if { (eval echo "$as_me:4984: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:4990: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_cxx_preproc_warn_flag
     else
       ac_cpp_err=
     fi
 else  else
   asm_align=nolog    ac_cpp_err=yes
 fi  fi
   if test -z "$ac_cpp_err"; then
     # Broken: success on invalid input.
   continue
   else
     echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     # Passes both tests.
   ac_preproc_ok=:
   break
   fi
   rm -f conftest.err conftest.$ac_ext
   
   done
   # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   rm -f conftest.err conftest.$ac_ext
   if $ac_preproc_ok; then
     :
   else
     { { echo "$as_me:5018: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&5
   echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check" >&2;}
      { (exit 1); exit 1; }; }
 fi  fi
   
 family=generic  ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 case ${target} in  fi
   arm*-*-*)  
     path="arm"  
     ;;  
   sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*)  
     if test -n "$CC64"  
       then path="sparc64"  
       else path="sparc32/v9 sparc32/v8 sparc32"  
     fi  
     ;;  
   sparc64-*-linux*)  
     if test -n "$CC64"  
       then path="sparc64"  
       else path="sparc32/v9 sparc32/v8 sparc32"  
     fi  
     ;;  
   sparcv8*-*-* | microsparc*-*-*)  
         path="sparc32/v8 sparc32"  
         if test x${floating_point} = xno  
           then extra_functions="udiv_nfp"  
           else extra_functions="udiv_fp"  
         fi  
         ;;  
   sparcv9*-*-* | ultrasparc*-*-*)  
         path="sparc32/v9 sparc32/v8 sparc32"  
         extra_functions="udiv_fp"  
         ;;  
   supersparc*-*-*)  
         path="sparc32/v8/supersparc sparc32/v8 sparc32"  
         extra_functions="udiv"  
         ;;  
   sparc*-*-*) path="sparc32"  
         if test x${floating_point} = xno  
           then extra_functions="udiv_nfp"  
           else extra_functions="udiv_fp"  
         fi  
         ;;  
   hppa7000*-*-*)  
     path="hppa/hppa1_1 hppa"  
     extra_functions="udiv_qrnnd"  
     ;;  
   hppa1.0*-*-*)  
     path="hppa"  
     extra_functions="udiv_qrnnd"  
     ;;  
   hppa2.0w-*-*)  
     path="pa64w"  
     extra_functions="umul_ppmm udiv_qrnnd"  
     ;;  
   hppa2.0*-*-*)  
     if test -n "$CC64"; then  
       path="pa64"  
       extra_functions="umul_ppmm udiv_qrnnd"  
       # We need to use the system compiler, or actually the system assembler,  
       # since GAS has not been ported to understand the 2.0 instructions.  
       CCAS="$CC64 -c"  
     else  
       # FIXME: path should be "hppa/hppa2_0 hppa/hppa1_1 hppa"  
       path="hppa/hppa1_1 hppa"  
       extra_functions="udiv_qrnnd"  
     fi  
     ;;  
   hppa*-*-*)                                    #assume pa7100  
     path="hppa/hppa1_1/pa7100 hppa/hppa1_1 hppa"  
     extra_functions="udiv_qrnnd";;  
   f30[01]-fujitsu-sysv*)  
     path=fujitsu;;  
   alphaev6*-*-*) path="alpha/ev6 alpha"; extra_functions="invert_limb cntlz";;  
   alphaev5*-*-*) path="alpha/ev5 alpha"; extra_functions="invert_limb cntlz";;  
   alpha*-*-*) path="alpha"; extra_functions="invert_limb cntlz";;  
   # Cray vector machines.  This must come after alpha* so that we can  
   # recognize present and future vector processors with a wildcard.  
   *-cray-unicos*)  
     path="cray"  
     extra_functions="mulww";;  
   am29000*-*-*) path="a29k";;  
   a29k*-*-*) path="a29k";;  
   
   # AMD and Intel x86 configurations  case $host_cpu in
     c90 | t90)
   
   i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)  cat >conftest.$ac_ext <<_ACEOF
     gmp_m4postinc="x86/x86-defs.m4"  #line 5035 "configure"
     extra_functions="udiv umul"  #include "confdefs.h"
     CALLING_CONVENTIONS_OBJS="x86call.o x86check.o"  #ifdef _CRAYIEEE
   yes
 echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6  #endif
 echo "configure:2583: checking if the assembler takes cl with shldl" 1>&5  _ACEOF
 if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    egrep "yes" >/dev/null 2>&1; then
     add_path="cray/ieee"
 else  else
   cat > conftest.s <<EOF    add_path="cray/cfp"; extra_functions="mulwwc90"
         $gmp_cv_check_asm_text  
         shldl   %cl, %eax, %ebx  
 EOF  
 ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"  
 if { (eval echo configure:2592: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  
   gmp_cv_check_asm_shldl_cl=yes  
 else  
   gmp_cv_check_asm_shldl_cl=no  
 fi  fi
 rm -f conftest*  rm -f conftest*
    ;;
     j90 | sv1)
       extra_functions="mulwwj90"
       add_path="cray/cfp" ;;
   esac
   
   if test -z "$MPN_PATH"; then
     path="$add_path $path"
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_shldl_cl" 1>&6  
 if test "$gmp_cv_check_asm_shldl_cl" = "yes"; then  
   
 echo 'define(<WANT_SHLDL_CL>, <1>)' >> $gmp_tmpconfigm4  # for a nail build, also look in "nails" subdirectories
   if test $GMP_NAIL_BITS != 0 && test -z "$MPN_PATH"; then
     new_path=
     for i in $path; do
       case $i in
       generic) new_path="$new_path $i" ;;
       *)       new_path="$new_path $i/nails $i" ;;
       esac
     done
     path=$new_path
   fi
   
   cat >&5 <<EOF
   configure:1413: Decided:
   ABI=$ABI
   CC=$CC
   CFLAGS=$CFLAGS
   CPPFLAGS=$CPPFLAGS
   GMP_LDFLAGS=$GMP_LDFLAGS
   CXX=$CXX
   CXXFLAGS=$CXXFLAGS
   path=$path
   EOF
   echo "using ABI=\"$ABI\""
   echo "      CC=\"$CC\""
   echo "      CFLAGS=\"$CFLAGS\""
   echo "      CPPFLAGS=\"$CPPFLAGS\""
   if test $want_cxx = yes; then
     echo "      CXX=\"$CXX\""
     echo "      CXXFLAGS=\"$CXXFLAGS\""
   fi
   echo "      MPN_PATH=\"$path\""
   
   # Automake ansi2knr support.
   
   echo "$as_me:5093: checking for ${CC-cc} option to accept ANSI C" >&5
   echo $ECHO_N "checking for ${CC-cc} option to accept ANSI C... $ECHO_C" >&6
   if test "${am_cv_prog_cc_stdc+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
     am_cv_prog_cc_stdc=no
   ac_save_CC="$CC"
   # Don't try gcc -ansi; that turns off useful extensions and
   # breaks some systems' header files.
   # AIX                   -qlanglvl=ansi
   # Ultrix and OSF/1      -std1
   # HP-UX 10.20 and later -Ae
   # HP-UX older versions  -Aa -D_HPUX_SOURCE
   # SVR4                  -Xc -D__EXTENSIONS__
   for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   do
     CC="$ac_save_CC $ac_arg"
     cat >conftest.$ac_ext <<_ACEOF
   #line 5111 "configure"
   #include "confdefs.h"
   #include <stdarg.h>
   #include <stdio.h>
   #include <sys/types.h>
   #include <sys/stat.h>
   /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   struct buf { int x; };
   FILE * (*rcsopen) (struct buf *, struct stat *, int);
   static char *e (p, i)
        char **p;
        int i;
   {
     return p[i];
   }
   static char *f (char * (*g) (char **, int), char **p, ...)
   {
     char *s;
     va_list v;
     va_start (v,p);
     s = g (p, va_arg (v,int));
     va_end (v);
     return s;
   }
   int test (int i, double x);
   struct s1 {int (*f) (int a);};
   struct s2 {int (*f) (double a);};
   int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   int argc;
   char **argv;
   
 echo 'define(<WANT_SHLDL_CL>, <0>)' >> $gmp_tmpconfigm4  int
   main ()
   {
   
 fi  return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   
     echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" 1>&6    ;
 echo "configure:2612: checking if the .align directive accepts an 0x90 fill in .text" 1>&5    return 0;
 if test "${gmp_cv_check_asm_align_fill_0x90+set}" = set; then  }
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:5153: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:5156: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:5159: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:5162: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     am_cv_prog_cc_stdc="$ac_arg"; break
 else  else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   done
   CC="$ac_save_CC"
   
 cat > conftest.s <<EOF  
         $gmp_cv_check_asm_text  
         .align  4, 0x90  
         .byte   0  
         .align  4, 0x90  
 EOF  
 gmp_tmp_val="`$CCAS $CFLAGS conftest.s 2>&1`"  
 if test $? = 0; then  
   echo "$gmp_tmp_val" 1>&5  
   if echo "$gmp_tmp_val" | grep "Warning: Fill parameter ignored for executable section"; then  
     echo "Supressing this warning by omitting 0x90" 1>&5  
     gmp_cv_check_asm_align_fill_0x90=no  
   else  
     gmp_cv_check_asm_align_fill_0x90=yes  
   fi  
 else  
   echo "Non-zero exit code" 1>&5  
   echo "$gmp_tmp_val" 1>&5  
   gmp_cv_check_asm_align_fill_0x90=no  
 fi  fi
 rm -f conftest*  
   
   if test -z "$am_cv_prog_cc_stdc"; then
     echo "$as_me:5176: result: none needed" >&5
   echo "${ECHO_T}none needed" >&6
   else
     echo "$as_me:5179: result: $am_cv_prog_cc_stdc" >&5
   echo "${ECHO_T}$am_cv_prog_cc_stdc" >&6
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_align_fill_0x90" 1>&6  case "x$am_cv_prog_cc_stdc" in
     x|xno) ;;
     *) CC="$CC $am_cv_prog_cc_stdc" ;;
   esac
   
 echo "define(<ALIGN_FILL_0x90>,<$gmp_cv_check_asm_align_fill_0x90>)" >> $gmp_tmpconfigm4  echo "$as_me:5187: checking for function prototypes" >&5
   echo $ECHO_N "checking for function prototypes... $ECHO_C" >&6
   if test "$am_cv_prog_cc_stdc" != no; then
     echo "$as_me:5190: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   
     # the CPUs below wanting to know about mmx  cat >>confdefs.h <<\EOF
     case ${target} in  #define PROTOTYPES 1
       pentiummmx-*-* | pentium[23]-*-* | k6*-*-* | athlon-*-*)  EOF
   
 echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6    U= ANSI2KNR=
 echo "configure:2649: checking if the assembler knows about MMX instructions" 1>&5  
 if test "${gmp_cv_check_asm_mmx+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  else
   cat > conftest.s <<EOF    echo "$as_me:5199: result: no" >&5
         $gmp_cv_check_asm_text  echo "${ECHO_T}no" >&6
         por     %mm0, %mm0    U=_ ANSI2KNR=./ansi2knr
 EOF  
 ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"  
 if { (eval echo configure:2658: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  
   gmp_cv_check_asm_mmx=yes  
 else  
   gmp_cv_check_asm_mmx=no  
 fi  fi
 rm -f conftest*  # Ensure some checks needed by ansi2knr itself.
   echo "$as_me:5204: checking for ANSI C header files" >&5
   echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   if test "${ac_cv_header_stdc+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 5210 "configure"
   #include "confdefs.h"
   #include <stdlib.h>
   #include <stdarg.h>
   #include <string.h>
   #include <float.h>
   
   _ACEOF
   if { (eval echo "$as_me:5218: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:5224: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
 fi  fi
 echo "$ECHO_T""$gmp_cv_check_asm_mmx" 1>&6  if test -z "$ac_cpp_err"; then
 if test "$gmp_cv_check_asm_mmx" = "yes"; then    ac_cv_header_stdc=yes
   tmp_mmx=yes  
 else  else
   echo "configure: warning: +----------------------------------------------------------" 1>&2    echo "$as_me: failed program was:" >&5
   echo "configure: warning: | WARNING WARNING WARNING" 1>&2    cat conftest.$ac_ext >&5
   echo "configure: warning: | Target CPU has MMX code, but it can't be assembled by" 1>&2    ac_cv_header_stdc=no
   echo "configure: warning: |     $CCAS $CFLAGS" 1>&2  
   echo "configure: warning: | Non-MMX replacements will be used." 1>&2  
   echo "configure: warning: | This will be an inferior build." 1>&2  
   echo "configure: warning: +----------------------------------------------------------" 1>&2  
   tmp_mmx=no  
 fi  fi
   rm -f conftest.err conftest.$ac_ext
   
         ;;  if test $ac_cv_header_stdc = yes; then
     esac    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     cat >conftest.$ac_ext <<_ACEOF
   #line 5246 "configure"
   #include "confdefs.h"
   #include <string.h>
   
     # default for anything not otherwise mentioned  _ACEOF
     path="x86"  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     egrep "memchr" >/dev/null 2>&1; then
     :
   else
     ac_cv_header_stdc=no
   fi
   rm -f conftest*
   
     case ${target} in  fi
       i[34]86*-*-*)  
         path="x86"  
         ;;  
       k5*-*-*)  
         # don't know what best suits k5  
         path="x86"  
         ;;  
       i586*-*-* | pentium-*-*)  
         path="x86/pentium x86"  
         ;;  
       pentiummmx-*-*)  
         path="x86/pentium x86"  
         if test "$tmp_mmx" = yes; then  
           path="x86/pentium/mmx $path"  
         fi  
         ;;  
       i686*-*-* | pentiumpro-*-*)  
         path="x86/p6 x86"  
         ;;  
       pentium2-*-*)  
         path="x86/p6 x86"  
         # The pentium/mmx lshift and rshift are good on p6 and can be used  
         # until there's something specific for p6.  
         if test "$tmp_mmx" = yes; then  
           path="x86/p6/mmx x86/pentium/mmx $path"  
         fi  
         ;;  
       pentium3-*-*)  
         path="x86/p6 x86"  
         # The pentium/mmx lshift and rshift are good on p6 and can be used  
         # until there's something specific for p6.  
         if test "$tmp_mmx" = yes; then  
           path="x86/p6/p3mmx x86/p6/mmx x86/pentium/mmx $path"  
         fi  
         ;;  
       k6[23]*-*-*)  
         path="x86/k6 x86"  
         if test "$tmp_mmx" = yes; then  
           path="x86/k6/k62mmx x86/k6/mmx $path"  
         fi  
         ;;  
       k6*-*-*)  
         path="x86/k6 x86"  
         if test "$tmp_mmx" = yes; then  
           path="x86/k6/mmx $path"  
         fi  
         ;;  
       athlon-*-*)  
         path="x86/k7 x86"  
         if test "$tmp_mmx" = yes; then  
           path="x86/k7/mmx $path"  
         fi  
         ;;  
     esac  
     ;;  
   
   i960*-*-*) path="i960";;  if test $ac_cv_header_stdc = yes; then
     # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     cat >conftest.$ac_ext <<_ACEOF
   #line 5264 "configure"
   #include "confdefs.h"
   #include <stdlib.h>
   
   ia64*-*-*) path="ia64";;  _ACEOF
   if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 # Motorola 68k configurations.  Let m68k mean 68020-68040.    egrep "free" >/dev/null 2>&1; then
   m680[234]0*-*-* | m68k*-*-* | \    :
   m68*-next-nextstep*)          # Nexts are at least '020  else
     path="m68k/mc68020 m68k"    ac_cv_header_stdc=no
     family=m68k  
     ;;  
   m68000*-*-*)  
     path="m68k"  
     family=m68k  
     ;;  
   
   m88k*-*-* | m88k*-*-*) path="m88k";;  
   m88110*-*-*) path="m88k/mc88110 m88k";;  
   ns32k*-*-*) path="ns32k";;  
   
   pyramid-*-*) path="pyr";;  
   
   ppc601-*-*) path="power powerpc32";;  
   powerpc64*-*-*) path="powerpc64";;  
   powerpc*-*-*) path="powerpc32";;  
   rs6000-*-* | power-*-* | power2-*-*)  
     path="power"  
     extra_functions="udiv_w_sdiv"  
     ;;  
   
   sh-*-*) path="sh";;  
   sh2-*-*) path="sh/sh2 sh";;  
   
   mips[34]*-*-*) path="mips3";;  
   mips*-*-irix6*) path="mips3";;  
   mips*-*-*) path="mips2";;  
   
   vax*-*-*) path="vax"; extra_functions="udiv_w_sdiv";;  
   
   z8000x*-*-*) path="z8000x"; extra_functions="udiv_w_sdiv";;  
   z8000*-*-*) path="z8000"; extra_functions="udiv_w_sdiv";;  
   
   clipper*-*-*) path="clipper";;  
 esac  
   
 if test -n "$CALLING_CONVENTIONS_OBJS"; then  
   cat >>confdefs.h <<\EOF  
 #define HAVE_CALLING_CONVENTIONS 1  
 EOF  
   
 fi  fi
   rm -f conftest*
   
 case ${target} in  
   i[5-8]86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)  
     # rdtsc is in pentium and up, not in i386 and i486  
     SPEED_CYCLECOUNTER_OBJS=pentium.lo  
     ;;  
   alpha*-*-*)  
     SPEED_CYCLECOUNTER_OBJS=alpha.lo  
     ;;  
   sparcv9*-*-* | ultrasparc*-*-* | sparc64*-*-*)  
     SPEED_CYCLECOUNTER_OBJS=sparcv9.lo  
     ;;  
   hppa2*-*-*)  
     SPEED_CYCLECOUNTER_OBJS=hppa2.lo  
     ;;  
   hppa*-*-*)  
     SPEED_CYCLECOUNTER_OBJS=hppa.lo  
     ;;  
 esac  
   
 if test -n "$SPEED_CYCLECOUNTER_OBJS"  
 then  
   cat >>confdefs.h <<\EOF  
 #define HAVE_SPEED_CYCLECOUNTER 1  
 EOF  
   
 fi  fi
   
 echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6  if test $ac_cv_header_stdc = yes; then
 echo "configure:2822: checking for Cygwin environment" 1>&5    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 if test "${ac_cv_cygwin+set}" = set; then    if test "$cross_compiling" = yes; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    :
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
 #line 2827 "configure"  #line 5285 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   #include <ctype.h>
   #if ((' ' & 0x0FF) == 0x020)
   # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   #else
   # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
                        || ('j' <= (c) && (c) <= 'r') \
                        || ('s' <= (c) && (c) <= 'z'))
   # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   #endif
   
   #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 int  int
 main ()  main ()
 {  {
 #ifndef __CYGWIN__    int i;
 # define __CYGWIN__ __CYGWIN32__    for (i = 0; i < 256; i++)
 #endif      if (XOR (islower (i), ISLOWER (i))
 return __CYGWIN__;          || toupper (i) != TOUPPER (i))
   ;        exit(2);
   return 0;    exit (0);
 }  }
 EOF  _ACEOF
 if { (eval echo configure:2841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  rm -f conftest$ac_exeext
   rm -rf conftest*  if { (eval echo "$as_me:5311: \"$ac_link\"") >&5
   ac_cv_cygwin=yes    (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:5314: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:5316: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:5319: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: program exited with status $ac_status" >&5
   cat conftest.$ac_ext >&5  echo "$as_me: failed program was:" >&5
   rm -rf conftest*  cat conftest.$ac_ext >&5
   ac_cv_cygwin=no  ac_cv_header_stdc=no
 fi  fi
 rm -f conftest*  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 fi  fi
 echo "$ECHO_T""$ac_cv_cygwin" 1>&6  fi
 CYGWIN=  fi
 test "$ac_cv_cygwin" = yes && CYGWIN=yes  echo "$as_me:5332: result: $ac_cv_header_stdc" >&5
 echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6  echo "${ECHO_T}$ac_cv_header_stdc" >&6
 echo "configure:2856: checking for mingw32 environment" 1>&5  if test $ac_cv_header_stdc = yes; then
 if test "${ac_cv_mingw32+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  
   cat >conftest.$ac_ext <<EOF  
 #line 2861 "configure"  
 #include "confdefs.h"  
   
 int  cat >>confdefs.h <<\EOF
 main ()  #define STDC_HEADERS 1
 {  
 return __MINGW32__;  
   ;  
   return 0;  
 }  
 EOF  EOF
 if { (eval echo configure:2872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  fi
   ac_cv_mingw32=yes  
   for ac_header in string.h
   do
   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   echo "$as_me:5345: checking for $ac_header" >&5
   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   if eval "test \"\${$as_ac_Header+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   echo "configure: failed program was:" >&5    cat >conftest.$ac_ext <<_ACEOF
   #line 5351 "configure"
   #include "confdefs.h"
   #include <$ac_header>
   _ACEOF
   if { (eval echo "$as_me:5355: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:5361: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
     eval "$as_ac_Header=yes"
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
   rm -rf conftest*    eval "$as_ac_Header=no"
   ac_cv_mingw32=no  
 fi  fi
 rm -f conftest*  rm -f conftest.err conftest.$ac_ext
 fi  fi
 echo "$ECHO_T""$ac_cv_mingw32" 1>&6  echo "$as_me:5380: result: `eval echo '${'$as_ac_Header'}'`" >&5
 MINGW32=  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
 test "$ac_cv_mingw32" = yes && MINGW32=yes  if test `eval echo '${'$as_ac_Header'}'` = yes; then
 echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 1>&6    cat >>confdefs.h <<EOF
 echo "configure:2887: checking for EMX OS/2 environment" 1>&5  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 if test "${ac_cv_emxos2+set}" = set; then  EOF
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
   fi
   done
   
   gmp_user_AR=$AR
   if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   set dummy ${ac_tool_prefix}ar; ac_word=$2
   echo "$as_me:5394: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_AR+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   cat >conftest.$ac_ext <<EOF    if test -n "$AR"; then
 #line 2892 "configure"    ac_cv_prog_AR="$AR" # Let the user override the test.
 #include "confdefs.h"  else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_AR="${ac_tool_prefix}ar"
   echo "$as_me:5409: found $ac_dir/$ac_word" >&5
   break
   done
   
 int  fi
 main ()  fi
 {  AR=$ac_cv_prog_AR
 return __EMX__;  if test -n "$AR"; then
   ;    echo "$as_me:5417: result: $AR" >&5
   return 0;  echo "${ECHO_T}$AR" >&6
 }  
 EOF  
 if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_emxos2=yes  
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me:5420: result: no" >&5
   cat conftest.$ac_ext >&5  echo "${ECHO_T}no" >&6
   rm -rf conftest*  
   ac_cv_emxos2=no  
 fi  fi
 rm -f conftest*  
 fi  fi
 echo "$ECHO_T""$ac_cv_emxos2" 1>&6  if test -z "$ac_cv_prog_AR"; then
 EMXOS2=    ac_ct_AR=$AR
 test "$ac_cv_emxos2" = yes && EMXOS2=yes    # Extract the first word of "ar", so it can be a program name with args.
   set dummy ar; ac_word=$2
   echo "$as_me:5429: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_AR"; then
     ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_AR="ar"
   echo "$as_me:5444: found $ac_dir/$ac_word" >&5
   break
   done
   
 echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6    test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
 echo "configure:2919: checking for executable suffix" 1>&5  fi
 if test "${ac_cv_exeext+set}" = set; then  fi
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  ac_ct_AR=$ac_cv_prog_ac_ct_AR
   if test -n "$ac_ct_AR"; then
     echo "$as_me:5453: result: $ac_ct_AR" >&5
   echo "${ECHO_T}$ac_ct_AR" >&6
 else  else
   if test "$CYGWIN" = yes || test "$MINGW32" = yes || test "$EMXOS2" = yes; then    echo "$as_me:5456: result: no" >&5
   ac_cv_exeext=.exe  echo "${ECHO_T}no" >&6
   fi
   
     AR=$ac_ct_AR
 else  else
   rm -f conftest*    AR="$ac_cv_prog_AR"
   echo 'int main () { return 0; }' >conftest.$ac_ext  fi
   ac_cv_exeext=  
   if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then  if test -z "$gmp_user_AR"; then
     for ac_file in conftest.*; do                          eval arflags=\"\$ar${abi1}_flags\"
       case $ac_file in    test -n "$arflags" || eval arflags=\"\$ar${abi2}_flags\"
       *.c | *.C | *.o | *.obj | *.xcoff) ;;    if test -n "$arflags"; then
       *) ac_cv_exeext=`echo $ac_file | sed -e s/conftest//` ;;      echo "$as_me:5469: checking for extra ar flags" >&5
       esac  echo $ECHO_N "checking for extra ar flags... $ECHO_C" >&6
     done      AR="$AR $arflags"
   else      echo "$as_me:5472: result: $arflags" >&5
     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }  echo "${ECHO_T}$arflags" >&6
   fi    fi
   rm -f conftest*  
   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no  
 fi  fi
   if test -z "$AR_FLAGS"; then
     AR_FLAGS=cq
 fi  fi
   
 EXEEXT=""  gmp_user_NM=$NM
 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}  echo "$as_me:5481: checking for BSD-compatible nm" >&5
 echo "$ECHO_T""${ac_cv_exeext}" 1>&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
 ac_exeext=$EXEEXT  if test "${lt_cv_path_NM+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6  
 echo "configure:2950: checking for object suffix" 1>&5  
 if test "${ac_cv_objext+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  else
   rm -f conftest*    if test -n "$NM"; then
 echo 'int i = 1;' >conftest.$ac_ext    # Let the user override the test.
 if { (eval echo configure:2956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    lt_cv_path_NM="$NM"
   for ac_file in conftest.*; do  else
     case $ac_file in    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     *.c) ;;    for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;      IFS="$lt_save_ifs"
     esac      test -z "$ac_dir" && ac_dir=.
       tmp_nm="$ac_dir/${ac_tool_prefix}nm"
       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
         # Check to see if the nm accepts a BSD-compat flag.
         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
         #   nm: unknown option "B" ignored
         # Tru64's nm complains that /dev/null is an invalid object file
         if ("$tmp_nm" -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
           lt_cv_path_NM="$tmp_nm -B"
           break
         elif ("$tmp_nm" -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
           lt_cv_path_NM="$tmp_nm -p"
           break
         else
           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
           continue # so that we can try to find one that supports BSD flags
         fi
       fi
   done    done
     IFS="$lt_save_ifs"
     test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   fi
   fi
   echo "$as_me:5516: result: $lt_cv_path_NM" >&5
   echo "${ECHO_T}$lt_cv_path_NM" >&6
   NM="$lt_cv_path_NM"
   
   # FIXME: When cross compiling (ie. $ac_tool_prefix not empty), libtool
   # defaults to plain "nm" if a "${ac_tool_prefix}nm" is not found.  In this
   # case run it again to try the native "nm", firstly so that likely locations
   # are searched, secondly so that -B or -p are added if necessary for BSD
   # format.  This is necessary for instance on OSF with "./configure
   # --build=alphaev5-dec-osf --host=alphaev6-dec-osf".
   #
   if test -z "$gmp_user_NM" && test -n "$ac_tool_prefix" && test "$NM" = nm; then
     $as_unset lt_cv_path_NM
     gmp_save_ac_tool_prefix=$ac_tool_prefix
     ac_tool_prefix=
     NM=
     echo "$as_me:5532: checking for BSD-compatible nm" >&5
   echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
   if test "${lt_cv_path_NM+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }    if test -n "$NM"; then
     # Let the user override the test.
     lt_cv_path_NM="$NM"
   else
     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
       IFS="$lt_save_ifs"
       test -z "$ac_dir" && ac_dir=.
       tmp_nm="$ac_dir/${ac_tool_prefix}nm"
       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
         # Check to see if the nm accepts a BSD-compat flag.
         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
         #   nm: unknown option "B" ignored
         # Tru64's nm complains that /dev/null is an invalid object file
         if ("$tmp_nm" -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
           lt_cv_path_NM="$tmp_nm -B"
           break
         elif ("$tmp_nm" -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
           lt_cv_path_NM="$tmp_nm -p"
           break
         else
           lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
           continue # so that we can try to find one that supports BSD flags
         fi
       fi
     done
     IFS="$lt_save_ifs"
     test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
 fi  fi
 rm -f conftest*  
 fi  fi
   echo "$as_me:5567: result: $lt_cv_path_NM" >&5
   echo "${ECHO_T}$lt_cv_path_NM" >&6
   NM="$lt_cv_path_NM"
   
 echo "$ECHO_T""$ac_cv_objext" 1>&6    ac_tool_prefix=$gmp_save_ac_tool_prefix
 OBJEXT=$ac_cv_objext  fi
 ac_objext=$ac_cv_objext  
   
 case "$target" in  if test -z "$gmp_user_NM"; then
   *-*-aix4.[3-9]*) enable_shared=no ;;                          eval nmflags=\"\$nm${abi1}_flags\"
     test -n "$nmflags" || eval nmflags=\"\$nm${abi2}_flags\"
     if test -n "$nmflags"; then
       echo "$as_me:5578: checking for extra nm flags" >&5
   echo $ECHO_N "checking for extra nm flags... $ECHO_C" >&6
       NM="$NM $nmflags"
       echo "$as_me:5581: result: $nmflags" >&5
   echo "${ECHO_T}$nmflags" >&6
     fi
   fi
   
   case $host in
     # FIXME: On AIX 3 and 4, $libname.a is included in libtool
     # $library_names_spec, so libgmp.a becomes a symlink to libgmp.so, making
     # it impossible to build shared and static libraries simultaneously.
     # Disable shared libraries by default, but let the user override with
     # --enable-shared --disable-static.
     #
     # FIXME: This $libname.a problem looks like it might apply to *-*-amigaos*
     # and *-*-os2* too, but wait for someone to test this before worrying
     # about it.  If there is a problem then of course libtool is the right
     # place to fix it.
     #
     *-*-aix[34]*)
       if test -z "$enable_shared"; then enable_shared=no; fi ;;
   
     # FIXME: Libtool recognises djgpp can't build shared libraries, but still
     # makes tests/.libs/libtests.al out of PIC objects, which then fail to
     # link into the test programs.  Forcibly disable shared stuff until
     # libtool gets it right,
     #
     *-*-msdosdjgpp*)
       enable_shared=no ;;
   
     # FIXME: On SCO 5, an explicit -lc is not wanted when making shared
     # libraries.  Giving it makes strange things happen, like ctype.h macros
     # not working and profiler mcount calls segfaulting.  Libtool ought to
     # know about this, but as of Dec 2000 it doesn't, so forcibly disable -lc
     # on relevant systems.
     #
     *-*-sco3.2v5*)
       lt_cv_archive_cmds_need_lc=no ;;
   
     # FIXME: Shared libraries aren't supported on unicos, but as of Dec 2000
     # libtool doesn't seem to detect this correctly, so forcibly disable them.
     #
     *-*-unicos*)
       enable_shared=no ;;
   
     # It seems there are no shared libs on ultrix, and it is not very important
     # to work on this.  Just disable for now.
     *-*-ultrix*)
       enable_shared=no ;;
 esac  esac
   
   # FIXME: AC_LIBTOOL_SYS_MAX_CMD_LEN has been reported to blow up in some
   # fashion on windows 9x (but not 2k), taking a very long time and
   # temporarily locking the whole PC.  Clearly this is a libtool problem, but
   # for now force a sensible value to avoid the test.
   #
   case $build in
     *-*-cygwin*)
       if test -z "$lt_cv_sys_max_cmd_len"; then
         lt_cv_sys_max_cmd_len=20000
       fi
       ;;
   esac
   
   # Configs for Windows DLLs.
   
   LIBGMP_DLL=0
   
   case $host in
     *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
       # By default, build only static.
       if test -z "$enable_shared"; then
         enable_shared=no
       fi
       # Don't allow both static and DLL.
       if test "$enable_shared" != no && test "$enable_static" != no; then
         { { echo "$as_me:5655: error: cannot build both static and DLL, since gmp.h is different for each.
   Use \"--disable-static --enable-shared\" to build just a DLL." >&5
   echo "$as_me: error: cannot build both static and DLL, since gmp.h is different for each.
   Use \"--disable-static --enable-shared\" to build just a DLL." >&2;}
      { (exit 1); exit 1; }; }
       fi
       if test "$enable_shared" = yes; then
         # libtool requires "-no-undefined", see AC_LIBTOOL_WIN32_DLL doco.
         GMP_LDFLAGS="$GMP_LDFLAGS -no-undefined"
         LIBGMP_DLL=1
       fi
       ;;
   esac
   
   # When cross compiling a DLL, libtool requires $HOST_CC, to compile impgen.c
   # on the build system.  It's a well-known misfeature that libtool doesn't
   # hunt around for a useful HOST_CC on its own.
   # FIXME: Newer libtool looks like it'll need this only for "*-*-mingw* |
   # *-*-pw32*", not *-*-cygwin*.
   #
   case $host in
     *-*-cygwin* | *-*-mingw* | *-*-pw32*)
       if test "$cross_compiling" != no && test "$enable_shared" != no; then
   
   echo "$as_me:5679: checking for HOST_CC build system compiler" >&5
   echo $ECHO_N "checking for HOST_CC build system compiler... $ECHO_C" >&6
   if test "${gmp_cv_prog_host_cc+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$HOST_CC"; then
     gmp_cv_prog_host_cc=$HOST_CC
   else
     if test -n "$CC_FOR_BUILD"; then
       gmp_cv_prog_host_cc=$CC_FOR_BUILD
     else
       cat >conftest.c <<EOF
   int main () { exit(0); }
   EOF
       for c in "$CC" cc gcc c89; do
         echo "trying $c" >&5
         if ($c conftest.c -o conftest) >&5 2>&1; then
           if (./conftest) >&5 2>&1; then
             gmp_cv_prog_host_cc=$c
             break
           fi
         fi
       done
       rm -f conftest*
       if test -z "$gmp_cv_prog_host_cc"; then
         { { echo "$as_me:5704: error: cannot find a build system compiler" >&5
   echo "$as_me: error: cannot find a build system compiler" >&2;}
      { (exit 1); exit 1; }; }
       fi
     fi
   fi
   
   fi
   echo "$as_me:5712: result: $gmp_cv_prog_host_cc" >&5
   echo "${ECHO_T}$gmp_cv_prog_host_cc" >&6
   HOST_CC=$gmp_cv_prog_host_cc
   
       fi
       ;;
   esac
   
   # Ensure that $CONFIG_SHELL is available for AC_LIBTOOL_SYS_MAX_CMD_LEN.
   # It's often set already by _LT_AC_PROG_ECHO_BACKSLASH or
   # _AS_LINENO_PREPARE, but not always.
   #
   # The symptom of CONFIG_SHELL unset is some "expr" errors during the test,
   # and an empty result.  This only happens when invoked as "sh configure",
   # ie. no path, and can be seen for instance on ia64-*-hpux*.
   #
   # FIXME: Newer libtool should have it's own fix for this.
   #
   if test -z "$CONFIG_SHELL"; then
     CONFIG_SHELL=$SHELL
   fi
   
   # Enable CXX in libtool only if we want it, and never enable GCJ, nor RC on
   # mingw and cygwin.  Under --disable-cxx this avoids some error messages
   # from libtool arising from the fact we didn't actually run AC_PROG_CXX.
   # Notice that any user-supplied --with-tags setting takes precedence.
   #
   # FIXME: Is this the right way to get this effect?  Very possibly not, but
   # the current _LT_AC_TAGCONFIG doesn't really suggest an alternative.
   #
   if test "${with_tags+set}" != set; then
     if test $want_cxx = yes; then
       with_tags=CXX
     else
       with_tags=
     fi
   fi
   
 # Check whether --enable-shared or --disable-shared was given.  # Check whether --enable-shared or --disable-shared was given.
 if test "${enable_shared+set}" = set; then  if test "${enable_shared+set}" = set; then
   enableval="$enable_shared"    enableval="$enable_shared"
   p=${PACKAGE-default}    p=${PACKAGE-default}
 case "$enableval" in      case $enableval in
 yes) enable_shared=yes ;;      yes) enable_shared=yes ;;
 no) enable_shared=no ;;      no) enable_shared=no ;;
 *)      *)
   enable_shared=no        enable_shared=no
   # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   for pkg in $enableval; do        for pkg in $enableval; do
     if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
       enable_shared=yes          if test "X$pkg" = "X$p"; then
     fi            enable_shared=yes
   done          fi
   IFS="$ac_save_ifs"        done
   ;;        IFS="$lt_save_ifs"
 esac        ;;
       esac
 else  else
   enable_shared=yes    enable_shared=yes
 fi  fi;
   
 # Check whether --enable-static or --disable-static was given.  # Check whether --enable-static or --disable-static was given.
 if test "${enable_static+set}" = set; then  if test "${enable_static+set}" = set; then
   enableval="$enable_static"    enableval="$enable_static"
   p=${PACKAGE-default}    p=${PACKAGE-default}
 case "$enableval" in      case $enableval in
 yes) enable_static=yes ;;      yes) enable_static=yes ;;
 no) enable_static=no ;;      no) enable_static=no ;;
 *)      *)
   enable_static=no       enable_static=no
   # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   for pkg in $enableval; do        for pkg in $enableval; do
     if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
       enable_static=yes          if test "X$pkg" = "X$p"; then
     fi            enable_static=yes
   done          fi
   IFS="$ac_save_ifs"        done
   ;;        IFS="$lt_save_ifs"
 esac        ;;
       esac
 else  else
   enable_static=yes    enable_static=yes
 fi  fi;
   
 # Check whether --enable-fast-install or --disable-fast-install was given.  # Check whether --enable-fast-install or --disable-fast-install was given.
 if test "${enable_fast_install+set}" = set; then  if test "${enable_fast_install+set}" = set; then
   enableval="$enable_fast_install"    enableval="$enable_fast_install"
   p=${PACKAGE-default}    p=${PACKAGE-default}
 case "$enableval" in      case $enableval in
 yes) enable_fast_install=yes ;;      yes) enable_fast_install=yes ;;
 no) enable_fast_install=no ;;      no) enable_fast_install=no ;;
 *)      *)
   enable_fast_install=no        enable_fast_install=no
   # Look at the argument we got.  We use all the common list separators.        # Look at the argument we got.  We use all the common list separators.
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   for pkg in $enableval; do        for pkg in $enableval; do
     if test "X$pkg" = "X$p"; then          IFS="$lt_save_ifs"
       enable_fast_install=yes          if test "X$pkg" = "X$p"; then
     fi            enable_fast_install=yes
   done          fi
   IFS="$ac_save_ifs"        done
   ;;        IFS="$lt_save_ifs"
 esac        ;;
       esac
 else  else
   enable_fast_install=yes    enable_fast_install=yes
 fi  fi;
   
 echo $ECHO_N "checking build system type... $ECHO_C" 1>&6  
 echo "configure:3044: checking build system type" 1>&5  
 if test "x$ac_cv_build" = "x" || (test "x$build" != "xNONE" && test "x$build" != "x$ac_cv_build_alias"); then  
   
   # Make sure we can run config.sub.  
   if $ac_config_sub sun4 >/dev/null 2>&1; then :; else  
     { echo "configure: error: cannot run $ac_config_sub" 1>&2; exit 1; }  
   fi  
   
   ac_cv_build_alias=$build  
   case "$ac_cv_build_alias" in  
   NONE)  
     case $nonopt in  
     NONE)  
       ac_cv_build_alias=$host_alias ;;  
     *) ac_cv_build_alias=$nonopt ;;  
     esac ;;  
   esac  
   
   ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || exit 1  
   ac_cv_build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`  
   ac_cv_build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`  
   ac_cv_build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`  
 else  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 fi  
   
 echo "$ECHO_T""$ac_cv_build" 1>&6  
   
 build=$ac_cv_build  
 build_alias=$ac_cv_build_alias  
 build_cpu=$ac_cv_build_cpu  
 build_vendor=$ac_cv_build_vendor  
 build_os=$ac_cv_build_os  
   
 # Check whether --with-gnu-ld or --without-gnu-ld was given.  # Check whether --with-gnu-ld or --without-gnu-ld was given.
 if test "${with_gnu_ld+set}" = set; then  if test "${with_gnu_ld+set}" = set; then
   withval="$with_gnu_ld"    withval="$with_gnu_ld"
   test "$withval" = no || with_gnu_ld=yes    test "$withval" = no || with_gnu_ld=yes
 else  else
   with_gnu_ld=no    with_gnu_ld=no
 fi  fi;
   
 ac_prog=ld  ac_prog=ld
 if test "$ac_cv_prog_gcc" = yes; then  if test "$GCC" = yes; then
   # Check if gcc -print-prog-name=ld gives a path.    # Check if gcc -print-prog-name=ld gives a path.
   echo $ECHO_N "checking for ld used by GCC... $ECHO_C" 1>&6    echo "$as_me:5832: checking for ld used by GCC" >&5
 echo "configure:3090: checking for ld used by GCC" 1>&5  echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
   case $lt_target in    case $host in
   *-*-mingw*)    *-*-mingw*)
     # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   *)    *)
     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   esac    esac
   case "$ac_prog" in    case $ac_prog in
     # Accept absolute paths.      # Accept absolute paths.
     [\\/]* | [A-Za-z]:[\\/]*)      [\\/]* | ?:[\\/]*)
       re_direlt='/[^/][^/]*/\.\./'        re_direlt='/[^/][^/]*/\.\./'
       # Canonicalize the path of ld        # Canonicalize the path of ld
       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`        ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
Line 3115  echo "configure:3090: checking for ld used by GCC" 1>&
Line 5859  echo "configure:3090: checking for ld used by GCC" 1>&
     ;;      ;;
   esac    esac
 elif test "$with_gnu_ld" = yes; then  elif test "$with_gnu_ld" = yes; then
   echo $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6    echo "$as_me:5862: checking for GNU ld" >&5
 echo "configure:3120: checking for GNU ld" 1>&5  echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
 else  else
   echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6    echo "$as_me:5865: checking for non-GNU ld" >&5
 echo "configure:3123: checking for non-GNU ld" 1>&5  echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
 fi  fi
 if test "${ac_cv_path_LD+set}" = set; then  if test "${lt_cv_path_LD+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -z "$LD"; then    if test -z "$LD"; then
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   for ac_dir in $PATH; do    for ac_dir in $PATH; do
       IFS="$lt_save_ifs"
     test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
       ac_cv_path_LD="$ac_dir/$ac_prog"        lt_cv_path_LD="$ac_dir/$ac_prog"
       # Check to see if the program is GNU ld.  I'd rather use --version,        # Check to see if the program is GNU ld.  I'd rather use --version,
       # but apparently some GNU ld's only accept -v.        # but apparently some GNU ld's only accept -v.
       # Break only if it was the GNU/non-GNU ld that we prefer.        # Break only if it was the GNU/non-GNU ld that we prefer.
       if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then        if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
         test "$with_gnu_ld" != no && break          test "$with_gnu_ld" != no && break
       else        else
         test "$with_gnu_ld" != yes && break          test "$with_gnu_ld" != yes && break
       fi        fi
     fi      fi
   done    done
   IFS="$ac_save_ifs"    IFS="$lt_save_ifs"
 else  else
   ac_cv_path_LD="$LD" # Let the user override the test with a path.    lt_cv_path_LD="$LD" # Let the user override the test with a path.
 fi  fi
 fi  fi
   
 LD="$ac_cv_path_LD"  LD="$lt_cv_path_LD"
 if test -n "$LD"; then  if test -n "$LD"; then
   echo "$ECHO_T""$LD" 1>&6    echo "$as_me:5896: result: $LD" >&5
   echo "${ECHO_T}$LD" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:5899: result: no" >&5
   echo "${ECHO_T}no" >&6
 fi  fi
 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  test -z "$LD" && { { echo "$as_me:5902: error: no acceptable ld found in \$PATH" >&5
 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" 1>&6  echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 echo "configure:3158: checking if the linker ($LD) is GNU ld" 1>&5     { (exit 1); exit 1; }; }
 if test "${ac_cv_prog_gnu_ld+set}" = set; then  echo "$as_me:5905: checking if the linker ($LD) is GNU ld" >&5
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   if test "${lt_cv_prog_gnu_ld+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.    # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then  if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
   ac_cv_prog_gnu_ld=yes    lt_cv_prog_gnu_ld=yes
 else  else
   ac_cv_prog_gnu_ld=no    lt_cv_prog_gnu_ld=no
 fi  fi
 fi  fi
 echo "$ECHO_T""$ac_cv_prog_gnu_ld" 1>&6  echo "$as_me:5917: result: $lt_cv_prog_gnu_ld" >&5
 with_gnu_ld=$ac_cv_prog_gnu_ld  echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   with_gnu_ld=$lt_cv_prog_gnu_ld
   
 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 1>&6  echo "$as_me:5921: checking for $LD option to reload object files" >&5
 echo "configure:3173: checking for $LD option to reload object files" 1>&5  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
 if test "${lt_cv_ld_reload_flag+set}" = set; then  if test "${lt_cv_ld_reload_flag+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   lt_cv_ld_reload_flag='-r'    lt_cv_ld_reload_flag='-r'
 fi  fi
 echo "$ECHO_T""$lt_cv_ld_reload_flag" 1>&6  echo "$as_me:5928: result: $lt_cv_ld_reload_flag" >&5
   echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
 reload_flag=$lt_cv_ld_reload_flag  reload_flag=$lt_cv_ld_reload_flag
 test -n "$reload_flag" && reload_flag=" $reload_flag"  case $reload_flag in
   "" | " "*) ;;
   *) reload_flag=" $reload_flag" ;;
   esac
   reload_cmds='$LD$reload_flag -o $output$reload_objs'
   
 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6  echo "$as_me:5937: checking whether ln -s works" >&5
 echo "configure:3184: checking how to recognise dependant libraries" 1>&5  echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   LN_S=$as_ln_s
   if test "$LN_S" = "ln -s"; then
     echo "$as_me:5941: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   else
     echo "$as_me:5944: result: no, using $LN_S" >&5
   echo "${ECHO_T}no, using $LN_S" >&6
   fi
   
   echo "$as_me:5948: checking how to recognise dependant libraries" >&5
   echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
 if test "${lt_cv_deplibs_check_method+set}" = set; then  if test "${lt_cv_deplibs_check_method+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   lt_cv_file_magic_cmd='${MAGIC}'    lt_cv_file_magic_cmd='$MAGIC_CMD'
 lt_cv_file_magic_test_file=  lt_cv_file_magic_test_file=
 lt_cv_deplibs_check_method='unknown'  lt_cv_deplibs_check_method='unknown'
 # Need to set the preceding variable on all platforms that support  # Need to set the preceding variable on all platforms that support
Line 3193  lt_cv_deplibs_check_method='unknown'
Line 5959  lt_cv_deplibs_check_method='unknown'
 # `unknown' -- same as none, but documents that we really don't know.  # `unknown' -- same as none, but documents that we really don't know.
 # 'pass_all' -- all dependencies passed with no checks.  # 'pass_all' -- all dependencies passed with no checks.
 # 'test_compile' -- check by making test program.  # 'test_compile' -- check by making test program.
 # 'file_magic [regex]' -- check by looking for files in library path  # 'file_magic [[regex]]' -- check by looking for files in library path
 # which responds to the $file_magic_cmd with a given egrep regex.  # which responds to the $file_magic_cmd with a given egrep regex.
 # If you have `file' or equivalent on your system and you're not sure  # If you have `file' or equivalent on your system and you're not sure
 # whether `pass_all' will *always* work, you probably want this one.  # whether `pass_all' will *always* work, you probably want this one.
   
 case "$host_os" in  case $host_os in
 aix4* | beos*)  aix4* | aix5*)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
   beos*)
     lt_cv_deplibs_check_method=pass_all
     ;;
   
 bsdi4*)  bsdi4*)
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     lt_cv_file_magic_test_file=/shlib/libc.so    lt_cv_file_magic_cmd='/usr/bin/file -L'
     lt_cv_file_magic_test_file=/shlib/libc.so
   ;;    ;;
   
 cygwin* | mingw*)  cygwin* | mingw* | pw32*)
   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   lt_cv_file_magic_cmd='${OBJDUMP} -f'    lt_cv_file_magic_cmd='$OBJDUMP -f'
   ;;    ;;
   
 freebsd*)  darwin* | rhapsody*)
   case "$version_type" in    lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
   freebsd-elf*)    lt_cv_file_magic_cmd='/usr/bin/file -L'
     lt_cv_deplibs_check_method=pass_all    case "$host_os" in
     rhapsody* | darwin1.[012])
       lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
     ;;      ;;
     *) # Darwin 1.3 on
       lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
       ;;
   esac    esac
   ;;    ;;
   
   freebsd*)
     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
       case $host_cpu in
       i*86 )
         # Not sure whether the presence of OpenBSD here was a mistake.
         # Let's accept both of them until this is cleared up.
         lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
         lt_cv_file_magic_cmd=/usr/bin/file
         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
         ;;
       esac
     else
       lt_cv_deplibs_check_method=pass_all
     fi
     ;;
   
 gnu*)  gnu*)
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
   hpux10.20* | hpux11*)
     lt_cv_file_magic_cmd=/usr/bin/file
     if test "$host_cpu" = ia64; then
       lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
       lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     else
       lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
       lt_cv_file_magic_test_file=/usr/lib/libc.sl
     fi
     ;;
   
 irix5* | irix6*)  irix5* | irix6*)
   case "$host_os" in    case $host_os in
   irix5*)    irix5*)
     # this will be overridden with pass_all, but let us keep it just in case      # this will be overridden with pass_all, but let us keep it just in case
     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"      lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
     ;;      ;;
   *)    *)
     case "$LD" in      case $LD in
     *-32|*"-32 ") libmagic=32-bit;;      *-32|*"-32 ") libmagic=32-bit;;
     *-n32|*"-n32 ") libmagic=N32;;      *-n32|*"-n32 ") libmagic=N32;;
     *-64|*"-64 ") libmagic=64-bit;;      *-64|*"-64 ") libmagic=64-bit;;
     *) libmagic=never-match;;      *) libmagic=never-match;;
     esac      esac
     # this will be overridden with pass_all, but let us keep it just in case      # this will be overridden with pass_all, but let us keep it just in case
         lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"      lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
         ;;      ;;
   esac    esac
   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`    lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
   lt_cv_deplibs_check_method=pass_all    lt_cv_deplibs_check_method=pass_all
   ;;    ;;
   
 # This must be Linux ELF.  # This must be Linux ELF.
 linux-gnu*)  linux*)
   case "$host_cpu" in    case $host_cpu in
   alpha* | i*86 | powerpc* | sparc* )    alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
     lt_cv_deplibs_check_method=pass_all ;;      lt_cv_deplibs_check_method=pass_all ;;
   *)    *)
     # glibc up to 2.1.1 does not perform some relocations on ARM      # glibc up to 2.1.1 does not perform some relocations on ARM
         lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
       esac    esac
   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`    lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
   ;;    ;;
   
   netbsd*)
     if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
     else
       lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
     fi
     ;;
   
   newos6*)
     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     lt_cv_file_magic_cmd=/usr/bin/file
     lt_cv_file_magic_test_file=/usr/lib/libnls.so
     ;;
   
   nto-qnx)
     lt_cv_deplibs_check_method=unknown
     ;;
   
   openbsd*)
     lt_cv_file_magic_cmd=/usr/bin/file
     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
     else
       lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
     fi
     ;;
   
 osf3* | osf4* | osf5*)  osf3* | osf4* | osf5*)
   # this will be overridden with pass_all, but let us keep it just in case    # this will be overridden with pass_all, but let us keep it just in case
   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'    lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
Line 3275  solaris*)
Line 6106  solaris*)
   ;;    ;;
   
 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)  sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   case "$host_vendor" in    case $host_vendor in
     motorola)
       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]'
       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
       ;;
   ncr)    ncr)
     lt_cv_deplibs_check_method=pass_all      lt_cv_deplibs_check_method=pass_all
     ;;      ;;
   motorola)    sequent)
         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]'      lt_cv_file_magic_cmd='/bin/file'
         lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
     ;;      ;;
     sni)
       lt_cv_file_magic_cmd='/bin/file'
       lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
       lt_cv_file_magic_test_file=/lib/libc.so
       ;;
   esac    esac
   ;;    ;;
   
   sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
     lt_cv_deplibs_check_method=pass_all
     ;;
 esac  esac
   
 fi  fi
 echo "$ECHO_T""$lt_cv_deplibs_check_method" 1>&6  echo "$as_me:6135: result: $lt_cv_deplibs_check_method" >&5
   echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
 file_magic_cmd=$lt_cv_file_magic_cmd  file_magic_cmd=$lt_cv_file_magic_cmd
 deplibs_check_method=$lt_cv_deplibs_check_method  deplibs_check_method=$lt_cv_deplibs_check_method
   test -z "$deplibs_check_method" && deplibs_check_method=unknown
   
 if test $host != $build; then  # If no C compiler was specified, use CC.
   ac_tool_prefix=${host_alias}-  LTCC=${LTCC-"$CC"}
   
   # Allow CC to be a program name with arguments.
   set dummy $CC
   compiler="$2"
   
   # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   if test "${enable_libtool_lock+set}" = set; then
     enableval="$enable_libtool_lock"
   
   fi;
   test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   
   # Some flags need to be propagated to the compiler or linker for good
   # libtool support.
   case $host in
   ia64-*-hpux*)
     # Find out which ABI we are using.
     echo 'int i;' > conftest.$ac_ext
     if { (eval echo "$as_me:6161: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:6164: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       case `/usr/bin/file conftest.$ac_objext` in
       *ELF-32*)
         HPUX_IA64_MODE="32"
         ;;
       *ELF-64*)
         HPUX_IA64_MODE="64"
         ;;
       esac
     fi
     rm -rf conftest*
     ;;
   *-*-irix6*)
     # Find out which ABI we are using.
     echo '#line 6179 "configure"' > conftest.$ac_ext
     if { (eval echo "$as_me:6180: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:6183: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       case `/usr/bin/file conftest.$ac_objext` in
       *32-bit*)
         LD="${LD-ld} -32"
         ;;
       *N32*)
         LD="${LD-ld} -n32"
         ;;
       *64-bit*)
         LD="${LD-ld} -64"
         ;;
       esac
     fi
     rm -rf conftest*
     ;;
   
   *-*-sco3.2v5*)
     # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     SAVE_CFLAGS="$CFLAGS"
     CFLAGS="$CFLAGS -belf"
     echo "$as_me:6204: checking whether the C compiler needs -belf" >&5
   echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
   if test "${lt_cv_cc_needs_belf+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   ac_tool_prefix=    ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
        cat >conftest.$ac_ext <<_ACEOF
   #line 6216 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:6228: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:6231: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:6234: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:6237: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     lt_cv_cc_needs_belf=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   lt_cv_cc_needs_belf=no
 fi  fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
 # Only perform the check for file, if the check method requires it  fi
 case "$deplibs_check_method" in  echo "$as_me:6253: result: $lt_cv_cc_needs_belf" >&5
 file_magic*)  echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
   if test "$file_magic_cmd" = '${MAGIC}'; then    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
       # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
       CFLAGS="$SAVE_CFLAGS"
     fi
     ;;
   *-*-cygwin* | *-*-mingw* | *-*-pw32*)
     if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   echo "$as_me:6264: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_DLLTOOL+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$DLLTOOL"; then
     ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   echo "$as_me:6279: found $ac_dir/$ac_word" >&5
   break
   done
   
 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6  fi
 echo "configure:3308: checking for ${ac_tool_prefix}file" 1>&5  fi
 if test "${lt_cv_path_MAGIC+set}" = set; then  DLLTOOL=$ac_cv_prog_DLLTOOL
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  if test -n "$DLLTOOL"; then
     echo "$as_me:6287: result: $DLLTOOL" >&5
   echo "${ECHO_T}$DLLTOOL" >&6
 else  else
   case "$MAGIC" in    echo "$as_me:6290: result: no" >&5
   /*)  echo "${ECHO_T}no" >&6
   lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.  fi
   
   fi
   if test -z "$ac_cv_prog_DLLTOOL"; then
     ac_ct_DLLTOOL=$DLLTOOL
     # Extract the first word of "dlltool", so it can be a program name with args.
   set dummy dlltool; ac_word=$2
   echo "$as_me:6299: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_DLLTOOL"; then
     ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   echo "$as_me:6314: found $ac_dir/$ac_word" >&5
   break
   done
   
     test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
   fi
   fi
   ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   if test -n "$ac_ct_DLLTOOL"; then
     echo "$as_me:6323: result: $ac_ct_DLLTOOL" >&5
   echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
   else
     echo "$as_me:6326: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     DLLTOOL=$ac_ct_DLLTOOL
   else
     DLLTOOL="$ac_cv_prog_DLLTOOL"
   fi
   
     if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
   set dummy ${ac_tool_prefix}as; ac_word=$2
   echo "$as_me:6338: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_AS+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$AS"; then
     ac_cv_prog_AS="$AS" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_AS="${ac_tool_prefix}as"
   echo "$as_me:6353: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   AS=$ac_cv_prog_AS
   if test -n "$AS"; then
     echo "$as_me:6361: result: $AS" >&5
   echo "${ECHO_T}$AS" >&6
   else
     echo "$as_me:6364: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
   fi
   if test -z "$ac_cv_prog_AS"; then
     ac_ct_AS=$AS
     # Extract the first word of "as", so it can be a program name with args.
   set dummy as; ac_word=$2
   echo "$as_me:6373: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_AS"; then
     ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_AS="as"
   echo "$as_me:6388: found $ac_dir/$ac_word" >&5
   break
   done
   
     test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
   fi
   fi
   ac_ct_AS=$ac_cv_prog_ac_ct_AS
   if test -n "$ac_ct_AS"; then
     echo "$as_me:6397: result: $ac_ct_AS" >&5
   echo "${ECHO_T}$ac_ct_AS" >&6
   else
     echo "$as_me:6400: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     AS=$ac_ct_AS
   else
     AS="$ac_cv_prog_AS"
   fi
   
     if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   set dummy ${ac_tool_prefix}objdump; ac_word=$2
   echo "$as_me:6412: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_OBJDUMP+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$OBJDUMP"; then
     ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   echo "$as_me:6427: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   OBJDUMP=$ac_cv_prog_OBJDUMP
   if test -n "$OBJDUMP"; then
     echo "$as_me:6435: result: $OBJDUMP" >&5
   echo "${ECHO_T}$OBJDUMP" >&6
   else
     echo "$as_me:6438: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
   fi
   if test -z "$ac_cv_prog_OBJDUMP"; then
     ac_ct_OBJDUMP=$OBJDUMP
     # Extract the first word of "objdump", so it can be a program name with args.
   set dummy objdump; ac_word=$2
   echo "$as_me:6447: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_OBJDUMP"; then
     ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_OBJDUMP="objdump"
   echo "$as_me:6462: found $ac_dir/$ac_word" >&5
   break
   done
   
     test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
   fi
   fi
   ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   if test -n "$ac_ct_OBJDUMP"; then
     echo "$as_me:6471: result: $ac_ct_OBJDUMP" >&5
   echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
   else
     echo "$as_me:6474: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     OBJDUMP=$ac_ct_OBJDUMP
   else
     OBJDUMP="$ac_cv_prog_OBJDUMP"
   fi
   
     # recent cygwin and mingw systems supply a stub DllMain which the user
     # can override, but on older systems we have to supply one
     echo "$as_me:6485: checking if libtool should supply DllMain function" >&5
   echo $ECHO_N "checking if libtool should supply DllMain function... $ECHO_C" >&6
   if test "${lt_cv_need_dllmain+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 6491 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
         DllMain (0, 0, 0);
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:6504: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:6507: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:6510: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:6513: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     lt_cv_need_dllmain=no
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   lt_cv_need_dllmain=yes
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:6523: result: $lt_cv_need_dllmain" >&5
   echo "${ECHO_T}$lt_cv_need_dllmain" >&6
   
     case $host/$CC in
     *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
       # old mingw systems require "-dll" to link a DLL, while more recent ones
       # require "-mdll"
       SAVE_CFLAGS="$CFLAGS"
       CFLAGS="$CFLAGS -mdll"
       echo "$as_me:6532: checking how to link DLLs" >&5
   echo $ECHO_N "checking how to link DLLs... $ECHO_C" >&6
   if test "${lt_cv_cc_dll_switch+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 6538 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:6550: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:6553: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:6556: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:6559: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     lt_cv_cc_dll_switch=-mdll
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   lt_cv_cc_dll_switch=-dll
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:6569: result: $lt_cv_cc_dll_switch" >&5
   echo "${ECHO_T}$lt_cv_cc_dll_switch" >&6
       CFLAGS="$SAVE_CFLAGS" ;;
     *-*-cygwin* | *-*-pw32*)
       # cygwin systems need to pass --dll to the linker, and not link
       # crt.o which will require a WinMain@16 definition.
       lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
     esac
   ;;    ;;
   ?:/*)  
   ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.  esac
   
   need_locks="$enable_libtool_lock"
   
   for ac_header in dlfcn.h
   do
   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   echo "$as_me:6586: checking for $ac_header" >&5
   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   if eval "test \"\${$as_ac_Header+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 6592 "configure"
   #include "confdefs.h"
   #include <$ac_header>
   _ACEOF
   if { (eval echo "$as_me:6596: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:6602: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
     eval "$as_ac_Header=yes"
   else
     echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     eval "$as_ac_Header=no"
   fi
   rm -f conftest.err conftest.$ac_ext
   fi
   echo "$as_me:6621: result: `eval echo '${'$as_ac_Header'}'`" >&5
   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   if test `eval echo '${'$as_ac_Header'}'` = yes; then
     cat >>confdefs.h <<EOF
   #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   EOF
   
   fi
   done
   
   # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   
   # find the maximum length of command line arguments
   echo "$as_me:6634: checking the maximum length of command line arguments" >&5
   echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
   if test "${lt_cv_sys_max_cmd_len+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
       i=0
     testring="ABCD"
   
     case $host_os in
     msdosdjgpp*)
       # On DJGPP, this test can blow up pretty badly due to problems in libc
       # (any single argument exceeding 2000 bytes causes a buffer overrun
       # during glob expansion).  Even if it were fixed, the result of this
       # check would be larger than it should be.
       lt_cv_sys_max_cmd_len=12288;    # 12K is about right
       ;;
   
     gnu*)
       # Under GNU Hurd, this test is not required because there is
       # no limit to the length of command line arguments.
       # Libtool will interpret -1 as no limit whatsoever
       lt_cv_sys_max_cmd_len=-1;
       ;;
   
     *)
       # If test is not a shell built-in, we'll probably end up computing a
       # maximum length that is only half of the actual maximum length, but
       # we can't tell.
       while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
                  = "XX$testring") >/dev/null 2>&1 &&
               new_result=`expr "X$testring" : ".*" 2>&1` &&
               lt_cv_sys_max_cmd_len=$new_result &&
               test $i != 17 # 1/2 MB should be enough
       do
         i=`expr $i + 1`
         testring=$testring$testring
       done
       testring=
       # add a significant safety factor because C++ compilers can tack on massive
       # amounts of additional arguments before passing them to the linker.  1/4
       # should be good.
       len=`expr $lt_cv_sys_max_cmd_len \/ 4`
       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len - $len`
       ;;
     esac
   
   fi
   
   if test -n $lt_cv_sys_max_cmd_len ; then
     echo "$as_me:6683: result: $lt_cv_sys_max_cmd_len" >&5
   echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
   else
     echo "$as_me:6686: result: none" >&5
   echo "${ECHO_T}none" >&6
   fi
   
   # Check for command to grab the raw symbol name followed by C symbol from nm.
   echo "$as_me:6691: checking command to parse $NM output from $compiler object" >&5
   echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
   if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   
   # These are sane defaults that work on at least a few old systems.
   # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   
   # Character class describing NM global symbol codes.
   symcode='[BCDEGRST]'
   
   # Regexp to match symbols that can be accessed directly from C.
   sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   
   # Transform the above into a raw symbol and a C symbol.
   symxfrm='\1 \2\3 \3'
   
   # Transform an extracted symbol line into a proper C declaration
   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   
   # Transform an extracted symbol line into symbol name and symbol address
   lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
   
   # Define system-specific variables.
   case $host_os in
   aix*)
     symcode='[BCDT]'
   ;;    ;;
   cygwin* | mingw* | pw32*)
     symcode='[ABCDGISTW]'
     ;;
   hpux*) # Its linker distinguishes data from code symbols
     if test "$host_cpu" = ia64; then
       symcode='[ABCDEGRST]'
     fi
     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
     ;;
   irix*)
     symcode='[BCDEGRST]'
     ;;
   solaris* | sysv5*)
     symcode='[BDT]'
     ;;
   sysv4)
     symcode='[DFNSTU]'
     ;;
   esac
   
   # Handle CRLF in mingw tool chain
   opt_cr=
   case $host_os in
   mingw*)
     opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     ;;
   esac
   
   # If we're using GNU nm, then use its standard symbol codes.
   if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
     symcode='[ABCDGISTW]'
   fi
   
   # Try without a prefix undercore, then with it.
   for ac_symprfx in "" "_"; do
   
     # Write the raw and C identifiers.
     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
   
     # Check to see that the pipe works correctly.
     pipe_works=no
   
     rm -f conftest*
     cat > conftest.$ac_ext <<EOF
   #ifdef __cplusplus
   extern "C" {
   #endif
   char nm_test_var;
   void nm_test_func(){}
   #ifdef __cplusplus
   }
   #endif
   int main(){nm_test_var='a';nm_test_func();return(0);}
   EOF
   
     if { (eval echo "$as_me:6776: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:6779: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       # Now try to grab the symbols.
       nlist=conftest.nm
       if { (eval echo "$as_me:6783: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
     (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
     ac_status=$?
     echo "$as_me:6786: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s "$nlist"; then
         # Try sorting and uniquifying the output.
         if sort "$nlist" | uniq > "$nlist"T; then
           mv -f "$nlist"T "$nlist"
         else
           rm -f "$nlist"T
         fi
   
         # Make sure that we snagged all the symbols we need.
         if egrep ' nm_test_var$' "$nlist" >/dev/null; then
           if egrep ' nm_test_func$' "$nlist" >/dev/null; then
             cat <<EOF > conftest.$ac_ext
   #ifdef __cplusplus
   extern "C" {
   #endif
   
   EOF
             # Now generate the symbol file.
             eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   
             cat <<EOF >> conftest.$ac_ext
   #if defined (__STDC__) && __STDC__
   # define lt_ptr_t void *
   #else
   # define lt_ptr_t char *
   # define const
   #endif
   
   /* The mapping between symbol names and symbols. */
   const struct {
     const char *name;
     lt_ptr_t address;
   }
   lt_preloaded_symbols[] =
   {
   EOF
             sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
             cat <<\EOF >> conftest.$ac_ext
     {0, (lt_ptr_t) 0}
   };
   
   #ifdef __cplusplus
   }
   #endif
   EOF
             # Now try linking the two files.
             mv conftest.$ac_objext conftstm.$ac_objext
             lt_save_LIBS="$LIBS"
             lt_save_CFLAGS="$CFLAGS"
             LIBS="conftstm.$ac_objext"
             CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
             if { (eval echo "$as_me:6838: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:6841: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s conftest${ac_exeext}; then
               pipe_works=yes
             fi
             LIBS="$lt_save_LIBS"
             CFLAGS="$lt_save_CFLAGS"
           else
             echo "cannot find nm_test_func in $nlist" >&5
           fi
         else
           echo "cannot find nm_test_var in $nlist" >&5
         fi
       else
         echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
       fi
     else
       echo "$progname: failed program was:" >&5
       cat conftest.$ac_ext >&5
     fi
     rm -f conftest* conftst*
   
     # Do not use the global_symbol_pipe unless it works.
     if test "$pipe_works" = yes; then
       break
     else
       lt_cv_sys_global_symbol_pipe=
     fi
   done
   
   fi
   
   if test -z "$lt_cv_sys_global_symbol_pipe"; then
     lt_cv_sys_global_symbol_to_cdecl=
   fi
   if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     echo "$as_me:6876: result: failed" >&5
   echo "${ECHO_T}failed" >&6
   else
     echo "$as_me:6879: result: ok" >&5
   echo "${ECHO_T}ok" >&6
   fi
   
   echo "$as_me:6883: checking for objdir" >&5
   echo $ECHO_N "checking for objdir... $ECHO_C" >&6
   if test "${lt_cv_objdir+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     rm -f .libs 2>/dev/null
   mkdir .libs 2>/dev/null
   if test -d .libs; then
     lt_cv_objdir=.libs
   else
     # MS-DOS does not allow filenames that begin with a dot.
     lt_cv_objdir=_libs
   fi
   rmdir .libs 2>/dev/null
   fi
   echo "$as_me:6898: result: $lt_cv_objdir" >&5
   echo "${ECHO_T}$lt_cv_objdir" >&6
   objdir=$lt_cv_objdir
   
   case $host_os in
   aix3*)
     # AIX sometimes has problems with the GCC collect2 program.  For some
     # reason, if we set the COLLECT_NAMES environment variable, the problems
     # vanish in a puff of smoke.
     if test "X${COLLECT_NAMES+set}" != Xset; then
       COLLECT_NAMES=
       export COLLECT_NAMES
     fi
     ;;
   esac
   
   # Sed substitution that helps us do robust quoting.  It backslashifies
   # metacharacters that are still active within double-quoted strings.
   Xsed='sed -e s/^X//'
   sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   
   # Same as above, but do not quote variable references.
   double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   
   # Sed substitution to delay expansion of an escaped shell variable in a
   # double_quote_subst'ed string.
   delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   
   # Sed substitution to avoid accidental globbing in evaled expressions
   no_glob_subst='s/\*/\\\*/g'
   
   # Constants:
   rm="rm -f"
   
   # Global variables:
   default_ofile=libtool
   can_build_shared=yes
   
   # All known linkers require a `.a' archive for static linking (except M$VC,
   # which needs '.lib').
   libext=a
   ltmain="$ac_aux_dir/ltmain.sh"
   ofile="$default_ofile"
   with_gnu_ld="$lt_cv_prog_gnu_ld"
   
   if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   echo "$as_me:6946: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_RANLIB+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$RANLIB"; then
     ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   echo "$as_me:6961: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   RANLIB=$ac_cv_prog_RANLIB
   if test -n "$RANLIB"; then
     echo "$as_me:6969: result: $RANLIB" >&5
   echo "${ECHO_T}$RANLIB" >&6
   else
     echo "$as_me:6972: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
   fi
   if test -z "$ac_cv_prog_RANLIB"; then
     ac_ct_RANLIB=$RANLIB
     # Extract the first word of "ranlib", so it can be a program name with args.
   set dummy ranlib; ac_word=$2
   echo "$as_me:6981: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_RANLIB"; then
     ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_RANLIB="ranlib"
   echo "$as_me:6996: found $ac_dir/$ac_word" >&5
   break
   done
   
     test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   fi
   fi
   ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   if test -n "$ac_ct_RANLIB"; then
     echo "$as_me:7005: result: $ac_ct_RANLIB" >&5
   echo "${ECHO_T}$ac_ct_RANLIB" >&6
   else
     echo "$as_me:7008: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     RANLIB=$ac_ct_RANLIB
   else
     RANLIB="$ac_cv_prog_RANLIB"
   fi
   
   if test -n "$ac_tool_prefix"; then
     # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   set dummy ${ac_tool_prefix}strip; ac_word=$2
   echo "$as_me:7020: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_STRIP+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$STRIP"; then
     ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   echo "$as_me:7035: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   STRIP=$ac_cv_prog_STRIP
   if test -n "$STRIP"; then
     echo "$as_me:7043: result: $STRIP" >&5
   echo "${ECHO_T}$STRIP" >&6
   else
     echo "$as_me:7046: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
   fi
   if test -z "$ac_cv_prog_STRIP"; then
     ac_ct_STRIP=$STRIP
     # Extract the first word of "strip", so it can be a program name with args.
   set dummy strip; ac_word=$2
   echo "$as_me:7055: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$ac_ct_STRIP"; then
     ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_ac_ct_STRIP="strip"
   echo "$as_me:7070: found $ac_dir/$ac_word" >&5
   break
   done
   
     test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   fi
   fi
   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   if test -n "$ac_ct_STRIP"; then
     echo "$as_me:7079: result: $ac_ct_STRIP" >&5
   echo "${ECHO_T}$ac_ct_STRIP" >&6
   else
     echo "$as_me:7082: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     STRIP=$ac_ct_STRIP
   else
     STRIP="$ac_cv_prog_STRIP"
   fi
   
   old_CC="$CC"
   old_CFLAGS="$CFLAGS"
   
   # Set sane defaults for various variables
   test -z "$AR" && AR=ar
   test -z "$AR_FLAGS" && AR_FLAGS=cru
   test -z "$AS" && AS=as
   test -z "$CC" && CC=cc
   test -z "$LTCC" && LTCC=$CC
   test -z "$DLLTOOL" && DLLTOOL=dlltool
   test -z "$LD" && LD=ld
   test -z "$LN_S" && LN_S="ln -s"
   test -z "$MAGIC_CMD" && MAGIC_CMD=file
   test -z "$NM" && NM=nm
   test -z "$OBJDUMP" && OBJDUMP=objdump
   test -z "$RANLIB" && RANLIB=:
   test -z "$STRIP" && STRIP=:
   test -z "$ac_objext" && ac_objext=o
   
   # Determine commands to create old-style static archives.
   old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   old_postinstall_cmds='chmod 644 $oldlib'
   old_postuninstall_cmds=
   
   if test -n "$RANLIB"; then
     case $host_os in
     openbsd*)
       old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
       ;;
   *)    *)
   ac_save_MAGIC="$MAGIC"      old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"      ;;
   ac_dummy="/usr/bin:$PATH"    esac
     old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   fi
   
   # Only perform the check for file, if the check method requires it
   case $deplibs_check_method in
   file_magic*)
     if test "$file_magic_cmd" = '$MAGIC_CMD'; then
       echo "$as_me:7131: checking for ${ac_tool_prefix}file" >&5
   echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
   if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $MAGIC_CMD in
   [\\/*] |  ?:[\\/]*)
     lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     ;;
   *)
     lt_save_MAGIC_CMD="$MAGIC_CMD"
     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   for ac_dir in $ac_dummy; do    for ac_dir in $ac_dummy; do
       IFS="$lt_save_ifs"
     test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/${ac_tool_prefix}file; then      if test -f $ac_dir/${ac_tool_prefix}file; then
       lt_cv_path_MAGIC="$ac_dir/${ac_tool_prefix}file"        lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
       if test -n "$file_magic_test_file"; then        if test -n "$file_magic_test_file"; then
         case "$deplibs_check_method" in          case $deplibs_check_method in
         "file_magic "*)          "file_magic "*)
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"            file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
           MAGIC="$lt_cv_path_MAGIC"            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
             egrep "$file_magic_regex" > /dev/null; then              egrep "$file_magic_regex" > /dev/null; then
             :              :
Line 3350  EOF
Line 7173  EOF
       break        break
     fi      fi
   done    done
   IFS="$ac_save_ifs"    IFS="$lt_save_ifs"
   MAGIC="$ac_save_MAGIC"    MAGIC_CMD="$lt_save_MAGIC_CMD"
   ;;    ;;
 esac  esac
 fi  fi
   
 MAGIC="$lt_cv_path_MAGIC"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 if test -n "$MAGIC"; then  if test -n "$MAGIC_CMD"; then
   echo "$ECHO_T""$MAGIC" 1>&6    echo "$as_me:7184: result: $MAGIC_CMD" >&5
   echo "${ECHO_T}$MAGIC_CMD" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:7187: result: no" >&5
   echo "${ECHO_T}no" >&6
 fi  fi
   
 if test -z "$lt_cv_path_MAGIC"; then  if test -z "$lt_cv_path_MAGIC_CMD"; then
   if test -n "$ac_tool_prefix"; then    if test -n "$ac_tool_prefix"; then
     echo $ECHO_N "checking for file... $ECHO_C" 1>&6      echo "$as_me:7193: checking for file" >&5
 echo "configure:3370: checking for file" 1>&5  echo $ECHO_N "checking for file... $ECHO_C" >&6
 if test "${lt_cv_path_MAGIC+set}" = set; then  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   case "$MAGIC" in    case $MAGIC_CMD in
   /*)  [\\/*] |  ?:[\\/]*)
   lt_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   ;;    ;;
   ?:/*)  *)
   ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a dos path.    lt_save_MAGIC_CMD="$MAGIC_CMD"
   ;;    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   *)    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   ac_save_MAGIC="$MAGIC"  
   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
   ac_dummy="/usr/bin:$PATH"  
   for ac_dir in $ac_dummy; do    for ac_dir in $ac_dummy; do
       IFS="$lt_save_ifs"
     test -z "$ac_dir" && ac_dir=.      test -z "$ac_dir" && ac_dir=.
     if test -f $ac_dir/file; then      if test -f $ac_dir/file; then
       lt_cv_path_MAGIC="$ac_dir/file"        lt_cv_path_MAGIC_CMD="$ac_dir/file"
       if test -n "$file_magic_test_file"; then        if test -n "$file_magic_test_file"; then
         case "$deplibs_check_method" in          case $deplibs_check_method in
         "file_magic "*)          "file_magic "*)
           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"            file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
           MAGIC="$lt_cv_path_MAGIC"            MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |            if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
             egrep "$file_magic_regex" > /dev/null; then              egrep "$file_magic_regex" > /dev/null; then
             :              :
Line 3412  EOF
Line 7235  EOF
       break        break
     fi      fi
   done    done
   IFS="$ac_save_ifs"    IFS="$lt_save_ifs"
   MAGIC="$ac_save_MAGIC"    MAGIC_CMD="$lt_save_MAGIC_CMD"
   ;;    ;;
 esac  esac
 fi  fi
   
 MAGIC="$lt_cv_path_MAGIC"  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 if test -n "$MAGIC"; then  if test -n "$MAGIC_CMD"; then
   echo "$ECHO_T""$MAGIC" 1>&6    echo "$as_me:7246: result: $MAGIC_CMD" >&5
   echo "${ECHO_T}$MAGIC_CMD" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:7249: result: no" >&5
   echo "${ECHO_T}no" >&6
 fi  fi
   
   else    else
     MAGIC=:      MAGIC_CMD=:
   fi    fi
 fi  fi
   
Line 3434  fi
Line 7259  fi
   ;;    ;;
 esac  esac
   
 case "$target" in  enable_dlopen=no
 NONE) lt_target="$host" ;;  enable_win32_dll=yes
 *) lt_target="$target" ;;  
 esac  
   
 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2  if test "${enable_libtool_lock+set}" = set; then
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6    enableval="$enable_libtool_lock"
 echo "configure:3446: checking for $ac_word" 1>&5  
 if test "${ac_cv_prog_RANLIB+set}" = set; then  fi;
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   
   # Check whether --with-pic or --without-pic was given.
   if test "${with_pic+set}" = set; then
     withval="$with_pic"
     pic_mode="$withval"
 else  else
   if test -n "$RANLIB"; then    pic_mode=default
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.  fi;
 else  test -z "$pic_mode" && pic_mode=default
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"  
 ac_dummy="$PATH"  # Use C for the default configuration in the libtool script
 for ac_dir in $ac_dummy; do  tagname=
   test -z "$ac_dir" && ac_dir=.  lt_save_CC="$CC"
   if test -f $ac_dir/$ac_word; then  ac_ext=c
     echo "$ac_dir/$ac_word"  ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   # Source file extension for C test sources.
   ac_ext=c
   
   # Object file extension for compiled C test sources.
   objext=o
   objext=$objext
   
   # Code to be used in simple compile tests
   lt_simple_compile_test_code="int some_variable = 0;"
   
   # Code to be used in simple link tests
   lt_simple_link_test_code='main(){return(0);}'
   
   # If no C compiler was specified, use CC.
   LTCC=${LTCC-"$CC"}
   
   # Allow CC to be a program name with arguments.
   set dummy $CC
   compiler="$2"
   
   #
   # Check for any special shared library compilation flags.
   #
   lt_prog_cc_shlib=
   if test "$GCC" = no; then
     case $host_os in
     sco3.2v5*)
       lt_prog_cc_shlib='-belf'
       ;;
     esac
   fi
   if test -n "$lt_prog_cc_shlib"; then
     { echo "$as_me:7322: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
   echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
     if echo "$old_CC $old_CFLAGS " | egrep -e "[  ]$lt_prog_cc_shlib[     ]" >/dev/null; then :
     else
       { echo "$as_me:7326: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
   echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
       lt_cv_prog_cc_can_build_shared=no
   fi    fi
 done  
 IFS="$ac_save_ifs"  
 `; do  
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"  
     break  
   done  
 fi  fi
   
   #
   # Check to make sure the static flag actually works.
   #
   echo "$as_me:7335: checking if $compiler static flag $lt_prog_compiler_static works" >&5
   echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
   if test "${lt_prog_compiler_static_works+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_prog_compiler_static_works=no
      save_LDFLAGS="$LDFLAGS"
      LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
      echo "$lt_simple_link_test_code" > conftest.$ac_ext
      if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s conftest.err; then
          # Append any errors to the config.log.
          cat conftest.err 1>&5
        else
          lt_prog_compiler_static_works=yes
        fi
      fi
      $rm conftest*
      LDFLAGS="$save_LDFLAGS"
   
 fi  fi
 RANLIB="$ac_cv_prog_RANLIB"  echo "$as_me:7358: result: $lt_prog_compiler_static_works" >&5
 if test -n "$RANLIB"; then  echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
   echo "$ECHO_T""$RANLIB" 1>&6  
   if test x"$lt_prog_compiler_static_works" = xyes; then
       :
 else  else
   echo "$ECHO_T""no" 1>&6      lt_prog_compiler_static=
 fi  fi
   
 if test -z "$ac_cv_prog_RANLIB"; then  lt_prog_compiler_no_builtin_flag=
   if test -n "$ac_tool_prefix"; then  
     # Extract the first word of "ranlib", so it can be a program name with args.  if test "$GCC" = yes; then
 set dummy ranlib; ac_word=$2    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  
 echo "configure:3480: checking for $ac_word" 1>&5    echo "$as_me:7372: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 if test "${ac_cv_prog_RANLIB+set}" = set; then  echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   if test -n "$RANLIB"; then    lt_cv_prog_compiler_rtti_exceptions=no
   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.    ac_outfile=conftest.$ac_objext
      save_CFLAGS="$CFLAGS"
      CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
      if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings mentioning the option
        cat conftest.err 1>&5
        lt_cv_prog_compiler_rtti_exceptions=yes
        for lt_i in -fno-rtti -fno-exceptions -c conftest.$ac_ext; do
          if grep -- $lt_i conftest.err >/dev/null; then
            lt_cv_prog_compiler_rtti_exceptions=no
          fi
        done
      fi
      $rm conftest*
      CFLAGS="$save_CFLAGS"
   
   fi
   echo "$as_me:7397: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   
   if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
       lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 else  else
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"      :
 ac_dummy="$PATH"  fi
 for ac_dir in $ac_dummy; do  
   test -z "$ac_dir" && ac_dir=.  fi
   if test -f $ac_dir/$ac_word; then  
     echo "$ac_dir/$ac_word"  lt_prog_compiler_wl=
   lt_prog_compiler_pic=
   lt_prog_compiler_static=
   
   echo "$as_me:7412: checking for $compiler option to produce PIC" >&5
   echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   
     if test "$GCC" = yes; then
       lt_prog_compiler_wl='-Wl,'
       lt_prog_compiler_static='-static'
   
       case $host_os in
         aix*)
         # All AIX code is PIC.
         if test "$host_cpu" = ia64; then
           # AIX 5 now supports IA64 processor
           lt_prog_compiler_static='-Bstatic'
         fi
         ;;
   
       amigaos*)
         # FIXME: we need at least 68020 code to build shared libraries, but
         # adding the `-m68020' flag to GCC prevents building anything better,
         # like `-m68040'.
         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
         ;;
   
       beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
         # PIC is the default for these OSes.
         ;;
   
       cygwin* | mingw* | pw32* | os2*)
         # This hack is so that the source file can tell whether it is being
         # built for inclusion in a dll (and should export symbols for example).
         lt_prog_compiler_pic='-DDLL_EXPORT'
         ;;
   
       darwin* | rhapsody*)
         # PIC is the default on this platform
         # Common symbols not allowed in MH_DYLIB files
         lt_prog_compiler_pic='-fno-common'
         ;;
   
       msdosdjgpp*)
         # Just because we use GCC doesn't mean we suddenly get shared libraries
         # on systems that don't support them.
         lt_prog_compiler_can_build_shared=no
         enable_shared=no
         ;;
   
       sysv4*MP*)
         if test -d /usr/nec; then
           lt_prog_compiler_pic=-Kconform_pic
         fi
         ;;
   
       hpux*)
         # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
         if test "$host_cpu" != ia64; then
           lt_prog_compiler_pic='-fPIC'
         fi
         ;;
   
       *)
         lt_prog_compiler_pic='-fPIC'
         ;;
       esac
     else
       # PORTME Check for flag to pass linker flags through the system compiler.
       case $host_os in
       aix*)
         lt_prog_compiler_wl='-Wl,'
         if test "$host_cpu" = ia64; then
           # AIX 5 now supports IA64 processor
           lt_prog_compiler_static='-Bstatic'
         else
           lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
         fi
         ;;
   
       cygwin* | mingw* | pw32* | os2*)
         # This hack is so that the source file can tell whether it is being
         # built for inclusion in a dll (and should export symbols for example).
         lt_prog_compiler_pic='-DDLL_EXPORT'
         ;;
   
       hpux9* | hpux10* | hpux11*)
         lt_prog_compiler_wl='-Wl,'
         if test "$host_cpu" != ia64; then
           lt_prog_compiler_pic='+Z'
         fi
         # Is there a better lt_prog_compiler_static that works with the bundled CC?
         lt_prog_compiler_static='${wl}-a ${wl}archive'
         ;;
   
       irix5* | irix6*)
         lt_prog_compiler_wl='-Wl,'
         # PIC (with -KPIC) is the default.
         lt_prog_compiler_static='-non_shared'
         ;;
   
       newsos6)
         lt_prog_compiler_pic='-KPIC'
         lt_prog_compiler_static='-Bstatic'
         ;;
   
       osf3* | osf4* | osf5*)
         lt_prog_compiler_wl='-Wl,'
         # All OSF/1 code is PIC.
         lt_prog_compiler_static='-non_shared'
         ;;
   
       sco3.2v5*)
         lt_prog_compiler_pic='-Kpic'
         lt_prog_compiler_static='-dn'
         ;;
   
       solaris*)
         lt_prog_compiler_wl='-Wl,'
         lt_prog_compiler_pic='-KPIC'
         lt_prog_compiler_static='-Bstatic'
         ;;
   
       sunos4*)
         lt_prog_compiler_wl='-Qoption ld '
         lt_prog_compiler_pic='-PIC'
         lt_prog_compiler_static='-Bstatic'
         ;;
   
       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
         if test "x$host_vendor" = xsni; then
           lt_prog_compiler_wl='-LD'
         else
           lt_prog_compiler_wl='-Wl,'
         fi
         lt_prog_compiler_pic='-KPIC'
         lt_prog_compiler_static='-Bstatic'
         ;;
   
       sysv4*MP*)
         if test -d /usr/nec ;then
           lt_prog_compiler_pic='-Kconform_pic'
           lt_prog_compiler_static='-Bstatic'
         fi
         ;;
   
       uts4*)
         lt_prog_compiler_pic='-pic'
         lt_prog_compiler_static='-Bstatic'
         ;;
   
       *)
         lt_prog_compiler_can_build_shared=no
         ;;
       esac
   fi    fi
 done  
 IFS="$ac_save_ifs"  echo "$as_me:7565: result: $lt_prog_compiler_pic" >&5
 `; do  echo "${ECHO_T}$lt_prog_compiler_pic" >&6
     ac_cv_prog_RANLIB="ranlib"  
     break  #
   done  # Check to make sure the PIC flag actually works.
   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"  #
   if test -n "$lt_prog_compiler_pic"; then
     echo "$as_me:7572: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
   if test "${lt_prog_compiler_pic_works+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_prog_compiler_pic_works=no
     ac_outfile=conftest.$ac_objext
      save_CFLAGS="$CFLAGS"
      CFLAGS="$CFLAGS $lt_prog_compiler_pic -DPIC"
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
      if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings mentioning the option
        cat conftest.err 1>&5
        lt_prog_compiler_pic_works=yes
        for lt_i in $lt_prog_compiler_pic -DPIC; do
          if grep -- $lt_i conftest.err >/dev/null; then
            lt_prog_compiler_pic_works=no
          fi
        done
      fi
      $rm conftest*
      CFLAGS="$save_CFLAGS"
   
 fi  fi
   echo "$as_me:7597: result: $lt_prog_compiler_pic_works" >&5
   echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
   
   if test x"$lt_prog_compiler_pic_works" = xyes; then
       case $lt_prog_compiler_pic in
        "" | " "*) ;;
        *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
        esac
   else
       lt_prog_compiler_pic=
        lt_prog_compiler_can_build_shared=no
 fi  fi
 RANLIB="$ac_cv_prog_RANLIB"  
 if test -n "$RANLIB"; then  fi
   echo "$ECHO_T""$RANLIB" 1>&6  case "$host_os" in
     # For platforms which do not support PIC, -DPIC is meaningless:
     *djgpp*)
       lt_prog_compiler_pic=
       ;;
     *)
       lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
       ;;
   esac
   
   echo "$as_me:7621: checking if $compiler supports -c -o file.$ac_objext" >&5
   echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   if test "${lt_cv_prog_compiler_c_o+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   echo "$ECHO_T""no" 1>&6    lt_cv_prog_compiler_c_o=no
      $rm -r conftest 2>/dev/null
      mkdir conftest
      cd conftest
      mkdir out
      save_CFLAGS="$CFLAGS"
                      CFLAGS="$CFLAGS -o out/conftest2.$ac_objext"
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   
      # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
      # that will create temporary files in the current directory regardless of
      # the output directory.  Thus, making CWD read-only will cause this test
      # to fail, enabling locking or at least warning the user not to do parallel
      # builds.
      chmod -w .
   
      if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
      then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s out/conftest.err; then
          # Append any errors to the config.log.
          cat out/conftest.err 1>&5
        else
          lt_cv_prog_compiler_c_o=yes
        fi
      fi
      CFLAGS="$save_CFLAGS"
      chmod u+w .
      $rm conftest* out/*
      rmdir out
      cd ..
      rmdir conftest
      $rm conftest*
   
 fi  fi
   echo "$as_me:7662: result: $lt_cv_prog_compiler_c_o" >&5
   echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   
   hard_links="nottested"
   if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
     # do not overwrite the value of need_locks provided by the user
     echo "$as_me:7668: checking if we can lock with hard links" >&5
   echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
     hard_links=yes
     $rm conftest*
     ln conftest.a conftest.b 2>/dev/null && hard_links=no
     touch conftest.a
     ln conftest.a conftest.b 2>&5 || hard_links=no
     ln conftest.a conftest.b 2>/dev/null && hard_links=no
     echo "$as_me:7676: result: $hard_links" >&5
   echo "${ECHO_T}$hard_links" >&6
     if test "$hard_links" = no; then
       { echo "$as_me:7679: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       need_locks=warn
     fi
   else
     need_locks=no
   fi
   
   echo "$as_me:7687: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   
     runpath_var=
     allow_undefined_flag=
   
     archive_cmds=
     archive_cmds_need_lc=
     archive_expsym_cmds=
     old_archive_From_new_cmds=
     old_archive_from_expsyms_cmds=
     export_dynamic_flag_spec=
     whole_archive_flag_spec=
     thread_safe_flag_spec=
     hardcode_libdir_flag_spec=
     hardcode_libdir_separator=
     hardcode_direct=no
     hardcode_minus_L=no
     hardcode_shlibpath_var=unsupported
     link_all_deplibs=unknown
     always_export_symbols=no
     export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
     # include_expsyms should be a list of space-separated symbols to be *always*
     # included in the symbol list
     include_expsyms=
     # exclude_expsyms can be an egrep regular expression of symbols to exclude
     # it will be wrapped by ` (' and `)$', so one must not match beginning or
     # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
     # as well as any symbol that contains `d'.
     exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
     # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     # platforms (ab)use it in PIC code, but their linkers get confused if
     # the symbol is explicitly referenced.  Since portable code cannot
     # rely on this symbol name, it's probably fine to never include it in
     # preloaded symbol tables.
     extract_expsyms_cmds=
   
     case $host_os in
     cygwin* | mingw* | pw32*)
       # FIXME: the MSVC++ port hasn't been tested in a loooong time
       # When not using gcc, we currently assume that we are using
       # Microsoft Visual C++.
       if test "$GCC" != yes; then
         with_gnu_ld=no
       fi
       ;;
     openbsd*)
       with_gnu_ld=no
       ;;
     esac
   
     ld_shlibs=yes
     if test "$with_gnu_ld" = yes; then
       # If archive_cmds runs LD, not CC, wlarc should be empty
       wlarc='${wl}'
   
       # See if GNU ld supports shared libraries.
       case $host_os in
       aix3* | aix4* | aix5*)
         # On AIX/PPC, the GNU linker is very broken
         if test "$host_cpu" != ia64; then
           ld_shlibs=no
           cat <<EOF 1>&2
   
   *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   *** to be unable to reliably create shared libraries on AIX.
   *** Therefore, libtool is disabling shared libraries support.  If you
   *** really care for shared libraries, you may want to modify your PATH
   *** so that a non-GNU linker is found, and then restart.
   
   EOF
         fi
         ;;
   
       amigaos*)
         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)'
         hardcode_libdir_flag_spec='-L$libdir'
         hardcode_minus_L=yes
   
         # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
         # that the semantics of dynamic libraries on AmigaOS, at least up
         # to version 4, is to share data among multiple programs linked
         # with the same dynamic library.  Since this doesn't match the
         # behavior of shared libraries on other platforms, we can't use
         # them.
         ld_shlibs=no
         ;;
   
       beos*)
         if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
           allow_undefined_flag=unsupported
           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
           # support --undefined.  This deserves some investigation.  FIXME
           archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         else
           ld_shlibs=no
         fi
         ;;
   
       cygwin* | mingw* | pw32*)
         # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, as there is
         # no search path for DLLs.
         hardcode_libdir_flag_spec='-L$libdir'
         allow_undefined_flag=unsupported
         always_export_symbols=yes
   
         extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
           sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
           test -f $output_objdir/impgen.exe || (cd $output_objdir && \
           if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
           else $CC -o impgen impgen.c ; fi)~
           $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
   
         old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
   
         # cygwin and mingw dlls have different entry points and sets of symbols
         # to exclude.
         # FIXME: what about values for MSVC?
         dll_entry=__cygwin_dll_entry@12
         dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
         case $host_os in
         mingw*)
           # mingw values
           dll_entry=_DllMainCRTStartup@12
           dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
           ;;
         esac
   
         # mingw and cygwin differ, and it's simplest to just exclude the union
         # of the two symbol sets.
         dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
   
         # recent cygwin and mingw systems supply a stub DllMain which the user
         # can override, but on older systems we have to supply one (in ltdll.c)
         if test "x$lt_cv_need_dllmain" = "xyes"; then
           ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
           ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
           test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
         else
           ltdll_obj=
           ltdll_cmds=
         fi
   
         # Extract the symbol export list from an `--export-all' def file,
         # then regenerate the def file from the symbol export list, so that
         # the compiled dll only exports the symbol export list.
         # Be careful not to strip the DATA tag left by newer dlltools.
         export_symbols_cmds="$ltdll_cmds"'
           $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
           sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
   
         # If the export-symbols file already is a .def file (1st line
         # is EXPORTS), use it as is.
         # If DATA tags from a recent dlltool are present, honour them!
         archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
             cp $export_symbols $output_objdir/$soname-def;
           else
             echo EXPORTS > $output_objdir/$soname-def;
             _lt_hint=1;
             cat $export_symbols | while read symbol; do
              set dummy \$symbol;
              case \$# in
                2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
                *) echo "   \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
              esac;
              _lt_hint=`expr 1 + \$_lt_hint`;
             done;
           fi~
           '"$ltdll_cmds"'
           $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
           $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
           $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
           $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
           $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
         ;;
   
       netbsd*)
         if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
           archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
           wlarc=
         else
           archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
           archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         fi
         ;;
   
       solaris* | sysv5*)
         if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
           ld_shlibs=no
           cat <<EOF 1>&2
   
   *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   *** create shared libraries on Solaris systems.  Therefore, libtool
   *** is disabling shared libraries support.  We urge you to upgrade GNU
   *** binutils to release 2.9.1 or newer.  Another option is to modify
   *** your PATH or compiler configuration so that the native linker is
   *** used, and then restart.
   
   EOF
         elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         else
           ld_shlibs=no
         fi
         ;;
   
       sunos4*)
         archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
         wlarc=
         hardcode_direct=yes
         hardcode_shlibpath_var=no
         ;;
   
       *)
         if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
           archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         else
           ld_shlibs=no
         fi
         ;;
       esac
   
       if test "$ld_shlibs" = yes; then
         runpath_var=LD_RUN_PATH
         hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
         export_dynamic_flag_spec='${wl}--export-dynamic'
         case $host_os in
         cygwin* | mingw* | pw32*)
           # dlltool doesn't understand --whole-archive et. al.
           whole_archive_flag_spec=
           ;;
         *)
           # ancient GNU ld didn't support --whole-archive et. al.
           if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
           whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
           else
           whole_archive_flag_spec=
           fi
           ;;
         esac
       fi
   else    else
     RANLIB=":"      # PORTME fill in a description of your system's linker (not GNU ld)
       case $host_os in
       aix3*)
         allow_undefined_flag=unsupported
         always_export_symbols=yes
         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'
         # Note: this linker hardcodes the directories in LIBPATH if there
         # are no directories specified by -L.
         hardcode_minus_L=yes
         if test "$GCC" = yes && test -z "$link_static_flag"; then
           # Neither direct hardcoding nor static linking is supported with a
           # broken collect2.
           hardcode_direct=unsupported
         fi
         ;;
   
       aix4* | aix5*)
         if test "$host_cpu" = ia64; then
           # On IA64, the linker does run time linking by default, so we don't
           # have to do anything special.
           aix_use_runtimelinking=no
           exp_sym_flag='-Bexport'
           no_entry_flag=""
         else
           # If we're using GNU nm, then we don't want the "-C" option.
           # -C means demangle to AIX nm, but means don't demangle with GNU nm
           if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then
             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'
           else
             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'
           fi
           aix_use_runtimelinking=no
   
           # Test if we are trying to use run time linking or normal
           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
           # need to do runtime linking.
           case $host_os in aix4.[23]|aix4.[23].*|aix5*)
             for ld_flag in $LDFLAGS; do
             if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
               aix_use_runtimelinking=yes
               break
             fi
             done
           esac
   
           exp_sym_flag='-bexport'
           no_entry_flag='-bnoentry'
         fi
   
         # When large executables or shared objects are built, AIX ld can
         # have problems creating the table of contents.  If linking a library
         # or program results in "error TOC overflow" add -mminimal-toc to
         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   
         archive_cmds=''
         hardcode_direct=yes
         hardcode_libdir_separator=':'
         link_all_deplibs=yes
   
         if test "$GCC" = yes; then
           case $host_os in aix4.012|aix4.012.*)
           # We only want to do this on AIX 4.2 and lower, the check
           # below for broken collect2 doesn't work under 4.3+
             collect2name=`${CC} -print-prog-name=collect2`
             if test -f "$collect2name" && \
              strings "$collect2name" | grep resolve_lib_name >/dev/null
             then
             # We have reworked collect2
             hardcode_direct=yes
             else
             # We have old collect2
             hardcode_direct=unsupported
             # It fails to find uninstalled libraries when the uninstalled
             # path is not listed in the libpath.  Setting hardcode_minus_L
             # to unsupported forces relinking
             hardcode_minus_L=yes
             hardcode_libdir_flag_spec='-L$libdir'
             hardcode_libdir_separator=
             fi
           esac
           shared_flag='-shared'
         else
           # not using gcc
           if test "$host_cpu" = ia64; then
           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
           # chokes on -Wl,-G. The following line is correct:
             shared_flag='-G'
           else
           if test "$aix_use_runtimelinking" = yes; then
               shared_flag='${wl}-G'
             else
               shared_flag='${wl}-bM:SRE'
           fi
           fi
         fi
   
         # It seems that -bexpall does not export symbols beginning with
         # underscore (_), so it is better to generate a list of symbols to export.
         always_export_symbols=yes
         if test "$aix_use_runtimelinking" = yes; then
           # Warning - without using the other runtime loading flags (-brtl),
           # -berok will link without error, but may produce a broken library.
           allow_undefined_flag='-berok'
          # Determine the default libpath from the value encoded in an empty executable.
          cat >conftest.$ac_ext <<_ACEOF
   #line 8037 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:8049: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:8052: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:8055: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:8058: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   
   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`
   # Check for a 64-bit object if we didn't find anything.
   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`; fi
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
           archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
          else
           if test "$host_cpu" = ia64; then
             hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
             allow_undefined_flag="-z nodefs"
             archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
           else
            # Determine the default libpath from the value encoded in an empty executable.
            cat >conftest.$ac_ext <<_ACEOF
   #line 8083 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:8095: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:8098: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:8101: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:8104: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   
   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`
   # Check for a 64-bit object if we didn't find anything.
   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`; fi
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
            hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
             # Warning - without using the other run time loading flags,
             # -berok will link without error, but may produce a broken library.
             no_undefined_flag=' ${wl}-bernotok'
             allow_undefined_flag=' ${wl}-berok'
             # -bexpall does not export symbols beginning with underscore (_)
             always_export_symbols=yes
             # Exported symbols can be pulled into shared objects from archives
             whole_archive_flag_spec=' '
             archive_cmds_need_lc=yes
             # This is similar to how AIX traditionally builds it's shared libraries.
             archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
           fi
         fi
         ;;
   
       amigaos*)
         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)'
         hardcode_libdir_flag_spec='-L$libdir'
         hardcode_minus_L=yes
         # see comment about different semantics on the GNU ld section
         ld_shlibs=no
         ;;
   
       bsdi4*)
         export_dynamic_flag_spec=-rdynamic
         ;;
   
       cygwin* | mingw* | pw32*)
         # When not using gcc, we currently assume that we are using
         # Microsoft Visual C++.
         # hardcode_libdir_flag_spec is actually meaningless, as there is
         # no search path for DLLs.
         hardcode_libdir_flag_spec=' '
         allow_undefined_flag=unsupported
         # Tell ltmain to make .lib files, not .a files.
         libext=lib
         # FIXME: Setting linknames here is a bad hack.
         archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
         # The linker will automatically build a .lib file if we build a DLL.
         old_archive_From_new_cmds='true'
         # FIXME: Should let the user specify the lib program.
         old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
         fix_srcfile_path='`cygpath -w "$srcfile"`'
         ;;
   
       darwin* | rhapsody*)
         case "$host_os" in
         rhapsody* | darwin1.[012])
           allow_undefined_flag='-undefined suppress'
           ;;
         *) # Darwin 1.3 on
           allow_undefined_flag='-flat_namespace -undefined suppress'
           ;;
         esac
   
         # FIXME: Relying on posixy $() will cause problems for
         #        cross-compilation, but unfortunately the echo tests do not
         #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
         #        `"' quotes if we put them in here... so don't!
         archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
         # We need to add '_' to the symbols in $export_symbols first
         #_LT_AC_TAGVAR(archive_expsym_cmds, )="$_LT_AC_TAGVAR(archive_cmds, )"' && strip -s $export_symbols'
         hardcode_direct=yes
         hardcode_shlibpath_var=no
         whole_archive_flag_spec='-all_load $convenience'
         ;;
   
       dgux*)
         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_libdir_flag_spec='-L$libdir'
         hardcode_shlibpath_var=no
         ;;
   
       freebsd1*)
         ld_shlibs=no
         ;;
   
       # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       # support.  Future versions do this automatically, but an explicit c++rt0.o
       # does not break anything, and helps significantly (at the cost of a little
       # extra space).
       freebsd2.2*)
         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
         hardcode_libdir_flag_spec='-R$libdir'
         hardcode_direct=yes
         hardcode_shlibpath_var=no
         ;;
   
       # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       freebsd2*)
         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
         hardcode_direct=yes
         hardcode_minus_L=yes
         hardcode_shlibpath_var=no
         ;;
   
       # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       freebsd*)
         archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
         hardcode_libdir_flag_spec='-R$libdir'
         hardcode_direct=yes
         hardcode_shlibpath_var=no
         ;;
   
       hpux9* | hpux10* | hpux11*)
         if test "$GCC" = yes; then
           case $host_os in
             hpux9*)
               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'
               ;;
             *)
               if test "$host_cpu" = ia64; then
                 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
               else
                 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
               fi
               ;;
           esac
         else
           case $host_os in
             hpux9*)
               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'
               ;;
             *)
               if test "$host_cpu" = ia64; then
                 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
               else
                 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
               fi
               ;;
           esac
         fi
         if test "$host_cpu" = ia64; then
           hardcode_libdir_flag_spec='-L$libdir'
           hardcode_direct=no
           hardcode_shlibpath_var=no
         else
           hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
           hardcode_libdir_separator=:
           hardcode_direct=yes
         fi
         # hardcode_minus_L: Not really in the search PATH,
         # but as the default location of the library.
         hardcode_minus_L=yes
         export_dynamic_flag_spec='${wl}-E'
         ;;
   
       irix5* | irix6*)
         if test "$GCC" = yes; then
           archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
         else
           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
         fi
         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
         hardcode_libdir_separator=:
         link_all_deplibs=yes
         ;;
   
       netbsd*)
         if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
         else
           archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
         fi
         hardcode_libdir_flag_spec='-R$libdir'
         hardcode_direct=yes
         hardcode_shlibpath_var=no
         ;;
   
       newsos6)
         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_direct=yes
         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
         hardcode_libdir_separator=:
         hardcode_shlibpath_var=no
         ;;
   
       openbsd*)
         hardcode_direct=yes
         hardcode_shlibpath_var=no
   
         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
           export_dynamic_flag_spec='${wl}-E'
         else
          case $host_os in
            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
              hardcode_libdir_flag_spec='-R$libdir'
              ;;
            *)
              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
              ;;
          esac
         fi
         ;;
   
       os2*)
         hardcode_libdir_flag_spec='-L$libdir'
         hardcode_minus_L=yes
         allow_undefined_flag=unsupported
         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'
         old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
         ;;
   
       osf3*)
         if test "$GCC" = yes; then
           allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
           archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
         else
           allow_undefined_flag=' -expect_unresolved \*'
           archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
         fi
         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
         hardcode_libdir_separator=:
         ;;
   
       osf4* | osf5*)      # as osf3* with the addition of -msym flag
         if test "$GCC" = yes; then
           allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
           archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
         else
           allow_undefined_flag=' -expect_unresolved \*'
           archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
           archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
           $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
   
           # Both c and cxx compiler support -rpath directly
           hardcode_libdir_flag_spec='-rpath $libdir'
         fi
         hardcode_libdir_separator=:
         ;;
   
       sco3.2v5*)
         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_shlibpath_var=no
         export_dynamic_flag_spec='${wl}-Bexport'
         runpath_var=LD_RUN_PATH
         hardcode_runpath_var=yes
         ;;
   
       solaris*)
         no_undefined_flag=' -z text'
         if test "$GCC" = yes; then
           archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
           archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
             $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
         else
           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
           archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
         fi
         hardcode_libdir_flag_spec='-R$libdir'
         hardcode_shlibpath_var=no
         case $host_os in
         solaris2.[0-5] | solaris2.[0-5].*) ;;
         *) # Supported since Solaris 2.6 (maybe 2.5.1?)
           whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
         esac
         link_all_deplibs=yes
         ;;
   
       sunos4*)
         if test "x$host_vendor" = xsequent; then
           # Use $CC to link under sequent, because it throws in some extra .o
           # files that make .init and .fini sections work.
           archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
         else
           archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
         fi
         hardcode_libdir_flag_spec='-L$libdir'
         hardcode_direct=yes
         hardcode_minus_L=yes
         hardcode_shlibpath_var=no
         ;;
   
       sysv4)
         if test "x$host_vendor" = xsni; then
           archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
           hardcode_direct=yes # is this really true???
         else
           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
         fi
         runpath_var='LD_RUN_PATH'
         hardcode_shlibpath_var=no
         ;;
   
       sysv4.3*)
         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_shlibpath_var=no
         export_dynamic_flag_spec='-Bexport'
         ;;
   
       sysv4*MP*)
         if test -d /usr/nec; then
           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
           hardcode_shlibpath_var=no
           runpath_var=LD_RUN_PATH
           hardcode_runpath_var=yes
           ld_shlibs=yes
         fi
         ;;
   
       sysv4.2uw2*)
         archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
         hardcode_direct=yes
         hardcode_minus_L=no
         hardcode_shlibpath_var=no
         hardcode_runpath_var=yes
         runpath_var=LD_RUN_PATH
         ;;
   
      sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
         no_undefined_flag='${wl}-z ${wl}text'
         if test "$GCC" = yes; then
           archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
         else
           archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
         fi
         runpath_var='LD_RUN_PATH'
         hardcode_shlibpath_var=no
         ;;
   
       sysv5*)
         no_undefined_flag=' -z text'
         # $CC -shared without GNU ld will not create a library from C++
         # object files and a static libstdc++, better avoid it by now
         archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
         archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
         hardcode_libdir_flag_spec=
         hardcode_shlibpath_var=no
         runpath_var='LD_RUN_PATH'
         ;;
   
       uts4*)
         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_libdir_flag_spec='-L$libdir'
         hardcode_shlibpath_var=no
         ;;
   
       *)
         ld_shlibs=no
         ;;
       esac
   fi    fi
   
   echo "$as_me:8471: result: $ld_shlibs" >&5
   echo "${ECHO_T}$ld_shlibs" >&6
   test "$ld_shlibs" = no && can_build_shared=no
   
   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   if test "$GCC" = yes; then
     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 fi  fi
   
 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  #
 set dummy ${ac_tool_prefix}strip; ac_word=$2  # Do we need to explicitly link libc?
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  #
 echo "configure:3518: checking for $ac_word" 1>&5  archive_cmds_need_lc=yes
 if test "${ac_cv_prog_STRIP+set}" = set; then  if test "$enable_shared" = yes && test "$GCC" = yes; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    case $archive_cmds in
     *'~'*)
       # FIXME: we may have to deal with multi-command sequences.
       ;;
     '$CC '*)
       # Test whether the compiler implicitly links with -lc since on some
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       # to ld, don't add -lc before -lgcc.
       echo "$as_me:8493: checking whether -lc should be explicitly linked in" >&5
   echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
       $rm conftest*
       echo 'static int dummy;' > conftest.$ac_ext
   
       if { (eval echo "$as_me:8498: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:8501: \$? = $ac_status" >&5
     (exit $ac_status); } 2>conftest.err; then
         soname=conftest
         lib=conftest
         libobjs=conftest.$ac_objext
         deplibs=
         wl=$lt_prog_compiler_wl
         compiler_flags=-v
         linker_flags=-v
         verstring=
         output_objdir=.
         libname=conftest
         lt_save_allow_undefined_flag=$allow_undefined_flag
         allow_undefined_flag=
         if { (eval echo "$as_me:8515: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
     (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
     ac_status=$?
     echo "$as_me:8518: \$? = $ac_status" >&5
     (exit $ac_status); }
         then
           archive_cmds_need_lc=no
         else
           archive_cmds_need_lc=yes
         fi
         allow_undefined_flag=$lt_save_allow_undefined_flag
       else
         cat conftest.err 1>&5
       fi
       $rm conftest*
       echo "$as_me:8530: result: $archive_cmds_need_lc" >&5
   echo "${ECHO_T}$archive_cmds_need_lc" >&6
       ;;
     esac
   fi
   
   echo "$as_me:8536: checking how to hardcode library paths into programs" >&5
   echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   hardcode_action=
   if test -n "$hardcode_libdir_flag_spec" || \
      test -n "$runpath_var "; then
   
     # We can hardcode non-existant directories.
     if test "$hardcode_direct" != no &&
        # If the only mechanism to avoid hardcoding is shlibpath_var, we
        # have to relink, otherwise we might link with an installed library
        # when we should be linking with a yet-to-be-installed one
        ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
        test "$hardcode_minus_L" != no; then
       # Linking always hardcodes the temporary library directory.
       hardcode_action=relink
     else
       # We can link without hardcoding, and we can hardcode nonexisting dirs.
       hardcode_action=immediate
     fi
 else  else
   if test -n "$STRIP"; then    # We cannot hardcode anything, or else we can only hardcode existing
   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.    # directories.
     hardcode_action=unsupported
   fi
   echo "$as_me:8560: result: $hardcode_action" >&5
   echo "${ECHO_T}$hardcode_action" >&6
   
   if test "$hardcode_action" = relink; then
     # Fast installation is not supported
     enable_fast_install=no
   elif test "$shlibpath_overrides_runpath" = yes ||
        test "$enable_shared" = no; then
     # Fast installation is not necessary
     enable_fast_install=needless
   fi
   
   striplib=
   old_striplib=
   echo "$as_me:8574: checking whether stripping libraries is possible" >&5
   echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
     test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
     test -z "$striplib" && striplib="$STRIP --strip-unneeded"
     echo "$as_me:8579: result: yes" >&5
   echo "${ECHO_T}yes" >&6
 else  else
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    echo "$as_me:8582: result: no" >&5
 ac_dummy="$PATH"  echo "${ECHO_T}no" >&6
 for ac_dir in $ac_dummy; do  fi
   test -z "$ac_dir" && ac_dir=.  
   if test -f $ac_dir/$ac_word; then  echo "$as_me:8586: checking dynamic linker characteristics" >&5
     echo "$ac_dir/$ac_word"  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   library_names_spec=
   libname_spec='lib$name'
   soname_spec=
   postinstall_cmds=
   postuninstall_cmds=
   finish_cmds=
   finish_eval=
   shlibpath_var=
   shlibpath_overrides_runpath=unknown
   version_type=none
   dynamic_linker="$host_os ld.so"
   sys_lib_dlsearch_path_spec="/lib /usr/lib"
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   need_lib_prefix=unknown
   hardcode_into_libs=no
   
   # when you set need_version to no, make sure it does not cause -set_version
   # flags to be left without arguments
   need_version=unknown
   
   case $host_os in
   aix3*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix $libname.a'
     shlibpath_var=LIBPATH
   
     # AIX 3 has no versioning support, so we append a major version to the name.
     soname_spec='${libname}${release}.so$major'
     ;;
   
   aix4* | aix5*)
     version_type=linux
     if test "$host_cpu" = ia64; then
       # AIX 5 supports IA64
       library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
       shlibpath_var=LD_LIBRARY_PATH
     else
       # With GCC up to 2.95.x, collect2 would create an import file
       # for dependence libraries.  The import file would start with
       # the line `#! .'.  This would cause the generated library to
       # depend on `.', always an invalid library.  This was fixed in
       # development snapshots of GCC prior to 3.0.
       case $host_os in
         aix4 | aix4.[01] | aix4.[01].*)
         if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
              echo ' yes '
              echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
           :
         else
           can_build_shared=no
         fi
         ;;
       esac
       # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       # soname into executable. Probably we can add versioning support to
       # collect2, so additional links can be useful in future.
       if test "$aix_use_runtimelinking" = yes; then
         # If using run time linking (on AIX 4.2 or later) use lib<name>.so
         # instead of lib<name>.a to let people know that these are not
         # typical AIX shared libraries.
         library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
       else
         # We preserve .a as extension for shared libraries through AIX4.2
         # and later when we are not doing run time linking.
         library_names_spec='${libname}${release}.a $libname.a'
         soname_spec='${libname}${release}.so$major'
       fi
       shlibpath_var=LIBPATH
   fi    fi
 done    ;;
 IFS="$ac_save_ifs"  
 `; do  amigaos*)
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"    library_names_spec='$libname.ixlibrary $libname.a'
     break    # Create ${libname}_ixlibrary.a entries in /sys/libs.
   done    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'
     ;;
   
   beos*)
     library_names_spec='${libname}.so'
     dynamic_linker="$host_os ld.so"
     shlibpath_var=LIBRARY_PATH
     ;;
   
   bsdi4*)
     version_type=linux
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     # the default ld.so.conf also contains /usr/contrib/lib and
     # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     # libtool to hard-code these into programs
     ;;
   
   cygwin* | mingw* | pw32*)
     version_type=windows
     need_version=no
     need_lib_prefix=no
     case $GCC,$host_os in
     yes,cygwin*)
       library_names_spec='$libname.dll.a'
       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
       postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
         dldir=$destdir/`dirname \$dlpath`~
         test -d \$dldir || mkdir -p \$dldir~
         $install_prog .libs/$dlname \$dldir/$dlname'
       postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
         dlpath=$dir/\$dldll~
          $rm \$dlpath'
       ;;
     yes,mingw*)
       library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://"`
       if echo "$sys_lib_search_path_spec" | egrep ';[C-Z]:/' >/dev/null; then
         # It is most probably a Windows format PATH printed by
         # mingw gcc, but we are running on Cygwin. Gcc prints its search
         # path with ; separators, and with drive letters. We can handle the
         # drive letters (cygwin fileutils understands them), so leave them,
         # especially as we might pass files found there to a mingw objdump,
         # which wouldn't understand a cygwinified path. Ahh.
         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
       else
         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed  -e "s/$PATH_SEPARATOR/ /g"`
       fi
       ;;
     yes,pw32*)
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
       ;;
     *)
       library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
       ;;
     esac
     dynamic_linker='Win32 ld.exe'
     # FIXME: first we should search . and the directory the executable is in
     shlibpath_var=PATH
     ;;
   
   darwin* | rhapsody*)
     dynamic_linker="$host_os dyld"
     version_type=darwin
     need_lib_prefix=no
     need_version=no
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
     library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
     soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
     shlibpath_overrides_runpath=yes
     shlibpath_var=DYLD_LIBRARY_PATH
     ;;
   
   dgux*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   freebsd1*)
     dynamic_linker=no
     ;;
   
   freebsd*)
     objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
     version_type=freebsd-$objformat
     case $version_type in
       freebsd-elf*)
         library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
         need_version=no
         need_lib_prefix=no
         ;;
       freebsd-*)
         library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
         need_version=yes
         ;;
     esac
     shlibpath_var=LD_LIBRARY_PATH
     case $host_os in
     freebsd2*)
       shlibpath_overrides_runpath=yes
       ;;
     freebsd3.01* | freebsdelf3.01*)
       shlibpath_overrides_runpath=yes
       hardcode_into_libs=yes
       ;;
     *) # from 3.2 on
       shlibpath_overrides_runpath=no
       hardcode_into_libs=yes
       ;;
     esac
     ;;
   
   gnu*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     hardcode_into_libs=yes
     ;;
   
   hpux9* | hpux10* | hpux11*)
     # Give a soname corresponding to the major version so that dld.sl refuses to
     # link against other versions.
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     if test "$host_cpu" = ia64; then
       hardcode_into_libs=yes
       dynamic_linker="$host_os dld.so"
       shlibpath_var=LD_LIBRARY_PATH
       shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
       soname_spec='${libname}${release}.so$major'
       if test "X$HPUX_IA64_MODE" = X32; then
         sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       else
         sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       fi
       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     else
       dynamic_linker="$host_os dld.sl"
       shlibpath_var=SHLIB_PATH
       shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
       soname_spec='${libname}${release}.sl$major'
     fi
     # HP-UX runs *really* slowly unless shared libraries are mode 555.
     postinstall_cmds='chmod 555 $lib'
     ;;
   
   irix5* | irix6*)
     version_type=irix
     need_lib_prefix=no
     need_version=no
     soname_spec='${libname}${release}.so$major'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
     case $host_os in
     irix5*)
       libsuff= shlibsuff=
       ;;
     *)
       case $LD in # libtool.m4 will add one of these switches to LD
       *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
       *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
       *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
       *) libsuff= shlibsuff= libmagic=never-match;;
       esac
       ;;
     esac
     shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     shlibpath_overrides_runpath=no
     sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
     sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     ;;
   
   # No shared lib support for Linux oldld, aout, or coff.
   linux*oldld* | linux*aout* | linux*coff*)
     dynamic_linker=no
     ;;
   
   # This must be Linux ELF.
   linux*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     # This implies no fast_install, which is unacceptable.
     # Some rework will be needed to allow for fast_install
     # before this can be enabled.
     hardcode_into_libs=yes
   
     # We used to test for /lib/ld.so.1 and disable shared libraries on
     # powerpc, because MkLinux only supported shared libraries with the
     # GNU dynamic linker.  Since this was broken with cross compilers,
     # most powerpc-linux boxes support dynamic linking these days and
     # people can always --disable-shared, the test was removed, and we
     # assume the GNU/Linux dynamic linker is in use.
     dynamic_linker='GNU/Linux ld.so'
     ;;
   
   netbsd*)
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
       finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       dynamic_linker='NetBSD (a.out) ld.so'
     else
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
       soname_spec='${libname}${release}.so$major'
       dynamic_linker='NetBSD ld.elf_so'
     fi
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     ;;
   
   newsos6)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
   nto-qnx)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
   openbsd*)
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       case $host_os in
         openbsd2.[89] | openbsd2.[89].*)
           shlibpath_overrides_runpath=no
           ;;
         *)
           shlibpath_overrides_runpath=yes
           ;;
         esac
     else
       shlibpath_overrides_runpath=yes
     fi
     ;;
   
   os2*)
     libname_spec='$name'
     need_lib_prefix=no
     library_names_spec='$libname.dll $libname.a'
     dynamic_linker='OS/2 ld.exe'
     shlibpath_var=LIBPATH
     ;;
   
   osf3* | osf4* | osf5*)
     version_type=osf
     need_lib_prefix=no
     need_version=no
     soname_spec='${libname}${release}.so'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     ;;
   
   sco3.2v5*)
     version_type=osf
     soname_spec='${libname}${release}.so$major'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   solaris*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     # ldd complains unless libraries are executable
     postinstall_cmds='chmod +x $lib'
     ;;
   
   sunos4*)
     version_type=sunos
     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
     finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     if test "$with_gnu_ld" = yes; then
       need_lib_prefix=no
     fi
     need_version=yes
     ;;
   
   sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     case $host_vendor in
       sni)
         shlibpath_overrides_runpath=no
         ;;
       motorola)
         need_lib_prefix=no
         need_version=no
         shlibpath_overrides_runpath=no
         sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
         ;;
     esac
     ;;
   
   sysv4*MP*)
     if test -d /usr/nec ;then
       version_type=linux
       library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
       soname_spec='$libname.so.$major'
       shlibpath_var=LD_LIBRARY_PATH
     fi
     ;;
   
   uts4*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   *)
     dynamic_linker=no
     ;;
   esac
   echo "$as_me:9025: result: $dynamic_linker" >&5
   echo "${ECHO_T}$dynamic_linker" >&6
   test "$dynamic_linker" = no && can_build_shared=no
   
   if test "x$enable_dlopen" != xyes; then
     enable_dlopen=unknown
     enable_dlopen_self=unknown
     enable_dlopen_self_static=unknown
   else
     lt_cv_dlopen=no
     lt_cv_dlopen_libs=
   
     case $host_os in
     beos*)
       lt_cv_dlopen="load_add_on"
       lt_cv_dlopen_libs=
       lt_cv_dlopen_self=yes
       ;;
   
     cygwin* | mingw* | pw32*)
       lt_cv_dlopen="LoadLibrary"
       lt_cv_dlopen_libs=
      ;;
   
     *)
       echo "$as_me:9050: checking for shl_load" >&5
   echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   if test "${ac_cv_func_shl_load+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 9056 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char shl_load (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char shl_load ();
   char (*f) ();
   
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_shl_load) || defined (__stub___shl_load)
   choke me
   #else
   f = shl_load;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:9087: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9090: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:9093: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:9096: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_func_shl_load=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_func_shl_load=no
 fi  fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi  fi
 STRIP="$ac_cv_prog_STRIP"  echo "$as_me:9106: result: $ac_cv_func_shl_load" >&5
 if test -n "$STRIP"; then  echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   echo "$ECHO_T""$STRIP" 1>&6  if test $ac_cv_func_shl_load = yes; then
     lt_cv_dlopen="shl_load"
 else  else
   echo "$ECHO_T""no" 1>&6    echo "$as_me:9111: checking for shl_load in -ldld" >&5
   echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 9119 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char shl_load ();
   int
   main ()
   {
   shl_load ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:9138: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9141: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:9144: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:9147: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dld_shl_load=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dld_shl_load=no
 fi  fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:9158: result: $ac_cv_lib_dld_shl_load" >&5
   echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   if test $ac_cv_lib_dld_shl_load = yes; then
     lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   else
     echo "$as_me:9163: checking for dlopen" >&5
   echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   if test "${ac_cv_func_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 9169 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char dlopen (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   char (*f) ();
   
 if test -z "$ac_cv_prog_STRIP"; then  int
   if test -n "$ac_tool_prefix"; then  main ()
     # Extract the first word of "strip", so it can be a program name with args.  {
 set dummy strip; ac_word=$2  /* The GNU C library defines this for functions which it implements
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6      to always fail with ENOSYS.  Some functions are actually named
 echo "configure:3552: checking for $ac_word" 1>&5      something starting with __ and the normal name is an alias.  */
 if test "${ac_cv_prog_STRIP+set}" = set; then  #if defined (__stub_dlopen) || defined (__stub___dlopen)
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  choke me
   #else
   f = dlopen;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:9200: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9203: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:9206: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:9209: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_func_dlopen=yes
 else  else
   if test -n "$STRIP"; then    echo "$as_me: failed program was:" >&5
   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.  cat conftest.$ac_ext >&5
   ac_cv_func_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:9219: result: $ac_cv_func_dlopen" >&5
   echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   if test $ac_cv_func_dlopen = yes; then
     lt_cv_dlopen="dlopen"
 else  else
   for ac_path in `IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"    echo "$as_me:9224: checking for dlopen in -ldl" >&5
 ac_dummy="$PATH"  echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
 for ac_dir in $ac_dummy; do  if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   test -z "$ac_dir" && ac_dir=.    echo $ECHO_N "(cached) $ECHO_C" >&6
   if test -f $ac_dir/$ac_word; then  else
     echo "$ac_dir/$ac_word"    ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldl  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 9232 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   int
   main ()
   {
   dlopen ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:9251: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9254: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:9257: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:9260: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dl_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dl_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:9271: result: $ac_cv_lib_dl_dlopen" >&5
   echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   if test $ac_cv_lib_dl_dlopen = yes; then
     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   else
     echo "$as_me:9276: checking for dlopen in -lsvld" >&5
   echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   if test "${ac_cv_lib_svld_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lsvld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 9284 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   int
   main ()
   {
   dlopen ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:9303: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9306: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:9309: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:9312: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_svld_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_svld_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:9323: result: $ac_cv_lib_svld_dlopen" >&5
   echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   if test $ac_cv_lib_svld_dlopen = yes; then
     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   else
     echo "$as_me:9328: checking for dld_link in -ldld" >&5
   echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   if test "${ac_cv_lib_dld_dld_link+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 9336 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dld_link ();
   int
   main ()
   {
   dld_link ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:9355: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9358: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:9361: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:9364: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dld_dld_link=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dld_dld_link=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:9375: result: $ac_cv_lib_dld_dld_link" >&5
   echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   if test $ac_cv_lib_dld_dld_link = yes; then
     lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   fi
   
   fi
   
   fi
   
   fi
   
   fi
   
   fi
   
       ;;
     esac
   
     if test "x$lt_cv_dlopen" != xno; then
       enable_dlopen=yes
     else
       enable_dlopen=no
   fi    fi
 done  
 IFS="$ac_save_ifs"    case $lt_cv_dlopen in
 `; do    dlopen)
     ac_cv_prog_STRIP="strip"      save_CPPFLAGS="$CPPFLAGS"
     break      test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   
       save_LDFLAGS="$LDFLAGS"
       eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   
       save_LIBS="$LIBS"
       LIBS="$lt_cv_dlopen_libs $LIBS"
   
       echo "$as_me:9411: checking whether a program can dlopen itself" >&5
   echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   if test "${lt_cv_dlopen_self+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
             if test "$cross_compiling" = yes; then :
     lt_cv_dlopen_self=cross
   else
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     lt_status=$lt_dlunknown
     cat > conftest.$ac_ext <<EOF
   #line 9422 "configure"
   #include "confdefs.h"
   
   #if HAVE_DLFCN_H
   #include <dlfcn.h>
   #endif
   
   #include <stdio.h>
   
   #ifdef RTLD_GLOBAL
   #  define LT_DLGLOBAL           RTLD_GLOBAL
   #else
   #  ifdef DL_GLOBAL
   #    define LT_DLGLOBAL         DL_GLOBAL
   #  else
   #    define LT_DLGLOBAL         0
   #  endif
   #endif
   
   /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
      find out it does not work in some platform. */
   #ifndef LT_DLLAZY_OR_NOW
   #  ifdef RTLD_LAZY
   #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
   #  else
   #    ifdef DL_LAZY
   #      define LT_DLLAZY_OR_NOW          DL_LAZY
   #    else
   #      ifdef RTLD_NOW
   #        define LT_DLLAZY_OR_NOW        RTLD_NOW
   #      else
   #        ifdef DL_NOW
   #          define LT_DLLAZY_OR_NOW      DL_NOW
   #        else
   #          define LT_DLLAZY_OR_NOW      0
   #        endif
   #      endif
   #    endif
   #  endif
   #endif
   
   #ifdef __cplusplus
   extern "C" void exit (int);
   #endif
   
   void fnord() { int i=42;}
   int main ()
   {
     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     int status = $lt_dlunknown;
   
     if (self)
       {
         if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
         else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
         /* dlclose (self); */
       }
   
       exit (status);
   }
   EOF
     if { (eval echo "$as_me:9483: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9486: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       (./conftest; exit; ) 2>/dev/null
       lt_status=$?
       case x$lt_status in
         x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
         x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
         x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
       esac
     else :
       # compilation failed
       lt_cv_dlopen_self=no
     fi
   fi
   rm -fr conftest*
   
   fi
   echo "$as_me:9503: result: $lt_cv_dlopen_self" >&5
   echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   
       if test "x$lt_cv_dlopen_self" = xyes; then
         LDFLAGS="$LDFLAGS $link_static_flag"
         echo "$as_me:9508: checking whether a statically linked program can dlopen itself" >&5
   echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   if test "${lt_cv_dlopen_self_static+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
             if test "$cross_compiling" = yes; then :
     lt_cv_dlopen_self_static=cross
   else
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     lt_status=$lt_dlunknown
     cat > conftest.$ac_ext <<EOF
   #line 9519 "configure"
   #include "confdefs.h"
   
   #if HAVE_DLFCN_H
   #include <dlfcn.h>
   #endif
   
   #include <stdio.h>
   
   #ifdef RTLD_GLOBAL
   #  define LT_DLGLOBAL           RTLD_GLOBAL
   #else
   #  ifdef DL_GLOBAL
   #    define LT_DLGLOBAL         DL_GLOBAL
   #  else
   #    define LT_DLGLOBAL         0
   #  endif
   #endif
   
   /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
      find out it does not work in some platform. */
   #ifndef LT_DLLAZY_OR_NOW
   #  ifdef RTLD_LAZY
   #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
   #  else
   #    ifdef DL_LAZY
   #      define LT_DLLAZY_OR_NOW          DL_LAZY
   #    else
   #      ifdef RTLD_NOW
   #        define LT_DLLAZY_OR_NOW        RTLD_NOW
   #      else
   #        ifdef DL_NOW
   #          define LT_DLLAZY_OR_NOW      DL_NOW
   #        else
   #          define LT_DLLAZY_OR_NOW      0
   #        endif
   #      endif
   #    endif
   #  endif
   #endif
   
   #ifdef __cplusplus
   extern "C" void exit (int);
   #endif
   
   void fnord() { int i=42;}
   int main ()
   {
     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     int status = $lt_dlunknown;
   
     if (self)
       {
         if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
         else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
         /* dlclose (self); */
       }
   
       exit (status);
   }
   EOF
     if { (eval echo "$as_me:9580: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:9583: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       (./conftest; exit; ) 2>/dev/null
       lt_status=$?
       case x$lt_status in
         x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
         x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
         x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
       esac
     else :
       # compilation failed
       lt_cv_dlopen_self_static=no
     fi
   fi
   rm -fr conftest*
   
   fi
   echo "$as_me:9600: result: $lt_cv_dlopen_self_static" >&5
   echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
       fi
   
       CPPFLAGS="$save_CPPFLAGS"
       LDFLAGS="$save_LDFLAGS"
       LIBS="$save_LIBS"
       ;;
     esac
   
     case $lt_cv_dlopen_self in
     yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
     *) enable_dlopen_self=unknown ;;
     esac
   
     case $lt_cv_dlopen_self_static in
     yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
     *) enable_dlopen_self_static=unknown ;;
     esac
   fi
   
   # Report which librarie types wil actually be built
   echo "$as_me:9622: checking if libtool supports shared libraries" >&5
   echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   echo "$as_me:9624: result: $can_build_shared" >&5
   echo "${ECHO_T}$can_build_shared" >&6
   
   echo "$as_me:9627: checking whether to build shared libraries" >&5
   echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   test "$can_build_shared" = "no" && enable_shared=no
   
   # On AIX, shared libraries and static libraries use the same namespace, and
   # are all built from PIC.
   case "$host_os" in
   aix3*)
     test "$enable_shared" = yes && enable_static=no
     if test -n "$RANLIB"; then
       archive_cmds="$archive_cmds~\$RANLIB \$lib"
       postinstall_cmds='$RANLIB $lib'
     fi
     ;;
   
   aix4*)
     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
       test "$enable_shared" = yes && enable_static=no
     fi
     ;;
   esac
   echo "$as_me:9648: result: $enable_shared" >&5
   echo "${ECHO_T}$enable_shared" >&6
   
   echo "$as_me:9651: checking whether to build static libraries" >&5
   echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   # Make sure either enable_shared or enable_static is yes.
   test "$enable_shared" = yes || enable_static=yes
   echo "$as_me:9655: result: $enable_static" >&5
   echo "${ECHO_T}$enable_static" >&6
   
   # The else clause should only fire when bootstrapping the
   # libtool distribution, otherwise you forgot to ship ltmain.sh
   # with your package, and you will get complaints that there are
   # no rules to generate ltmain.sh.
   if test -f "$ltmain"; then
     # Now quote all the things that may contain metacharacters while being
     # careful not to overquote the AC_SUBSTed values.  We take copies of the
     # variables and quote the copies for generation of the libtool script.
     for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S LTCC NM SHELL \
       libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       deplibs_check_method reload_flag reload_cmds need_locks \
       lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       lt_cv_sys_global_symbol_to_c_name_address \
       sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       old_postinstall_cmds old_postuninstall_cmds \
       HOST_CC \
       compiler \
       CC \
       LD \
       lt_prog_compiler_wl \
       lt_prog_compiler_pic \
       lt_prog_compiler_static \
       lt_prog_compiler_no_builtin_flag \
       export_dynamic_flag_spec \
       thread_safe_flag_spec \
       whole_archive_flag_spec \
       old_archive_cmds \
       old_archive_from_new_cmds \
       predep_objects \
       postdep_objects \
       predeps \
       postdeps \
       compiler_lib_search_path \
       archive_cmds \
       archive_expsym_cmds \
       postinstall_cmds \
       postuninstall_cmds \
       old_archive_from_expsyms_cmds \
       allow_undefined_flag \
       no_undefined_flag \
       export_symbols_cmds \
       hardcode_libdir_flag_spec \
       hardcode_libdir_separator \
       lt_cv_prog_compiler_c_o \
       exclude_expsyms \
       include_expsyms; do
   
       case $var in
       old_archive_cmds | \
       old_archive_from_new_cmds | \
       archive_cmds | \
       archive_expsym_cmds | \
       old_archive_from_expsyms_cmds | \
       export_symbols_cmds | \
       extract_expsyms_cmds | reload_cmds | finish_cmds | \
       postinstall_cmds | postuninstall_cmds | \
       old_postinstall_cmds | old_postuninstall_cmds | \
       sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
         # Double-quote double-evaled strings.
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
         ;;
       *)
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
         ;;
       esac
   done    done
   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"  
     case $lt_echo in
     *'\$0 --fallback-echo"')
       lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       ;;
     esac
   
   cfgfile="${ofile}T"
     trap "$rm \"$cfgfile\"; exit 1" 1 2 15
     $rm -f "$cfgfile"
     { echo "$as_me:9735: creating $ofile" >&5
   echo "$as_me: creating $ofile" >&6;}
   
     cat <<__EOF__ >> "$cfgfile"
   #! $SHELL
   
   # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   #
   # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
   # Free Software Foundation, Inc.
   #
   # This file is part of GNU Libtool:
   # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
   #
   # This program is free software; you can redistribute it and/or modify
   # it under the terms of the GNU General Public License as published by
   # the Free Software Foundation; either version 2 of the License, or
   # (at your option) any later version.
   #
   # This program is distributed in the hope that it will be useful, but
   # WITHOUT ANY WARRANTY; without even the implied warranty of
   # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   # General Public License for more details.
   #
   # You should have received a copy of the GNU General Public License
   # along with this program; if not, write to the Free Software
   # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   #
   # As a special exception to the GNU General Public License, if you
   # distribute this file as part of a program that contains a
   # configuration script generated by Autoconf, you may include it under
   # the same distribution terms that you use for the rest of that program.
   
   # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   Xsed="sed -e s/^X//"
   
   # The HP-UX ksh and POSIX shell print the target directory to stdout
   # if CDPATH is set.
   if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
   
   # The names of the tagged configurations supported by this script.
   available_tags=
   
   # ### BEGIN LIBTOOL CONFIG
   
   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   
   # Shell to use when invoking shell scripts.
   SHELL=$lt_SHELL
   
   # Whether or not to build shared libraries.
   build_libtool_libs=$enable_shared
   
   # Whether or not to build static libraries.
   build_old_libs=$enable_static
   
   # Whether or not to add -lc for building shared libraries.
   build_libtool_need_lc=$archive_cmds_need_lc
   
   # Whether or not to optimize for fast installation.
   fast_install=$enable_fast_install
   
   # The host system.
   host_alias=$host_alias
   host=$host
   
   # An echo program that does not interpret backslashes.
   echo=$lt_echo
   
   # The archiver.
   AR=$lt_AR
   AR_FLAGS=$lt_AR_FLAGS
   
   # A C compiler.
   LTCC=$lt_LTCC
   
   # A C compiler for the build system.
   HOST_CC=$lt_HOST_CC
   
   # A language-specific compiler.
   CC=$lt_compiler
   
   # Is the compiler the GNU C compiler?
   with_gcc=$GCC
   
   # The linker used to build libraries.
   LD=$lt_LD
   
   # Whether we need hard or soft links.
   LN_S=$lt_LN_S
   
   # A BSD-compatible nm program.
   NM=$lt_NM
   
   # A symbol stripping program
   STRIP=$STRIP
   
   # Used to examine libraries when file_magic_cmd begins "file"
   MAGIC_CMD=$MAGIC_CMD
   
   # Used on cygwin: DLL creation program.
   DLLTOOL="$DLLTOOL"
   
   # Used on cygwin: object dumper.
   OBJDUMP="$OBJDUMP"
   
   # Used on cygwin: assembler.
   AS="$AS"
   
   # The name of the directory that contains temporary libtool files.
   objdir=$objdir
   
   # How to create reloadable object files.
   reload_flag=$lt_reload_flag
   reload_cmds=$lt_reload_cmds
   
   # How to pass a linker flag through the compiler.
   wl=$lt_lt_prog_compiler_wl
   
   # Object file suffix (normally "o").
   objext="$ac_objext"
   
   # Old archive suffix (normally "a").
   libext="$libext"
   
   # Executable file suffix (normally "").
   exeext="$exeext"
   
   # Additional compiler flags for building library objects.
   pic_flag=$lt_lt_prog_compiler_pic
   pic_mode=$pic_mode
   
   # What is the maximum length of a command?
   max_cmd_len=$lt_cv_sys_max_cmd_len
   
   # Does compiler simultaneously support -c and -o options?
   compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   
   # Must we lock files when doing compilation ?
   need_locks=$lt_need_locks
   
   # Do we need the lib prefix for modules?
   need_lib_prefix=$need_lib_prefix
   
   # Do we need a version for libraries?
   need_version=$need_version
   
   # Whether dlopen is supported.
   dlopen_support=$enable_dlopen
   
   # Whether dlopen of programs is supported.
   dlopen_self=$enable_dlopen_self
   
   # Whether dlopen of statically linked programs is supported.
   dlopen_self_static=$enable_dlopen_self_static
   
   # Compiler flag to prevent dynamic linking.
   link_static_flag=$lt_lt_prog_compiler_static
   
   # Compiler flag to turn off builtin functions.
   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   
   # Compiler flag to allow reflexive dlopens.
   export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   
   # Compiler flag to generate shared objects directly from archives.
   whole_archive_flag_spec=$lt_whole_archive_flag_spec
   
   # Compiler flag to generate thread-safe objects.
   thread_safe_flag_spec=$lt_thread_safe_flag_spec
   
   # Library versioning type.
   version_type=$version_type
   
   # Format of library name prefix.
   libname_spec=$lt_libname_spec
   
   # List of archive names.  First name is the real one, the rest are links.
   # The last name is the one that the linker finds with -lNAME.
   library_names_spec=$lt_library_names_spec
   
   # The coded name of the library, if different from the real name.
   soname_spec=$lt_soname_spec
   
   # Commands used to build and install an old-style archive.
   RANLIB=$lt_RANLIB
   old_archive_cmds=$lt_old_archive_cmds
   old_postinstall_cmds=$lt_old_postinstall_cmds
   old_postuninstall_cmds=$lt_old_postuninstall_cmds
   
   # Create an old-style archive from a shared archive.
   old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   
   # Create a temporary old-style archive to link instead of a shared archive.
   old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   
   # Commands used to build and install a shared archive.
   archive_cmds=$lt_archive_cmds
   archive_expsym_cmds=$lt_archive_expsym_cmds
   postinstall_cmds=$lt_postinstall_cmds
   postuninstall_cmds=$lt_postuninstall_cmds
   
   # Commands to strip libraries.
   old_striplib=$lt_old_striplib
   striplib=$lt_striplib
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predep_objects=$lt_predep_objects
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdep_objects=$lt_postdep_objects
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predeps=$lt_predeps
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdeps=$lt_postdeps
   
   # The library search path used internally by the compiler when linking
   # a shared library.
   compiler_lib_search_path=$lt_compiler_lib_search_path
   
   # Method to check whether dependent libraries are shared objects.
   deplibs_check_method=$lt_deplibs_check_method
   
   # Command to use when deplibs_check_method == file_magic.
   file_magic_cmd=$lt_file_magic_cmd
   
   # Flag that allows shared libraries with undefined symbols to be built.
   allow_undefined_flag=$lt_allow_undefined_flag
   
   # Flag that forces no undefined symbols.
   no_undefined_flag=$lt_no_undefined_flag
   
   # Commands used to finish a libtool library installation in a directory.
   finish_cmds=$lt_finish_cmds
   
   # Same as above, but a single script fragment to be evaled but not shown.
   finish_eval=$lt_finish_eval
   
   # Take the output of nm and produce a listing of raw symbols and C names.
   global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   
   # Transform the output of nm in a proper C declaration
   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   
   # Transform the output of nm in a C name address pair
   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   
   # This is the shared library runtime path variable.
   runpath_var=$runpath_var
   
   # This is the shared library path variable.
   shlibpath_var=$shlibpath_var
   
   # Is shlibpath searched before the hard-coded library search path?
   shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   
   # How to hardcode a shared library path into an executable.
   hardcode_action=$hardcode_action
   
   # Whether we should hardcode library paths into libraries.
   hardcode_into_libs=$hardcode_into_libs
   
   # Flag to hardcode \$libdir into a binary during linking.
   # This must work even if \$libdir does not exist.
   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   
   # Whether we need a single -rpath flag with a separated argument.
   hardcode_libdir_separator=$lt_hardcode_libdir_separator
   
   # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
   # resulting binary.
   hardcode_direct=$hardcode_direct
   
   # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   # resulting binary.
   hardcode_minus_L=$hardcode_minus_L
   
   # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   # the resulting binary.
   hardcode_shlibpath_var=$hardcode_shlibpath_var
   
   # Variables whose values should be saved in libtool wrapper scripts and
   # restored at relink time.
   variables_saved_for_relink="$variables_saved_for_relink"
   
   # Whether libtool must link a program against all its dependency libraries.
   link_all_deplibs=$link_all_deplibs
   
   # Compile-time system search path for libraries
   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   
   # Run-time system search path for libraries
   sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   
   # Fix the shell variable \$srcfile for the compiler.
   fix_srcfile_path="$fix_srcfile_path"
   
   # Set to yes if exported symbols are required.
   always_export_symbols=$always_export_symbols
   
   # The commands to list exported symbols.
   export_symbols_cmds=$lt_export_symbols_cmds
   
   # The commands to extract the exported symbol list from a shared archive.
   extract_expsyms_cmds=$lt_extract_expsyms_cmds
   
   # Symbols that should not be listed in the preloaded symbols.
   exclude_expsyms=$lt_exclude_expsyms
   
   # Symbols that must always be exported.
   include_expsyms=$lt_include_expsyms
   
   # ### END LIBTOOL CONFIG
   
   __EOF__
   
     case $host_os in
     aix3*)
       cat <<\EOF >> "$cfgfile"
   
   # AIX sometimes has problems with the GCC collect2 program.  For some
   # reason, if we set the COLLECT_NAMES environment variable, the problems
   # vanish in a puff of smoke.
   if test "X${COLLECT_NAMES+set}" != Xset; then
     COLLECT_NAMES=
     export COLLECT_NAMES
 fi  fi
   EOF
       ;;
   
     cygwin* | mingw* | pw32* | os2*)
       cat <<'EOF' >> "$cfgfile"
       # This is a source program that is used to create dlls on Windows
       # Don't remove nor modify the starting and closing comments
   
   # /* ltdll.c starts here */
   # #define WIN32_LEAN_AND_MEAN
   # #include <windows.h>
   # #undef WIN32_LEAN_AND_MEAN
   # #include <stdio.h>
   #
   # #ifndef __CYGWIN__
   # #  ifdef __CYGWIN32__
   # #    define __CYGWIN__ __CYGWIN32__
   # #  endif
   # #endif
   #
   # #ifdef __cplusplus
   # extern "C" {
   # #endif
   # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved);
   # #ifdef __cplusplus
   # }
   # #endif
   #
   # #ifdef __CYGWIN__
   # #include <cygwin/cygwin_dll.h>
   # DECLARE_CYGWIN_DLL( DllMain );
   # #endif
   # HINSTANCE __hDllInstance_base;
   #
   # BOOL APIENTRY
   # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved)
   # {
   #   __hDllInstance_base = hInst;
   #   return TRUE;
   # }
   # /* ltdll.c ends here */
   
       # This is a source program that is used to create import libraries
       # on Windows for dlls which lack them. Don't remove nor modify the
       # starting and closing comments
   
   # /* impgen.c starts here */
   # /*   Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
   #
   #  This file is part of GNU libtool.
   #
   #  This program is free software; you can redistribute it and/or modify
   #  it under the terms of the GNU General Public License as published by
   #  the Free Software Foundation; either version 2 of the License, or
   #  (at your option) any later version.
   #
   #  This program is distributed in the hope that it will be useful,
   #  but WITHOUT ANY WARRANTY; without even the implied warranty of
   #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   #  GNU General Public License for more details.
   #
   #  You should have received a copy of the GNU General Public License
   #  along with this program; if not, write to the Free Software
   #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
   #  */
   #
   # #include <stdio.h>            /* for printf() */
   # #include <unistd.h>           /* for open(), lseek(), read() */
   # #include <fcntl.h>            /* for O_RDONLY, O_BINARY */
   # #include <string.h>           /* for strdup() */
   #
   # /* O_BINARY isn't required (or even defined sometimes) under Unix */
   # #ifndef O_BINARY
   # #define O_BINARY 0
   # #endif
   #
   # static unsigned int
   # pe_get16 (fd, offset)
   #      int fd;
   #      int offset;
   # {
   #   unsigned char b[2];
   #   lseek (fd, offset, SEEK_SET);
   #   read (fd, b, 2);
   #   return b[0] + (b[1]<<8);
   # }
   #
   # static unsigned int
   # pe_get32 (fd, offset)
   #     int fd;
   #     int offset;
   # {
   #   unsigned char b[4];
   #   lseek (fd, offset, SEEK_SET);
   #   read (fd, b, 4);
   #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
   # }
   #
   # static unsigned int
   # pe_as32 (ptr)
   #      void *ptr;
   # {
   #   unsigned char *b = ptr;
   #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24);
   # }
   #
   # int
   # main (argc, argv)
   #     int argc;
   #     char *argv[];
   # {
   #     int dll;
   #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i;
   #     unsigned long export_rva, export_size, nsections, secptr, expptr;
   #     unsigned long name_rvas, nexp;
   #     unsigned char *expdata, *erva;
   #     char *filename, *dll_name;
   #
   #     filename = argv[1];
   #
   #     dll = open(filename, O_RDONLY|O_BINARY);
   #     if (dll < 1)
   #       return 1;
   #
   #     dll_name = filename;
   #
   #     for (i=0; filename[i]; i++)
   #       if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':')
   #           dll_name = filename + i +1;
   #
   #     pe_header_offset = pe_get32 (dll, 0x3c);
   #     opthdr_ofs = pe_header_offset + 4 + 20;
   #     num_entries = pe_get32 (dll, opthdr_ofs + 92);
   #
   #     if (num_entries < 1) /* no exports */
   #       return 1;
   #
   #     export_rva = pe_get32 (dll, opthdr_ofs + 96);
   #     export_size = pe_get32 (dll, opthdr_ofs + 100);
   #     nsections = pe_get16 (dll, pe_header_offset + 4 +2);
   #     secptr = (pe_header_offset + 4 + 20 +
   #             pe_get16 (dll, pe_header_offset + 4 + 16));
   #
   #     expptr = 0;
   #     for (i = 0; i < nsections; i++)
   #     {
   #       char sname[8];
   #       unsigned long secptr1 = secptr + 40 * i;
   #       unsigned long vaddr = pe_get32 (dll, secptr1 + 12);
   #       unsigned long vsize = pe_get32 (dll, secptr1 + 16);
   #       unsigned long fptr = pe_get32 (dll, secptr1 + 20);
   #       lseek(dll, secptr1, SEEK_SET);
   #       read(dll, sname, 8);
   #       if (vaddr <= export_rva && vaddr+vsize > export_rva)
   #       {
   #           expptr = fptr + (export_rva - vaddr);
   #           if (export_rva + export_size > vaddr + vsize)
   #               export_size = vsize - (export_rva - vaddr);
   #           break;
   #       }
   #     }
   #
   #     expdata = (unsigned char*)malloc(export_size);
   #     lseek (dll, expptr, SEEK_SET);
   #     read (dll, expdata, export_size);
   #     erva = expdata - export_rva;
   #
   #     nexp = pe_as32 (expdata+24);
   #     name_rvas = pe_as32 (expdata+32);
   #
   #     printf ("EXPORTS\n");
   #     for (i = 0; i<nexp; i++)
   #     {
   #       unsigned long name_rva = pe_as32 (erva+name_rvas+i*4);
   #       printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i);
   #     }
   #
   #     return 0;
   # }
   # /* impgen.c ends here */
   
   EOF
       ;;
     esac
   
     # We use sed instead of cat because bash on DJGPP gets confused if
     # if finds mixed CR/LF and LF-only lines.  Since sed operates in
     # text mode, it properly converts lines to CR/LF.  This bash problem
     # is reportedly fixed, but why not run on old versions too?
     sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   
     mv -f "$cfgfile" "$ofile" || \
       (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
     chmod +x "$ofile"
   
   else
     # If there is no Makefile yet, we rely on a make rule to execute
     # `config.status --recheck' to rerun these tests and create the
     # libtool script then.
     test -f Makefile && make "$ltmain"
 fi  fi
 STRIP="$ac_cv_prog_STRIP"  
 if test -n "$STRIP"; then  ac_ext=c
   echo "$ECHO_T""$STRIP" 1>&6  ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   CC="$lt_save_CC"
   
   # Check whether --with-tags or --without-tags was given.
   if test "${with_tags+set}" = set; then
     withval="$with_tags"
     tagnames="$withval"
 else  else
   echo "$ECHO_T""no" 1>&6    tagnames="CXX,GCJ"
       case $host_os in
         mingw*|cygwin*) tagnames="$tagnames,RC" ;;
       esac
   fi;
   
   if test -f "$ltmain" && test -n "$tagnames"; then
     if test ! -f "${ofile}"; then
       { echo "$as_me:10293: WARNING: output file \`$ofile' does not exist" >&5
   echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
     fi
   
     if test -z "$LTCC"; then
       eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
       if test -z "$LTCC"; then
         { echo "$as_me:10300: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
       else
         { echo "$as_me:10303: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
       fi
     fi
   
     # Extract list of available tagged configurations in $ofile.
     # Note that this assumes the entire list is on one line.
     available_tags=`grep "^available_tags=" "${ofile}" | sed -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   
     lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     for tagname in $tagnames; do
       IFS="$lt_save_ifs"
       # Check whether tagname contains only valid characters
       case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
       "") ;;
       *)  { { echo "$as_me:10318: error: invalid tag name: $tagname" >&5
   echo "$as_me: error: invalid tag name: $tagname" >&2;}
      { (exit 1); exit 1; }; }
           ;;
       esac
   
       if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
       then
         { { echo "$as_me:10326: error: tag name \"$tagname\" already exists" >&5
   echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
      { (exit 1); exit 1; }; }
       fi
   
       # Update the list of available tags.
       if test -n "$tagname"; then
         echo appending configuration tag \"$tagname\" to $ofile
   
         case $tagname in
         CXX)
           ac_ext=cc
   ac_cpp='$CXXCPP $CPPFLAGS'
   ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   
   archive_cmds_need_lc_CXX=no
   allow_undefined_flag_CXX=
   always_export_symbols_CXX=no
   archive_expsym_cmds_CXX=
   export_dynamic_flag_spec_CXX=
   hardcode_direct_CXX=no
   hardcode_libdir_flag_spec_CXX=
   hardcode_libdir_separator_CXX=
   hardcode_minus_L_CXX=no
   link_all_deplibs_CXX=unknown
   old_archive_cmds_CXX=$old_archive_cmds
   no_undefined_flag_CXX=
   whole_archive_flag_spec_CXX=
   
   # Dependencies to place before and after the object being linked:
   predep_objects_CXX=
   postdep_objects_CXX=
   predeps_CXX=
   postdeps_CXX=
   compiler_lib_search_path_CXX=
   
   # Source file extension for C test sources.
   ac_ext=cc
   
   # Object file extension for compiled C test sources.
   objext=o
   objext_CXX=$objext
   
   # Code to be used in simple compile tests
   lt_simple_compile_test_code="int some_variable = 0;"
   
   # Code to be used in simple link tests
   lt_simple_link_test_code='int main(int char *) { return(0); }'
   
   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   
   # If no C compiler was specified, use CC.
   LTCC=${LTCC-"$CC"}
   
   # Allow CC to be a program name with arguments.
   set dummy $CC
   compiler="$2"
   
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   CC=${CXX-"c++"}
   set dummy $CC
   compiler="$2"
   compiler_CXX=$CC
   cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
   
   # We don't want -fno-exception wen compiling C++ code, so set the
   # no_builtin_flag separately
   if test "$GXX" = yes; then
     lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   else
     lt_prog_compiler_no_builtin_flag_CXX=
 fi  fi
   
   if test "$GXX" = yes; then
     # Set up default GNU C++ configuration
   
     # Check if GNU C++ uses GNU ld as the underlying linker, since the
     # archiving commands below assume that GNU ld is being used.
     if eval "`$CC -print-prog-name=ld` --version 2>&1" | \
         egrep 'GNU ld' > /dev/null; then
       with_gnu_ld=yes
   
       archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
       archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   
       hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
       export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   
       # If archive_cmds runs LD, not CC, wlarc should be empty
       # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
       #     investigate it a little bit more. (MM)
       wlarc='${wl}'
   
       # ancient GNU ld didn't support --whole-archive et. al.
       if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
           egrep 'no-whole-archive' > /dev/null; then
         whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
       else
         whole_archive_flag_spec_CXX=
       fi
   else    else
     STRIP=":"      with_gnu_ld=no
       wlarc=
   
       # A generic and very simple default shared library creation
       # command for GNU C++ for the case where it uses the native
       # linker, instead of GNU ld.  If possible, this setting should
       # overridden to take advantage of the native linker features on
       # the platform it is being used on.
       archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   fi    fi
   
     # Commands to make compiler produce verbose output that lists
     # what "hidden" libraries, object files and flags are used when
     # linking a shared library.
     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
   
   else
     GXX=no
     with_gnu_ld=no
     wlarc=
 fi  fi
   
 # Check for any special flags to pass to ltconfig.  # PORTME: fill in a description of your system's C++ link characteristics
 libtool_flags="--cache-file=$cache_file"  echo "$as_me:10453: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"  echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"  ld_shlibs_CXX=yes
 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"  case $host_os in
 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"    aix3*)
 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"      # FIXME: insert proper C++ library support
       ld_shlibs_CXX=no
       ;;
     aix4* | aix5*)
       if test "$host_cpu" = ia64; then
         # On IA64, the linker does run time linking by default, so we don't
         # have to do anything special.
         aix_use_runtimelinking=no
         exp_sym_flag='-Bexport'
         no_entry_flag=""
       else
         aix_use_runtimelinking=no
   
 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.        # Test if we are trying to use run time linking or normal
 if test "${enable_libtool_lock+set}" = set; then        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   enableval="$enable_libtool_lock"        # need to do runtime linking.
         case $host_os in aix4.[23]|aix4.[23].*|aix5*)
           for ld_flag in $LDFLAGS; do
             if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
               aix_use_runtimelinking=yes
               break
             fi
           done
         esac
   
         exp_sym_flag='-bexport'
         no_entry_flag='-bnoentry'
       fi
   
       # When large executables or shared objects are built, AIX ld can
       # have problems creating the table of contents.  If linking a library
       # or program results in "error TOC overflow" add -mminimal-toc to
       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   
       archive_cmds_CXX=''
       hardcode_direct_CXX=yes
       hardcode_libdir_separator_CXX=':'
       link_all_deplibs_CXX=yes
   
       if test "$GXX" = yes; then
         case $host_os in aix4.012|aix4.012.*)
         # We only want to do this on AIX 4.2 and lower, the check
         # below for broken collect2 doesn't work under 4.3+
           collect2name=`${CC} -print-prog-name=collect2`
           if test -f "$collect2name" && \
              strings "$collect2name" | grep resolve_lib_name >/dev/null
           then
             # We have reworked collect2
             hardcode_direct_CXX=yes
           else
             # We have old collect2
             hardcode_direct_CXX=unsupported
             # It fails to find uninstalled libraries when the uninstalled
             # path is not listed in the libpath.  Setting hardcode_minus_L
             # to unsupported forces relinking
             hardcode_minus_L_CXX=yes
             hardcode_libdir_flag_spec_CXX='-L$libdir'
             hardcode_libdir_separator_CXX=
           fi
         esac
         shared_flag='-shared'
       else
         # not using gcc
         if test "$host_cpu" = ia64; then
           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
           # chokes on -Wl,-G. The following line is correct:
           shared_flag='-G'
         else
           if test "$aix_use_runtimelinking" = yes; then
             shared_flag='${wl}-G'
           else
             shared_flag='${wl}-bM:SRE'
           fi
         fi
       fi
   
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols_CXX=yes
       if test "$aix_use_runtimelinking" = yes; then
         # Warning - without using the other runtime loading flags (-brtl),
         # -berok will link without error, but may produce a broken library.
         allow_undefined_flag_CXX='-berok'
         # Determine the default libpath from the value encoded in an empty executable.
         cat >conftest.$ac_ext <<_ACEOF
   #line 10544 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:10556: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:10559: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:10562: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:10565: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   
   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`
   # Check for a 64-bit object if we didn't find anything.
   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`; fi
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
 fi  fi
 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
 # Check whether --with-pic or --without-pic was given.        hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 if test "${with_pic+set}" = set; then  
   withval="$with_pic"        archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   pic_mode="$withval"       else
         if test "$host_cpu" = ia64; then
           hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
           allow_undefined_flag_CXX="-z nodefs"
           archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
         else
           # Determine the default libpath from the value encoded in an empty executable.
           cat >conftest.$ac_ext <<_ACEOF
   #line 10591 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:10603: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:10606: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:10609: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:10612: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   
   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`
   # Check for a 64-bit object if we didn't find anything.
   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`; fi
 else  else
   pic_mode=default    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
 fi  fi
 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
 # Some flags need to be propagated to the compiler or linker for good          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 # libtool support.          # Warning - without using the other run time loading flags,
 case "$lt_target" in          # -berok will link without error, but may produce a broken library.
 *-*-irix6*)          no_undefined_flag_CXX=' ${wl}-bernotok'
   # Find out which ABI we are using.          allow_undefined_flag_CXX=' ${wl}-berok'
   echo '#line 3618 "configure"' > conftest.$ac_ext          # -bexpall does not export symbols beginning with underscore (_)
   if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then          always_export_symbols_CXX=yes
     case "`/usr/bin/file conftest.o`" in          # Exported symbols can be pulled into shared objects from archives
     *32-bit*)          whole_archive_flag_spec_CXX=' '
       LD="${LD-ld} -32"          archive_cmds_need_lc_CXX=yes
           # This is similar to how AIX traditionally builds it's shared libraries.
           archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
         fi
       fi
       ;;
     chorus*)
       case $cc_basename in
         *)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
       esac
       ;;
     dgux*)
       case $cc_basename in
         ec++)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         ghcx)
           # Green Hills C++ Compiler
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         *)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
       esac
       ;;
     freebsd12*)
       # C++ shared libraries reported to be fairly broken before switch to ELF
       ld_shlibs_CXX=no
       ;;
     freebsd-elf*)
       archive_cmds_need_lc_CXX=no
       ;;
     freebsd*)
       # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
       # conventions
       ld_shlibs_CXX=yes
       ;;
     gnu*)
       ;;
     hpux*)
       if test $with_gnu_ld = no; then
         if test "$host_cpu" = ia64; then
           hardcode_libdir_flag_spec_CXX='-L$libdir'
         else
           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
           hardcode_libdir_separator_CXX=:
           export_dynamic_flag_spec_CXX='${wl}-E'
         fi
       fi
       if test "$host_cpu" = ia64; then
         hardcode_direct_CXX=no
         hardcode_shlibpath_var_CXX=no
       else
         hardcode_direct_CXX=yes
       fi
       hardcode_minus_L_CXX=yes # Not in the search PATH,
                                               # but as the default
                                               # location of the library.
   
       case $cc_basename in
         CC)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         aCC)
           case $host_os in
           hpux9*)
             archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
             ;;
           *)
             if test "$host_cpu" = ia64; then
               archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
             else
               archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
             fi
             ;;
           esac
           # Commands to make compiler produce verbose output that lists
           # what "hidden" libraries, object files and flags are used when
           # linking a shared library.
           #
           # There doesn't appear to be a way to prevent this compiler from
           # explicitly linking system object files so we need to strip them
           # from the output so that they don't get included in the library
           # dependencies.
           output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
           ;;
         *)
           if test "$GXX" = yes; then
             if test $with_gnu_ld = no; then
               case $host_os in
               hpux9*)
                 archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                 ;;
               *)
                 if test "$host_cpu" = ia64; then
                   archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
                 else
                   archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                 fi
                 ;;
               esac
             fi
           else
             # FIXME: insert proper C++ library support
             ld_shlibs_CXX=no
           fi
           ;;
       esac
       ;;
     irix5* | irix6*)
       case $cc_basename in
         CC)
           # SGI C++
           archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
   
           # Archives containing C++ object files must be created using
           # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
           # necessary to make sure instantiated templates are included
           # in the archive.
           old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
           ;;
         *)
           if test "$GXX" = yes; then
             if test "$with_gnu_ld" = no; then
               archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
             else
               archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -o $lib'
             fi
           fi
           link_all_deplibs_CXX=yes
           ;;
       esac
       hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
       hardcode_libdir_separator_CXX=:
       ;;
     linux*)
       case $cc_basename in
         KCC)
           # Kuck and Associates, Inc. (KAI) C++ Compiler
   
           # KCC will only create a shared library if the output file
           # ends with ".so" (or ".sl" for HP-UX), so rename the library
           # to its proper name (with version) after linking.
           archive_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
           archive_expsym_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   
           # Commands to make compiler produce verbose output that lists
           # what "hidden" libraries, object files and flags are used when
           # linking a shared library.
           #
           # There doesn't appear to be a way to prevent this compiler from
           # explicitly linking system object files so we need to strip them
           # from the output so that they don't get included in the library
           # dependencies.
           output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest.so 2>&1 | egrep "ld"`; rm -f libconftest.so; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   
           hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
           export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   
           # Archives containing C++ object files must be created using
           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
           old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
           ;;
         cxx)
           # Compaq C++
           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
           archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   
           runpath_var=LD_RUN_PATH
           hardcode_libdir_flag_spec_CXX='-rpath $libdir'
           hardcode_libdir_separator_CXX=:
   
           # Commands to make compiler produce verbose output that lists
           # what "hidden" libraries, object files and flags are used when
           # linking a shared library.
           #
           # There doesn't appear to be a way to prevent this compiler from
           # explicitly linking system object files so we need to strip them
           # from the output so that they don't get included in the library
           # dependencies.
           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
           ;;
       esac
       ;;
     lynxos*)
       # FIXME: insert proper C++ library support
       ld_shlibs_CXX=no
       ;;
     m88k*)
       # FIXME: insert proper C++ library support
       ld_shlibs_CXX=no
       ;;
     mvs*)
       case $cc_basename in
         cxx)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         *)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
       esac
       ;;
     netbsd*)
       # NetBSD uses g++ - do we need to do anything?
       ;;
     osf3*)
       case $cc_basename in
         KCC)
           # Kuck and Associates, Inc. (KAI) C++ Compiler
   
           # KCC will only create a shared library if the output file
           # ends with ".so" (or ".sl" for HP-UX), so rename the library
           # to its proper name (with version) after linking.
           archive_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   
           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
           hardcode_libdir_separator_CXX=:
   
           # Archives containing C++ object files must be created using
           # "CC -Bstatic", where "CC" is the KAI C++ compiler.
           old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   
           ;;
         RCC)
           # Rational C++ 2.4.1
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         cxx)
           allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
           archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
   
           hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
           hardcode_libdir_separator_CXX=:
   
           # Commands to make compiler produce verbose output that lists
           # what "hidden" libraries, object files and flags are used when
           # linking a shared library.
           #
           # There doesn't appear to be a way to prevent this compiler from
           # explicitly linking system object files so we need to strip them
           # from the output so that they don't get included in the library
           # dependencies.
           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
           ;;
         *)
           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
             allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
             archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
   
             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
             hardcode_libdir_separator_CXX=:
   
             # Commands to make compiler produce verbose output that lists
             # what "hidden" libraries, object files and flags are used when
             # linking a shared library.
             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
   
           else
             # FIXME: insert proper C++ library support
             ld_shlibs_CXX=no
           fi
           ;;
       esac
       ;;
     osf4* | osf5*)
       case $cc_basename in
         KCC)
           # Kuck and Associates, Inc. (KAI) C++ Compiler
   
           # KCC will only create a shared library if the output file
           # ends with ".so" (or ".sl" for HP-UX), so rename the library
           # to its proper name (with version) after linking.
           archive_cmds_CXX='templib=`echo $lib | sed -e "s/\.so\..*/\.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   
           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
           hardcode_libdir_separator_CXX=:
   
           # Archives containing C++ object files must be created using
           # the KAI C++ compiler.
           old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
           ;;
         RCC)
           # Rational C++ 2.4.1
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         cxx)
           allow_undefined_flag_CXX=' -expect_unresolved \*'
           archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
           archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done~
             echo "-hidden">> $lib.exp~
             $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring` -update_registry $objdir/so_locations -o $lib~
             $rm $lib.exp'
   
           hardcode_libdir_flag_spec_CXX='-rpath $libdir'
           hardcode_libdir_separator_CXX=:
   
           # Commands to make compiler produce verbose output that lists
           # what "hidden" libraries, object files and flags are used when
           # linking a shared library.
           #
           # There doesn't appear to be a way to prevent this compiler from
           # explicitly linking system object files so we need to strip them
           # from the output so that they don't get included in the library
           # dependencies.
           output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | sed "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
           ;;
         *)
           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
             allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
            archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
   
             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
             hardcode_libdir_separator_CXX=:
   
             # Commands to make compiler produce verbose output that lists
             # what "hidden" libraries, object files and flags are used when
             # linking a shared library.
             output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep "\-L"'
   
           else
             # FIXME: insert proper C++ library support
             ld_shlibs_CXX=no
           fi
           ;;
       esac
       ;;
     psos*)
       # FIXME: insert proper C++ library support
       ld_shlibs_CXX=no
       ;;
     sco*)
       archive_cmds_need_lc_CXX=no
       case $cc_basename in
         CC)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         *)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
       esac
       ;;
     sunos4*)
       case $cc_basename in
         CC)
           # Sun C++ 4.x
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         lcc)
           # Lucid
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         *)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
       esac
       ;;
     solaris*)
       case $cc_basename in
         CC)
           # Sun C++ 4.2, 5.x and Centerline C++
           no_undefined_flag_CXX=' -zdefs'
           archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
           archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
           $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   
           hardcode_libdir_flag_spec_CXX='-R$libdir'
           hardcode_shlibpath_var_CXX=no
           case $host_os in
             solaris2.0-5 | solaris2.0-5.*) ;;
             *)
               # The C++ compiler is used as linker so we must use $wl
               # flag to pass the commands to the underlying system
               # linker.
               # Supported since Solaris 2.6 (maybe 2.5.1?)
               whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
               ;;
           esac
           link_all_deplibs_CXX=yes
   
           # Commands to make compiler produce verbose output that lists
           # what "hidden" libraries, object files and flags are used when
           # linking a shared library.
           #
           # There doesn't appear to be a way to prevent this compiler from
           # explicitly linking system object files so we need to strip them
           # from the output so that they don't get included in the library
           # dependencies.
           output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep "\-R|\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
   
           # Archives containing C++ object files must be created using
           # "CC -xar", where "CC" is the Sun C++ compiler.  This is
           # necessary to make sure instantiated templates are included
           # in the archive.
           old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
           ;;
         gcx)
           # Green Hills C++ Compiler
           archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   
           # The C++ compiler must be used to create the archive.
           old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
           ;;
         *)
           # GNU C++ compiler with Solaris linker
           if test "$GXX" = yes && test "$with_gnu_ld" = no; then
             no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
             if $CC --version | egrep -v '^2\.7' > /dev/null; then
               archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
               archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
   
               # Commands to make compiler produce verbose output that lists
               # what "hidden" libraries, object files and flags are used when
               # linking a shared library.
               output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
             else
               # g++ 2.7 appears to require `-G' NOT `-shared' on this
               # platform.
               archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $linker_flags ${wl}-h $wl$soname -o $lib'
               archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags~$rm $lib.exp'
   
               # Commands to make compiler produce verbose output that lists
               # what "hidden" libraries, object files and flags are used when
               # linking a shared library.
               output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | egrep \"\-L\""
             fi
   
             hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
           fi
           ;;
       esac
       ;;
     sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
       archive_cmds_need_lc_CXX=no
       ;;
     tandem*)
       case $cc_basename in
         NCC)
           # NonStop-UX NCC 3.20
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
         *)
           # FIXME: insert proper C++ library support
           ld_shlibs_CXX=no
           ;;
       esac
       ;;
     vxworks*)
       # FIXME: insert proper C++ library support
       ld_shlibs_CXX=no
       ;;
     *)
       # FIXME: insert proper C++ library support
       ld_shlibs_CXX=no
       ;;
   esac
   echo "$as_me:11110: result: $ld_shlibs_CXX" >&5
   echo "${ECHO_T}$ld_shlibs_CXX" >&6
   test "$ld_shlibs_CXX" = no && can_build_shared=no
   
   # Figure out "hidden" C++ library dependencies from verbose
   # compiler output whening linking a shared library.
   cat > conftest.$ac_ext <<EOF
   class Foo
   {
   public:
     Foo (void) { a = 0; }
   private:
     int a;
   };
   EOF
   
   if { (eval echo "$as_me:11126: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:11129: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     # Parse the compiler output and extract the necessary
     # objects, libraries and library flags.
   
     # Sentinel used to keep track of whether or not we are before
     # the conftest object file.
     pre_test_object_deps_done=no
   
     # The `*' in the case matches for architectures that use `case' in
     # $output_verbose_cmd can trigger glob expansion during the loop
     # eval without this substitution.
     output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
   
     for p in `eval $output_verbose_link_cmd`; do
       case $p in
   
       -L* | -R* | -l*)
          # Some compilers place space between "-{L,R}" and the path.
          # Remove the space.
          if test $p = "-L" \
             || test $p = "-R"; then
            prev=$p
            continue
          else
            prev=
          fi
   
          if test "$pre_test_object_deps_done" = no; then
            case $p in
            -L* | -R*)
              # Internal compiler library paths should come after those
              # provided the user.  The postdeps already come after the
              # user supplied libs so there is no need to process them.
              if test -z "$compiler_lib_search_path_CXX"; then
                compiler_lib_search_path_CXX="${prev}${p}"
              else
                compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
              fi
              ;;
            # The "-l" case would never come before the object being
            # linked, so don't bother handling this case.
            esac
          else
            if test -z "$postdeps_CXX"; then
              postdeps_CXX="${prev}${p}"
            else
              postdeps_CXX="${postdeps_CXX} ${prev}${p}"
            fi
          fi
          ;;
   
       *.$objext)
          # This assumes that the test object file only shows up
          # once in the compiler output.
          if test "$p" = "conftest.$objext"; then
            pre_test_object_deps_done=yes
            continue
          fi
   
          if test "$pre_test_object_deps_done" = no; then
            if test -z "$predep_objects_CXX"; then
              predep_objects_CXX="$p"
            else
              predep_objects_CXX="$predep_objects_CXX $p"
            fi
          else
            if test -z "$postdep_objects_CXX"; then
              postdep_objects_CXX="$p"
            else
              postdep_objects_CXX="$postdep_objects_CXX $p"
            fi
          fi
          ;;
   
       *) ;; # Ignore the rest.
   
       esac
     done
   
     # Clean up.
     rm -f a.out
   else
     echo "libtool.m4: error: problem compiling C++ test program"
   fi
   
   $rm -f confest.$objext
   
   case " $postdeps_CXX " in
   *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   *) archive_cmds_need_lc_CXX=yes ;;
   esac
   
   GCC_CXX="$GXX"
   LD_CXX="$LD"
   
   lt_prog_compiler_wl_CXX=
   lt_prog_compiler_pic_CXX=
   lt_prog_compiler_static_CXX=
   
   echo "$as_me:11229: checking for $compiler option to produce PIC" >&5
   echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   
     # C++ specific cases for pic, static, wl, etc.
     if test "$GXX" = yes; then
       lt_prog_compiler_wl_CXX='-Wl,'
       lt_prog_compiler_static_CXX='-static'
   
       case $host_os in
       aix*)
         # All AIX code is PIC.
         if test "$host_cpu" = ia64; then
           # AIX 5 now supports IA64 processor
           lt_prog_compiler_static_CXX='-Bstatic'
         fi
       ;;        ;;
     *N32*)      amigaos*)
       LD="${LD-ld} -n32"        # FIXME: we need at least 68020 code to build shared libraries, but
         # adding the `-m68020' flag to GCC prevents building anything better,
         # like `-m68040'.
         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
       ;;        ;;
     *64-bit*)      beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
       LD="${LD-ld} -64"        # PIC is the default for these OSes.
       ;;        ;;
       cygwin* | mingw* | os2*)
         # This hack is so that the source file can tell whether it is being
         # built for inclusion in a dll (and should export symbols for example).
         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
         ;;
       darwin* | rhapsody*)
         # PIC is the default on this platform
         # Common symbols not allowed in MH_DYLIB files
         lt_prog_compiler_pic_CXX='-fno-common'
         ;;
       *djgpp*)
         # DJGPP does not support shared libraries at all
         lt_prog_compiler_pic_CXX=
         ;;
       sysv4*MP*)
         if test -d /usr/nec; then
           lt_prog_compiler_pic_CXX=-Kconform_pic
         fi
         ;;
       hpux*)
         # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
         if test "$host_cpu" != ia64; then
           lt_prog_compiler_pic_CXX='-fPIC'
         fi
         ;;
       *)
         lt_prog_compiler_pic_CXX='-fPIC'
         ;;
     esac      esac
     else
       case $host_os in
         aix4* | aix5*)
           # All AIX code is PIC.
           if test "$host_cpu" = ia64; then
             # AIX 5 now supports IA64 processor
             lt_prog_compiler_static_CXX='-Bstatic'
           else
             lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
           fi
           ;;
         chorus*)
           case $cc_basename in
           cxch68)
             # Green Hills C++ Compiler
             # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
             ;;
           esac
           ;;
         dgux*)
           case $cc_basename in
             ec++)
               lt_prog_compiler_pic_CXX='-KPIC'
               ;;
             ghcx)
               # Green Hills C++ Compiler
               lt_prog_compiler_pic_CXX='-pic'
               ;;
             *)
               ;;
           esac
           ;;
         freebsd*)
           # FreeBSD uses GNU C++
           ;;
         hpux9* | hpux10* | hpux11*)
           case $cc_basename in
             CC)
               lt_prog_compiler_wl_CXX='-Wl,'
               lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
               if test "$host_cpu" != ia64; then
                 lt_prog_compiler_pic_CXX='+Z'
               fi
               ;;
             aCC)
               lt_prog_compiler_wl_CXX='-Wl,'
               lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
               if test "$host_cpu" != ia64; then
                 lt_prog_compiler_pic_CXX='+Z'
               fi
               ;;
             *)
               ;;
           esac
           ;;
         irix5* | irix6*)
           case $cc_basename in
             CC)
               lt_prog_compiler_wl_CXX='-Wl,'
               lt_prog_compiler_static_CXX='-non_shared'
               # CC pic flag -KPIC is the default.
               ;;
             *)
               ;;
           esac
           ;;
         linux*)
           case $cc_basename in
             KCC)
               # KAI C++ Compiler
               lt_prog_compiler_wl_CXX='--backend -Wl,'
               lt_prog_compiler_pic_CXX='-fPIC'
               ;;
             cxx)
               # Compaq C++
               # Make sure the PIC flag is empty.  It appears that all Alpha
               # Linux and Compaq Tru64 Unix objects are PIC.
               lt_prog_compiler_pic_CXX=
               lt_prog_compiler_static_CXX='-non_shared'
               ;;
             *)
               ;;
           esac
           ;;
         lynxos*)
           ;;
         m88k*)
           ;;
         mvs*)
           case $cc_basename in
             cxx)
               lt_prog_compiler_pic_CXX='-W c,exportall'
               ;;
             *)
               ;;
           esac
           ;;
         netbsd*)
           ;;
         osf3* | osf4* | osf5*)
           case $cc_basename in
             KCC)
               lt_prog_compiler_wl_CXX='--backend -Wl,'
               ;;
             RCC)
               # Rational C++ 2.4.1
               lt_prog_compiler_pic_CXX='-pic'
               ;;
             cxx)
               # Digital/Compaq C++
               lt_prog_compiler_wl_CXX='-Wl,'
               # Make sure the PIC flag is empty.  It appears that all Alpha
               # Linux and Compaq Tru64 Unix objects are PIC.
               lt_prog_compiler_pic_CXX=
               lt_prog_compiler_static_CXX='-non_shared'
               ;;
             *)
               ;;
           esac
           ;;
         psos*)
           ;;
         sco*)
           case $cc_basename in
             CC)
               lt_prog_compiler_pic_CXX='-fPIC'
               ;;
             *)
               ;;
           esac
           ;;
         solaris*)
           case $cc_basename in
             CC)
               # Sun C++ 4.2, 5.x and Centerline C++
               lt_prog_compiler_pic_CXX='-KPIC'
               lt_prog_compiler_static_CXX='-Bstatic'
               lt_prog_compiler_wl_CXX='-Qoption ld '
               ;;
             gcx)
               # Green Hills C++ Compiler
               lt_prog_compiler_pic_CXX='-PIC'
               ;;
             *)
               ;;
           esac
           ;;
         sunos4*)
           case $cc_basename in
             CC)
               # Sun C++ 4.x
               lt_prog_compiler_pic_CXX='-pic'
               lt_prog_compiler_static_CXX='-Bstatic'
               ;;
             lcc)
               # Lucid
               lt_prog_compiler_pic_CXX='-pic'
               ;;
             *)
               ;;
           esac
           ;;
         tandem*)
           case $cc_basename in
             NCC)
               # NonStop-UX NCC 3.20
               lt_prog_compiler_pic_CXX='-KPIC'
               ;;
             *)
               ;;
           esac
           ;;
         unixware*)
           ;;
         vxworks*)
           ;;
         *)
           lt_prog_compiler_can_build_shared_CXX=no
           ;;
       esac
   fi    fi
   rm -rf conftest*  
   echo "$as_me:11465: result: $lt_prog_compiler_pic_CXX" >&5
   echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
   
   #
   # Check to make sure the PIC flag actually works.
   #
   if test -n "$lt_prog_compiler_pic_CXX"; then
     echo "$as_me:11472: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
   if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_prog_compiler_pic_works_CXX=no
     ac_outfile=conftest.$ac_objext
      save_CFLAGS="$CFLAGS"
      CFLAGS="$CFLAGS $lt_prog_compiler_pic_CXX -DPIC"
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
      if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings mentioning the option
        cat conftest.err 1>&5
        lt_prog_compiler_pic_works_CXX=yes
        for lt_i in $lt_prog_compiler_pic_CXX -DPIC; do
          if grep -- $lt_i conftest.err >/dev/null; then
            lt_prog_compiler_pic_works_CXX=no
          fi
        done
      fi
      $rm conftest*
      CFLAGS="$save_CFLAGS"
   
   fi
   echo "$as_me:11497: result: $lt_prog_compiler_pic_works_CXX" >&5
   echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
   
   if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
       case $lt_prog_compiler_pic_CXX in
        "" | " "*) ;;
        *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
        esac
   else
       lt_prog_compiler_pic_CXX=
        lt_prog_compiler_can_build_shared_CXX=no
   fi
   
   fi
   case "$host_os" in
     # For platforms which do not support PIC, -DPIC is meaningless:
     *djgpp*)
       lt_prog_compiler_pic_CXX=
       ;;
     *)
       lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
       ;;
   esac
   
   echo "$as_me:11521: checking if $compiler supports -c -o file.$ac_objext" >&5
   echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_cv_prog_compiler_c_o_CXX=no
      $rm -r conftest 2>/dev/null
      mkdir conftest
      cd conftest
      mkdir out
      save_CXXFLAGS="$CXXFLAGS"
                      CXXFLAGS="$CXXFLAGS -o out/conftest2.$ac_objext"
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   
      # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
      # that will create temporary files in the current directory regardless of
      # the output directory.  Thus, making CWD read-only will cause this test
      # to fail, enabling locking or at least warning the user not to do parallel
      # builds.
      chmod -w .
   
      if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
      then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s out/conftest.err; then
          # Append any errors to the config.log.
          cat out/conftest.err 1>&5
        else
          lt_cv_prog_compiler_c_o_CXX=yes
        fi
      fi
      CXXFLAGS="$save_CXXFLAGS"
      chmod u+w .
      $rm conftest* out/*
      rmdir out
      cd ..
      rmdir conftest
      $rm conftest*
   
   fi
   echo "$as_me:11562: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
   
   hard_links="nottested"
   if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
     # do not overwrite the value of need_locks provided by the user
     echo "$as_me:11568: checking if we can lock with hard links" >&5
   echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
     hard_links=yes
     $rm conftest*
     ln conftest.a conftest.b 2>/dev/null && hard_links=no
     touch conftest.a
     ln conftest.a conftest.b 2>&5 || hard_links=no
     ln conftest.a conftest.b 2>/dev/null && hard_links=no
     echo "$as_me:11576: result: $hard_links" >&5
   echo "${ECHO_T}$hard_links" >&6
     if test "$hard_links" = no; then
       { echo "$as_me:11579: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       need_locks=warn
     fi
   else
     need_locks=no
   fi
   
   echo "$as_me:11587: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   
     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
     case $host_os in
     aix4* | aix5*)
       # If we're using GNU nm, then we don't want the "-C" option.
       # -C means demangle to AIX nm, but means don't demangle with GNU nm
       if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then
         export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
       else
         export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
       fi
       ;;
     cygwin* | mingw* | pw32*)
       export_symbols_cmds_CXX="$ltdll_cmds"
   ;;    ;;
     *)
       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
     ;;
     esac
   
 *-*-sco3.2v5*)  echo "$as_me:11609: result: $ld_shlibs_CXX" >&5
   # On SCO OpenServer 5, we need -belf to get full-featured binaries.  echo "${ECHO_T}$ld_shlibs_CXX" >&6
   SAVE_CFLAGS="$CFLAGS"  test "$ld_shlibs_CXX" = no && can_build_shared=no
   CFLAGS="$CFLAGS -belf"  
   echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 echo "configure:3640: checking whether the C compiler needs -belf" 1>&5  if test "$GCC" = yes; then
 if test "${lt_cv_cc_needs_belf+set}" = set; then    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  fi
   
   #
   # Do we need to explicitly link libc?
   #
   archive_cmds_need_lc_CXX=yes
   if test "$enable_shared" = yes && test "$GCC" = yes; then
     case $archive_cmds_CXX in
     *'~'*)
       # FIXME: we may have to deal with multi-command sequences.
       ;;
     '$CC '*)
       # Test whether the compiler implicitly links with -lc since on some
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       # to ld, don't add -lc before -lgcc.
       echo "$as_me:11631: checking whether -lc should be explicitly linked in" >&5
   echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
       $rm conftest*
       echo 'static int dummy;' > conftest.$ac_ext
   
       if { (eval echo "$as_me:11636: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:11639: \$? = $ac_status" >&5
     (exit $ac_status); } 2>conftest.err; then
         soname=conftest
         lib=conftest
         libobjs=conftest.$ac_objext
         deplibs=
         wl=$lt_prog_compiler_wl_CXX
         compiler_flags=-v
         linker_flags=-v
         verstring=
         output_objdir=.
         libname=conftest
         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
         allow_undefined_flag_CXX=
         if { (eval echo "$as_me:11653: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
     (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
     ac_status=$?
     echo "$as_me:11656: \$? = $ac_status" >&5
     (exit $ac_status); }
         then
           archive_cmds_need_lc_CXX=no
         else
           archive_cmds_need_lc_CXX=yes
         fi
         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
       else
         cat conftest.err 1>&5
       fi
       $rm conftest*
       echo "$as_me:11668: result: $archive_cmds_need_lc_CXX" >&5
   echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
       ;;
     esac
   fi
   
   echo "$as_me:11674: checking how to hardcode library paths into programs" >&5
   echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   hardcode_action_CXX=
   if test -n "$hardcode_libdir_flag_spec_CXX" || \
      test -n "$runpath_var CXX"; then
   
     # We can hardcode non-existant directories.
     if test "$hardcode_direct_CXX" != no &&
        # If the only mechanism to avoid hardcoding is shlibpath_var, we
        # have to relink, otherwise we might link with an installed library
        # when we should be linking with a yet-to-be-installed one
        ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
        test "$hardcode_minus_L_CXX" != no; then
       # Linking always hardcodes the temporary library directory.
       hardcode_action_CXX=relink
     else
       # We can link without hardcoding, and we can hardcode nonexisting dirs.
       hardcode_action_CXX=immediate
     fi
 else  else
     # We cannot hardcode anything, or else we can only hardcode existing
     # directories.
     hardcode_action_CXX=unsupported
   fi
   echo "$as_me:11698: result: $hardcode_action_CXX" >&5
   echo "${ECHO_T}$hardcode_action_CXX" >&6
   
      ac_ext=c  if test "$hardcode_action_CXX" = relink; then
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.    # Fast installation is not supported
 ac_cpp='$CPP $CPPFLAGS'    enable_fast_install=no
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  elif test "$shlibpath_overrides_runpath" = yes ||
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'       test "$enable_shared" = no; then
 cross_compiling=$ac_cv_prog_cc_cross    # Fast installation is not necessary
     enable_fast_install=needless
   fi
   
      cat >conftest.$ac_ext <<EOF  striplib=
 #line 3653 "configure"  old_striplib=
   echo "$as_me:11712: checking whether stripping libraries is possible" >&5
   echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
     test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
     test -z "$striplib" && striplib="$STRIP --strip-unneeded"
     echo "$as_me:11717: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   else
     echo "$as_me:11720: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
   echo "$as_me:11724: checking dynamic linker characteristics" >&5
   echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   library_names_spec=
   libname_spec='lib$name'
   soname_spec=
   postinstall_cmds=
   postuninstall_cmds=
   finish_cmds=
   finish_eval=
   shlibpath_var=
   shlibpath_overrides_runpath=unknown
   version_type=none
   dynamic_linker="$host_os ld.so"
   sys_lib_dlsearch_path_spec="/lib /usr/lib"
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   need_lib_prefix=unknown
   hardcode_into_libs=no
   
   # when you set need_version to no, make sure it does not cause -set_version
   # flags to be left without arguments
   need_version=unknown
   
   case $host_os in
   aix3*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix $libname.a'
     shlibpath_var=LIBPATH
   
     # AIX 3 has no versioning support, so we append a major version to the name.
     soname_spec='${libname}${release}.so$major'
     ;;
   
   aix4* | aix5*)
     version_type=linux
     if test "$host_cpu" = ia64; then
       # AIX 5 supports IA64
       library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
       shlibpath_var=LD_LIBRARY_PATH
     else
       # With GCC up to 2.95.x, collect2 would create an import file
       # for dependence libraries.  The import file would start with
       # the line `#! .'.  This would cause the generated library to
       # depend on `.', always an invalid library.  This was fixed in
       # development snapshots of GCC prior to 3.0.
       case $host_os in
         aix4 | aix4.[01] | aix4.[01].*)
         if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
              echo ' yes '
              echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
           :
         else
           can_build_shared=no
         fi
         ;;
       esac
       # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       # soname into executable. Probably we can add versioning support to
       # collect2, so additional links can be useful in future.
       if test "$aix_use_runtimelinking" = yes; then
         # If using run time linking (on AIX 4.2 or later) use lib<name>.so
         # instead of lib<name>.a to let people know that these are not
         # typical AIX shared libraries.
         library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
       else
         # We preserve .a as extension for shared libraries through AIX4.2
         # and later when we are not doing run time linking.
         library_names_spec='${libname}${release}.a $libname.a'
         soname_spec='${libname}${release}.so$major'
       fi
       shlibpath_var=LIBPATH
     fi
     ;;
   
   amigaos*)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
     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'
     ;;
   
   beos*)
     library_names_spec='${libname}.so'
     dynamic_linker="$host_os ld.so"
     shlibpath_var=LIBRARY_PATH
     ;;
   
   bsdi4*)
     version_type=linux
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     # the default ld.so.conf also contains /usr/contrib/lib and
     # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     # libtool to hard-code these into programs
     ;;
   
   cygwin* | mingw* | pw32*)
     version_type=windows
     need_version=no
     need_lib_prefix=no
     case $GCC,$host_os in
     yes,cygwin*)
       library_names_spec='$libname.dll.a'
       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
       postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
         dldir=$destdir/`dirname \$dlpath`~
         test -d \$dldir || mkdir -p \$dldir~
         $install_prog .libs/$dlname \$dldir/$dlname'
       postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
         dlpath=$dir/\$dldll~
          $rm \$dlpath'
       ;;
     yes,mingw*)
       library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://"`
       if echo "$sys_lib_search_path_spec" | egrep ';[C-Z]:/' >/dev/null; then
         # It is most probably a Windows format PATH printed by
         # mingw gcc, but we are running on Cygwin. Gcc prints its search
         # path with ; separators, and with drive letters. We can handle the
         # drive letters (cygwin fileutils understands them), so leave them,
         # especially as we might pass files found there to a mingw objdump,
         # which wouldn't understand a cygwinified path. Ahh.
         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
       else
         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed  -e "s/$PATH_SEPARATOR/ /g"`
       fi
       ;;
     yes,pw32*)
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
       ;;
     *)
       library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
       ;;
     esac
     dynamic_linker='Win32 ld.exe'
     # FIXME: first we should search . and the directory the executable is in
     shlibpath_var=PATH
     ;;
   
   darwin* | rhapsody*)
     dynamic_linker="$host_os dyld"
     version_type=darwin
     need_lib_prefix=no
     need_version=no
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
     library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
     soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
     shlibpath_overrides_runpath=yes
     shlibpath_var=DYLD_LIBRARY_PATH
     ;;
   
   dgux*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   freebsd1*)
     dynamic_linker=no
     ;;
   
   freebsd*)
     objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
     version_type=freebsd-$objformat
     case $version_type in
       freebsd-elf*)
         library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
         need_version=no
         need_lib_prefix=no
         ;;
       freebsd-*)
         library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
         need_version=yes
         ;;
     esac
     shlibpath_var=LD_LIBRARY_PATH
     case $host_os in
     freebsd2*)
       shlibpath_overrides_runpath=yes
       ;;
     freebsd3.01* | freebsdelf3.01*)
       shlibpath_overrides_runpath=yes
       hardcode_into_libs=yes
       ;;
     *) # from 3.2 on
       shlibpath_overrides_runpath=no
       hardcode_into_libs=yes
       ;;
     esac
     ;;
   
   gnu*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     hardcode_into_libs=yes
     ;;
   
   hpux9* | hpux10* | hpux11*)
     # Give a soname corresponding to the major version so that dld.sl refuses to
     # link against other versions.
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     if test "$host_cpu" = ia64; then
       hardcode_into_libs=yes
       dynamic_linker="$host_os dld.so"
       shlibpath_var=LD_LIBRARY_PATH
       shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
       soname_spec='${libname}${release}.so$major'
       if test "X$HPUX_IA64_MODE" = X32; then
         sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       else
         sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       fi
       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     else
       dynamic_linker="$host_os dld.sl"
       shlibpath_var=SHLIB_PATH
       shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
       soname_spec='${libname}${release}.sl$major'
     fi
     # HP-UX runs *really* slowly unless shared libraries are mode 555.
     postinstall_cmds='chmod 555 $lib'
     ;;
   
   irix5* | irix6*)
     version_type=irix
     need_lib_prefix=no
     need_version=no
     soname_spec='${libname}${release}.so$major'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
     case $host_os in
     irix5*)
       libsuff= shlibsuff=
       ;;
     *)
       case $LD in # libtool.m4 will add one of these switches to LD
       *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
       *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
       *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
       *) libsuff= shlibsuff= libmagic=never-match;;
       esac
       ;;
     esac
     shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     shlibpath_overrides_runpath=no
     sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
     sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     ;;
   
   # No shared lib support for Linux oldld, aout, or coff.
   linux*oldld* | linux*aout* | linux*coff*)
     dynamic_linker=no
     ;;
   
   # This must be Linux ELF.
   linux*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     # This implies no fast_install, which is unacceptable.
     # Some rework will be needed to allow for fast_install
     # before this can be enabled.
     hardcode_into_libs=yes
   
     # We used to test for /lib/ld.so.1 and disable shared libraries on
     # powerpc, because MkLinux only supported shared libraries with the
     # GNU dynamic linker.  Since this was broken with cross compilers,
     # most powerpc-linux boxes support dynamic linking these days and
     # people can always --disable-shared, the test was removed, and we
     # assume the GNU/Linux dynamic linker is in use.
     dynamic_linker='GNU/Linux ld.so'
     ;;
   
   netbsd*)
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
       finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       dynamic_linker='NetBSD (a.out) ld.so'
     else
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
       soname_spec='${libname}${release}.so$major'
       dynamic_linker='NetBSD ld.elf_so'
     fi
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     ;;
   
   newsos6)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
   nto-qnx)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
   openbsd*)
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       case $host_os in
         openbsd2.[89] | openbsd2.[89].*)
           shlibpath_overrides_runpath=no
           ;;
         *)
           shlibpath_overrides_runpath=yes
           ;;
         esac
     else
       shlibpath_overrides_runpath=yes
     fi
     ;;
   
   os2*)
     libname_spec='$name'
     need_lib_prefix=no
     library_names_spec='$libname.dll $libname.a'
     dynamic_linker='OS/2 ld.exe'
     shlibpath_var=LIBPATH
     ;;
   
   osf3* | osf4* | osf5*)
     version_type=osf
     need_lib_prefix=no
     need_version=no
     soname_spec='${libname}${release}.so'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     ;;
   
   sco3.2v5*)
     version_type=osf
     soname_spec='${libname}${release}.so$major'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   solaris*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     # ldd complains unless libraries are executable
     postinstall_cmds='chmod +x $lib'
     ;;
   
   sunos4*)
     version_type=sunos
     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
     finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     if test "$with_gnu_ld" = yes; then
       need_lib_prefix=no
     fi
     need_version=yes
     ;;
   
   sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     case $host_vendor in
       sni)
         shlibpath_overrides_runpath=no
         ;;
       motorola)
         need_lib_prefix=no
         need_version=no
         shlibpath_overrides_runpath=no
         sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
         ;;
     esac
     ;;
   
   sysv4*MP*)
     if test -d /usr/nec ;then
       version_type=linux
       library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
       soname_spec='$libname.so.$major'
       shlibpath_var=LD_LIBRARY_PATH
     fi
     ;;
   
   uts4*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   *)
     dynamic_linker=no
     ;;
   esac
   echo "$as_me:12163: result: $dynamic_linker" >&5
   echo "${ECHO_T}$dynamic_linker" >&6
   test "$dynamic_linker" = no && can_build_shared=no
   
   if test "x$enable_dlopen" != xyes; then
     enable_dlopen=unknown
     enable_dlopen_self=unknown
     enable_dlopen_self_static=unknown
   else
     lt_cv_dlopen=no
     lt_cv_dlopen_libs=
   
     case $host_os in
     beos*)
       lt_cv_dlopen="load_add_on"
       lt_cv_dlopen_libs=
       lt_cv_dlopen_self=yes
       ;;
   
     cygwin* | mingw* | pw32*)
       lt_cv_dlopen="LoadLibrary"
       lt_cv_dlopen_libs=
      ;;
   
     *)
       echo "$as_me:12188: checking for shl_load" >&5
   echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   if test "${ac_cv_func_shl_load+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 12194 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char shl_load (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char shl_load ();
   char (*f) ();
   
 int  int
 main()  main ()
 {  {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_shl_load) || defined (__stub___shl_load)
   choke me
   #else
   f = shl_load;
   #endif
   
   ;    ;
   return 0;    return 0;
 }  }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:12225: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:12228: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:12231: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:12234: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_func_shl_load=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_func_shl_load=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:12244: result: $ac_cv_func_shl_load" >&5
   echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   if test $ac_cv_func_shl_load = yes; then
     lt_cv_dlopen="shl_load"
   else
     echo "$as_me:12249: checking for shl_load in -ldld" >&5
   echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 12257 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char shl_load ();
   int
   main ()
   {
   shl_load ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:12276: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:12279: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:12282: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:12285: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dld_shl_load=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dld_shl_load=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:12296: result: $ac_cv_lib_dld_shl_load" >&5
   echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   if test $ac_cv_lib_dld_shl_load = yes; then
     lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   else
     echo "$as_me:12301: checking for dlopen" >&5
   echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   if test "${ac_cv_func_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 12307 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char dlopen (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   char (*f) ();
   
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_dlopen) || defined (__stub___dlopen)
   choke me
   #else
   f = dlopen;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:12338: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:12341: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:12344: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:12347: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_func_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_func_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:12357: result: $ac_cv_func_dlopen" >&5
   echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   if test $ac_cv_func_dlopen = yes; then
     lt_cv_dlopen="dlopen"
   else
     echo "$as_me:12362: checking for dlopen in -ldl" >&5
   echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldl  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 12370 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   int
   main ()
   {
   dlopen ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:12389: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:12392: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:12395: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:12398: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dl_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dl_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:12409: result: $ac_cv_lib_dl_dlopen" >&5
   echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   if test $ac_cv_lib_dl_dlopen = yes; then
     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   else
     echo "$as_me:12414: checking for dlopen in -lsvld" >&5
   echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   if test "${ac_cv_lib_svld_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lsvld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 12422 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   int
   main ()
   {
   dlopen ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:12441: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:12444: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:12447: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:12450: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_svld_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_svld_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:12461: result: $ac_cv_lib_svld_dlopen" >&5
   echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   if test $ac_cv_lib_svld_dlopen = yes; then
     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   else
     echo "$as_me:12466: checking for dld_link in -ldld" >&5
   echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   if test "${ac_cv_lib_dld_dld_link+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 12474 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dld_link ();
   int
   main ()
   {
   dld_link ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:12493: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:12496: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:12499: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:12502: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dld_dld_link=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dld_dld_link=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:12513: result: $ac_cv_lib_dld_dld_link" >&5
   echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   if test $ac_cv_lib_dld_dld_link = yes; then
     lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   fi
   
   fi
   
   fi
   
   fi
   
   fi
   
   fi
   
       ;;
     esac
   
     if test "x$lt_cv_dlopen" != xno; then
       enable_dlopen=yes
     else
       enable_dlopen=no
     fi
   
     case $lt_cv_dlopen in
     dlopen)
       save_CPPFLAGS="$CPPFLAGS"
       test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   
       save_LDFLAGS="$LDFLAGS"
       eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   
       save_LIBS="$LIBS"
       LIBS="$lt_cv_dlopen_libs $LIBS"
   
       echo "$as_me:12549: checking whether a program can dlopen itself" >&5
   echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   if test "${lt_cv_dlopen_self+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
             if test "$cross_compiling" = yes; then :
     lt_cv_dlopen_self=cross
   else
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     lt_status=$lt_dlunknown
     cat > conftest.$ac_ext <<EOF
   #line 12560 "configure"
   #include "confdefs.h"
   
   #if HAVE_DLFCN_H
   #include <dlfcn.h>
   #endif
   
   #include <stdio.h>
   
   #ifdef RTLD_GLOBAL
   #  define LT_DLGLOBAL           RTLD_GLOBAL
   #else
   #  ifdef DL_GLOBAL
   #    define LT_DLGLOBAL         DL_GLOBAL
   #  else
   #    define LT_DLGLOBAL         0
   #  endif
   #endif
   
   /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
      find out it does not work in some platform. */
   #ifndef LT_DLLAZY_OR_NOW
   #  ifdef RTLD_LAZY
   #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
   #  else
   #    ifdef DL_LAZY
   #      define LT_DLLAZY_OR_NOW          DL_LAZY
   #    else
   #      ifdef RTLD_NOW
   #        define LT_DLLAZY_OR_NOW        RTLD_NOW
   #      else
   #        ifdef DL_NOW
   #          define LT_DLLAZY_OR_NOW      DL_NOW
   #        else
   #          define LT_DLLAZY_OR_NOW      0
   #        endif
   #      endif
   #    endif
   #  endif
   #endif
   
   #ifdef __cplusplus
   extern "C" void exit (int);
   #endif
   
   void fnord() { int i=42;}
   int main ()
   {
     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     int status = $lt_dlunknown;
   
     if (self)
       {
         if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
         else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
         /* dlclose (self); */
       }
   
       exit (status);
   }
 EOF  EOF
 if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then    if { (eval echo "$as_me:12621: \"$ac_link\"") >&5
   rm -rf conftest*    (eval $ac_link) 2>&5
   lt_cv_cc_needs_belf=yes    ac_status=$?
     echo "$as_me:12624: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       (./conftest; exit; ) 2>/dev/null
       lt_status=$?
       case x$lt_status in
         x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
         x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
         x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
       esac
     else :
       # compilation failed
       lt_cv_dlopen_self=no
     fi
   fi
   rm -fr conftest*
   
   fi
   echo "$as_me:12641: result: $lt_cv_dlopen_self" >&5
   echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   
       if test "x$lt_cv_dlopen_self" = xyes; then
         LDFLAGS="$LDFLAGS $link_static_flag"
         echo "$as_me:12646: checking whether a statically linked program can dlopen itself" >&5
   echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   if test "${lt_cv_dlopen_self_static+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   echo "configure: failed program was:" >&5            if test "$cross_compiling" = yes; then :
   cat conftest.$ac_ext >&5    lt_cv_dlopen_self_static=cross
   rm -rf conftest*  else
   lt_cv_cc_needs_belf=no    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     lt_status=$lt_dlunknown
     cat > conftest.$ac_ext <<EOF
   #line 12657 "configure"
   #include "confdefs.h"
   
   #if HAVE_DLFCN_H
   #include <dlfcn.h>
   #endif
   
   #include <stdio.h>
   
   #ifdef RTLD_GLOBAL
   #  define LT_DLGLOBAL           RTLD_GLOBAL
   #else
   #  ifdef DL_GLOBAL
   #    define LT_DLGLOBAL         DL_GLOBAL
   #  else
   #    define LT_DLGLOBAL         0
   #  endif
   #endif
   
   /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
      find out it does not work in some platform. */
   #ifndef LT_DLLAZY_OR_NOW
   #  ifdef RTLD_LAZY
   #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
   #  else
   #    ifdef DL_LAZY
   #      define LT_DLLAZY_OR_NOW          DL_LAZY
   #    else
   #      ifdef RTLD_NOW
   #        define LT_DLLAZY_OR_NOW        RTLD_NOW
   #      else
   #        ifdef DL_NOW
   #          define LT_DLLAZY_OR_NOW      DL_NOW
   #        else
   #          define LT_DLLAZY_OR_NOW      0
   #        endif
   #      endif
   #    endif
   #  endif
   #endif
   
   #ifdef __cplusplus
   extern "C" void exit (int);
   #endif
   
   void fnord() { int i=42;}
   int main ()
   {
     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     int status = $lt_dlunknown;
   
     if (self)
       {
         if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
         else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
         /* dlclose (self); */
       }
   
       exit (status);
   }
   EOF
     if { (eval echo "$as_me:12718: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:12721: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       (./conftest; exit; ) 2>/dev/null
       lt_status=$?
       case x$lt_status in
         x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
         x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
         x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
       esac
     else :
       # compilation failed
       lt_cv_dlopen_self_static=no
     fi
 fi  fi
 rm -f conftest*  rm -fr conftest*
   
      ac_ext=c  fi
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  echo "$as_me:12738: result: $lt_cv_dlopen_self_static" >&5
   echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
       fi
   
       CPPFLAGS="$save_CPPFLAGS"
       LDFLAGS="$save_LDFLAGS"
       LIBS="$save_LIBS"
       ;;
     esac
   
     case $lt_cv_dlopen_self in
     yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
     *) enable_dlopen_self=unknown ;;
     esac
   
     case $lt_cv_dlopen_self_static in
     yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
     *) enable_dlopen_self_static=unknown ;;
     esac
   fi
   
   # The else clause should only fire when bootstrapping the
   # libtool distribution, otherwise you forgot to ship ltmain.sh
   # with your package, and you will get complaints that there are
   # no rules to generate ltmain.sh.
   if test -f "$ltmain"; then
     # Now quote all the things that may contain metacharacters while being
     # careful not to overquote the AC_SUBSTed values.  We take copies of the
     # variables and quote the copies for generation of the libtool script.
     for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S LTCC NM SHELL \
       libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       deplibs_check_method reload_flag reload_cmds need_locks \
       lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       lt_cv_sys_global_symbol_to_c_name_address \
       sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       old_postinstall_cmds old_postuninstall_cmds \
       HOST_CC \
       compiler_CXX \
       CC_CXX \
       LD_CXX \
       lt_prog_compiler_wl_CXX \
       lt_prog_compiler_pic_CXX \
       lt_prog_compiler_static_CXX \
       lt_prog_compiler_no_builtin_flag_CXX \
       export_dynamic_flag_spec_CXX \
       thread_safe_flag_spec_CXX \
       whole_archive_flag_spec_CXX \
       old_archive_cmds_CXX \
       old_archive_from_new_cmds_CXX \
       predep_objects_CXX \
       postdep_objects_CXX \
       predeps_CXX \
       postdeps_CXX \
       compiler_lib_search_path_CXX \
       archive_cmds_CXX \
       archive_expsym_cmds_CXX \
       postinstall_cmds_CXX \
       postuninstall_cmds_CXX \
       old_archive_from_expsyms_cmds_CXX \
       allow_undefined_flag_CXX \
       no_undefined_flag_CXX \
       export_symbols_cmds_CXX \
       hardcode_libdir_flag_spec_CXX \
       hardcode_libdir_separator_CXX \
       lt_cv_prog_compiler_c_o_CXX \
       exclude_expsyms_CXX \
       include_expsyms_CXX; do
   
       case $var in
       old_archive_cmds_CXX | \
       old_archive_from_new_cmds_CXX | \
       archive_cmds_CXX | \
       archive_expsym_cmds_CXX | \
       old_archive_from_expsyms_cmds_CXX | \
       export_symbols_cmds_CXX | \
       extract_expsyms_cmds | reload_cmds | finish_cmds | \
       postinstall_cmds | postuninstall_cmds | \
       old_postinstall_cmds | old_postuninstall_cmds | \
       sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
         # Double-quote double-evaled strings.
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
         ;;
       *)
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
         ;;
       esac
     done
   
     case $lt_echo in
     *'\$0 --fallback-echo"')
       lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       ;;
     esac
   
   cfgfile="$ofile"
   
     cat <<__EOF__ >> "$cfgfile"
   # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   
   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   
   # Shell to use when invoking shell scripts.
   SHELL=$lt_SHELL
   
   # Whether or not to build shared libraries.
   build_libtool_libs=$enable_shared
   
   # Whether or not to build static libraries.
   build_old_libs=$enable_static
   
   # Whether or not to add -lc for building shared libraries.
   build_libtool_need_lc=$archive_cmds_need_lc_CXX
   
   # Whether or not to optimize for fast installation.
   fast_install=$enable_fast_install
   
   # The host system.
   host_alias=$host_alias
   host=$host
   
   # An echo program that does not interpret backslashes.
   echo=$lt_echo
   
   # The archiver.
   AR=$lt_AR
   AR_FLAGS=$lt_AR_FLAGS
   
   # A C compiler.
   LTCC=$lt_LTCC
   
   # A C compiler for the build system.
   HOST_CC=$lt_HOST_CC
   
   # A language-specific compiler.
   CC=$lt_compiler_CXX
   
   # Is the compiler the GNU C compiler?
   with_gcc=$GCC_CXX
   
   # The linker used to build libraries.
   LD=$lt_LD_CXX
   
   # Whether we need hard or soft links.
   LN_S=$lt_LN_S
   
   # A BSD-compatible nm program.
   NM=$lt_NM
   
   # A symbol stripping program
   STRIP=$STRIP
   
   # Used to examine libraries when file_magic_cmd begins "file"
   MAGIC_CMD=$MAGIC_CMD
   
   # Used on cygwin: DLL creation program.
   DLLTOOL="$DLLTOOL"
   
   # Used on cygwin: object dumper.
   OBJDUMP="$OBJDUMP"
   
   # Used on cygwin: assembler.
   AS="$AS"
   
   # The name of the directory that contains temporary libtool files.
   objdir=$objdir
   
   # How to create reloadable object files.
   reload_flag=$lt_reload_flag
   reload_cmds=$lt_reload_cmds
   
   # How to pass a linker flag through the compiler.
   wl=$lt_lt_prog_compiler_wl_CXX
   
   # Object file suffix (normally "o").
   objext="$ac_objext"
   
   # Old archive suffix (normally "a").
   libext="$libext"
   
   # Executable file suffix (normally "").
   exeext="$exeext"
   
   # Additional compiler flags for building library objects.
   pic_flag=$lt_lt_prog_compiler_pic_CXX
   pic_mode=$pic_mode
   
   # What is the maximum length of a command?
   max_cmd_len=$lt_cv_sys_max_cmd_len
   
   # Does compiler simultaneously support -c and -o options?
   compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   
   # Must we lock files when doing compilation ?
   need_locks=$lt_need_locks
   
   # Do we need the lib prefix for modules?
   need_lib_prefix=$need_lib_prefix
   
   # Do we need a version for libraries?
   need_version=$need_version
   
   # Whether dlopen is supported.
   dlopen_support=$enable_dlopen
   
   # Whether dlopen of programs is supported.
   dlopen_self=$enable_dlopen_self
   
   # Whether dlopen of statically linked programs is supported.
   dlopen_self_static=$enable_dlopen_self_static
   
   # Compiler flag to prevent dynamic linking.
   link_static_flag=$lt_lt_prog_compiler_static_CXX
   
   # Compiler flag to turn off builtin functions.
   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   
   # Compiler flag to allow reflexive dlopens.
   export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   
   # Compiler flag to generate shared objects directly from archives.
   whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   
   # Compiler flag to generate thread-safe objects.
   thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   
   # Library versioning type.
   version_type=$version_type
   
   # Format of library name prefix.
   libname_spec=$lt_libname_spec
   
   # List of archive names.  First name is the real one, the rest are links.
   # The last name is the one that the linker finds with -lNAME.
   library_names_spec=$lt_library_names_spec
   
   # The coded name of the library, if different from the real name.
   soname_spec=$lt_soname_spec
   
   # Commands used to build and install an old-style archive.
   RANLIB=$lt_RANLIB
   old_archive_cmds=$lt_old_archive_cmds_CXX
   old_postinstall_cmds=$lt_old_postinstall_cmds
   old_postuninstall_cmds=$lt_old_postuninstall_cmds
   
   # Create an old-style archive from a shared archive.
   old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   
   # Create a temporary old-style archive to link instead of a shared archive.
   old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   
   # Commands used to build and install a shared archive.
   archive_cmds=$lt_archive_cmds_CXX
   archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   postinstall_cmds=$lt_postinstall_cmds
   postuninstall_cmds=$lt_postuninstall_cmds
   
   # Commands to strip libraries.
   old_striplib=$lt_old_striplib
   striplib=$lt_striplib
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predep_objects=$lt_predep_objects_CXX
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdep_objects=$lt_postdep_objects_CXX
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predeps=$lt_predeps_CXX
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdeps=$lt_postdeps_CXX
   
   # The library search path used internally by the compiler when linking
   # a shared library.
   compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   
   # Method to check whether dependent libraries are shared objects.
   deplibs_check_method=$lt_deplibs_check_method
   
   # Command to use when deplibs_check_method == file_magic.
   file_magic_cmd=$lt_file_magic_cmd
   
   # Flag that allows shared libraries with undefined symbols to be built.
   allow_undefined_flag=$lt_allow_undefined_flag_CXX
   
   # Flag that forces no undefined symbols.
   no_undefined_flag=$lt_no_undefined_flag_CXX
   
   # Commands used to finish a libtool library installation in a directory.
   finish_cmds=$lt_finish_cmds
   
   # Same as above, but a single script fragment to be evaled but not shown.
   finish_eval=$lt_finish_eval
   
   # Take the output of nm and produce a listing of raw symbols and C names.
   global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   
   # Transform the output of nm in a proper C declaration
   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   
   # Transform the output of nm in a C name address pair
   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   
   # This is the shared library runtime path variable.
   runpath_var=$runpath_var
   
   # This is the shared library path variable.
   shlibpath_var=$shlibpath_var
   
   # Is shlibpath searched before the hard-coded library search path?
   shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   
   # How to hardcode a shared library path into an executable.
   hardcode_action=$hardcode_action_CXX
   
   # Whether we should hardcode library paths into libraries.
   hardcode_into_libs=$hardcode_into_libs
   
   # Flag to hardcode \$libdir into a binary during linking.
   # This must work even if \$libdir does not exist.
   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   
   # Whether we need a single -rpath flag with a separated argument.
   hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   
   # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
   # resulting binary.
   hardcode_direct=$hardcode_direct_CXX
   
   # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   # resulting binary.
   hardcode_minus_L=$hardcode_minus_L_CXX
   
   # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   # the resulting binary.
   hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   
   # Variables whose values should be saved in libtool wrapper scripts and
   # restored at relink time.
   variables_saved_for_relink="$variables_saved_for_relink"
   
   # Whether libtool must link a program against all its dependency libraries.
   link_all_deplibs=$link_all_deplibs_CXX
   
   # Compile-time system search path for libraries
   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   
   # Run-time system search path for libraries
   sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   
   # Fix the shell variable \$srcfile for the compiler.
   fix_srcfile_path="$fix_srcfile_path_CXX"
   
   # Set to yes if exported symbols are required.
   always_export_symbols=$always_export_symbols_CXX
   
   # The commands to list exported symbols.
   export_symbols_cmds=$lt_export_symbols_cmds_CXX
   
   # The commands to extract the exported symbol list from a shared archive.
   extract_expsyms_cmds=$lt_extract_expsyms_cmds
   
   # Symbols that should not be listed in the preloaded symbols.
   exclude_expsyms=$lt_exclude_expsyms_CXX
   
   # Symbols that must always be exported.
   include_expsyms=$lt_include_expsyms_CXX
   
   # ### END LIBTOOL TAG CONFIG: $tagname
   
   __EOF__
   
   else
     # If there is no Makefile yet, we rely on a make rule to execute
     # `config.status --recheck' to rerun these tests and create the
     # libtool script then.
     test -f Makefile && make "$ltmain"
   fi
   
   ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 cross_compiling=$ac_cv_prog_cc_cross  ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   CC="$lt_save_CC"
   
           ;;
   
         GCJ)
   
   # Source file extension for C test sources.
   ac_ext=java
   
   # Object file extension for compiled C test sources.
   objext=o
   objext_GCJ=$objext
   
   # Code to be used in simple compile tests
   lt_simple_compile_test_code="class foo {}"
   
   # Code to be used in simple link tests
   lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }'
   
   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   
   # If no C compiler was specified, use CC.
   LTCC=${LTCC-"$CC"}
   
   # Allow CC to be a program name with arguments.
   set dummy $CC
   compiler="$2"
   
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   CC=${GCJ-"gcj"}
   set dummy $CC
   compiler="$2"
   compiler_GCJ=$CC
   
   # GCJ did not exist at the time GCC didn't implicitly link libc in.
   archive_cmds_need_lc_GCJ=no
   
   lt_prog_compiler_no_builtin_flag_GCJ=
   
   if test "$GCC" = yes; then
     lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   
     echo "$as_me:13171: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_cv_prog_compiler_rtti_exceptions=no
     ac_outfile=conftest.$ac_objext
      save_CFLAGS="$CFLAGS"
      CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext"
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
      if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings mentioning the option
        cat conftest.err 1>&5
        lt_cv_prog_compiler_rtti_exceptions=yes
        for lt_i in -fno-rtti -fno-exceptions -c conftest.$ac_ext; do
          if grep -- $lt_i conftest.err >/dev/null; then
            lt_cv_prog_compiler_rtti_exceptions=no
          fi
        done
      fi
      $rm conftest*
      CFLAGS="$save_CFLAGS"
   
 fi  fi
 echo "$ECHO_T""$lt_cv_cc_needs_belf" 1>&6  echo "$as_me:13196: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   if test x"$lt_cv_cc_needs_belf" != x"yes"; then  echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf  
     CFLAGS="$SAVE_CFLAGS"  if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
       lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   else
       :
   fi
   
   fi
   
   lt_prog_compiler_wl_GCJ=
   lt_prog_compiler_pic_GCJ=
   lt_prog_compiler_static_GCJ=
   
   echo "$as_me:13211: checking for $compiler option to produce PIC" >&5
   echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   
     if test "$GCC" = yes; then
       lt_prog_compiler_wl_GCJ='-Wl,'
       lt_prog_compiler_static_GCJ='-static'
   
       case $host_os in
         aix*)
         # All AIX code is PIC.
         if test "$host_cpu" = ia64; then
           # AIX 5 now supports IA64 processor
           lt_prog_compiler_static_GCJ='-Bstatic'
         fi
         ;;
   
       amigaos*)
         # FIXME: we need at least 68020 code to build shared libraries, but
         # adding the `-m68020' flag to GCC prevents building anything better,
         # like `-m68040'.
         lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
         ;;
   
       beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
         # PIC is the default for these OSes.
         ;;
   
       cygwin* | mingw* | pw32* | os2*)
         # This hack is so that the source file can tell whether it is being
         # built for inclusion in a dll (and should export symbols for example).
         lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
         ;;
   
       darwin* | rhapsody*)
         # PIC is the default on this platform
         # Common symbols not allowed in MH_DYLIB files
         lt_prog_compiler_pic_GCJ='-fno-common'
         ;;
   
       msdosdjgpp*)
         # Just because we use GCC doesn't mean we suddenly get shared libraries
         # on systems that don't support them.
         lt_prog_compiler_can_build_shared_GCJ=no
         enable_shared=no
         ;;
   
       sysv4*MP*)
         if test -d /usr/nec; then
           lt_prog_compiler_pic_GCJ=-Kconform_pic
         fi
         ;;
   
       hpux*)
         # PIC is the default for IA64 HP-UX, but not for PA HP-UX.
         if test "$host_cpu" != ia64; then
           lt_prog_compiler_pic_GCJ='-fPIC'
         fi
         ;;
   
       *)
         lt_prog_compiler_pic_GCJ='-fPIC'
         ;;
       esac
     else
       # PORTME Check for flag to pass linker flags through the system compiler.
       case $host_os in
       aix*)
         lt_prog_compiler_wl_GCJ='-Wl,'
         if test "$host_cpu" = ia64; then
           # AIX 5 now supports IA64 processor
           lt_prog_compiler_static_GCJ='-Bstatic'
         else
           lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
         fi
         ;;
   
       cygwin* | mingw* | pw32* | os2*)
         # This hack is so that the source file can tell whether it is being
         # built for inclusion in a dll (and should export symbols for example).
         lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
         ;;
   
       hpux9* | hpux10* | hpux11*)
         lt_prog_compiler_wl_GCJ='-Wl,'
         if test "$host_cpu" != ia64; then
           lt_prog_compiler_pic_GCJ='+Z'
         fi
         # Is there a better lt_prog_compiler_static that works with the bundled CC?
         lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
         ;;
   
       irix5* | irix6*)
         lt_prog_compiler_wl_GCJ='-Wl,'
         # PIC (with -KPIC) is the default.
         lt_prog_compiler_static_GCJ='-non_shared'
         ;;
   
       newsos6)
         lt_prog_compiler_pic_GCJ='-KPIC'
         lt_prog_compiler_static_GCJ='-Bstatic'
         ;;
   
       osf3* | osf4* | osf5*)
         lt_prog_compiler_wl_GCJ='-Wl,'
         # All OSF/1 code is PIC.
         lt_prog_compiler_static_GCJ='-non_shared'
         ;;
   
       sco3.2v5*)
         lt_prog_compiler_pic_GCJ='-Kpic'
         lt_prog_compiler_static_GCJ='-dn'
         ;;
   
       solaris*)
         lt_prog_compiler_wl_GCJ='-Wl,'
         lt_prog_compiler_pic_GCJ='-KPIC'
         lt_prog_compiler_static_GCJ='-Bstatic'
         ;;
   
       sunos4*)
         lt_prog_compiler_wl_GCJ='-Qoption ld '
         lt_prog_compiler_pic_GCJ='-PIC'
         lt_prog_compiler_static_GCJ='-Bstatic'
         ;;
   
       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
         if test "x$host_vendor" = xsni; then
           lt_prog_compiler_wl_GCJ='-LD'
         else
           lt_prog_compiler_wl_GCJ='-Wl,'
         fi
         lt_prog_compiler_pic_GCJ='-KPIC'
         lt_prog_compiler_static_GCJ='-Bstatic'
         ;;
   
       sysv4*MP*)
         if test -d /usr/nec ;then
           lt_prog_compiler_pic_GCJ='-Kconform_pic'
           lt_prog_compiler_static_GCJ='-Bstatic'
         fi
         ;;
   
       uts4*)
         lt_prog_compiler_pic_GCJ='-pic'
         lt_prog_compiler_static_GCJ='-Bstatic'
         ;;
   
       *)
         lt_prog_compiler_can_build_shared_GCJ=no
         ;;
       esac
   fi    fi
   ;;  
   
 esac  echo "$as_me:13364: result: $lt_prog_compiler_pic_GCJ" >&5
   echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
   
 # Save cache, so that ltconfig can load it  
 cat >confcache <<\EOF  
 # This file is a shell script that caches the results of configure  
 # tests run on this system so they can be shared between configure  
 # scripts and configure runs.  It is not useful on other systems.  
 # If it contains results you don't want to keep, you may remove or edit it.  
 #  #
 # By default, configure uses ./config.cache as the cache file,  # Check to make sure the PIC flag actually works.
 # creating it if it does not exist already.  You can give configure  
 # the --cache-file=FILE option to use a different cache file; that is  
 # what configure does when it calls configure scripts in  
 # subdirectories, so they share the cache.  
 # Giving --cache-file=/dev/null disables caching, for debugging configure.  
 # config.status only pays attention to the cache file if you give it the  
 # --recheck option to rerun configure.  
 #  #
 EOF  if test -n "$lt_prog_compiler_pic_GCJ"; then
 # The following way of writing the cache mishandles newlines in values,    echo "$as_me:13371: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 # but we know of no workaround that is simple, portable, and efficient.  echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
 # So, don't put newlines in cache variables' values.  if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
 # Ultrix sh set writes to stderr and can't be redirected directly,    echo $ECHO_N "(cached) $ECHO_C" >&6
 # and sets the high bit in the cache file unless we assign to the vars.  else
 (set) 2>&1 |    lt_prog_compiler_pic_works_GCJ=no
   case `(ac_space=' '; set | grep ac_space) 2>&1` in    ac_outfile=conftest.$ac_objext
   *ac_space=\ *)     save_CFLAGS="$CFLAGS"
     # `set' does not quote correctly, so add quotes (double-quote substitution     CFLAGS="$CFLAGS $lt_prog_compiler_pic_GCJ -DPIC"
     # turns \\\\ into \\, and sed turns \\ into \).     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     sed -n \     if (eval $ac_compile 2>conftest.err) && test -s $ac_outfile; then
       -e "s/'/'\\\\''/g" \       # The compiler can only warn and ignore the option if not recognized
       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"       # So say no if there are warnings mentioning the option
        cat conftest.err 1>&5
        lt_prog_compiler_pic_works_GCJ=yes
        for lt_i in $lt_prog_compiler_pic_GCJ -DPIC; do
          if grep -- $lt_i conftest.err >/dev/null; then
            lt_prog_compiler_pic_works_GCJ=no
          fi
        done
      fi
      $rm conftest*
      CFLAGS="$save_CFLAGS"
   
   fi
   echo "$as_me:13396: result: $lt_prog_compiler_pic_works_GCJ" >&5
   echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
   
   if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
       case $lt_prog_compiler_pic_GCJ in
        "" | " "*) ;;
        *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
        esac
   else
       lt_prog_compiler_pic_GCJ=
        lt_prog_compiler_can_build_shared_GCJ=no
   fi
   
   fi
   case "$host_os" in
     # For platforms which do not support PIC, -DPIC is meaningless:
     *djgpp*)
       lt_prog_compiler_pic_GCJ=
     ;;      ;;
   *)    *)
     # `set' quotes correctly as required by POSIX, so do not add quotes.      lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ -DPIC"
     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'  
     ;;      ;;
   esac >>confcache  esac
 if cmp -s $cache_file confcache; then :; else  
   if test -w $cache_file; then  echo "$as_me:13420: checking if $compiler supports -c -o file.$ac_objext" >&5
     echo "updating cache $cache_file"  echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
     cat confcache >$cache_file  if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     lt_cv_prog_compiler_c_o_GCJ=no
      $rm -r conftest 2>/dev/null
      mkdir conftest
      cd conftest
      mkdir out
      save_GCJFLAGS="$GCJFLAGS"
                      GCJFLAGS="$GCJFLAGS -o out/conftest2.$ac_objext"
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   
      # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
      # that will create temporary files in the current directory regardless of
      # the output directory.  Thus, making CWD read-only will cause this test
      # to fail, enabling locking or at least warning the user not to do parallel
      # builds.
      chmod -w .
   
      if (eval $ac_compile 2>out/conftest.err) && test -s out/conftest2.$ac_objext
      then
        # The compiler can only warn and ignore the option if not recognized
        # So say no if there are warnings
        if test -s out/conftest.err; then
          # Append any errors to the config.log.
          cat out/conftest.err 1>&5
        else
          lt_cv_prog_compiler_c_o_GCJ=yes
        fi
      fi
      GCJFLAGS="$save_GCJFLAGS"
      chmod u+w .
      $rm conftest* out/*
      rmdir out
      cd ..
      rmdir conftest
      $rm conftest*
   
   fi
   echo "$as_me:13461: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
   
   hard_links="nottested"
   if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
     # do not overwrite the value of need_locks provided by the user
     echo "$as_me:13467: checking if we can lock with hard links" >&5
   echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
     hard_links=yes
     $rm conftest*
     ln conftest.a conftest.b 2>/dev/null && hard_links=no
     touch conftest.a
     ln conftest.a conftest.b 2>&5 || hard_links=no
     ln conftest.a conftest.b 2>/dev/null && hard_links=no
     echo "$as_me:13475: result: $hard_links" >&5
   echo "${ECHO_T}$hard_links" >&6
     if test "$hard_links" = no; then
       { echo "$as_me:13478: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
       need_locks=warn
     fi
   else
     need_locks=no
   fi
   
   echo "$as_me:13486: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   
     runpath_var=
     allow_undefined_flag_GCJ=
   
     archive_cmds_GCJ=
     archive_cmds_need_lc_GCJ=
     archive_expsym_cmds_GCJ=
     old_archive_From_new_cmds_GCJ=
     old_archive_from_expsyms_cmds_GCJ=
     export_dynamic_flag_spec_GCJ=
     whole_archive_flag_spec_GCJ=
     thread_safe_flag_spec_GCJ=
     hardcode_libdir_flag_spec_GCJ=
     hardcode_libdir_separator_GCJ=
     hardcode_direct_GCJ=no
     hardcode_minus_L_GCJ=no
     hardcode_shlibpath_var_GCJ=unsupported
     link_all_deplibs_GCJ=unknown
     always_export_symbols_GCJ=no
     export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols'
     # include_expsyms should be a list of space-separated symbols to be *always*
     # included in the symbol list
     include_expsyms_GCJ=
     # exclude_expsyms can be an egrep regular expression of symbols to exclude
     # it will be wrapped by ` (' and `)$', so one must not match beginning or
     # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
     # as well as any symbol that contains `d'.
     exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
     # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     # platforms (ab)use it in PIC code, but their linkers get confused if
     # the symbol is explicitly referenced.  Since portable code cannot
     # rely on this symbol name, it's probably fine to never include it in
     # preloaded symbol tables.
     extract_expsyms_cmds=
   
     case $host_os in
     cygwin* | mingw* | pw32*)
       # FIXME: the MSVC++ port hasn't been tested in a loooong time
       # When not using gcc, we currently assume that we are using
       # Microsoft Visual C++.
       if test "$GCC" != yes; then
         with_gnu_ld=no
       fi
       ;;
     openbsd*)
       with_gnu_ld=no
       ;;
     esac
   
     ld_shlibs_GCJ=yes
     if test "$with_gnu_ld" = yes; then
       # If archive_cmds runs LD, not CC, wlarc should be empty
       wlarc='${wl}'
   
       # See if GNU ld supports shared libraries.
       case $host_os in
       aix3* | aix4* | aix5*)
         # On AIX/PPC, the GNU linker is very broken
         if test "$host_cpu" != ia64; then
           ld_shlibs_GCJ=no
           cat <<EOF 1>&2
   
   *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   *** to be unable to reliably create shared libraries on AIX.
   *** Therefore, libtool is disabling shared libraries support.  If you
   *** really care for shared libraries, you may want to modify your PATH
   *** so that a non-GNU linker is found, and then restart.
   
   EOF
         fi
         ;;
   
       amigaos*)
         archive_cmds_GCJ='$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)'
         hardcode_libdir_flag_spec_GCJ='-L$libdir'
         hardcode_minus_L_GCJ=yes
   
         # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
         # that the semantics of dynamic libraries on AmigaOS, at least up
         # to version 4, is to share data among multiple programs linked
         # with the same dynamic library.  Since this doesn't match the
         # behavior of shared libraries on other platforms, we can't use
         # them.
         ld_shlibs_GCJ=no
         ;;
   
       beos*)
         if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
           allow_undefined_flag_GCJ=unsupported
           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
           # support --undefined.  This deserves some investigation.  FIXME
           archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
         else
           ld_shlibs_GCJ=no
         fi
         ;;
   
       cygwin* | mingw* | pw32*)
         # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, as there is
         # no search path for DLLs.
         hardcode_libdir_flag_spec_GCJ='-L$libdir'
         allow_undefined_flag_GCJ=unsupported
         always_export_symbols_GCJ=yes
   
         extract_expsyms_cmds='test -f $output_objdir/impgen.c || \
           sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
           test -f $output_objdir/impgen.exe || (cd $output_objdir && \
           if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \
           else $CC -o impgen impgen.c ; fi)~
           $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def'
   
         old_archive_from_expsyms_cmds_GCJ='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib'
   
         # cygwin and mingw dlls have different entry points and sets of symbols
         # to exclude.
         # FIXME: what about values for MSVC?
         dll_entry=__cygwin_dll_entry@12
         dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~
         case $host_os in
         mingw*)
           # mingw values
           dll_entry=_DllMainCRTStartup@12
           dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~
           ;;
         esac
   
         # mingw and cygwin differ, and it's simplest to just exclude the union
         # of the two symbol sets.
         dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12
   
         # recent cygwin and mingw systems supply a stub DllMain which the user
         # can override, but on older systems we have to supply one (in ltdll.c)
         if test "x$lt_cv_need_dllmain" = "xyes"; then
           ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "
           ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~
           test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~'
         else
           ltdll_obj=
           ltdll_cmds=
         fi
   
         # Extract the symbol export list from an `--export-all' def file,
         # then regenerate the def file from the symbol export list, so that
         # the compiled dll only exports the symbol export list.
         # Be careful not to strip the DATA tag left by newer dlltools.
         export_symbols_cmds_GCJ="$ltdll_cmds"'
           $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~
           sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols'
   
         # If the export-symbols file already is a .def file (1st line
         # is EXPORTS), use it as is.
         # If DATA tags from a recent dlltool are present, honour them!
         archive_expsym_cmds_GCJ='if test "x`head -1 $export_symbols`" = xEXPORTS; then
             cp $export_symbols $output_objdir/$soname-def;
           else
             echo EXPORTS > $output_objdir/$soname-def;
             _lt_hint=1;
             cat $export_symbols | while read symbol; do
              set dummy \$symbol;
              case \$# in
                2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;;
                *) echo "   \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;;
              esac;
              _lt_hint=`expr 1 + \$_lt_hint`;
             done;
           fi~
           '"$ltdll_cmds"'
           $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
           $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~
           $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
           $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
           $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags'
         ;;
   
       netbsd*)
         if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
           archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
           wlarc=
         else
           archive_cmds_GCJ='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
           archive_expsym_cmds_GCJ='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         fi
         ;;
   
       solaris* | sysv5*)
         if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then
           ld_shlibs_GCJ=no
           cat <<EOF 1>&2
   
   *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   *** create shared libraries on Solaris systems.  Therefore, libtool
   *** is disabling shared libraries support.  We urge you to upgrade GNU
   *** binutils to release 2.9.1 or newer.  Another option is to modify
   *** your PATH or compiler configuration so that the native linker is
   *** used, and then restart.
   
   EOF
         elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
           archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
           archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         else
           ld_shlibs_GCJ=no
         fi
         ;;
   
       sunos4*)
         archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
         wlarc=
         hardcode_direct_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       *)
         if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then
           archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
           archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
         else
           ld_shlibs_GCJ=no
         fi
         ;;
       esac
   
       if test "$ld_shlibs_GCJ" = yes; then
         runpath_var=LD_RUN_PATH
         hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
         export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
         case $host_os in
         cygwin* | mingw* | pw32*)
           # dlltool doesn't understand --whole-archive et. al.
           whole_archive_flag_spec_GCJ=
           ;;
         *)
           # ancient GNU ld didn't support --whole-archive et. al.
           if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then
           whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
           else
           whole_archive_flag_spec_GCJ=
           fi
           ;;
         esac
       fi
   else    else
     echo "not updating unwritable cache $cache_file"      # PORTME fill in a description of your system's linker (not GNU ld)
       case $host_os in
       aix3*)
         allow_undefined_flag_GCJ=unsupported
         always_export_symbols_GCJ=yes
         archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
         # Note: this linker hardcodes the directories in LIBPATH if there
         # are no directories specified by -L.
         hardcode_minus_L_GCJ=yes
         if test "$GCC" = yes && test -z "$link_static_flag"; then
           # Neither direct hardcoding nor static linking is supported with a
           # broken collect2.
           hardcode_direct_GCJ=unsupported
         fi
         ;;
   
       aix4* | aix5*)
         if test "$host_cpu" = ia64; then
           # On IA64, the linker does run time linking by default, so we don't
           # have to do anything special.
           aix_use_runtimelinking=no
           exp_sym_flag='-Bexport'
           no_entry_flag=""
         else
           # If we're using GNU nm, then we don't want the "-C" option.
           # -C means demangle to AIX nm, but means don't demangle with GNU nm
           if $NM -V 2>&1 | egrep '(GNU)' > /dev/null; then
             export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
           else
             export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols'
           fi
           aix_use_runtimelinking=no
   
           # Test if we are trying to use run time linking or normal
           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
           # need to do runtime linking.
           case $host_os in aix4.[23]|aix4.[23].*|aix5*)
             for ld_flag in $LDFLAGS; do
             if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
               aix_use_runtimelinking=yes
               break
             fi
             done
           esac
   
           exp_sym_flag='-bexport'
           no_entry_flag='-bnoentry'
         fi
   
         # When large executables or shared objects are built, AIX ld can
         # have problems creating the table of contents.  If linking a library
         # or program results in "error TOC overflow" add -mminimal-toc to
         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   
         archive_cmds_GCJ=''
         hardcode_direct_GCJ=yes
         hardcode_libdir_separator_GCJ=':'
         link_all_deplibs_GCJ=yes
   
         if test "$GCC" = yes; then
           case $host_os in aix4.012|aix4.012.*)
           # We only want to do this on AIX 4.2 and lower, the check
           # below for broken collect2 doesn't work under 4.3+
             collect2name=`${CC} -print-prog-name=collect2`
             if test -f "$collect2name" && \
              strings "$collect2name" | grep resolve_lib_name >/dev/null
             then
             # We have reworked collect2
             hardcode_direct_GCJ=yes
             else
             # We have old collect2
             hardcode_direct_GCJ=unsupported
             # It fails to find uninstalled libraries when the uninstalled
             # path is not listed in the libpath.  Setting hardcode_minus_L
             # to unsupported forces relinking
             hardcode_minus_L_GCJ=yes
             hardcode_libdir_flag_spec_GCJ='-L$libdir'
             hardcode_libdir_separator_GCJ=
             fi
           esac
           shared_flag='-shared'
         else
           # not using gcc
           if test "$host_cpu" = ia64; then
           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
           # chokes on -Wl,-G. The following line is correct:
             shared_flag='-G'
           else
           if test "$aix_use_runtimelinking" = yes; then
               shared_flag='${wl}-G'
             else
               shared_flag='${wl}-bM:SRE'
           fi
           fi
         fi
   
         # It seems that -bexpall does not export symbols beginning with
         # underscore (_), so it is better to generate a list of symbols to export.
         always_export_symbols_GCJ=yes
         if test "$aix_use_runtimelinking" = yes; then
           # Warning - without using the other runtime loading flags (-brtl),
           # -berok will link without error, but may produce a broken library.
           allow_undefined_flag_GCJ='-berok'
          # Determine the default libpath from the value encoded in an empty executable.
          cat >conftest.$ac_ext <<_ACEOF
   #line 13836 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:13848: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:13851: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:13854: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:13857: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   
   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`
   # Check for a 64-bit object if we didn't find anything.
   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`; fi
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
          hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
           archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag"
          else
           if test "$host_cpu" = ia64; then
             hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
             allow_undefined_flag_GCJ="-z nodefs"
             archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"
           else
            # Determine the default libpath from the value encoded in an empty executable.
            cat >conftest.$ac_ext <<_ACEOF
   #line 13882 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:13894: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:13897: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:13900: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:13903: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   
   aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`
   # Check for a 64-bit object if we didn't find anything.
   if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | sed -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
   }'`; fi
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   
            hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
             # Warning - without using the other run time loading flags,
             # -berok will link without error, but may produce a broken library.
             no_undefined_flag_GCJ=' ${wl}-bernotok'
             allow_undefined_flag_GCJ=' ${wl}-berok'
             # -bexpall does not export symbols beginning with underscore (_)
             always_export_symbols_GCJ=yes
             # Exported symbols can be pulled into shared objects from archives
             whole_archive_flag_spec_GCJ=' '
             archive_cmds_need_lc_GCJ=yes
             # This is similar to how AIX traditionally builds it's shared libraries.
             archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
           fi
         fi
         ;;
   
       amigaos*)
         archive_cmds_GCJ='$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)'
         hardcode_libdir_flag_spec_GCJ='-L$libdir'
         hardcode_minus_L_GCJ=yes
         # see comment about different semantics on the GNU ld section
         ld_shlibs_GCJ=no
         ;;
   
       bsdi4*)
         export_dynamic_flag_spec_GCJ=-rdynamic
         ;;
   
       cygwin* | mingw* | pw32*)
         # When not using gcc, we currently assume that we are using
         # Microsoft Visual C++.
         # hardcode_libdir_flag_spec is actually meaningless, as there is
         # no search path for DLLs.
         hardcode_libdir_flag_spec_GCJ=' '
         allow_undefined_flag_GCJ=unsupported
         # Tell ltmain to make .lib files, not .a files.
         libext=lib
         # FIXME: Setting linknames here is a bad hack.
         archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames='
         # The linker will automatically build a .lib file if we build a DLL.
         old_archive_From_new_cmds_GCJ='true'
         # FIXME: Should let the user specify the lib program.
         old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
         fix_srcfile_path='`cygpath -w "$srcfile"`'
         ;;
   
       darwin* | rhapsody*)
         case "$host_os" in
         rhapsody* | darwin1.[012])
           allow_undefined_flag_GCJ='-undefined suppress'
           ;;
         *) # Darwin 1.3 on
           allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
           ;;
         esac
   
         # FIXME: Relying on posixy $() will cause problems for
         #        cross-compilation, but unfortunately the echo tests do not
         #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles
         #        `"' quotes if we put them in here... so don't!
         archive_cmds_GCJ='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring'
         # We need to add '_' to the symbols in $export_symbols first
         #_LT_AC_TAGVAR(archive_expsym_cmds, GCJ)="$_LT_AC_TAGVAR(archive_cmds, GCJ)"' && strip -s $export_symbols'
         hardcode_direct_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         whole_archive_flag_spec_GCJ='-all_load $convenience'
         ;;
   
       dgux*)
         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_libdir_flag_spec_GCJ='-L$libdir'
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       freebsd1*)
         ld_shlibs_GCJ=no
         ;;
   
       # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
       # support.  Future versions do this automatically, but an explicit c++rt0.o
       # does not break anything, and helps significantly (at the cost of a little
       # extra space).
       freebsd2.2*)
         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
         hardcode_libdir_flag_spec_GCJ='-R$libdir'
         hardcode_direct_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       # Unfortunately, older versions of FreeBSD 2 do not have this feature.
       freebsd2*)
         archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
         hardcode_direct_GCJ=yes
         hardcode_minus_L_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
       freebsd*)
         archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
         hardcode_libdir_flag_spec_GCJ='-R$libdir'
         hardcode_direct_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       hpux9* | hpux10* | hpux11*)
         if test "$GCC" = yes; then
           case $host_os in
             hpux9*)
               archive_cmds_GCJ='$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'
               ;;
             *)
               if test "$host_cpu" = ia64; then
                 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
               else
                 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
               fi
               ;;
           esac
         else
           case $host_os in
             hpux9*)
               archive_cmds_GCJ='$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'
               ;;
             *)
               if test "$host_cpu" = ia64; then
                 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
               else
                 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
               fi
               ;;
           esac
         fi
         if test "$host_cpu" = ia64; then
           hardcode_libdir_flag_spec_GCJ='-L$libdir'
           hardcode_direct_GCJ=no
           hardcode_shlibpath_var_GCJ=no
         else
           hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
           hardcode_libdir_separator_GCJ=:
           hardcode_direct_GCJ=yes
         fi
         # hardcode_minus_L: Not really in the search PATH,
         # but as the default location of the library.
         hardcode_minus_L_GCJ=yes
         export_dynamic_flag_spec_GCJ='${wl}-E'
         ;;
   
       irix5* | irix6*)
         if test "$GCC" = yes; then
           archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
         else
           archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
         fi
         hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
         hardcode_libdir_separator_GCJ=:
         link_all_deplibs_GCJ=yes
         ;;
   
       netbsd*)
         if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
         else
           archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
         fi
         hardcode_libdir_flag_spec_GCJ='-R$libdir'
         hardcode_direct_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       newsos6)
         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_direct_GCJ=yes
         hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
         hardcode_libdir_separator_GCJ=:
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       openbsd*)
         hardcode_direct_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
   
         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
           export_dynamic_flag_spec_GCJ='${wl}-E'
         else
          case $host_os in
            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
              archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
              hardcode_libdir_flag_spec_GCJ='-R$libdir'
              ;;
            *)
              archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags'
              hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
              ;;
          esac
         fi
         ;;
   
       os2*)
         hardcode_libdir_flag_spec_GCJ='-L$libdir'
         hardcode_minus_L_GCJ=yes
         allow_undefined_flag_GCJ=unsupported
         archive_cmds_GCJ='$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'
         old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
         ;;
   
       osf3*)
         if test "$GCC" = yes; then
           allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
           archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
         else
           allow_undefined_flag_GCJ=' -expect_unresolved \*'
           archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
         fi
         hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
         hardcode_libdir_separator_GCJ=:
         ;;
   
       osf4* | osf5*)      # as osf3* with the addition of -msym flag
         if test "$GCC" = yes; then
           allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
           archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
         else
           allow_undefined_flag_GCJ=' -expect_unresolved \*'
           archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
           archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
           $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
   
           # Both c and cxx compiler support -rpath directly
           hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
         fi
         hardcode_libdir_separator_GCJ=:
         ;;
   
       sco3.2v5*)
         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_shlibpath_var_GCJ=no
         export_dynamic_flag_spec_GCJ='${wl}-Bexport'
         runpath_var=LD_RUN_PATH
         hardcode_runpath_var=yes
         ;;
   
       solaris*)
         no_undefined_flag_GCJ=' -z text'
         if test "$GCC" = yes; then
           archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
           archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
             $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
         else
           archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
           archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
         fi
         hardcode_libdir_flag_spec_GCJ='-R$libdir'
         hardcode_shlibpath_var_GCJ=no
         case $host_os in
         solaris2.[0-5] | solaris2.[0-5].*) ;;
         *) # Supported since Solaris 2.6 (maybe 2.5.1?)
           whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
         esac
         link_all_deplibs_GCJ=yes
         ;;
   
       sunos4*)
         if test "x$host_vendor" = xsequent; then
           # Use $CC to link under sequent, because it throws in some extra .o
           # files that make .init and .fini sections work.
           archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
         else
           archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
         fi
         hardcode_libdir_flag_spec_GCJ='-L$libdir'
         hardcode_direct_GCJ=yes
         hardcode_minus_L_GCJ=yes
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       sysv4)
         if test "x$host_vendor" = xsni; then
           archive_cmds_GCJ='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags'
           hardcode_direct_GCJ=yes # is this really true???
         else
           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
           hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
         fi
         runpath_var='LD_RUN_PATH'
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       sysv4.3*)
         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_shlibpath_var_GCJ=no
         export_dynamic_flag_spec_GCJ='-Bexport'
         ;;
   
       sysv4*MP*)
         if test -d /usr/nec; then
           archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
           hardcode_shlibpath_var_GCJ=no
           runpath_var=LD_RUN_PATH
           hardcode_runpath_var=yes
           ld_shlibs_GCJ=yes
         fi
         ;;
   
       sysv4.2uw2*)
         archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
         hardcode_direct_GCJ=yes
         hardcode_minus_L_GCJ=no
         hardcode_shlibpath_var_GCJ=no
         hardcode_runpath_var=yes
         runpath_var=LD_RUN_PATH
         ;;
   
      sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*)
         no_undefined_flag_GCJ='${wl}-z ${wl}text'
         if test "$GCC" = yes; then
           archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
         else
           archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
         fi
         runpath_var='LD_RUN_PATH'
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       sysv5*)
         no_undefined_flag_GCJ=' -z text'
         # $CC -shared without GNU ld will not create a library from C++
         # object files and a static libstdc++, better avoid it by now
         archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
         archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
                   $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
         hardcode_libdir_flag_spec_GCJ=
         hardcode_shlibpath_var_GCJ=no
         runpath_var='LD_RUN_PATH'
         ;;
   
       uts4*)
         archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
         hardcode_libdir_flag_spec_GCJ='-L$libdir'
         hardcode_shlibpath_var_GCJ=no
         ;;
   
       *)
         ld_shlibs_GCJ=no
         ;;
       esac
   fi    fi
   
   echo "$as_me:14270: result: $ld_shlibs_GCJ" >&5
   echo "${ECHO_T}$ld_shlibs_GCJ" >&6
   test "$ld_shlibs_GCJ" = no && can_build_shared=no
   
   variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   if test "$GCC" = yes; then
     variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 fi  fi
 rm -f confcache  
   
 # Actually configure libtool.  ac_aux_dir is where install-sh is found.  #
 AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \  # Do we need to explicitly link libc?
 MAGIC="$MAGIC" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \  #
 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \  archive_cmds_need_lc_GCJ=yes
 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \  if test "$enable_shared" = yes && test "$GCC" = yes; then
 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \    case $archive_cmds_GCJ in
 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \    *'~'*)
 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \      # FIXME: we may have to deal with multi-command sequences.
 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $lt_target \      ;;
 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }    '$CC '*)
       # Test whether the compiler implicitly links with -lc since on some
       # systems, -lgcc has to come before -lc. If gcc already passes -lc
       # to ld, don't add -lc before -lgcc.
       echo "$as_me:14292: checking whether -lc should be explicitly linked in" >&5
   echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
       $rm conftest*
       echo 'static int dummy;' > conftest.$ac_ext
   
 # Reload cache, that may have been modified by ltconfig      if { (eval echo "$as_me:14297: \"$ac_compile\"") >&5
 if test -r "$cache_file"; then    (eval $ac_compile) 2>&5
   echo "loading cache $cache_file"    ac_status=$?
       test -f "$cache_file" && . $cache_file    echo "$as_me:14300: \$? = $ac_status" >&5
     (exit $ac_status); } 2>conftest.err; then
         soname=conftest
         lib=conftest
         libobjs=conftest.$ac_objext
         deplibs=
         wl=$lt_prog_compiler_wl_GCJ
         compiler_flags=-v
         linker_flags=-v
         verstring=
         output_objdir=.
         libname=conftest
         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
         allow_undefined_flag_GCJ=
         if { (eval echo "$as_me:14314: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
     (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
     ac_status=$?
     echo "$as_me:14317: \$? = $ac_status" >&5
     (exit $ac_status); }
         then
           archive_cmds_need_lc_GCJ=no
         else
           archive_cmds_need_lc_GCJ=yes
         fi
         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
       else
         cat conftest.err 1>&5
       fi
       $rm conftest*
       echo "$as_me:14329: result: $archive_cmds_need_lc_GCJ" >&5
   echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
       ;;
     esac
   fi
   
   echo "$as_me:14335: checking how to hardcode library paths into programs" >&5
   echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   hardcode_action_GCJ=
   if test -n "$hardcode_libdir_flag_spec_GCJ" || \
      test -n "$runpath_var GCJ"; then
   
     # We can hardcode non-existant directories.
     if test "$hardcode_direct_GCJ" != no &&
        # If the only mechanism to avoid hardcoding is shlibpath_var, we
        # have to relink, otherwise we might link with an installed library
        # when we should be linking with a yet-to-be-installed one
        ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
        test "$hardcode_minus_L_GCJ" != no; then
       # Linking always hardcodes the temporary library directory.
       hardcode_action_GCJ=relink
     else
       # We can link without hardcoding, and we can hardcode nonexisting dirs.
       hardcode_action_GCJ=immediate
     fi
 else  else
   echo "creating cache $cache_file"    # We cannot hardcode anything, or else we can only hardcode existing
   >$cache_file    # directories.
     hardcode_action_GCJ=unsupported
 fi  fi
   echo "$as_me:14359: result: $hardcode_action_GCJ" >&5
   echo "${ECHO_T}$hardcode_action_GCJ" >&6
   
 # This can be used to rebuild libtool when needed  if test "$hardcode_action_GCJ" = relink; then
 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"    # Fast installation is not supported
     enable_fast_install=no
   elif test "$shlibpath_overrides_runpath" = yes ||
        test "$enable_shared" = no; then
     # Fast installation is not necessary
     enable_fast_install=needless
   fi
   
 # Always use our own libtool.  striplib=
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'  old_striplib=
   echo "$as_me:14373: checking whether stripping libraries is possible" >&5
   echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
     test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
     test -z "$striplib" && striplib="$STRIP --strip-unneeded"
     echo "$as_me:14378: result: yes" >&5
   echo "${ECHO_T}yes" >&6
   else
     echo "$as_me:14381: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
 # Redirect the config.log output again, so that the ltconfig log is not  echo "$as_me:14385: checking dynamic linker characteristics" >&5
 # clobbered by the next message.  echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
 exec 5>>./config.log  library_names_spec=
   libname_spec='lib$name'
   soname_spec=
   postinstall_cmds=
   postuninstall_cmds=
   finish_cmds=
   finish_eval=
   shlibpath_var=
   shlibpath_overrides_runpath=unknown
   version_type=none
   dynamic_linker="$host_os ld.so"
   sys_lib_dlsearch_path_spec="/lib /usr/lib"
   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   need_lib_prefix=unknown
   hardcode_into_libs=no
   
 echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6  # when you set need_version to no, make sure it does not cause -set_version
 echo "configure:3769: checking whether optarg is declared" 1>&5  # flags to be left without arguments
 if test "${ac_cv_have_decl_optarg+set}" = set; then  need_version=unknown
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
   case $host_os in
   aix3*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix $libname.a'
     shlibpath_var=LIBPATH
   
     # AIX 3 has no versioning support, so we append a major version to the name.
     soname_spec='${libname}${release}.so$major'
     ;;
   
   aix4* | aix5*)
     version_type=linux
     if test "$host_cpu" = ia64; then
       # AIX 5 supports IA64
       library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so'
       shlibpath_var=LD_LIBRARY_PATH
     else
       # With GCC up to 2.95.x, collect2 would create an import file
       # for dependence libraries.  The import file would start with
       # the line `#! .'.  This would cause the generated library to
       # depend on `.', always an invalid library.  This was fixed in
       # development snapshots of GCC prior to 3.0.
       case $host_os in
         aix4 | aix4.[01] | aix4.[01].*)
         if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
              echo ' yes '
              echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
           :
         else
           can_build_shared=no
         fi
         ;;
       esac
       # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
       # soname into executable. Probably we can add versioning support to
       # collect2, so additional links can be useful in future.
       if test "$aix_use_runtimelinking" = yes; then
         # If using run time linking (on AIX 4.2 or later) use lib<name>.so
         # instead of lib<name>.a to let people know that these are not
         # typical AIX shared libraries.
         library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
       else
         # We preserve .a as extension for shared libraries through AIX4.2
         # and later when we are not doing run time linking.
         library_names_spec='${libname}${release}.a $libname.a'
         soname_spec='${libname}${release}.so$major'
       fi
       shlibpath_var=LIBPATH
     fi
     ;;
   
   amigaos*)
     library_names_spec='$libname.ixlibrary $libname.a'
     # Create ${libname}_ixlibrary.a entries in /sys/libs.
     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'
     ;;
   
   beos*)
     library_names_spec='${libname}.so'
     dynamic_linker="$host_os ld.so"
     shlibpath_var=LIBRARY_PATH
     ;;
   
   bsdi4*)
     version_type=linux
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     # the default ld.so.conf also contains /usr/contrib/lib and
     # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     # libtool to hard-code these into programs
     ;;
   
   cygwin* | mingw* | pw32*)
     version_type=windows
     need_version=no
     need_lib_prefix=no
     case $GCC,$host_os in
     yes,cygwin*)
       library_names_spec='$libname.dll.a'
       sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
       postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~
         dldir=$destdir/`dirname \$dlpath`~
         test -d \$dldir || mkdir -p \$dldir~
         $install_prog .libs/$dlname \$dldir/$dlname'
       postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~
         dlpath=$dir/\$dldll~
          $rm \$dlpath'
       ;;
     yes,mingw*)
       library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://"`
       if echo "$sys_lib_search_path_spec" | egrep ';[C-Z]:/' >/dev/null; then
         # It is most probably a Windows format PATH printed by
         # mingw gcc, but we are running on Cygwin. Gcc prints its search
         # path with ; separators, and with drive letters. We can handle the
         # drive letters (cygwin fileutils understands them), so leave them,
         # especially as we might pass files found there to a mingw objdump,
         # which wouldn't understand a cygwinified path. Ahh.
         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed -e 's/;/ /g'`
       else
         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | sed  -e "s/$PATH_SEPARATOR/ /g"`
       fi
       ;;
     yes,pw32*)
       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll'
       ;;
     *)
       library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib'
       ;;
     esac
     dynamic_linker='Win32 ld.exe'
     # FIXME: first we should search . and the directory the executable is in
     shlibpath_var=PATH
     ;;
   
   darwin* | rhapsody*)
     dynamic_linker="$host_os dyld"
     version_type=darwin
     need_lib_prefix=no
     need_version=no
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
     library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)'
     soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)'
     shlibpath_overrides_runpath=yes
     shlibpath_var=DYLD_LIBRARY_PATH
     ;;
   
   dgux*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   freebsd1*)
     dynamic_linker=no
     ;;
   
   freebsd*)
     objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
     version_type=freebsd-$objformat
     case $version_type in
       freebsd-elf*)
         library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
         need_version=no
         need_lib_prefix=no
         ;;
       freebsd-*)
         library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix'
         need_version=yes
         ;;
     esac
     shlibpath_var=LD_LIBRARY_PATH
     case $host_os in
     freebsd2*)
       shlibpath_overrides_runpath=yes
       ;;
     freebsd3.01* | freebsdelf3.01*)
       shlibpath_overrides_runpath=yes
       hardcode_into_libs=yes
       ;;
     *) # from 3.2 on
       shlibpath_overrides_runpath=no
       hardcode_into_libs=yes
       ;;
     esac
     ;;
   
   gnu*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     hardcode_into_libs=yes
     ;;
   
   hpux9* | hpux10* | hpux11*)
     # Give a soname corresponding to the major version so that dld.sl refuses to
     # link against other versions.
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     if test "$host_cpu" = ia64; then
       hardcode_into_libs=yes
       dynamic_linker="$host_os dld.so"
       shlibpath_var=LD_LIBRARY_PATH
       shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
       soname_spec='${libname}${release}.so$major'
       if test "X$HPUX_IA64_MODE" = X32; then
         sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
       else
         sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
       fi
       sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     else
       dynamic_linker="$host_os dld.sl"
       shlibpath_var=SHLIB_PATH
       shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
       library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl'
       soname_spec='${libname}${release}.sl$major'
     fi
     # HP-UX runs *really* slowly unless shared libraries are mode 555.
     postinstall_cmds='chmod 555 $lib'
     ;;
   
   irix5* | irix6*)
     version_type=irix
     need_lib_prefix=no
     need_version=no
     soname_spec='${libname}${release}.so$major'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so'
     case $host_os in
     irix5*)
       libsuff= shlibsuff=
       ;;
     *)
       case $LD in # libtool.m4 will add one of these switches to LD
       *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
       *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
       *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
       *) libsuff= shlibsuff= libmagic=never-match;;
       esac
       ;;
     esac
     shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     shlibpath_overrides_runpath=no
     sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
     sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     ;;
   
   # No shared lib support for Linux oldld, aout, or coff.
   linux*oldld* | linux*aout* | linux*coff*)
     dynamic_linker=no
     ;;
   
   # This must be Linux ELF.
   linux*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=no
     # This implies no fast_install, which is unacceptable.
     # Some rework will be needed to allow for fast_install
     # before this can be enabled.
     hardcode_into_libs=yes
   
     # We used to test for /lib/ld.so.1 and disable shared libraries on
     # powerpc, because MkLinux only supported shared libraries with the
     # GNU dynamic linker.  Since this was broken with cross compilers,
     # most powerpc-linux boxes support dynamic linking these days and
     # people can always --disable-shared, the test was removed, and we
     # assume the GNU/Linux dynamic linker is in use.
     dynamic_linker='GNU/Linux ld.so'
     ;;
   
   netbsd*)
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
       library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
       finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
       dynamic_linker='NetBSD (a.out) ld.so'
     else
       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so'
       soname_spec='${libname}${release}.so$major'
       dynamic_linker='NetBSD ld.elf_so'
     fi
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     ;;
   
   newsos6)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
   nto-qnx)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     ;;
   
   openbsd*)
     version_type=sunos
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
       case $host_os in
         openbsd2.[89] | openbsd2.[89].*)
           shlibpath_overrides_runpath=no
           ;;
         *)
           shlibpath_overrides_runpath=yes
           ;;
         esac
     else
       shlibpath_overrides_runpath=yes
     fi
     ;;
   
   os2*)
     libname_spec='$name'
     need_lib_prefix=no
     library_names_spec='$libname.dll $libname.a'
     dynamic_linker='OS/2 ld.exe'
     shlibpath_var=LIBPATH
     ;;
   
   osf3* | osf4* | osf5*)
     version_type=osf
     need_lib_prefix=no
     need_version=no
     soname_spec='${libname}${release}.so'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     ;;
   
   sco3.2v5*)
     version_type=osf
     soname_spec='${libname}${release}.so$major'
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   solaris*)
     version_type=linux
     need_lib_prefix=no
     need_version=no
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     hardcode_into_libs=yes
     # ldd complains unless libraries are executable
     postinstall_cmds='chmod +x $lib'
     ;;
   
   sunos4*)
     version_type=sunos
     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix'
     finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     shlibpath_var=LD_LIBRARY_PATH
     shlibpath_overrides_runpath=yes
     if test "$with_gnu_ld" = yes; then
       need_lib_prefix=no
     fi
     need_version=yes
     ;;
   
   sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     case $host_vendor in
       sni)
         shlibpath_overrides_runpath=no
         ;;
       motorola)
         need_lib_prefix=no
         need_version=no
         shlibpath_overrides_runpath=no
         sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
         ;;
     esac
     ;;
   
   sysv4*MP*)
     if test -d /usr/nec ;then
       version_type=linux
       library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so'
       soname_spec='$libname.so.$major'
       shlibpath_var=LD_LIBRARY_PATH
     fi
     ;;
   
   uts4*)
     version_type=linux
     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so'
     soname_spec='${libname}${release}.so$major'
     shlibpath_var=LD_LIBRARY_PATH
     ;;
   
   *)
     dynamic_linker=no
     ;;
   esac
   echo "$as_me:14824: result: $dynamic_linker" >&5
   echo "${ECHO_T}$dynamic_linker" >&6
   test "$dynamic_linker" = no && can_build_shared=no
   
   if test "x$enable_dlopen" != xyes; then
     enable_dlopen=unknown
     enable_dlopen_self=unknown
     enable_dlopen_self_static=unknown
 else  else
   cat >conftest.$ac_ext <<EOF    lt_cv_dlopen=no
 #line 3774 "configure"    lt_cv_dlopen_libs=
   
     case $host_os in
     beos*)
       lt_cv_dlopen="load_add_on"
       lt_cv_dlopen_libs=
       lt_cv_dlopen_self=yes
       ;;
   
     cygwin* | mingw* | pw32*)
       lt_cv_dlopen="LoadLibrary"
       lt_cv_dlopen_libs=
      ;;
   
     *)
       echo "$as_me:14849: checking for shl_load" >&5
   echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   if test "${ac_cv_func_shl_load+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 14855 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 $ac_includes_default  /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char shl_load (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char shl_load ();
   char (*f) ();
   
 int  int
 main ()  main ()
 {  {
 #ifndef optarg  /* The GNU C library defines this for functions which it implements
   char *p = (char *) optarg;      to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_shl_load) || defined (__stub___shl_load)
   choke me
   #else
   f = shl_load;
 #endif  #endif
   
   ;    ;
   return 0;    return 0;
 }  }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:14886: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:14889: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:14892: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:14895: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_func_shl_load=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_func_shl_load=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:14905: result: $ac_cv_func_shl_load" >&5
   echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   if test $ac_cv_func_shl_load = yes; then
     lt_cv_dlopen="shl_load"
   else
     echo "$as_me:14910: checking for shl_load in -ldld" >&5
   echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 14918 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char shl_load ();
   int
   main ()
   {
   shl_load ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:14937: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:14940: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:14943: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:14946: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dld_shl_load=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dld_shl_load=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:14957: result: $ac_cv_lib_dld_shl_load" >&5
   echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   if test $ac_cv_lib_dld_shl_load = yes; then
     lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   else
     echo "$as_me:14962: checking for dlopen" >&5
   echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   if test "${ac_cv_func_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 14968 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char dlopen (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   char (*f) ();
   
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_dlopen) || defined (__stub___dlopen)
   choke me
   #else
   f = dlopen;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:14999: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:15002: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:15005: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:15008: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_func_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_func_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:15018: result: $ac_cv_func_dlopen" >&5
   echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   if test $ac_cv_func_dlopen = yes; then
     lt_cv_dlopen="dlopen"
   else
     echo "$as_me:15023: checking for dlopen in -ldl" >&5
   echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldl  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 15031 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   int
   main ()
   {
   dlopen ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:15050: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:15053: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:15056: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:15059: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dl_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dl_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:15070: result: $ac_cv_lib_dl_dlopen" >&5
   echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   if test $ac_cv_lib_dl_dlopen = yes; then
     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   else
     echo "$as_me:15075: checking for dlopen in -lsvld" >&5
   echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   if test "${ac_cv_lib_svld_dlopen+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lsvld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 15083 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dlopen ();
   int
   main ()
   {
   dlopen ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:15102: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:15105: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:15108: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:15111: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_svld_dlopen=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_svld_dlopen=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:15122: result: $ac_cv_lib_svld_dlopen" >&5
   echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   if test $ac_cv_lib_svld_dlopen = yes; then
     lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   else
     echo "$as_me:15127: checking for dld_link in -ldld" >&5
   echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   if test "${ac_cv_lib_dld_dld_link+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ldld  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 15135 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char dld_link ();
   int
   main ()
   {
   dld_link ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:15154: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:15157: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:15160: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:15163: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_dld_dld_link=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_dld_dld_link=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:15174: result: $ac_cv_lib_dld_dld_link" >&5
   echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   if test $ac_cv_lib_dld_dld_link = yes; then
     lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   fi
   
   fi
   
   fi
   
   fi
   
   fi
   
   fi
   
       ;;
     esac
   
     if test "x$lt_cv_dlopen" != xno; then
       enable_dlopen=yes
     else
       enable_dlopen=no
     fi
   
     case $lt_cv_dlopen in
     dlopen)
       save_CPPFLAGS="$CPPFLAGS"
       test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   
       save_LDFLAGS="$LDFLAGS"
       eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   
       save_LIBS="$LIBS"
       LIBS="$lt_cv_dlopen_libs $LIBS"
   
       echo "$as_me:15210: checking whether a program can dlopen itself" >&5
   echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   if test "${lt_cv_dlopen_self+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
             if test "$cross_compiling" = yes; then :
     lt_cv_dlopen_self=cross
   else
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     lt_status=$lt_dlunknown
     cat > conftest.$ac_ext <<EOF
   #line 15221 "configure"
   #include "confdefs.h"
   
   #if HAVE_DLFCN_H
   #include <dlfcn.h>
   #endif
   
   #include <stdio.h>
   
   #ifdef RTLD_GLOBAL
   #  define LT_DLGLOBAL           RTLD_GLOBAL
   #else
   #  ifdef DL_GLOBAL
   #    define LT_DLGLOBAL         DL_GLOBAL
   #  else
   #    define LT_DLGLOBAL         0
   #  endif
   #endif
   
   /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
      find out it does not work in some platform. */
   #ifndef LT_DLLAZY_OR_NOW
   #  ifdef RTLD_LAZY
   #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
   #  else
   #    ifdef DL_LAZY
   #      define LT_DLLAZY_OR_NOW          DL_LAZY
   #    else
   #      ifdef RTLD_NOW
   #        define LT_DLLAZY_OR_NOW        RTLD_NOW
   #      else
   #        ifdef DL_NOW
   #          define LT_DLLAZY_OR_NOW      DL_NOW
   #        else
   #          define LT_DLLAZY_OR_NOW      0
   #        endif
   #      endif
   #    endif
   #  endif
   #endif
   
   #ifdef __cplusplus
   extern "C" void exit (int);
   #endif
   
   void fnord() { int i=42;}
   int main ()
   {
     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     int status = $lt_dlunknown;
   
     if (self)
       {
         if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
         else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
         /* dlclose (self); */
       }
   
       exit (status);
   }
 EOF  EOF
 if { (eval echo configure:3788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo "$as_me:15282: \"$ac_link\"") >&5
   rm -rf conftest*    (eval $ac_link) 2>&5
   ac_cv_have_decl_optarg=yes    ac_status=$?
     echo "$as_me:15285: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       (./conftest; exit; ) 2>/dev/null
       lt_status=$?
       case x$lt_status in
         x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
         x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
         x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
       esac
     else :
       # compilation failed
       lt_cv_dlopen_self=no
     fi
   fi
   rm -fr conftest*
   
   fi
   echo "$as_me:15302: result: $lt_cv_dlopen_self" >&5
   echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   
       if test "x$lt_cv_dlopen_self" = xyes; then
         LDFLAGS="$LDFLAGS $link_static_flag"
         echo "$as_me:15307: checking whether a statically linked program can dlopen itself" >&5
   echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   if test "${lt_cv_dlopen_self_static+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
             if test "$cross_compiling" = yes; then :
     lt_cv_dlopen_self_static=cross
   else
     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     lt_status=$lt_dlunknown
     cat > conftest.$ac_ext <<EOF
   #line 15318 "configure"
   #include "confdefs.h"
   
   #if HAVE_DLFCN_H
   #include <dlfcn.h>
   #endif
   
   #include <stdio.h>
   
   #ifdef RTLD_GLOBAL
   #  define LT_DLGLOBAL           RTLD_GLOBAL
   #else
   #  ifdef DL_GLOBAL
   #    define LT_DLGLOBAL         DL_GLOBAL
   #  else
   #    define LT_DLGLOBAL         0
   #  endif
   #endif
   
   /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
      find out it does not work in some platform. */
   #ifndef LT_DLLAZY_OR_NOW
   #  ifdef RTLD_LAZY
   #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
   #  else
   #    ifdef DL_LAZY
   #      define LT_DLLAZY_OR_NOW          DL_LAZY
   #    else
   #      ifdef RTLD_NOW
   #        define LT_DLLAZY_OR_NOW        RTLD_NOW
   #      else
   #        ifdef DL_NOW
   #          define LT_DLLAZY_OR_NOW      DL_NOW
   #        else
   #          define LT_DLLAZY_OR_NOW      0
   #        endif
   #      endif
   #    endif
   #  endif
   #endif
   
   #ifdef __cplusplus
   extern "C" void exit (int);
   #endif
   
   void fnord() { int i=42;}
   int main ()
   {
     void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     int status = $lt_dlunknown;
   
     if (self)
       {
         if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
         else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
         /* dlclose (self); */
       }
   
       exit (status);
   }
   EOF
     if { (eval echo "$as_me:15379: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:15382: \$? = $ac_status" >&5
     (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
       (./conftest; exit; ) 2>/dev/null
       lt_status=$?
       case x$lt_status in
         x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
         x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
         x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
       esac
     else :
       # compilation failed
       lt_cv_dlopen_self_static=no
     fi
   fi
   rm -fr conftest*
   
   fi
   echo "$as_me:15399: result: $lt_cv_dlopen_self_static" >&5
   echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
       fi
   
       CPPFLAGS="$save_CPPFLAGS"
       LDFLAGS="$save_LDFLAGS"
       LIBS="$save_LIBS"
       ;;
     esac
   
     case $lt_cv_dlopen_self in
     yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
     *) enable_dlopen_self=unknown ;;
     esac
   
     case $lt_cv_dlopen_self_static in
     yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
     *) enable_dlopen_self_static=unknown ;;
     esac
   fi
   
   # The else clause should only fire when bootstrapping the
   # libtool distribution, otherwise you forgot to ship ltmain.sh
   # with your package, and you will get complaints that there are
   # no rules to generate ltmain.sh.
   if test -f "$ltmain"; then
     # Now quote all the things that may contain metacharacters while being
     # careful not to overquote the AC_SUBSTed values.  We take copies of the
     # variables and quote the copies for generation of the libtool script.
     for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S LTCC NM SHELL \
       libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       deplibs_check_method reload_flag reload_cmds need_locks \
       lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       lt_cv_sys_global_symbol_to_c_name_address \
       sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       old_postinstall_cmds old_postuninstall_cmds \
       HOST_CC \
       compiler_GCJ \
       CC_GCJ \
       LD_GCJ \
       lt_prog_compiler_wl_GCJ \
       lt_prog_compiler_pic_GCJ \
       lt_prog_compiler_static_GCJ \
       lt_prog_compiler_no_builtin_flag_GCJ \
       export_dynamic_flag_spec_GCJ \
       thread_safe_flag_spec_GCJ \
       whole_archive_flag_spec_GCJ \
       old_archive_cmds_GCJ \
       old_archive_from_new_cmds_GCJ \
       predep_objects_GCJ \
       postdep_objects_GCJ \
       predeps_GCJ \
       postdeps_GCJ \
       compiler_lib_search_path_GCJ \
       archive_cmds_GCJ \
       archive_expsym_cmds_GCJ \
       postinstall_cmds_GCJ \
       postuninstall_cmds_GCJ \
       old_archive_from_expsyms_cmds_GCJ \
       allow_undefined_flag_GCJ \
       no_undefined_flag_GCJ \
       export_symbols_cmds_GCJ \
       hardcode_libdir_flag_spec_GCJ \
       hardcode_libdir_separator_GCJ \
       lt_cv_prog_compiler_c_o_GCJ \
       exclude_expsyms_GCJ \
       include_expsyms_GCJ; do
   
       case $var in
       old_archive_cmds_GCJ | \
       old_archive_from_new_cmds_GCJ | \
       archive_cmds_GCJ | \
       archive_expsym_cmds_GCJ | \
       old_archive_from_expsyms_cmds_GCJ | \
       export_symbols_cmds_GCJ | \
       extract_expsyms_cmds | reload_cmds | finish_cmds | \
       postinstall_cmds | postuninstall_cmds | \
       old_postinstall_cmds | old_postuninstall_cmds | \
       sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
         # Double-quote double-evaled strings.
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
         ;;
       *)
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
         ;;
       esac
     done
   
     case $lt_echo in
     *'\$0 --fallback-echo"')
       lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       ;;
     esac
   
   cfgfile="$ofile"
   
     cat <<__EOF__ >> "$cfgfile"
   # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   
   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   
   # Shell to use when invoking shell scripts.
   SHELL=$lt_SHELL
   
   # Whether or not to build shared libraries.
   build_libtool_libs=$enable_shared
   
   # Whether or not to build static libraries.
   build_old_libs=$enable_static
   
   # Whether or not to add -lc for building shared libraries.
   build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   
   # Whether or not to optimize for fast installation.
   fast_install=$enable_fast_install
   
   # The host system.
   host_alias=$host_alias
   host=$host
   
   # An echo program that does not interpret backslashes.
   echo=$lt_echo
   
   # The archiver.
   AR=$lt_AR
   AR_FLAGS=$lt_AR_FLAGS
   
   # A C compiler.
   LTCC=$lt_LTCC
   
   # A C compiler for the build system.
   HOST_CC=$lt_HOST_CC
   
   # A language-specific compiler.
   CC=$lt_compiler_GCJ
   
   # Is the compiler the GNU C compiler?
   with_gcc=$GCC_GCJ
   
   # The linker used to build libraries.
   LD=$lt_LD_GCJ
   
   # Whether we need hard or soft links.
   LN_S=$lt_LN_S
   
   # A BSD-compatible nm program.
   NM=$lt_NM
   
   # A symbol stripping program
   STRIP=$STRIP
   
   # Used to examine libraries when file_magic_cmd begins "file"
   MAGIC_CMD=$MAGIC_CMD
   
   # Used on cygwin: DLL creation program.
   DLLTOOL="$DLLTOOL"
   
   # Used on cygwin: object dumper.
   OBJDUMP="$OBJDUMP"
   
   # Used on cygwin: assembler.
   AS="$AS"
   
   # The name of the directory that contains temporary libtool files.
   objdir=$objdir
   
   # How to create reloadable object files.
   reload_flag=$lt_reload_flag
   reload_cmds=$lt_reload_cmds
   
   # How to pass a linker flag through the compiler.
   wl=$lt_lt_prog_compiler_wl_GCJ
   
   # Object file suffix (normally "o").
   objext="$ac_objext"
   
   # Old archive suffix (normally "a").
   libext="$libext"
   
   # Executable file suffix (normally "").
   exeext="$exeext"
   
   # Additional compiler flags for building library objects.
   pic_flag=$lt_lt_prog_compiler_pic_GCJ
   pic_mode=$pic_mode
   
   # What is the maximum length of a command?
   max_cmd_len=$lt_cv_sys_max_cmd_len
   
   # Does compiler simultaneously support -c and -o options?
   compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   
   # Must we lock files when doing compilation ?
   need_locks=$lt_need_locks
   
   # Do we need the lib prefix for modules?
   need_lib_prefix=$need_lib_prefix
   
   # Do we need a version for libraries?
   need_version=$need_version
   
   # Whether dlopen is supported.
   dlopen_support=$enable_dlopen
   
   # Whether dlopen of programs is supported.
   dlopen_self=$enable_dlopen_self
   
   # Whether dlopen of statically linked programs is supported.
   dlopen_self_static=$enable_dlopen_self_static
   
   # Compiler flag to prevent dynamic linking.
   link_static_flag=$lt_lt_prog_compiler_static_GCJ
   
   # Compiler flag to turn off builtin functions.
   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   
   # Compiler flag to allow reflexive dlopens.
   export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   
   # Compiler flag to generate shared objects directly from archives.
   whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   
   # Compiler flag to generate thread-safe objects.
   thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   
   # Library versioning type.
   version_type=$version_type
   
   # Format of library name prefix.
   libname_spec=$lt_libname_spec
   
   # List of archive names.  First name is the real one, the rest are links.
   # The last name is the one that the linker finds with -lNAME.
   library_names_spec=$lt_library_names_spec
   
   # The coded name of the library, if different from the real name.
   soname_spec=$lt_soname_spec
   
   # Commands used to build and install an old-style archive.
   RANLIB=$lt_RANLIB
   old_archive_cmds=$lt_old_archive_cmds_GCJ
   old_postinstall_cmds=$lt_old_postinstall_cmds
   old_postuninstall_cmds=$lt_old_postuninstall_cmds
   
   # Create an old-style archive from a shared archive.
   old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   
   # Create a temporary old-style archive to link instead of a shared archive.
   old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   
   # Commands used to build and install a shared archive.
   archive_cmds=$lt_archive_cmds_GCJ
   archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   postinstall_cmds=$lt_postinstall_cmds
   postuninstall_cmds=$lt_postuninstall_cmds
   
   # Commands to strip libraries.
   old_striplib=$lt_old_striplib
   striplib=$lt_striplib
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predep_objects=$lt_predep_objects_GCJ
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdep_objects=$lt_postdep_objects_GCJ
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predeps=$lt_predeps_GCJ
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdeps=$lt_postdeps_GCJ
   
   # The library search path used internally by the compiler when linking
   # a shared library.
   compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   
   # Method to check whether dependent libraries are shared objects.
   deplibs_check_method=$lt_deplibs_check_method
   
   # Command to use when deplibs_check_method == file_magic.
   file_magic_cmd=$lt_file_magic_cmd
   
   # Flag that allows shared libraries with undefined symbols to be built.
   allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   
   # Flag that forces no undefined symbols.
   no_undefined_flag=$lt_no_undefined_flag_GCJ
   
   # Commands used to finish a libtool library installation in a directory.
   finish_cmds=$lt_finish_cmds
   
   # Same as above, but a single script fragment to be evaled but not shown.
   finish_eval=$lt_finish_eval
   
   # Take the output of nm and produce a listing of raw symbols and C names.
   global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   
   # Transform the output of nm in a proper C declaration
   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   
   # Transform the output of nm in a C name address pair
   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   
   # This is the shared library runtime path variable.
   runpath_var=$runpath_var
   
   # This is the shared library path variable.
   shlibpath_var=$shlibpath_var
   
   # Is shlibpath searched before the hard-coded library search path?
   shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   
   # How to hardcode a shared library path into an executable.
   hardcode_action=$hardcode_action_GCJ
   
   # Whether we should hardcode library paths into libraries.
   hardcode_into_libs=$hardcode_into_libs
   
   # Flag to hardcode \$libdir into a binary during linking.
   # This must work even if \$libdir does not exist.
   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   
   # Whether we need a single -rpath flag with a separated argument.
   hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   
   # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
   # resulting binary.
   hardcode_direct=$hardcode_direct_GCJ
   
   # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   # resulting binary.
   hardcode_minus_L=$hardcode_minus_L_GCJ
   
   # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   # the resulting binary.
   hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   
   # Variables whose values should be saved in libtool wrapper scripts and
   # restored at relink time.
   variables_saved_for_relink="$variables_saved_for_relink"
   
   # Whether libtool must link a program against all its dependency libraries.
   link_all_deplibs=$link_all_deplibs_GCJ
   
   # Compile-time system search path for libraries
   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   
   # Run-time system search path for libraries
   sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   
   # Fix the shell variable \$srcfile for the compiler.
   fix_srcfile_path="$fix_srcfile_path_GCJ"
   
   # Set to yes if exported symbols are required.
   always_export_symbols=$always_export_symbols_GCJ
   
   # The commands to list exported symbols.
   export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   
   # The commands to extract the exported symbol list from a shared archive.
   extract_expsyms_cmds=$lt_extract_expsyms_cmds
   
   # Symbols that should not be listed in the preloaded symbols.
   exclude_expsyms=$lt_exclude_expsyms_GCJ
   
   # Symbols that must always be exported.
   include_expsyms=$lt_include_expsyms_GCJ
   
   # ### END LIBTOOL TAG CONFIG: $tagname
   
   __EOF__
   
   else
     # If there is no Makefile yet, we rely on a make rule to execute
     # `config.status --recheck' to rerun these tests and create the
     # libtool script then.
     test -f Makefile && make "$ltmain"
   fi
   
   ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   CC="$lt_save_CC"
   
           ;;
   
         RC)
   
   # Source file extension for RC test sources.
   ac_ext=rc
   
   # Object file extension for compiled RC test sources.
   objext=o
   objext_RC=$objext
   
   # Code to be used in simple compile tests
   lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   
   # Code to be used in simple link tests
   lt_simple_link_test_code="$lt_simple_compile_test_code"
   
   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   
   # If no C compiler was specified, use CC.
   LTCC=${LTCC-"$CC"}
   
   # Allow CC to be a program name with arguments.
   set dummy $CC
   compiler="$2"
   
   # Allow CC to be a program name with arguments.
   lt_save_CC="$CC"
   CC=${RC-"windres"}
   set dummy $CC
   compiler="$2"
   compiler_RC=$CC
   lt_cv_prog_compiler_c_o_RC=yes
   
   # The else clause should only fire when bootstrapping the
   # libtool distribution, otherwise you forgot to ship ltmain.sh
   # with your package, and you will get complaints that there are
   # no rules to generate ltmain.sh.
   if test -f "$ltmain"; then
     # Now quote all the things that may contain metacharacters while being
     # careful not to overquote the AC_SUBSTed values.  We take copies of the
     # variables and quote the copies for generation of the libtool script.
     for var in echo old_CC old_CFLAGS AR AR_FLAGS RANLIB LN_S LTCC NM SHELL \
       libname_spec library_names_spec soname_spec extract_expsyms_cmds \
       old_striplib striplib file_magic_cmd finish_cmds finish_eval \
       deplibs_check_method reload_flag reload_cmds need_locks \
       lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
       lt_cv_sys_global_symbol_to_c_name_address \
       sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
       old_postinstall_cmds old_postuninstall_cmds \
       HOST_CC \
       compiler_RC \
       CC_RC \
       LD_RC \
       lt_prog_compiler_wl_RC \
       lt_prog_compiler_pic_RC \
       lt_prog_compiler_static_RC \
       lt_prog_compiler_no_builtin_flag_RC \
       export_dynamic_flag_spec_RC \
       thread_safe_flag_spec_RC \
       whole_archive_flag_spec_RC \
       old_archive_cmds_RC \
       old_archive_from_new_cmds_RC \
       predep_objects_RC \
       postdep_objects_RC \
       predeps_RC \
       postdeps_RC \
       compiler_lib_search_path_RC \
       archive_cmds_RC \
       archive_expsym_cmds_RC \
       postinstall_cmds_RC \
       postuninstall_cmds_RC \
       old_archive_from_expsyms_cmds_RC \
       allow_undefined_flag_RC \
       no_undefined_flag_RC \
       export_symbols_cmds_RC \
       hardcode_libdir_flag_spec_RC \
       hardcode_libdir_separator_RC \
       lt_cv_prog_compiler_c_o_RC \
       exclude_expsyms_RC \
       include_expsyms_RC; do
   
       case $var in
       old_archive_cmds_RC | \
       old_archive_from_new_cmds_RC | \
       archive_cmds_RC | \
       archive_expsym_cmds_RC | \
       old_archive_from_expsyms_cmds_RC | \
       export_symbols_cmds_RC | \
       extract_expsyms_cmds | reload_cmds | finish_cmds | \
       postinstall_cmds | postuninstall_cmds | \
       old_postinstall_cmds | old_postuninstall_cmds | \
       sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
         # Double-quote double-evaled strings.
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
         ;;
       *)
         eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
         ;;
       esac
     done
   
     case $lt_echo in
     *'\$0 --fallback-echo"')
       lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
       ;;
     esac
   
   cfgfile="$ofile"
   
     cat <<__EOF__ >> "$cfgfile"
   # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   
   # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   
   # Shell to use when invoking shell scripts.
   SHELL=$lt_SHELL
   
   # Whether or not to build shared libraries.
   build_libtool_libs=$enable_shared
   
   # Whether or not to build static libraries.
   build_old_libs=$enable_static
   
   # Whether or not to add -lc for building shared libraries.
   build_libtool_need_lc=$archive_cmds_need_lc_RC
   
   # Whether or not to optimize for fast installation.
   fast_install=$enable_fast_install
   
   # The host system.
   host_alias=$host_alias
   host=$host
   
   # An echo program that does not interpret backslashes.
   echo=$lt_echo
   
   # The archiver.
   AR=$lt_AR
   AR_FLAGS=$lt_AR_FLAGS
   
   # A C compiler.
   LTCC=$lt_LTCC
   
   # A C compiler for the build system.
   HOST_CC=$lt_HOST_CC
   
   # A language-specific compiler.
   CC=$lt_compiler_RC
   
   # Is the compiler the GNU C compiler?
   with_gcc=$GCC_RC
   
   # The linker used to build libraries.
   LD=$lt_LD_RC
   
   # Whether we need hard or soft links.
   LN_S=$lt_LN_S
   
   # A BSD-compatible nm program.
   NM=$lt_NM
   
   # A symbol stripping program
   STRIP=$STRIP
   
   # Used to examine libraries when file_magic_cmd begins "file"
   MAGIC_CMD=$MAGIC_CMD
   
   # Used on cygwin: DLL creation program.
   DLLTOOL="$DLLTOOL"
   
   # Used on cygwin: object dumper.
   OBJDUMP="$OBJDUMP"
   
   # Used on cygwin: assembler.
   AS="$AS"
   
   # The name of the directory that contains temporary libtool files.
   objdir=$objdir
   
   # How to create reloadable object files.
   reload_flag=$lt_reload_flag
   reload_cmds=$lt_reload_cmds
   
   # How to pass a linker flag through the compiler.
   wl=$lt_lt_prog_compiler_wl_RC
   
   # Object file suffix (normally "o").
   objext="$ac_objext"
   
   # Old archive suffix (normally "a").
   libext="$libext"
   
   # Executable file suffix (normally "").
   exeext="$exeext"
   
   # Additional compiler flags for building library objects.
   pic_flag=$lt_lt_prog_compiler_pic_RC
   pic_mode=$pic_mode
   
   # What is the maximum length of a command?
   max_cmd_len=$lt_cv_sys_max_cmd_len
   
   # Does compiler simultaneously support -c and -o options?
   compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   
   # Must we lock files when doing compilation ?
   need_locks=$lt_need_locks
   
   # Do we need the lib prefix for modules?
   need_lib_prefix=$need_lib_prefix
   
   # Do we need a version for libraries?
   need_version=$need_version
   
   # Whether dlopen is supported.
   dlopen_support=$enable_dlopen
   
   # Whether dlopen of programs is supported.
   dlopen_self=$enable_dlopen_self
   
   # Whether dlopen of statically linked programs is supported.
   dlopen_self_static=$enable_dlopen_self_static
   
   # Compiler flag to prevent dynamic linking.
   link_static_flag=$lt_lt_prog_compiler_static_RC
   
   # Compiler flag to turn off builtin functions.
   no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   
   # Compiler flag to allow reflexive dlopens.
   export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   
   # Compiler flag to generate shared objects directly from archives.
   whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   
   # Compiler flag to generate thread-safe objects.
   thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   
   # Library versioning type.
   version_type=$version_type
   
   # Format of library name prefix.
   libname_spec=$lt_libname_spec
   
   # List of archive names.  First name is the real one, the rest are links.
   # The last name is the one that the linker finds with -lNAME.
   library_names_spec=$lt_library_names_spec
   
   # The coded name of the library, if different from the real name.
   soname_spec=$lt_soname_spec
   
   # Commands used to build and install an old-style archive.
   RANLIB=$lt_RANLIB
   old_archive_cmds=$lt_old_archive_cmds_RC
   old_postinstall_cmds=$lt_old_postinstall_cmds
   old_postuninstall_cmds=$lt_old_postuninstall_cmds
   
   # Create an old-style archive from a shared archive.
   old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   
   # Create a temporary old-style archive to link instead of a shared archive.
   old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   
   # Commands used to build and install a shared archive.
   archive_cmds=$lt_archive_cmds_RC
   archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   postinstall_cmds=$lt_postinstall_cmds
   postuninstall_cmds=$lt_postuninstall_cmds
   
   # Commands to strip libraries.
   old_striplib=$lt_old_striplib
   striplib=$lt_striplib
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predep_objects=$lt_predep_objects_RC
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdep_objects=$lt_postdep_objects_RC
   
   # Dependencies to place before the objects being linked to create a
   # shared library.
   predeps=$lt_predeps_RC
   
   # Dependencies to place after the objects being linked to create a
   # shared library.
   postdeps=$lt_postdeps_RC
   
   # The library search path used internally by the compiler when linking
   # a shared library.
   compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   
   # Method to check whether dependent libraries are shared objects.
   deplibs_check_method=$lt_deplibs_check_method
   
   # Command to use when deplibs_check_method == file_magic.
   file_magic_cmd=$lt_file_magic_cmd
   
   # Flag that allows shared libraries with undefined symbols to be built.
   allow_undefined_flag=$lt_allow_undefined_flag_RC
   
   # Flag that forces no undefined symbols.
   no_undefined_flag=$lt_no_undefined_flag_RC
   
   # Commands used to finish a libtool library installation in a directory.
   finish_cmds=$lt_finish_cmds
   
   # Same as above, but a single script fragment to be evaled but not shown.
   finish_eval=$lt_finish_eval
   
   # Take the output of nm and produce a listing of raw symbols and C names.
   global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   
   # Transform the output of nm in a proper C declaration
   global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   
   # Transform the output of nm in a C name address pair
   global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   
   # This is the shared library runtime path variable.
   runpath_var=$runpath_var
   
   # This is the shared library path variable.
   shlibpath_var=$shlibpath_var
   
   # Is shlibpath searched before the hard-coded library search path?
   shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   
   # How to hardcode a shared library path into an executable.
   hardcode_action=$hardcode_action_RC
   
   # Whether we should hardcode library paths into libraries.
   hardcode_into_libs=$hardcode_into_libs
   
   # Flag to hardcode \$libdir into a binary during linking.
   # This must work even if \$libdir does not exist.
   hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   
   # Whether we need a single -rpath flag with a separated argument.
   hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   
   # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the
   # resulting binary.
   hardcode_direct=$hardcode_direct_RC
   
   # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   # resulting binary.
   hardcode_minus_L=$hardcode_minus_L_RC
   
   # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   # the resulting binary.
   hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   
   # Variables whose values should be saved in libtool wrapper scripts and
   # restored at relink time.
   variables_saved_for_relink="$variables_saved_for_relink"
   
   # Whether libtool must link a program against all its dependency libraries.
   link_all_deplibs=$link_all_deplibs_RC
   
   # Compile-time system search path for libraries
   sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   
   # Run-time system search path for libraries
   sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   
   # Fix the shell variable \$srcfile for the compiler.
   fix_srcfile_path="$fix_srcfile_path_RC"
   
   # Set to yes if exported symbols are required.
   always_export_symbols=$always_export_symbols_RC
   
   # The commands to list exported symbols.
   export_symbols_cmds=$lt_export_symbols_cmds_RC
   
   # The commands to extract the exported symbol list from a shared archive.
   extract_expsyms_cmds=$lt_extract_expsyms_cmds
   
   # Symbols that should not be listed in the preloaded symbols.
   exclude_expsyms=$lt_exclude_expsyms_RC
   
   # Symbols that must always be exported.
   include_expsyms=$lt_include_expsyms_RC
   
   # ### END LIBTOOL TAG CONFIG: $tagname
   
   __EOF__
   
   else
     # If there is no Makefile yet, we rely on a make rule to execute
     # `config.status --recheck' to rerun these tests and create the
     # libtool script then.
     test -f Makefile && make "$ltmain"
   fi
   
   ac_ext=c
   ac_cpp='$CPP $CPPFLAGS'
   ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   ac_compiler_gnu=$ac_cv_c_compiler_gnu
   
   CC="$lt_save_CC"
   
           ;;
   
         *)
           { { echo "$as_me:16199: error: Unsupported tag name: $tagname" >&5
   echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
      { (exit 1); exit 1; }; }
           ;;
         esac
   
         # Append the new tag name to the list of available tags.
         available_tags="$available_tags $tagname"
       fi
     done
     IFS="$lt_save_ifs"
   
     # Now substitute the updated list of available tags.
     if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
       mv "${ofile}T" "$ofile"
       chmod +x "$ofile"
     else
       rm -f "${ofile}T"
       { { echo "$as_me:16217: error: unable to update list of available tagged configurations." >&5
   echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
      { (exit 1); exit 1; }; }
     fi
   fi
   
   # This can be used to rebuild libtool when needed
   LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   
   # Always use our own libtool.
   LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   
   # Prevent multiple expansion
   
   # Generate an error here if attempting to build both shared and static when
   # $libname.a is in $library_names_spec (as mentioned above), rather than
   # wait for ar or ld to fail.
   #
   if test "$enable_shared" = yes && test "$enable_static" = yes; then
     case $library_names_spec in
       *libname.a*)
         { { echo "$as_me:16238: error: cannot create both shared and static libraries on this system, --disable one of the two" >&5
   echo "$as_me: error: cannot create both shared and static libraries on this system, --disable one of the two" >&2;}
      { (exit 1); exit 1; }; }
         ;;
     esac
   fi
   
   # How to assemble, used with CFLAGS etc, see mpn/Makeasm.am.
   # Using the compiler is a lot easier than figuring out how to invoke the
   # assembler directly.
   #
   test -n "$CCAS" || CCAS="$CC -c"
   
   case $host in
     i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)
       # If there's any sse2 or mmx in the path, check whether the assembler
       # supports it, and remove if not.
       case "$path" in
         *mmx*)   echo "$as_me:16256: checking if the assembler knows about MMX instructions" >&5
   echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" >&6
   if test "${gmp_cv_asm_x86_mmx+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.s <<EOF
           .text
           movq    %mm0, %mm1
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:16266: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:16269: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_x86_mmx=yes
   case $host in
   *-*-solaris*)
     if (dis conftest.$OBJEXT >conftest.out) 2>/dev/null; then
       if grep "0f 6f c1" conftest.out >/dev/null; then
         gmp_cv_asm_x86_mmx=movq-bug
       fi
     else
       { echo "$as_me:16280: WARNING: \"dis\" not available to check for \"as\" movq bug" >&5
   echo "$as_me: WARNING: \"dis\" not available to check for \"as\" movq bug" >&2;}
     fi
   esac
   else
     cat conftest.out >&5
   echo "configure: failed program was:" >&5    echo "configure: failed program was:" >&5
   cat conftest.$ac_ext >&5    cat conftest.s >&5
   rm -rf conftest*    gmp_cv_asm_x86_mmx=no
   ac_cv_have_decl_optarg=no  
 fi  fi
 rm -f conftest*  rm -f conftest*
   
 fi  fi
 echo "$ECHO_T""$ac_cv_have_decl_optarg" 1>&6  echo "$as_me:16293: result: $gmp_cv_asm_x86_mmx" >&5
 if test $ac_cv_have_decl_optarg = yes; then  echo "${ECHO_T}$gmp_cv_asm_x86_mmx" >&6
   cat >>confdefs.h <<EOF  
 #define HAVE_DECL_OPTARG 1  
 EOF  
   
   case $gmp_cv_asm_x86_mmx in
   movq-bug)
     { echo "$as_me:16298: WARNING: +----------------------------------------------------------" >&5
   echo "$as_me: WARNING: +----------------------------------------------------------" >&2;}
     { echo "$as_me:16300: WARNING: | WARNING WARNING WARNING" >&5
   echo "$as_me: WARNING: | WARNING WARNING WARNING" >&2;}
     { echo "$as_me:16302: WARNING: | Host CPU has MMX code, but the assembler" >&5
   echo "$as_me: WARNING: | Host CPU has MMX code, but the assembler" >&2;}
     { echo "$as_me:16304: WARNING: |     $CCAS $CFLAGS" >&5
   echo "$as_me: WARNING: |     $CCAS $CFLAGS" >&2;}
     { echo "$as_me:16306: WARNING: | has the Solaris 2.6 and 2.7 bug where register to register" >&5
   echo "$as_me: WARNING: | has the Solaris 2.6 and 2.7 bug where register to register" >&2;}
     { echo "$as_me:16308: WARNING: | movq operands are reversed." >&5
   echo "$as_me: WARNING: | movq operands are reversed." >&2;}
     { echo "$as_me:16310: WARNING: | Non-MMX replacements will be used." >&5
   echo "$as_me: WARNING: | Non-MMX replacements will be used." >&2;}
     { echo "$as_me:16312: WARNING: | This will be an inferior build." >&5
   echo "$as_me: WARNING: | This will be an inferior build." >&2;}
     { echo "$as_me:16314: WARNING: +----------------------------------------------------------" >&5
   echo "$as_me: WARNING: +----------------------------------------------------------" >&2;}
     ;;
   no)
     { echo "$as_me:16318: WARNING: +----------------------------------------------------------" >&5
   echo "$as_me: WARNING: +----------------------------------------------------------" >&2;}
     { echo "$as_me:16320: WARNING: | WARNING WARNING WARNING" >&5
   echo "$as_me: WARNING: | WARNING WARNING WARNING" >&2;}
     { echo "$as_me:16322: WARNING: | Host CPU has MMX code, but it can't be assembled by" >&5
   echo "$as_me: WARNING: | Host CPU has MMX code, but it can't be assembled by" >&2;}
     { echo "$as_me:16324: WARNING: |     $CCAS $CFLAGS" >&5
   echo "$as_me: WARNING: |     $CCAS $CFLAGS" >&2;}
     { echo "$as_me:16326: WARNING: | Non-MMX replacements will be used." >&5
   echo "$as_me: WARNING: | Non-MMX replacements will be used." >&2;}
     { echo "$as_me:16328: WARNING: | This will be an inferior build." >&5
   echo "$as_me: WARNING: | This will be an inferior build." >&2;}
     { echo "$as_me:16330: WARNING: +----------------------------------------------------------" >&5
   echo "$as_me: WARNING: +----------------------------------------------------------" >&2;}
     ;;
   esac
   if test "$gmp_cv_asm_x86_mmx" = yes; then
     :
 else  else
   cat >>confdefs.h <<EOF    tmp_path=
 #define HAVE_DECL_OPTARG 0  for i in $path; do
     case $i in
       */*mmx*) ;;
       *) tmp_path="$tmp_path $i" ;;
     esac
   done
   path="$tmp_path"
   
   fi
    ;;
       esac
       case "$path" in
         *sse2*)  echo "$as_me:16350: checking if the assembler knows about SSE2 instructions" >&5
   echo $ECHO_N "checking if the assembler knows about SSE2 instructions... $ECHO_C" >&6
   if test "${gmp_cv_asm_x86_sse2+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.s <<EOF
           .text
           paddq   %mm0, %mm1
 EOF  EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:16360: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:16363: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_x86_sse2=yes
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     gmp_cv_asm_x86_sse2=no
   fi
   rm -f conftest*
   
 fi  fi
   echo "$as_me:16376: result: $gmp_cv_asm_x86_sse2" >&5
   echo "${ECHO_T}$gmp_cv_asm_x86_sse2" >&6
   case $gmp_cv_asm_x86_sse2 in
   yes)
     :
     ;;
   *)
     { echo "$as_me:16383: WARNING: +----------------------------------------------------------" >&5
   echo "$as_me: WARNING: +----------------------------------------------------------" >&2;}
     { echo "$as_me:16385: WARNING: | WARNING WARNING WARNING" >&5
   echo "$as_me: WARNING: | WARNING WARNING WARNING" >&2;}
     { echo "$as_me:16387: WARNING: | Host CPU has SSE2 code, but it can't be assembled by" >&5
   echo "$as_me: WARNING: | Host CPU has SSE2 code, but it can't be assembled by" >&2;}
     { echo "$as_me:16389: WARNING: |     $CCAS $CFLAGS" >&5
   echo "$as_me: WARNING: |     $CCAS $CFLAGS" >&2;}
     { echo "$as_me:16391: WARNING: | Non-SSE2 replacements will be used." >&5
   echo "$as_me: WARNING: | Non-SSE2 replacements will be used." >&2;}
     { echo "$as_me:16393: WARNING: | This will be an inferior build." >&5
   echo "$as_me: WARNING: | This will be an inferior build." >&2;}
     { echo "$as_me:16395: WARNING: +----------------------------------------------------------" >&5
   echo "$as_me: WARNING: +----------------------------------------------------------" >&2;}
     tmp_path=
   for i in $path; do
     case $i in
       */sse2) ;;
       *) tmp_path="$tmp_path $i" ;;
     esac
   done
   path="$tmp_path"
   
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6    ;;
 echo "configure:3813: checking for ANSI C header files" 1>&5  esac
    ;;
       esac
     ;;
   esac
   
   # The library and header checks are mostly for the benefit of supplementary
   # programs.  libgmp doesn't use anything too weird.
   
   echo "$as_me:16416: checking for ANSI C header files" >&5
   echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
 if test "${ac_cv_header_stdc+set}" = set; then  if test "${ac_cv_header_stdc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
     cat >conftest.$ac_ext <<_ACEOF
 cat >conftest.$ac_ext <<EOF  #line 16422 "configure"
 #line 3819 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdarg.h>  #include <stdarg.h>
 #include <string.h>  #include <string.h>
 #include <float.h>  #include <float.h>
   
 EOF  _ACEOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  if { (eval echo "$as_me:16430: \"$ac_cpp conftest.$ac_ext\"") >&5
 { (eval echo configure:3828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }    (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`    ac_status=$?
 if test -z "$ac_err"; then    egrep -v '^ *\+' conftest.er1 >conftest.err
   rm -rf conftest*    rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:16436: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
   ac_cv_header_stdc=yes    ac_cv_header_stdc=yes
 else  else
   echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  
   cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
   rm -rf conftest*  
   ac_cv_header_stdc=no    ac_cv_header_stdc=no
 fi  fi
 rm -f conftest*  rm -f conftest.err conftest.$ac_ext
   
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     cat >conftest.$ac_ext <<_ACEOF
 cat >conftest.$ac_ext <<EOF  #line 16458 "configure"
 #line 3846 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
 #include <string.h>  #include <string.h>
   
 EOF  _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "memchr" >/dev/null 2>&1; then    egrep "memchr" >/dev/null 2>&1; then
   :    :
 else  else
   rm -rf conftest*  
   ac_cv_header_stdc=no    ac_cv_header_stdc=no
 fi  fi
 rm -f conftest*  rm -f conftest*
Line 3860  fi
Line 16472  fi
   
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     cat >conftest.$ac_ext <<_ACEOF
 cat >conftest.$ac_ext <<EOF  #line 16476 "configure"
 #line 3866 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
   
 EOF  _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "free" >/dev/null 2>&1; then    egrep "free" >/dev/null 2>&1; then
   :    :
 else  else
   rm -rf conftest*  
   ac_cv_header_stdc=no    ac_cv_header_stdc=no
 fi  fi
 rm -f conftest*  rm -f conftest*
Line 3880  fi
Line 16490  fi
   
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 if test "$cross_compiling" = yes; then    if test "$cross_compiling" = yes; then
   :    :
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
 #line 3888 "configure"  #line 16497 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h>  #include <ctype.h>
 #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
Line 3908  main ()
Line 16518  main ()
       exit(2);        exit(2);
   exit (0);    exit (0);
 }  }
 EOF  _ACEOF
 if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  rm -f conftest$ac_exeext
 then  if { (eval echo "$as_me:16523: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:16526: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:16528: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16531: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   :    :
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: program exited with status $ac_status" >&5
   cat conftest.$ac_ext >&5  echo "$as_me: failed program was:" >&5
   rm -fr conftest*  cat conftest.$ac_ext >&5
   ac_cv_header_stdc=no  ac_cv_header_stdc=no
 fi  fi
 rm -fr conftest*  rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   
 fi  fi
   
 fi  fi
 fi  fi
 echo "$ECHO_T""$ac_cv_header_stdc" 1>&6  echo "$as_me:16544: result: $ac_cv_header_stdc" >&5
   echo "${ECHO_T}$ac_cv_header_stdc" >&6
 if test $ac_cv_header_stdc = yes; then  if test $ac_cv_header_stdc = yes; then
   cat >>confdefs.h <<\EOF  
   cat >>confdefs.h <<\EOF
 #define STDC_HEADERS 1  #define STDC_HEADERS 1
 EOF  EOF
   
 fi  fi
   
 for ac_header in getopt.h unistd.h sys/sysctl.h sys/time.h  echo "$as_me:16554: checking whether time.h and sys/time.h may both be included" >&5
 do  echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`  if test "${ac_cv_header_time+set}" = set; then
 echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 echo "configure:3940: checking for $ac_header" 1>&5  
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  else
     cat >conftest.$ac_ext <<_ACEOF
 cat >conftest.$ac_ext <<EOF  #line 16560 "configure"
 #line 3946 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_header>  #include <sys/types.h>
   #include <sys/time.h>
   #include <time.h>
   
   int
   main ()
   {
   if ((struct tm *) 0)
   return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:16576: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:16579: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:16582: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16585: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_header_time=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_header_time=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:16595: result: $ac_cv_header_time" >&5
   echo "${ECHO_T}$ac_cv_header_time" >&6
   if test $ac_cv_header_time = yes; then
   
   cat >>confdefs.h <<\EOF
   #define TIME_WITH_SYS_TIME 1
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:3952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  fi
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  
 if test -z "$ac_err"; then  # Reasons for testing:
   rm -rf conftest*  #   sys/param.h - not in mingw
   eval "$ac_ac_Header=yes"  #   sys/processor.h - solaris specific, though also present in macos
   #   sys/resource.h - not in mingw
   #   sys/sysctl.h - not in mingw
   #   sys/syssgi.h - IRIX specific
   #   sys/systemcfg.h - AIX specific
   #   sys/times.h - not in mingw
   #
   # inttypes.h, stdint.h, unistd.h and sys/types.h are already in the autoconf
   # default tests
   #
   
   for ac_header in fcntl.h locale.h sys/mman.h sys/param.h sys/processor.h sys/resource.h sys/sysctl.h sys/syssgi.h sys/systemcfg.h sys/time.h sys/times.h
   do
   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   echo "$as_me:16621: checking for $ac_header" >&5
   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   if eval "test \"\${$as_ac_Header+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   echo "$ac_err" >&5    cat >conftest.$ac_ext <<_ACEOF
   echo "configure: failed program was:" >&5  #line 16627 "configure"
   #include "confdefs.h"
   #include <$ac_header>
   _ACEOF
   if { (eval echo "$as_me:16631: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:16637: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
     eval "$as_ac_Header=yes"
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5    cat conftest.$ac_ext >&5
   rm -rf conftest*    eval "$as_ac_Header=no"
   eval "$ac_ac_Header=no"  
 fi  fi
 rm -f conftest*  rm -f conftest.err conftest.$ac_ext
 fi  fi
 echo "$ECHO_T""`eval echo '${'$ac_ac_Header'}'`" 1>&6  echo "$as_me:16656: result: `eval echo '${'$as_ac_Header'}'`" >&5
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then  echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1  #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 EOF  EOF
   
 fi  fi
 done  done
   
 echo $ECHO_N "checking for void... $ECHO_C" 1>&6  # optarg should be in unistd.h, which is already in the default includes
 echo "configure:3976: checking for void" 1>&5  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
 if test "${ac_cv_type_void+set}" = set; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                     inttypes.h stdint.h unistd.h
   do
   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   echo "$as_me:16673: checking for $ac_header" >&5
   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   if eval "test \"\${$as_ac_Header+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
 #line 3981 "configure"  #line 16679 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 $ac_includes_default  $ac_includes_default
   #include <$ac_header>
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:16685: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:16688: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:16691: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16694: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     eval "$as_ac_Header=yes"
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   eval "$as_ac_Header=no"
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:16704: result: `eval echo '${'$as_ac_Header'}'`" >&5
   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   if test `eval echo '${'$as_ac_Header'}'` = yes; then
     cat >>confdefs.h <<EOF
   #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   EOF
   
   fi
   done
   
   echo "$as_me:16714: checking whether fgetc is declared" >&5
   echo $ECHO_N "checking whether fgetc is declared... $ECHO_C" >&6
   if test "${ac_cv_have_decl_fgetc+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 16720 "configure"
   #include "confdefs.h"
   $ac_includes_default
 int  int
 main ()  main ()
 {  {
 if ((void *) 0)  #ifndef fgetc
     char *p = (char *) fgetc;
   #endif
   
     ;
   return 0;    return 0;
 if (sizeof (void))  }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:16735: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:16738: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:16741: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16744: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_have_decl_fgetc=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_have_decl_fgetc=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:16754: result: $ac_cv_have_decl_fgetc" >&5
   echo "${ECHO_T}$ac_cv_have_decl_fgetc" >&6
   if test $ac_cv_have_decl_fgetc = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_DECL_FGETC 1
   EOF
   
   else
     cat >>confdefs.h <<EOF
   #define HAVE_DECL_FGETC 0
   EOF
   
   fi
   echo "$as_me:16768: checking whether fscanf is declared" >&5
   echo $ECHO_N "checking whether fscanf is declared... $ECHO_C" >&6
   if test "${ac_cv_have_decl_fscanf+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 16774 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   #ifndef fscanf
     char *p = (char *) fscanf;
   #endif
   
     ;
   return 0;    return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:16789: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:16792: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:16795: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16798: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_have_decl_fscanf=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_have_decl_fscanf=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:16808: result: $ac_cv_have_decl_fscanf" >&5
   echo "${ECHO_T}$ac_cv_have_decl_fscanf" >&6
   if test $ac_cv_have_decl_fscanf = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_DECL_FSCANF 1
   EOF
   
   else
     cat >>confdefs.h <<EOF
   #define HAVE_DECL_FSCANF 0
   EOF
   
   fi
   echo "$as_me:16822: checking whether optarg is declared" >&5
   echo $ECHO_N "checking whether optarg is declared... $ECHO_C" >&6
   if test "${ac_cv_have_decl_optarg+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 16828 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   #ifndef optarg
     char *p = (char *) optarg;
   #endif
   
   ;    ;
   return 0;    return 0;
 }  }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:16843: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:16846: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:16849: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16852: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_have_decl_optarg=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_have_decl_optarg=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:16862: result: $ac_cv_have_decl_optarg" >&5
   echo "${ECHO_T}$ac_cv_have_decl_optarg" >&6
   if test $ac_cv_have_decl_optarg = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_DECL_OPTARG 1
 EOF  EOF
 if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  
   rm -rf conftest*  
   ac_cv_type_void=yes  
 else  else
   echo "configure: failed program was:" >&5    cat >>confdefs.h <<EOF
   cat conftest.$ac_ext >&5  #define HAVE_DECL_OPTARG 0
   rm -rf conftest*  EOF
   ac_cv_type_void=no  
 fi  fi
 rm -f conftest*  echo "$as_me:16876: checking whether ungetc is declared" >&5
   echo $ECHO_N "checking whether ungetc is declared... $ECHO_C" >&6
   if test "${ac_cv_have_decl_ungetc+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 16882 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   #ifndef ungetc
     char *p = (char *) ungetc;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:16897: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:16900: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:16903: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16906: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_have_decl_ungetc=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_have_decl_ungetc=no
 fi  fi
 echo "$ECHO_T""$ac_cv_type_void" 1>&6  rm -f conftest.$ac_objext conftest.$ac_ext
 if test $ac_cv_type_void = yes; then  fi
   echo "$as_me:16916: result: $ac_cv_have_decl_ungetc" >&5
   echo "${ECHO_T}$ac_cv_have_decl_ungetc" >&6
   if test $ac_cv_have_decl_ungetc = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_DECL_UNGETC 1
   EOF
   
   else
   cat >>confdefs.h <<EOF    cat >>confdefs.h <<EOF
 #define HAVE_VOID 1  #define HAVE_DECL_UNGETC 0
 EOF  EOF
   
 fi  fi
   echo "$as_me:16930: checking whether vfprintf is declared" >&5
   echo $ECHO_N "checking whether vfprintf is declared... $ECHO_C" >&6
   if test "${ac_cv_have_decl_vfprintf+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 16936 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   #ifndef vfprintf
     char *p = (char *) vfprintf;
   #endif
   
 echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6    ;
 echo "configure:4015: checking for preprocessor stringizing operator" 1>&5    return 0;
 if test "${ac_cv_c_stringize+set}" = set; then  }
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:16951: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:16954: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:16957: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:16960: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_have_decl_vfprintf=yes
 else  else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_have_decl_vfprintf=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:16970: result: $ac_cv_have_decl_vfprintf" >&5
   echo "${ECHO_T}$ac_cv_have_decl_vfprintf" >&6
   if test $ac_cv_have_decl_vfprintf = yes; then
   
 cat >conftest.$ac_ext <<EOF  cat >>confdefs.h <<EOF
 #line 4021 "configure"  #define HAVE_DECL_VFPRINTF 1
   EOF
   
   else
     cat >>confdefs.h <<EOF
   #define HAVE_DECL_VFPRINTF 0
   EOF
   
   fi
   
   echo "$as_me:16985: checking return type of signal handlers" >&5
   echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
   if test "${ac_cv_type_signal+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 16991 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   #include <sys/types.h>
   #include <signal.h>
   #ifdef signal
   # undef signal
   #endif
   #ifdef __cplusplus
   extern "C" void (*signal (int, void (*)(int)))(int);
   #else
   void (*signal ()) ();
   #endif
   
 #define x(y) #y  int
   main ()
   {
   int i;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17013: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17016: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17019: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17022: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_signal=void
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_signal=int
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:17032: result: $ac_cv_type_signal" >&5
   echo "${ECHO_T}$ac_cv_type_signal" >&6
   
 char *s = x(teststring);  cat >>confdefs.h <<EOF
   #define RETSIGTYPE $ac_cv_type_signal
   EOF
   
   # the default includes are sufficient for all these types
   echo "$as_me:17040: checking for intmax_t" >&5
   echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
   if test "${ac_cv_type_intmax_t+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17046 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   if ((intmax_t *) 0)
     return 0;
   if (sizeof (intmax_t))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17061: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17064: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17067: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17070: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_intmax_t=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_intmax_t=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:17080: result: $ac_cv_type_intmax_t" >&5
   echo "${ECHO_T}$ac_cv_type_intmax_t" >&6
   if test $ac_cv_type_intmax_t = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_INTMAX_T 1
 EOF  EOF
   
   fi
   echo "$as_me:17089: checking for long double" >&5
   echo $ECHO_N "checking for long double... $ECHO_C" >&6
   if test "${ac_cv_type_long_double+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17095 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   if ((long double *) 0)
     return 0;
   if (sizeof (long double))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17110: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17113: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17116: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17119: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_long_double=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_long_double=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:17129: result: $ac_cv_type_long_double" >&5
   echo "${ECHO_T}$ac_cv_type_long_double" >&6
   if test $ac_cv_type_long_double = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_LONG_DOUBLE 1
   EOF
   
   fi
   echo "$as_me:17138: checking for long long" >&5
   echo $ECHO_N "checking for long long... $ECHO_C" >&6
   if test "${ac_cv_type_long_long+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17144 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   if ((long long *) 0)
     return 0;
   if (sizeof (long long))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17159: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17162: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17165: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17168: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_long_long=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_long_long=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:17178: result: $ac_cv_type_long_long" >&5
   echo "${ECHO_T}$ac_cv_type_long_long" >&6
   if test $ac_cv_type_long_long = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_LONG_LONG 1
   EOF
   
   fi
   echo "$as_me:17187: checking for ptrdiff_t" >&5
   echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
   if test "${ac_cv_type_ptrdiff_t+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17193 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   if ((ptrdiff_t *) 0)
     return 0;
   if (sizeof (ptrdiff_t))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17208: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17211: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17214: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17217: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_ptrdiff_t=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_ptrdiff_t=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:17227: result: $ac_cv_type_ptrdiff_t" >&5
   echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
   if test $ac_cv_type_ptrdiff_t = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_PTRDIFF_T 1
   EOF
   
   fi
   echo "$as_me:17236: checking for quad_t" >&5
   echo $ECHO_N "checking for quad_t... $ECHO_C" >&6
   if test "${ac_cv_type_quad_t+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17242 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   if ((quad_t *) 0)
     return 0;
   if (sizeof (quad_t))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17257: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17260: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17263: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17266: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_quad_t=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_quad_t=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:17276: result: $ac_cv_type_quad_t" >&5
   echo "${ECHO_T}$ac_cv_type_quad_t" >&6
   if test $ac_cv_type_quad_t = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_QUAD_T 1
   EOF
   
   fi
   
   echo "$as_me:17286: checking for preprocessor stringizing operator" >&5
   echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" >&6
   if test "${ac_cv_c_stringize+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17292 "configure"
   #include "confdefs.h"
   #define x(y) #y
   
   char *s = x(teststring);
   _ACEOF
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   egrep "#teststring" >/dev/null 2>&1; then    egrep "#teststring" >/dev/null 2>&1; then
   rm -rf conftest*  
   ac_cv_c_stringize=no    ac_cv_c_stringize=no
 else  else
   rm -rf conftest*  
   ac_cv_c_stringize=yes    ac_cv_c_stringize=yes
 fi  fi
 rm -f conftest*  rm -f conftest*
   
 fi  fi
   echo "$as_me:17307: result: $ac_cv_c_stringize" >&5
   echo "${ECHO_T}$ac_cv_c_stringize" >&6
   if test $ac_cv_c_stringize = yes; then
   
 if test "${ac_cv_c_stringize}" = yes; then  cat >>confdefs.h <<\EOF
   cat >>confdefs.h <<\EOF  
 #define HAVE_STRINGIZE 1  #define HAVE_STRINGIZE 1
 EOF  EOF
   
 fi  fi
 echo "$ECHO_T""${ac_cv_c_stringize}" 1>&6  
   
 for ac_func in getopt_long getpagesize popen processor_info strtoul sysconf sysctlbyname  echo "$as_me:17317: checking for working volatile" >&5
 do  echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`  if test "${ac_cv_c_volatile+set}" = set; then
 echo $ECHO_N "checking for $ac_func... $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 echo "configure:4053: checking for $ac_func" 1>&5  
 if eval "test \"\${$ac_ac_var+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<_ACEOF
 #line 4058 "configure"  #line 17323 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  
     which can conflict with char $ac_func(); below.  */  
 #include <assert.h>  
 /* Override any gcc2 internal prototype to avoid an error.  */  
 /* We use char because int might match the return type of a gcc2  
     builtin and then its argument prototype would still apply.  */  
 char $ac_func();  
 char (*f)();  
   
 int  int
 main()  main ()
 {  {
   
 /* The GNU C library defines this for functions which it implements  volatile int x;
     to always fail with ENOSYS.  Some functions are actually named  int * volatile y;
     something starting with __ and the normal name is an alias.  */    ;
 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)    return 0;
 choke me  }
 #else  _ACEOF
 f = $ac_func;  rm -f conftest.$ac_objext
 #endif  if { (eval echo "$as_me:17337: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17340: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17343: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17346: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_c_volatile=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_c_volatile=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:17356: result: $ac_cv_c_volatile" >&5
   echo "${ECHO_T}$ac_cv_c_volatile" >&6
   if test $ac_cv_c_volatile = no; then
   
   cat >>confdefs.h <<\EOF
   #define volatile
   EOF
   
   fi
   
   echo "$as_me:17366: checking whether <stdarg.h> exists and works" >&5
   echo $ECHO_N "checking whether <stdarg.h> exists and works... $ECHO_C" >&6
   if test "${gmp_cv_c_stdarg+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17372 "configure"
   #include "confdefs.h"
   #include <stdarg.h>
   int foo (int x, ...)
   {
     va_list  ap;
     int      y;
     va_start (ap, x);
     y = va_arg (ap, int);
     va_end (ap);
     return y;
   }
   int
   main ()
   {
   
   ;    ;
   return 0;    return 0;
 }  }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17393: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17396: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17399: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17402: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     gmp_cv_c_stdarg=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   gmp_cv_c_stdarg=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   
   fi
   echo "$as_me:17413: result: $gmp_cv_c_stdarg" >&5
   echo "${ECHO_T}$gmp_cv_c_stdarg" >&6
   if test $gmp_cv_c_stdarg = yes; then
   
   cat >>confdefs.h <<\EOF
   #define HAVE_STDARG 1
 EOF  EOF
 if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  
   rm -rf conftest*  fi
   eval "$ac_ac_var=yes"  
   echo "$as_me:17423: checking whether gcc __attribute__ ((const)) works" >&5
   echo $ECHO_N "checking whether gcc __attribute__ ((const)) works... $ECHO_C" >&6
   if test "${gmp_cv_c_attribute_const+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   echo "configure: failed program was:" >&5    cat >conftest.$ac_ext <<_ACEOF
   cat conftest.$ac_ext >&5  #line 17429 "configure"
   rm -rf conftest*  #include "confdefs.h"
   eval "$ac_ac_var=no"  int foo (int x) __attribute__ ((const));
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17441: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17444: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17447: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17450: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     gmp_cv_c_attribute_const=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   gmp_cv_c_attribute_const=no
 fi  fi
 rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
   
 fi  fi
 echo "$ECHO_T""`eval echo '${'$ac_ac_var'}'`" 1>&6  echo "$as_me:17461: result: $gmp_cv_c_attribute_const" >&5
 if test `eval echo '${'$ac_ac_var'}'` = yes; then  echo "${ECHO_T}$gmp_cv_c_attribute_const" >&6
   cat >>confdefs.h <<EOF  if test $gmp_cv_c_attribute_const = yes; then
 #define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1  
   cat >>confdefs.h <<\EOF
   #define HAVE_ATTRIBUTE_CONST 1
 EOF  EOF
   
 fi  fi
 done  
   
 echo $ECHO_N "checking if ansi2knr should be used... $ECHO_C" 1>&6  echo "$as_me:17471: checking whether gcc __attribute__ ((malloc)) works" >&5
 echo "configure:4108: checking if ansi2knr should be used" 1>&5  echo $ECHO_N "checking whether gcc __attribute__ ((malloc)) works... $ECHO_C" >&6
 if test "${gmp_cv_c_ansi2knr+set}" = set; then  if test "${gmp_cv_c_attribute_malloc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   cat >conftest.c <<EOF    cat >conftest.c <<EOF
 int main (int argc, char *argv) { return 0; }  void *foo (int x) __attribute__ ((malloc));
 EOF  EOF
 if { (eval echo configure:4115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  gmp_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >conftest.out 2>&1"
   gmp_cv_c_ansi2knr=no  if { (eval echo "$as_me:17480: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:17483: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     if grep "attribute directive ignored" conftest.out >/dev/null; then
       gmp_cv_c_attribute_malloc=no
     else
       gmp_cv_c_attribute_malloc=yes
     fi
 else  else
   gmp_cv_c_ansi2knr=yes    gmp_cv_c_attribute_malloc=no
 fi  fi
 rm -f conftest.*  cat conftest.out >&5
   rm -f conftest*
   
 fi  fi
 echo "$ECHO_T""$gmp_cv_c_ansi2knr" 1>&6  echo "$as_me:17497: result: $gmp_cv_c_attribute_malloc" >&5
 if test $gmp_cv_c_ansi2knr = no; then  echo "${ECHO_T}$gmp_cv_c_attribute_malloc" >&6
   U= ANSI2KNR=  if test $gmp_cv_c_attribute_malloc = yes; then
 else  
   U=_ ANSI2KNR=./ansi2knr  
   # Ensure some checks needed by ansi2knr itself.  
   
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6  cat >>confdefs.h <<\EOF
 echo "configure:4131: checking for ANSI C header files" 1>&5  #define HAVE_ATTRIBUTE_MALLOC 1
 if test "${ac_cv_header_stdc+set}" = set; then  EOF
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  
   
 cat >conftest.$ac_ext <<EOF  fi
 #line 4137 "configure"  
   echo "$as_me:17507: checking whether gcc __attribute__ ((mode (XX))) works" >&5
   echo $ECHO_N "checking whether gcc __attribute__ ((mode (XX))) works... $ECHO_C" >&6
   if test "${gmp_cv_c_attribute_mode+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17513 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  typedef int SItype __attribute__ ((mode (SI)));
 #include <stdarg.h>  int
 #include <string.h>  main ()
 #include <float.h>  {
   
 EOF    ;
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"    return 0;
 { (eval echo configure:4146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  _ACEOF
 if test -z "$ac_err"; then  rm -f conftest.$ac_objext
   rm -rf conftest*  if { (eval echo "$as_me:17525: \"$ac_compile\"") >&5
   ac_cv_header_stdc=yes    (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17528: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17531: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17534: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     gmp_cv_c_attribute_mode=yes
 else  else
   echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5
   cat conftest.$ac_ext >&5  gmp_cv_c_attribute_mode=no
   rm -rf conftest*  
   ac_cv_header_stdc=no  
 fi  fi
 rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
   
 if test $ac_cv_header_stdc = yes; then  fi
   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.  echo "$as_me:17545: result: $gmp_cv_c_attribute_mode" >&5
   echo "${ECHO_T}$gmp_cv_c_attribute_mode" >&6
   if test $gmp_cv_c_attribute_mode = yes; then
   
 cat >conftest.$ac_ext <<EOF  cat >>confdefs.h <<\EOF
 #line 4164 "configure"  #define HAVE_ATTRIBUTE_MODE 1
   EOF
   
   fi
   
   echo "$as_me:17555: checking whether gcc __attribute__ ((noreturn)) works" >&5
   echo $ECHO_N "checking whether gcc __attribute__ ((noreturn)) works... $ECHO_C" >&6
   if test "${gmp_cv_c_attribute_noreturn+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17561 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <string.h>  void foo (int x) __attribute__ ((noreturn));
   int
   main ()
   {
   
 EOF    ;
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |    return 0;
   egrep "memchr" >/dev/null 2>&1; then  }
   :  _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17573: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17576: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17579: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17582: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     gmp_cv_c_attribute_noreturn=yes
 else  else
   rm -rf conftest*    echo "$as_me: failed program was:" >&5
   ac_cv_header_stdc=no  cat conftest.$ac_ext >&5
   gmp_cv_c_attribute_noreturn=no
 fi  fi
 rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
   
 fi  fi
   echo "$as_me:17593: result: $gmp_cv_c_attribute_noreturn" >&5
   echo "${ECHO_T}$gmp_cv_c_attribute_noreturn" >&6
   if test $gmp_cv_c_attribute_noreturn = yes; then
   
 if test $ac_cv_header_stdc = yes; then  cat >>confdefs.h <<\EOF
   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.  #define HAVE_ATTRIBUTE_NORETURN 1
   EOF
   
 cat >conftest.$ac_ext <<EOF  fi
 #line 4184 "configure"  
   echo "$as_me:17603: checking for inline" >&5
   echo $ECHO_N "checking for inline... $ECHO_C" >&6
   if test "${gmp_cv_c_inline+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     gmp_cv_c_inline=no
   for i in inline __inline__ __inline; do
     cat >conftest.$ac_ext <<_ACEOF
   #line 17611 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #ifndef __cplusplus
   typedef int foo_t;
   $i foo_t func1 () { return 0; }
   static $i foo_t func2 () { return 0; }
   #endif
   int
   main ()
   {
   
 EOF    ;
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |    return 0;
   egrep "free" >/dev/null 2>&1; then  }
   :  _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17627: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17630: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17633: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17636: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     gmp_cv_c_inline=$i
       break
 else  else
   rm -rf conftest*    echo "$as_me: failed program was:" >&5
   ac_cv_header_stdc=no  cat conftest.$ac_ext >&5
 fi  fi
 rm -f conftest*  rm -f conftest.$ac_objext conftest.$ac_ext
   done
   if test $gmp_cv_c_inline = inline; then
     gmp_cv_c_inline=yes
   fi
   
 fi  fi
   echo "$as_me:17651: result: $gmp_cv_c_inline" >&5
   echo "${ECHO_T}$gmp_cv_c_inline" >&6
   case $gmp_cv_c_inline in
     inline | yes) ;;
     no)
   cat >>confdefs.h <<\EOF
   #define inline
   EOF
    ;;
     *)  cat >>confdefs.h <<EOF
   #define inline $gmp_cv_c_inline
   EOF
    ;;
   esac
   
 if test $ac_cv_header_stdc = yes; then  case $gmp_cv_c_inline in
   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.  no) ;;
 if test "$cross_compiling" = yes; then  *)
     cat >conftest.$ac_ext <<_ACEOF
   #line 17670 "configure"
   #include "confdefs.h"
   #define __GMP_WITHIN_CONFIGURE_INLINE 1
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   #ifndef __GMP_EXTERN_INLINE
   die die die
   #endif
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:17693: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:17696: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:17699: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17702: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
   :    :
 else  else
   cat >conftest.$ac_ext <<EOF    echo "$as_me: failed program was:" >&5
 #line 4206 "configure"  cat conftest.$ac_ext >&5
   case $gmp_cv_c_inline in
     yes) tmp_inline=inline ;;
     *)   tmp_inline=$gmp_cv_c_inline ;;
     esac
     { echo "$as_me:17712: WARNING: gmp.h doesnt recognise compiler \"$tmp_inline\", inlines will be unavailable" >&5
   echo "$as_me: WARNING: gmp.h doesnt recognise compiler \"$tmp_inline\", inlines will be unavailable" >&2;}
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
     ;;
   esac
   
   # from libtool
   LIBM=
   case $host in
   *-*-beos* | *-*-cygwin* | *-*-pw32*)
     # These system don't have libm
     ;;
   *-ncr-sysv4.3*)
     echo "$as_me:17726: checking for _mwvalidcheckl in -lmw" >&5
   echo $ECHO_N "checking for _mwvalidcheckl in -lmw... $ECHO_C" >&6
   if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lmw  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 17734 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h>  
 #if ((' ' & 0x0FF) == 0x020)  /* Override any gcc2 internal prototype to avoid an error.  */
 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')  #ifdef __cplusplus
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))  extern "C"
 #else  
 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \  
                      || ('j' <= (c) && (c) <= 'r') \  
                      || ('s' <= (c) && (c) <= 'z'))  
 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))  
 #endif  #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char _mwvalidcheckl ();
   int
   main ()
   {
   _mwvalidcheckl ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:17753: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:17756: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:17759: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17762: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_mw__mwvalidcheckl=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_mw__mwvalidcheckl=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:17773: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
   echo "${ECHO_T}$ac_cv_lib_mw__mwvalidcheckl" >&6
   if test $ac_cv_lib_mw__mwvalidcheckl = yes; then
     LIBM="-lmw"
   fi
   
 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))    echo "$as_me:17779: checking for main in -lm" >&5
   echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
   if test "${ac_cv_lib_m_main+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lm  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 17787 "configure"
   #include "confdefs.h"
   
 int  int
 main ()  main ()
 {  {
   int i;  main ();
   for (i = 0; i < 256; i++)    ;
     if (XOR (islower (i), ISLOWER (i))    return 0;
         || toupper (i) != TOUPPER (i))  
       exit(2);  
   exit (0);  
 }  }
 EOF  _ACEOF
 if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  rm -f conftest.$ac_objext conftest$ac_exeext
 then  if { (eval echo "$as_me:17799: \"$ac_link\"") >&5
   :    (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:17802: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:17805: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17808: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_m_main=yes
 else  else
   echo "configure: failed program was:" >&5    echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5  cat conftest.$ac_ext >&5
   rm -fr conftest*  ac_cv_lib_m_main=no
   ac_cv_header_stdc=no  
 fi  fi
 rm -fr conftest*  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:17819: result: $ac_cv_lib_m_main" >&5
   echo "${ECHO_T}$ac_cv_lib_m_main" >&6
   if test $ac_cv_lib_m_main = yes; then
     LIBM="$LIBM -lm"
   fi
   
     ;;
   *)
     echo "$as_me:17827: checking for main in -lm" >&5
   echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
   if test "${ac_cv_lib_m_main+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lm  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 17835 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   main ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:17847: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:17850: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:17853: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17856: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_m_main=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_m_main=no
 fi  fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:17867: result: $ac_cv_lib_m_main" >&5
   echo "${ECHO_T}$ac_cv_lib_m_main" >&6
   if test $ac_cv_lib_m_main = yes; then
     LIBM="-lm"
   fi
   
     ;;
   esac
   
   # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   # for constant arguments.  Useless!
   echo "$as_me:17878: checking for working alloca.h" >&5
   echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   if test "${gmp_cv_header_alloca+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 17884 "configure"
   #include "confdefs.h"
   #include <alloca.h>
   int
   main ()
   {
   char *p = (char *) alloca (2 * sizeof (int));
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:17896: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:17899: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:17902: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17905: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     gmp_cv_header_alloca=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   gmp_cv_header_alloca=no
 fi  fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi  fi
 echo "$ECHO_T""$ac_cv_header_stdc" 1>&6  echo "$as_me:17915: result: $gmp_cv_header_alloca" >&5
 if test $ac_cv_header_stdc = yes; then  echo "${ECHO_T}$gmp_cv_header_alloca" >&6
   cat >>confdefs.h <<\EOF  if test $gmp_cv_header_alloca = yes; then
 #define STDC_HEADERS 1  
   cat >>confdefs.h <<\EOF
   #define HAVE_ALLOCA_H 1
 EOF  EOF
   
 fi  fi
   
   for ac_header in string.h  echo "$as_me:17925: checking for alloca (via gmp-impl.h)" >&5
 do  echo $ECHO_N "checking for alloca (via gmp-impl.h)... $ECHO_C" >&6
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`  if test "${gmp_cv_func_alloca+set}" = set; then
 echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" >&6
 echo "configure:4258: checking for $ac_header" 1>&5  
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then  
   echo $ECHO_N "(cached) $ECHO_C" 1>&6  
 else  else
     cat >conftest.$ac_ext <<_ACEOF
 cat >conftest.$ac_ext <<EOF  #line 17931 "configure"
 #line 4264 "configure"  
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_header>  #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
 EOF  #include "$srcdir/gmp-impl.h"
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  
 { (eval echo configure:4270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  int
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  main ()
 if test -z "$ac_err"; then  {
   rm -rf conftest*  char *p = (char *) alloca (1);
   eval "$ac_ac_Header=yes"    ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:17951: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:17954: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:17957: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:17960: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     gmp_cv_func_alloca=yes
 else  else
   echo "$ac_err" >&5    echo "$as_me: failed program was:" >&5
   echo "configure: failed program was:" >&5  cat conftest.$ac_ext >&5
   cat conftest.$ac_ext >&5  gmp_cv_func_alloca=no
   rm -rf conftest*  
   eval "$ac_ac_Header=no"  
 fi  fi
 rm -f conftest*  rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
 fi  fi
 echo "$ECHO_T""`eval echo '${'$ac_ac_Header'}'`" 1>&6  echo "$as_me:17970: result: $gmp_cv_func_alloca" >&5
 if test `eval echo '${'$ac_ac_Header'}'` = yes; then  echo "${ECHO_T}$gmp_cv_func_alloca" >&6
   cat >>confdefs.h <<EOF  if test $gmp_cv_func_alloca = yes; then
 #define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1  
   cat >>confdefs.h <<\EOF
   #define HAVE_ALLOCA 1
 EOF  EOF
   
 fi  fi
 done  
   
 fi  echo "$as_me:17980: checking how to allocate temporary memory" >&5
   echo $ECHO_N "checking how to allocate temporary memory... $ECHO_C" >&6
 syntax=  if test "${gmp_cv_option_alloca+set}" = set; then
 # For now, we use the old switch for setting syntax.    echo $ECHO_N "(cached) $ECHO_C" >&6
 # FIXME: Remove when conversion to .asm is completed.  else
 case "${target}" in    case $enable_alloca in
   m680[234]0*-*-linuxaout* | m68k*-*-linuxaout* | \    yes)
   m68k-next-nextstep* | \      gmp_cv_option_alloca=alloca
   m68000*-*-*)  
     syntax=mit  
     ;;      ;;
   m680[234]0*-*-linux* | m68k*-*-linux*)    no)
     syntax=elf      gmp_cv_option_alloca=malloc-reentrant
     ;;      ;;
   m680[234]0*-*-* | m68k*-*-*)    reentrant | notreentrant)
     syntax=mit      case $gmp_cv_func_alloca in
       yes)  gmp_cv_option_alloca=alloca ;;
       *)    gmp_cv_option_alloca=malloc-$enable_alloca ;;
       esac
     ;;      ;;
     *)
       gmp_cv_option_alloca=$enable_alloca
       ;;
 esac  esac
   
 # Now build an asm-syntax.h file for targets that include that from the  fi
 # assembly files.  echo "$as_me:18004: result: $gmp_cv_option_alloca" >&5
 # FIXME: Remove when conversion to .asm is completed.  echo "${ECHO_T}$gmp_cv_option_alloca" >&6
 case "${family}-${underscore}-${asm_align}-${syntax}" in  case $gmp_cv_option_alloca in
   m68k-yes-log-mit)    alloca)
     echo '#define MIT_SYNTAX' >asm-syntax.h      if test $gmp_cv_func_alloca = no; then
     cat $srcdir/mpn/underscore.h >>asm-syntax.h        { { echo "$as_me:18009: error: --enable-alloca=alloca specified, but alloca not available" >&5
     echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;;  echo "$as_me: error: --enable-alloca=alloca specified, but alloca not available" >&2;}
   m68k-no-nolog-elf)     { (exit 1); exit 1; }; }
     echo '#define ELF_SYNTAX' >asm-syntax.h      fi
     echo '#define C_SYMBOL_NAME(name) name' >>asm-syntax.h  
     echo '#include "'$srcdir'/mpn/m68k/syntax.h"' >>asm-syntax.h;;  
 esac  
   
 # The pattern here tests for an absolute path the same way as  cat >>confdefs.h <<\EOF
 # _AC_OUTPUT_FILES in autoconf acgeneral.m4.  #define WANT_TMP_ALLOCA 1
   EOF
   
 echo "dnl  CONFIG_TOP_SRCDIR is a path from the mpn builddir to the top srcdir" >> $gmp_tmpconfigm4      ;;
     malloc-reentrant)
   
 case "$srcdir" in  cat >>confdefs.h <<\EOF
 [\\/]* | ?:[\\/]* )  #define WANT_TMP_REENTRANT 1
   EOF
   
 echo "define(<CONFIG_TOP_SRCDIR>,<\`$srcdir'>)" >> $gmp_tmpconfigm4      TAL_OBJECT=tal-reent$U.lo
     ;;      ;;
 *)    malloc-notreentrant)
   
 echo "define(<CONFIG_TOP_SRCDIR>,<\`../$srcdir'>)" >> $gmp_tmpconfigm4  cat >>confdefs.h <<\EOF
  ;;  #define WANT_TMP_NOTREENTRANT 1
   EOF
   
       TAL_OBJECT=tal-notreent$U.lo
       ;;
     debug)
   
   cat >>confdefs.h <<\EOF
   #define WANT_TMP_DEBUG 1
   EOF
   
       TAL_OBJECT=tal-debug$U.lo
       ;;
     *)
       # checks at the start of configure.in should protect us
       { { echo "$as_me:18045: error: unrecognised --enable-alloca=$gmp_cv_option_alloca" >&5
   echo "$as_me: error: unrecognised --enable-alloca=$gmp_cv_option_alloca" >&2;}
      { (exit 1); exit 1; }; }
       ;;
 esac  esac
   
 echo "include(CONFIG_TOP_SRCDIR\`/mpn/asm-defs.m4')" >> $gmp_tmpconfigm4p  cat >conftest.$ac_ext <<_ACEOF
   #line 18052 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
 # Must be after asm-defs.m4  #if ! _GMP_H_HAVE_FILE
   die die die
   #endif
   
 echo "define_not_for_expansion(\`HAVE_TARGET_CPU_$target_cpu')" >> $gmp_tmpconfigm4p  int
   main ()
   {
   
 case "$target" in    ;
   alpha*-cray-unicos*)    return 0;
     gmp_m4postinc="alpha/unicos.m4"  }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:18075: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:18078: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:18081: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18084: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   { echo "$as_me:18090: WARNING: gmp.h doesnt recognise <stdio.h>, FILE prototypes will be unavailable" >&5
   echo "$as_me: WARNING: gmp.h doesnt recognise <stdio.h>, FILE prototypes will be unavailable" >&2;}
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   
   case $host in
     vax*-*-*)
       # not IEEE (neither D nor G formats are IEEE)
     ;;      ;;
   alpha*-*-*)    none-*-*)
     gmp_m4postinc="alpha/default.m4"      # don't worry about this when CPU "none"
     ;;      ;;
   power*-*-*)    *)
     case "$target" in      case $path in
       *-*-mach* | *-*-rhapsody* | *-*-nextstep*)        *cray/cfp*)
         ;;      # these use non-conventional assembly syntax.          # not IEEE
       powerpc64-*-aix*)  
         gmp_m4postinc="powerpc32/regmap.m4 powerpc64/aix.m4"  
         ;;          ;;
       *-*-aix*)  
         gmp_m4postinc="powerpc32/regmap.m4 powerpc32/aix.m4"  
         ;;  
       *)        *)
         gmp_m4postinc="powerpc32/regmap.m4"          cat >conftest.$ac_ext <<_ACEOF
         ;;  #line 18109 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   #include "$srcdir/gmp-impl.h"
   #ifndef _GMP_IEEE_FLOATS
   die die die
   #endif
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:18133: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:18136: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:18139: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18142: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   
             { echo "$as_me:18149: WARNING: gmp-impl.h doesnt recognise \"double\" as IEEE." >&5
   echo "$as_me: WARNING: gmp-impl.h doesnt recognise \"double\" as IEEE." >&2;}
             { echo "$as_me:18151: WARNING: If your CPU floats are in fact IEEE then you" >&5
   echo "$as_me: WARNING: If your CPU floats are in fact IEEE then you" >&2;}
             { echo "$as_me:18153: WARNING: might like to augment the tests there." >&5
   echo "$as_me: WARNING: might like to augment the tests there." >&2;}
   
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
           ;;
     esac      esac
     ;;      ;;
 esac  esac
   
 for tmp_f in $gmp_m4postinc; do  # FIXME: Autoconf 2.52 AC_C_BIGENDIAN bombs when cross compiling, but in the
   # future the probes will be better and this override can be removed.
   if test "$cross_compiling" = yes; then
     ac_cv_c_bigendian=unknown
   fi
   echo "$as_me:18168: checking whether byte ordering is bigendian" >&5
   echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
   if test "${ac_cv_c_bigendian+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_cv_c_bigendian=unknown
   # See if sys/param.h defines the BYTE_ORDER macro.
   cat >conftest.$ac_ext <<_ACEOF
   #line 18176 "configure"
   #include "confdefs.h"
   #include <sys/types.h>
   #include <sys/param.h>
   
 echo "include_mpn(\`$tmp_f')" >> $gmp_tmpconfigm4p  int
   main ()
   {
   #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    bogus endian macros
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:18193: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:18196: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:18199: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18202: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     # It does; now see whether it defined to BIG_ENDIAN or not.
   cat >conftest.$ac_ext <<_ACEOF
   #line 18206 "configure"
   #include "confdefs.h"
   #include <sys/types.h>
   #include <sys/param.h>
   
   int
   main ()
   {
   #if BYTE_ORDER != BIG_ENDIAN
    not big endian
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:18223: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:18226: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:18229: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18232: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_c_bigendian=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_c_bigendian=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   if test $ac_cv_c_bigendian = unknown; then
   if test "$cross_compiling" = yes; then
     { { echo "$as_me:18248: error: cannot run test program while cross compiling" >&5
   echo "$as_me: error: cannot run test program while cross compiling" >&2;}
      { (exit 1); exit 1; }; }
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 18253 "configure"
   #include "confdefs.h"
   int
   main ()
   {
     /* Are we little or big endian?  From Harbison&Steele.  */
     union
     {
       long l;
       char c[sizeof (long)];
     } u;
     u.l = 1;
     exit (u.c[sizeof (long) - 1] == 1);
   }
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:18269: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:18272: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:18274: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18277: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_c_bigendian=no
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_c_bigendian=yes
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   fi
   fi
   echo "$as_me:18290: result: $ac_cv_c_bigendian" >&5
   echo "${ECHO_T}$ac_cv_c_bigendian" >&6
   if test $ac_cv_c_bigendian = yes; then
   
   cat >>confdefs.h <<\EOF
   #define WORDS_BIGENDIAN 1
   EOF
   
   fi
   
   # Enhancement: In the future AC_C_BIGENDIAN will accept these actions as
   # parameters.
   case $ac_cv_c_bigendian in
     yes)     cat >>confdefs.h <<\EOF
   #define HAVE_LIMB_BIG_ENDIAN 1
   EOF
    ;;
     no)      cat >>confdefs.h <<\EOF
   #define HAVE_LIMB_LITTLE_ENDIAN 1
   EOF
    ;;
     unknown) ;;
     *)       { { echo "$as_me:18312: error: Oops, unrecognised ac_cv_c_bigendian" >&5
   echo "$as_me: error: Oops, unrecognised ac_cv_c_bigendian" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   
   echo "$as_me:18317: checking format of \`double' floating point" >&5
   echo $ECHO_N "checking format of \`double' floating point... $ECHO_C" >&6
   if test "${gmp_cv_c_double_format+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     gmp_cv_c_double_format=unknown
   cat >conftest.c <<\EOF
   struct {
     char    before[8];
     double  x;
     char    after[8];
   } foo = {
     { 0x01, 0x23, 0x45, 0x67, 0x89, 0xAB, 0xCD, 0xEF },
     -123456789.0,
     { 0xFE, 0xDC, 0xBA, 0x98, 0x76, 0x54, 0x32, 0x10 },
   };
   EOF
   gmp_compile="$CC $CFLAGS $CPPFLAGS -c conftest.c >&5 2>&1"
   if { (eval echo "$as_me:18335: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:18338: \$? = $ac_status" >&5
     (exit $ac_status); }; then
   cat >conftest.awk <<\EOF
   
   BEGIN {
     found = 0
   }
   
   {
     for (f = 2; f <= NF; f++)
       {
         for (i = 0; i < 23; i++)
           got[i] = got[i+1];
         got[23] = $f;
   
         # match the special begin and end sequences
         if (got[0] != "001") continue
         if (got[1] != "043") continue
         if (got[2] != "105") continue
         if (got[3] != "147") continue
         if (got[4] != "211") continue
         if (got[5] != "253") continue
         if (got[6] != "315") continue
         if (got[7] != "357") continue
         if (got[16] != "376") continue
         if (got[17] != "334") continue
         if (got[18] != "272") continue
         if (got[19] != "230") continue
         if (got[20] != "166") continue
         if (got[21] != "124") continue
         if (got[22] != "062") continue
         if (got[23] != "020") continue
   
         saw = " (" got[8] " " got[9] " " got[10] " " got[11] " " got[12] " " got[13] " " got[14] " " got[15] ")"
   
         if (got[8]  == "000" &&  \
             got[9]  == "000" &&  \
             got[10] == "000" &&  \
             got[11] == "124" &&  \
             got[12] == "064" &&  \
             got[13] == "157" &&  \
             got[14] == "235" &&  \
             got[15] == "301")
           {
             print "IEEE little endian"
             found = 1
             exit
           }
   
         # ARM style little endian but with the two 4-byte halves swapped
         if (got[8]  == "064" &&  \
             got[9]  == "157" &&  \
             got[10] == "235" &&  \
             got[11] == "301" &&  \
             got[12] == "000" &&  \
             got[13] == "000" &&  \
             got[14] == "000" &&  \
             got[15] == "124")
           {
             print "IEEE little endian, swapped halves"
             found = 1
             exit
           }
   
         if (got[8]  == "301" &&  \
             got[9]  == "235" &&  \
             got[10] == "157" &&  \
             got[11] == "064" &&  \
             got[12] == "124" &&  \
             got[13] == "000" &&  \
             got[14] == "000" &&  \
             got[15] == "000")
           {
             print "IEEE big endian"
             found = 1
             exit
           }
   
         if (got[8]  == "353" &&  \
             got[9]  == "315" &&  \
             got[10] == "242" &&  \
             got[11] == "171" &&  \
             got[12] == "000" &&  \
             got[13] == "240" &&  \
             got[14] == "000" &&  \
             got[15] == "000")
           {
             print "VAX D"
             found = 1
             exit
           }
   
         if (got[8]  == "275" &&  \
             got[9]  == "301" &&  \
             got[10] == "064" &&  \
             got[11] == "157" &&  \
             got[12] == "000" &&  \
             got[13] == "124" &&  \
             got[14] == "000" &&  \
             got[15] == "000")
           {
             print "VAX G"
             found = 1
             exit
           }
   
         if (got[8]  == "300" &&  \
             got[9]  == "033" &&  \
             got[10] == "353" &&  \
             got[11] == "171" &&  \
             got[12] == "242" &&  \
             got[13] == "240" &&  \
             got[14] == "000" &&  \
             got[15] == "000")
           {
             print "Cray CFP"
             found = 1
             exit
           }
       }
   }
   
   END {
     if (! found)
       print "unknown", saw
   }
   
   EOF
     gmp_cv_c_double_format=`od -b conftest.$OBJEXT | $AWK -f conftest.awk`
     case $gmp_cv_c_double_format in
     unknown*)
       echo "cannot match anything, conftest.$OBJEXT contains" >&5
       od -b conftest.$OBJEXT >&5
       ;;
     esac
   else
     { echo "$as_me:18474: WARNING: oops, cannot compile test program" >&5
   echo "$as_me: WARNING: oops, cannot compile test program" >&2;}
   fi
   
   fi
   echo "$as_me:18479: result: $gmp_cv_c_double_format" >&5
   echo "${ECHO_T}$gmp_cv_c_double_format" >&6
   
   case $gmp_cv_c_double_format in
     "IEEE big endian")
       cat >>confdefs.h <<\EOF
   #define HAVE_DOUBLE_IEEE_BIG_ENDIAN 1
   EOF
    ;;
     "IEEE little endian")
       cat >>confdefs.h <<\EOF
   #define HAVE_DOUBLE_IEEE_LITTLE_ENDIAN 1
   EOF
    ;;
     "IEEE little endian, swapped halves")
       cat >>confdefs.h <<\EOF
   #define HAVE_DOUBLE_IEEE_LITTLE_SWAPPED 1
   EOF
    ;;
     "VAX D")
       cat >>confdefs.h <<\EOF
   #define HAVE_DOUBLE_VAX_D 1
   EOF
    ;;
     "VAX G")
       cat >>confdefs.h <<\EOF
   #define HAVE_DOUBLE_VAX_G 1
   EOF
    ;;
     "Cray CFP")
       cat >>confdefs.h <<\EOF
   #define HAVE_DOUBLE_CRAY_CFP 1
   EOF
    ;;
     unknown*)
       ;;
     *)
       { echo "$as_me:18516: WARNING: oops, unrecognised float format: $gmp_cv_c_double_format" >&5
   echo "$as_me: WARNING: oops, unrecognised float format: $gmp_cv_c_double_format" >&2;}
       ;;
   esac
   
   # On m68k NetBSD 1.4.1 getrusage() is doubtful.  ru_utime looks microsecond
   # accurate but has been seen remaining unchanged after many microseconds
   # have elapsed.  This upsets the tune and speed programs, so pretend it
   # doesn't exist.
   #
   # FIXME: Would prefer tune/time.c to do a run-time test for this rather than
   # driving it from the system name.
   #
   case $host in
     m68*-*-netbsd1.4*) ac_cv_func_getrusage=no ;;
   esac
   
   # Reasons for testing:
   #   alarm - not in mingw
   #   clock_gettime - not in glibc 2.2.4, only very recent systems
   #   cputime - not in glibc
   #   gettimeofday - not in mingw
   #   mmap - not in mingw, djgpp
   #   obstack_vprintf - glibc specific
   #   processor_info - solaris specific
   #   read_real_time - AIX specific
   #   sigaction - not in mingw
   #   sigaltstack - not in mingw, old AIX (reputedly)
   #   sigstack - not in mingw
   #   strnlen - glibc extension
   #   syssgi - IRIX specific
   #   times - not in mingw
   #
   # clock_gettime is in librt on *-*-osf5.1.  We could look for it
   # there, but that's not worth bothering with unless it has a decent
   # resolution (in a quick test clock_getres said only 1 millisecond).
   #
   
   for ac_func in alarm clock clock_gettime cputime getpagesize getrusage gettimeofday localeconv memset mmap mprotect obstack_vprintf popen processor_info read_real_time sigaction sigaltstack sigstack syssgi strchr strnlen strtoul sysconf sysctl sysctlbyname times
   do
   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   echo "$as_me:18557: checking for $ac_func" >&5
   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   if eval "test \"\${$as_ac_var+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 18563 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char $ac_func (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char $ac_func ();
   char (*f) ();
   
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   choke me
   #else
   f = $ac_func;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:18594: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:18597: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:18600: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18603: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     eval "$as_ac_var=yes"
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   eval "$as_ac_var=no"
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:18613: result: `eval echo '${'$as_ac_var'}'`" >&5
   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   if test `eval echo '${'$as_ac_var'}'` = yes; then
     cat >>confdefs.h <<EOF
   #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   EOF
   
   fi
 done  done
   
 # Set up `gmp_links'.  It's a list of link:file pairs that configure will  # FIXME: Would have done this with an AM_CONDITIONAL, but automake 1.5
 # process to create link -> file.  # doesn't like that under libgmp_la_DEPENDENCIES.
 gmp_links=  
   
 # If the user specified `MPN_PATH', use that instead of the path we've  echo "$as_me:18626: checking for vsnprintf" >&5
 # come up with.  echo $ECHO_N "checking for vsnprintf... $ECHO_C" >&6
 if test -z "$MPN_PATH"; then  if test "${ac_cv_func_vsnprintf+set}" = set; then
   path="$path generic"    echo $ECHO_N "(cached) $ECHO_C" >&6
 else  else
   path="$MPN_PATH"    cat >conftest.$ac_ext <<_ACEOF
   #line 18632 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char vsnprintf (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char vsnprintf ();
   char (*f) ();
   
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
   choke me
   #else
   f = vsnprintf;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:18663: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:18666: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:18669: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18672: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_func_vsnprintf=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_func_vsnprintf=no
 fi  fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:18682: result: $ac_cv_func_vsnprintf" >&5
   echo "${ECHO_T}$ac_cv_func_vsnprintf" >&6
   if test $ac_cv_func_vsnprintf = yes; then
     gmp_vsnprintf_exists=yes
   else
     gmp_vsnprintf_exists=no
   fi
   
   if test "$gmp_vsnprintf_exists" = no; then
     gmp_cv_func_vsnprintf=no
   else
     echo "$as_me:18693: checking whether vsnprintf works" >&5
   echo $ECHO_N "checking whether vsnprintf works... $ECHO_C" >&6
   if test "${gmp_cv_func_vsnprintf+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     gmp_cv_func_vsnprintf=yes
      for i in 'check ("hello world");' 'int n; check ("%nhello world", &n);'; do
        if test "$cross_compiling" = yes; then
     gmp_cv_func_vsnprintf=probably; break
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 18704 "configure"
   #include "confdefs.h"
   
   #include <string.h>  /* for strcmp */
   #include <stdio.h>   /* for vsnprintf */
   
   #if HAVE_STDARG
   #include <stdarg.h>
   #else
   #include <varargs.h>
   #endif
   
   int
   #if HAVE_STDARG
   check (const char *fmt, ...)
   #else
   check (va_alist)
        va_dcl
   #endif
   {
     static char  buf[128];
     va_list  ap;
     int      ret;
   
   #if HAVE_STDARG
     va_start (ap, fmt);
   #else
     char *fmt;
     va_start (ap);
     fmt = va_arg (ap, char *);
   #endif
   
     ret = vsnprintf (buf, 4, fmt, ap);
   
     if (strcmp (buf, "hel") != 0)
       exit (1);
   
     /* allowed return values */
     if (ret != -1 && ret != 3 && ret != 11)
       exit (2);
   
     return 0;
   }
   
   int
   main ()
   {
   $i
     exit (0);
   }
   
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:18757: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:18760: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:18762: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:18765: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   gmp_cv_func_vsnprintf=no; break
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
     done
   
   fi
   echo "$as_me:18779: result: $gmp_cv_func_vsnprintf" >&5
   echo "${ECHO_T}$gmp_cv_func_vsnprintf" >&6
     if test "$gmp_cv_func_vsnprintf" = probably; then
       { echo "$as_me:18782: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok" >&5
   echo "$as_me: WARNING: cannot check for properly working vsnprintf when cross compiling, will assume it's ok" >&2;}
     fi
     if test "$gmp_cv_func_vsnprintf" != no; then
   
   cat >>confdefs.h <<\EOF
   #define HAVE_VSNPRINTF 1
   EOF
   
     fi
   fi
   
   if test "$gmp_cv_func_vsnprintf" = no; then
     REPL_VSNPRINTF_PRINTF_OBJ='printf/repl-vsnprintf$U.lo'
   
     REPL_VSNPRINTF_OBJ='repl-vsnprintf$U.lo'
   
   fi
   
   echo "$as_me:18801: checking whether sscanf needs writable input" >&5
   echo $ECHO_N "checking whether sscanf needs writable input... $ECHO_C" >&6
   if test "${gmp_cv_func_sscanf_writable_input+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $host in
     *-*-hpux9 | *-*-hpux9.*)
        gmp_cv_func_sscanf_writable_input=yes ;;
     *) gmp_cv_func_sscanf_writable_input=no  ;;
   esac
   
   fi
   echo "$as_me:18813: result: $gmp_cv_func_sscanf_writable_input" >&5
   echo "${ECHO_T}$gmp_cv_func_sscanf_writable_input" >&6
   case $gmp_cv_func_sscanf_writable_input in
     yes)
   cat >>confdefs.h <<\EOF
   #define SSCANF_WRITABLE_INPUT 1
   EOF
    ;;
     no)  ;;
     *)   { { echo "$as_me:18822: error: unrecognised \$gmp_cv_func_sscanf_writable_input" >&5
   echo "$as_me: error: unrecognised \$gmp_cv_func_sscanf_writable_input" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   
 # Pick the correct source files in $path and link them to mpn/.  # Pick the correct source files in $path and link them to mpn/.
 # $gmp_mpn_functions lists all functions we need.  # $gmp_mpn_functions lists all functions we need.
 #  #
Line 4396  fi
Line 18834  fi
   
 # FIXME: udiv and umul aren't in $gmp_mpn_functions_optional yet since  # FIXME: udiv and umul aren't in $gmp_mpn_functions_optional yet since
 # there's some versions of those files which should be checked for bit  # there's some versions of those files which should be checked for bit
 # rot first.  Put them in $extra_functions for each target for now,  # rot first.  Put them in $extra_functions for each host for now,
 # change to standard optionals when all are ready.  # change to standard optionals when all are ready.
   
 # Note: The following lines defining $gmp_mpn_functions_optional  # Note: The following lines defining $gmp_mpn_functions_optional
Line 4405  fi
Line 18843  fi
 #       make sure to run and examine the output from  #       make sure to run and examine the output from
 #  #
 #           % (cd macos; perl configure)  #           % (cd macos; perl configure)
   #
   # Note: $gmp_mpn_functions must have mod_1 before pre_mod_1 so the former
   #       can optionally provide the latter as an extra entrypoint.  Likewise
   #       divrem_1 and pre_divrem_1.
   
 gmp_mpn_functions_optional="copyi copyd com_n           \  gmp_mpn_functions_optional="copyi copyd com_n
   and_n andn_n nand_n ior_n iorn_n nior_n xor_n xnor_n"    and_n andn_n nand_n ior_n iorn_n nior_n xor_n xnor_n                  \
     gcd_finda invert_limb sqr_diagonal                                    \
     mul_2 mul_3 mul_4 addmul_2 addmul_3 addmul_4"
   
 gmp_mpn_functions="${extra_functions} inlines add_n sub_n mul_1 addmul_1   \  gmp_mpn_functions="$extra_functions                                        \
   submul_1 lshift rshift diveby3 divrem divrem_1 divrem_2                  \    add add_1 add_n sub sub_1 sub_n mul_1 addmul_1                           \
   mod_1 mod_1_rs pre_mod_1 dump                                            \    submul_1 lshift rshift dive_1 diveby3 divis divrem divrem_1 divrem_2     \
   mul mul_fft mul_n mul_basecase sqr_basecase random                       \    fib2_ui mod_1 mod_34lsub1 mode1o pre_divrem_1 pre_mod_1 dump             \
   random2 sqrtrem get_str set_str scan0 scan1 popcount hamdist cmp perfsqr \    mul mul_fft mul_n mul_basecase sqr_basecase random random2 pow_1         \
   bdivmod gcd_1 gcd gcdext tdiv_qr bz_divrem_n sb_divrem_mn jacbase        \    rootrem sqrtrem get_str set_str scan0 scan1 popcount hamdist cmp perfsqr \
     bdivmod gcd_1 gcd gcdext tdiv_qr dc_divrem_n sb_divrem_mn jacbase        \
   $gmp_mpn_functions_optional"    $gmp_mpn_functions_optional"
   
 # the list of all object files used by mpn/Makefile.in and the  # the list of all object files used by mpn/Makefile.in and the
Line 4422  gmp_mpn_functions="${extra_functions} inlines add_n su
Line 18867  gmp_mpn_functions="${extra_functions} inlines add_n su
 mpn_objects=  mpn_objects=
 mpn_objs_in_libgmp="mpn/mp_bases.lo"  mpn_objs_in_libgmp="mpn/mp_bases.lo"
   
 for tmp_fn in ${gmp_mpn_functions} ; do  # links from the sources, to be removed by "make distclean"
   rm -f mpn/${tmp_fn}.[Ssc] mpn/${tmp_fn}.asm  gmp_srclinks=
   
   for tmp_ext in asm S s c; do
     eval found_$tmp_ext=no
   done
   
   for tmp_fn in $gmp_mpn_functions; do
     for tmp_ext in asm S s c; do
       test "$no_create" = yes || rm -f mpn/$tmp_fn.$tmp_ext
     done
   
     # mpn_preinv_divrem_1 might have been provided by divrem_1.asm, likewise
     # mpn_preinv_mod_1 by mod_1.asm.
     case $tmp_fn in
     pre_divrem_1)
       if test "$HAVE_NATIVE_mpn_preinv_divrem_1" = yes; then continue; fi ;;
     pre_mod_1)
       if test "$HAVE_NATIVE_mpn_preinv_mod_1" = yes; then continue; fi ;;
     esac
   
   # functions that can be provided by multi-function files    # functions that can be provided by multi-function files
   tmp_mulfunc=    tmp_mulfunc=
   case $tmp_fn in    case $tmp_fn in
Line 4433  for tmp_fn in ${gmp_mpn_functions} ; do
Line 18896  for tmp_fn in ${gmp_mpn_functions} ; do
   popcount|hamdist)  tmp_mulfunc="popham"    ;;    popcount|hamdist)  tmp_mulfunc="popham"    ;;
   and_n|andn_n|nand_n | ior_n|iorn_n|nior_n | xor_n|xnor_n)    and_n|andn_n|nand_n | ior_n|iorn_n|nior_n | xor_n|xnor_n)
                      tmp_mulfunc="logops_n"  ;;                       tmp_mulfunc="logops_n"  ;;
     lshift|rshift)     tmp_mulfunc="lorrshift";;
   esac    esac
   
   found=no    found=no
Line 4441  for tmp_fn in ${gmp_mpn_functions} ; do
Line 18905  for tmp_fn in ${gmp_mpn_functions} ; do
       for tmp_ext in asm S s c; do        for tmp_ext in asm S s c; do
         tmp_file=$srcdir/mpn/$tmp_dir/$tmp_base.$tmp_ext          tmp_file=$srcdir/mpn/$tmp_dir/$tmp_base.$tmp_ext
         if test -f $tmp_file; then          if test -f $tmp_file; then
   
             # For a nails build, check if the file supports our nail bits.
             # Generic code always supports all nails.
             #
             # FIXME: When a multi-function file is selected to provide one of
             # the nails-neutral routines, like logops_n for and_n, the
             # PROLOGUE grepping will create HAVE_NATIVE_mpn_<foo> defines for
             # all functions in that file, even if they haven't all been
             # nailified.  Not sure what to do about this, it's only really a
             # problem for logops_n, and it's not too terrible to insist those
             # get nailified alwasy.
             #
             if test $GMP_NAIL_BITS != 0 && test $tmp_dir != generic; then
               case $tmp_fn in
                 and_n | ior_n | xor_n | \
                 copyi | copyd | \
                 popcount | hamdist | \
                 udiv | udiv_qrnnd | udiv_w_sdiv | udiv_fp | udiv_nfp | \
                 umul | umul_ppmm | \
                 cntlz | invert_limb)
                   # these operations are either unaffected by nails or defined
                   # to operate on full limbs
                   ;;
                 *)
                   nails=`sed -n 's/^[     ]*NAILS_SUPPORT(\(.*\))/\1/p' $tmp_file `
                   for n in $nails; do
                     case $n in
                     *-*)
                       n_start=`echo "$n" | sed -n 's/\(.*\)-.*/\1/p'`
                       n_end=`echo "$n" | sed -n 's/.*-\(.*\)/\1/p'`
                       ;;
                     *)
                       n_start=$n
                       n_end=$n
                       ;;
                     esac
                     if test $GMP_NAIL_BITS -ge $n_start && test $GMP_NAIL_BITS -le $n_end; then
                       found=yes
                       break
                     fi
                   done
                   if test $found != yes; then
                     continue
                   fi
                   ;;
               esac
             fi
   
           found=yes            found=yes
             eval found_$tmp_ext=yes
   
           mpn_objects="$mpn_objects ${tmp_fn}.lo"            if test $tmp_ext = c; then
           mpn_objs_in_libgmp="$mpn_objs_in_libgmp mpn/${tmp_fn}.lo"              tmp_u='$U'
           gmp_links="$gmp_links mpn/$tmp_fn.$tmp_ext:mpn/$tmp_dir/$tmp_base.$tmp_ext"            else
               tmp_u=
             fi
   
           # duplicate AC_DEFINEs are harmless, so it doesn't matter            mpn_objects="$mpn_objects $tmp_fn$tmp_u.lo"
           # that multi-function files get grepped here repeatedly            mpn_objs_in_libgmp="$mpn_objs_in_libgmp mpn/$tmp_fn$tmp_u.lo"
           gmp_ep="`            ac_config_links="$ac_config_links mpn/$tmp_fn.$tmp_ext:mpn/$tmp_dir/$tmp_base.$tmp_ext"
   
             gmp_srclinks="$gmp_srclinks mpn/$tmp_fn.$tmp_ext"
   
             # Duplicate AC_DEFINEs are harmless, so it doesn't matter
             # that multi-function files get grepped here repeatedly.
             # The PROLOGUE pattern excludes the optional second parameter.
             gmp_ep=`
             sed -n 's/^[        ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;              sed -n 's/^[        ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ;
             sed -n 's/^[        ]*PROLOGUE.*(\(.*\))/\1/p' $tmp_file              sed -n 's/^[        ]*PROLOGUE(\([^,]*\).*)/\1/p' $tmp_file
           `"            `
           for gmp_tmp in $gmp_ep; do            for gmp_tmp in $gmp_ep; do
             cat >>confdefs.h <<EOF              cat >>confdefs.h <<EOF
 #define HAVE_NATIVE_${gmp_tmp} 1  #define HAVE_NATIVE_$gmp_tmp 1
 EOF  EOF
   
               eval HAVE_NATIVE_$gmp_tmp=yes
           done            done
   
             case $tmp_fn in
             sqr_basecase) sqr_basecase_source=$tmp_file ;;
             esac
   
           break            break
         fi          fi
       done        done
Line 4475  EOF
Line 19002  EOF
       fi        fi
     done      done
     if test $found = no; then      if test $found = no; then
       { echo "configure: error: no version of $tmp_fn found in path: $path" 1>&2; exit 1; }        { { echo "$as_me:19005: error: no version of $tmp_fn found in path: $path" >&5
   echo "$as_me: error: no version of $tmp_fn found in path: $path" >&2;}
      { (exit 1); exit 1; }; }
     fi      fi
   fi    fi
 done  done
   
 # Create link for gmp-mparam.h.  # All cycle counters are .asm files currently
 for tmp_dir in $path ; do  if test -n "$SPEED_CYCLECOUNTER_OBJ"; then
   rm -f gmp-mparam.h    found_asm=yes
   if test -f $srcdir/mpn/${tmp_dir}/gmp-mparam.h ; then  fi
     gmp_links="$gmp_links gmp-mparam.h:mpn/${tmp_dir}/gmp-mparam.h"  
   
     # Copy any KARATSUBA_SQR_THRESHOLD in gmp-mparam.h to config.m4.  # Don't demand an m4 unless it's actually needed.
     # Some versions of sqr_basecase.asm use this.  if test $found_asm = yes; then
     tmp_gmp_karatsuba_sqr_threshold="`sed -n 's/^#define KARATSUBA_SQR_THRESHOLD[       ]*\([0-9][0-9]*\).*$/\1/p' $srcdir/mpn/${tmp_dir}/gmp-mparam.h`"  
     if test -n "$tmp_gmp_karatsuba_sqr_threshold"; then  
   
 echo "define(<KARATSUBA_SQR_THRESHOLD>,<$tmp_gmp_karatsuba_sqr_threshold>)" >> $gmp_tmpconfigm4  echo "$as_me:19020: checking for suitable m4" >&5
   echo $ECHO_N "checking for suitable m4... $ECHO_C" >&6
   if test "${gmp_cv_prog_m4+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$M4"; then
     gmp_cv_prog_m4="$M4"
   else
     cat >conftest.m4 <<\EOF
   define(dollarhash,``$#'')ifelse(dollarhash(x),1,`define(t1,Y)',
   ``bad: $# not supported (SunOS /usr/bin/m4)
   '')ifelse(eval(89),89,`define(t2,Y)',
   `bad: eval() doesnt support 8 or 9 in a constant (OpenBSD 2.6 m4)
   ')ifelse(t1`'t2,YY,`good
   ')
   EOF
     echo "trying m4" >&5
     gmp_tmp_val=`(m4 conftest.m4) 2>&5`
     echo "$gmp_tmp_val" >&5
     if test "$gmp_tmp_val" = good; then
       gmp_cv_prog_m4="m4"
     else
       IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS=":"
       ac_dummy="$PATH:/usr/5bin"
       for ac_dir in $ac_dummy; do
         test -z "$ac_dir" && ac_dir=.
         echo "trying $ac_dir/m4" >&5
         gmp_tmp_val=`($ac_dir/m4 conftest.m4) 2>&5`
         echo "$gmp_tmp_val" >&5
         if test "$gmp_tmp_val" = good; then
           gmp_cv_prog_m4="$ac_dir/m4"
           break
         fi
       done
       IFS="$ac_save_ifs"
       if test -z "$gmp_cv_prog_m4"; then
         { { echo "$as_me:19056: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." >&5
   echo "$as_me: error: No usable m4 in \$PATH or /usr/5bin (see config.log for reasons)." >&2;}
      { (exit 1); exit 1; }; }
       fi
     fi
     rm -f conftest.m4
   fi
   fi
   echo "$as_me:19064: result: $gmp_cv_prog_m4" >&5
   echo "${ECHO_T}$gmp_cv_prog_m4" >&6
   M4="$gmp_cv_prog_m4"
   
   echo "$as_me:19068: checking if m4wrap produces spurious output" >&5
   echo $ECHO_N "checking if m4wrap produces spurious output... $ECHO_C" >&6
   if test "${gmp_cv_m4_m4wrap_spurious+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     # hide the d-n-l from autoconf's error checking
   tmp_d_n_l=d""nl
   cat >conftest.m4 <<EOF
   changequote({,})define(x,)m4wrap({x})$tmp_d_n_l
   EOF
   echo test input is >&5
   cat conftest.m4 >&5
   tmp_chars=`$M4 conftest.m4 | wc -c`
   echo produces $tmp_chars chars output >&5
   rm -f conftest.m4
   if test $tmp_chars = 0; then
     gmp_cv_m4_m4wrap_spurious=no
   else
     gmp_cv_m4_m4wrap_spurious=yes
   fi
   
   fi
   echo "$as_me:19090: result: $gmp_cv_m4_m4wrap_spurious" >&5
   echo "${ECHO_T}$gmp_cv_m4_m4wrap_spurious" >&6
   
   echo "define(<M4WRAP_SPURIOUS>,<$gmp_cv_m4_m4wrap_spurious>)" >> $gmp_tmpconfigm4
   
   else
     M4=m4-not-needed
   fi
   
   # Only do the GMP_ASM checks if there's a .S or .asm wanting them.
   if test $found_asm = no && test $found_S = no; then
     gmp_asm_syntax_testing=no
   fi
   
   if test "$gmp_asm_syntax_testing" != no; then
     echo "$as_me:19105: checking how to switch to text section" >&5
   echo $ECHO_N "checking how to switch to text section... $ECHO_C" >&6
   if test "${gmp_cv_asm_text+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $host in
     *-*-aix*)  gmp_cv_asm_text=".csect .text[PR]" ;;
     *-*-hpux*) gmp_cv_asm_text=".code" ;;
     *)         gmp_cv_asm_text=".text" ;;
   esac
   
   fi
   echo "$as_me:19117: result: $gmp_cv_asm_text" >&5
   echo "${ECHO_T}$gmp_cv_asm_text" >&6
   echo "define(<TEXT>, <$gmp_cv_asm_text>)" >> $gmp_tmpconfigm4
   
     echo "$as_me:19121: checking how to switch to data section" >&5
   echo $ECHO_N "checking how to switch to data section... $ECHO_C" >&6
   if test "${gmp_cv_asm_data+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $host in
     *-*-aix*) gmp_cv_asm_data=".csect .data[RW]" ;;
     *)        gmp_cv_asm_data=".data" ;;
   esac
   
   fi
   echo "$as_me:19132: result: $gmp_cv_asm_data" >&5
   echo "${ECHO_T}$gmp_cv_asm_data" >&6
   echo "define(<DATA>, <$gmp_cv_asm_data>)" >> $gmp_tmpconfigm4
   
     echo "$as_me:19136: checking what assembly label suffix to use" >&5
   echo $ECHO_N "checking what assembly label suffix to use... $ECHO_C" >&6
   if test "${gmp_cv_asm_label_suffix+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $host in
     # Empty is only for the HP-UX hppa assembler; hppa gas requires a colon.
     *-*-hpux*) gmp_cv_asm_label_suffix=  ;;
     *)         gmp_cv_asm_label_suffix=: ;;
   esac
   
   fi
   echo "$as_me:19148: result: $gmp_cv_asm_label_suffix" >&5
   echo "${ECHO_T}$gmp_cv_asm_label_suffix" >&6
   echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_asm_label_suffix>)" >> $gmp_tmpconfigm4
   
     echo "$as_me:19152: checking how to export a symbol" >&5
   echo $ECHO_N "checking how to export a symbol... $ECHO_C" >&6
   if test "${gmp_cv_asm_globl+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $host in
     *-*-hpux*) gmp_cv_asm_globl=".export" ;;
     *)         gmp_cv_asm_globl=".globl" ;;
   esac
   
   fi
   echo "$as_me:19163: result: $gmp_cv_asm_globl" >&5
   echo "${ECHO_T}$gmp_cv_asm_globl" >&6
   echo "define(<GLOBL>, <$gmp_cv_asm_globl>)" >> $gmp_tmpconfigm4
   
   echo "$as_me:19167: checking if globals are prefixed by underscore" >&5
   echo $ECHO_N "checking if globals are prefixed by underscore... $ECHO_C" >&6
   if test "${gmp_cv_asm_underscore+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftes1.c <<EOF
   #ifdef __cplusplus
   extern "C" { void underscore_test(); }
   #endif
   main () { underscore_test(); }
   EOF
   for tmp_underscore in "" "_"; do
     cat >conftes2.s <<EOF
           $gmp_cv_asm_text
           $gmp_cv_asm_globl ${tmp_underscore}underscore_test
   ${tmp_underscore}underscore_test$gmp_cv_asm_label_suffix
   EOF
     case $host in
     *-*-aix*)
       cat >>conftes2.s <<EOF
           $gmp_cv_asm_globl .${tmp_underscore}underscore_test
   .${tmp_underscore}underscore_test$gmp_cv_asm_label_suffix
   EOF
       ;;
     esac
     gmp_compile="$CC $CFLAGS $CPPFLAGS -c conftes1.c >&5 && $CCAS $CFLAGS conftes2.s >&5 && $CC $CFLAGS conftes1.$OBJEXT conftes2.$OBJEXT >&5"
     if { (eval echo "$as_me:19193: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:19196: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       eval tmp_result$tmp_underscore=yes
     else
       eval tmp_result$tmp_underscore=no
     fi
   done
   
   if test $tmp_result_ = yes; then
     if test $tmp_result = yes; then
       { { echo "$as_me:19206: error: Test program unexpectedly links both with and without underscore." >&5
   echo "$as_me: error: Test program unexpectedly links both with and without underscore." >&2;}
      { (exit 1); exit 1; }; }
     else
       gmp_cv_asm_underscore=yes
     fi
   else
     if test $tmp_result = yes; then
       gmp_cv_asm_underscore=no
     else
       { { echo "$as_me:19216: error: Test program links neither with nor without underscore." >&5
   echo "$as_me: error: Test program links neither with nor without underscore." >&2;}
      { (exit 1); exit 1; }; }
     fi
   fi
   rm -f conftes1* conftes2* a.out
   
   fi
   echo "$as_me:19224: result: $gmp_cv_asm_underscore" >&5
   echo "${ECHO_T}$gmp_cv_asm_underscore" >&6
   if test "$gmp_cv_asm_underscore" = "yes"; then
   
   echo 'define(<GSYM_PREFIX>, <_>)' >>$gmp_tmpconfigm4
   
   else
   
   echo 'define(<GSYM_PREFIX>, <>)' >>$gmp_tmpconfigm4
   
   fi
   
   echo "$as_me:19236: checking how to switch to read-only data section" >&5
   echo $ECHO_N "checking how to switch to read-only data section... $ECHO_C" >&6
   if test "${gmp_cv_asm_rodata+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   
   case $host in
   i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*) gmp_cv_asm_rodata="$gmp_cv_asm_data" ;;
   *)           gmp_cv_asm_rodata="$gmp_cv_asm_text" ;;
   esac
   
   cat >conftest.c <<EOF
   const int foo = 123;
   EOF
   echo "Test program:" >&5
   cat conftest.c >&5
   gmp_compile="$CC $CFLAGS $CPPFLAGS -S conftest.c >&5"
   if { (eval echo "$as_me:19253: \"$gmp_compile\"") >&5
     (eval $gmp_compile) 2>&5
     ac_status=$?
     echo "$as_me:19256: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     echo "Compiler output:" >&5
     cat conftest.s >&5
     if test $gmp_cv_asm_underscore = yes; then
       tmp_gsym_prefix=_
     else
       tmp_gsym_prefix=
     fi
     # must see our label
     if grep "^${tmp_gsym_prefix}foo$gmp_cv_asm_label_suffix" conftest.s >/dev/null 2>&5; then
       # take the last directive before our label (hence skipping segments
       # getting debugging info etc)
       tmp_match=`sed -n "/^${tmp_gsym_prefix}foo$gmp_cv_asm_label_suffix/q
                           /^[.    ]*data/p
                           /^[.    ]*rdata/p
                           /^[.    ]*text/p
                           /^[.    ]*section/p
                           /^[.    ]*csect/p
                           /^[.    ]*CSECT/p" conftest.s | sed -n '$p'`
       echo "Match: $tmp_match" >&5
       if test -n "$tmp_match"; then
         gmp_cv_asm_rodata=$tmp_match
     fi      fi
     else
       echo "Couldn't find label: ^${tmp_gsym_prefix}foo$gmp_cv_asm_label_suffix" >&5
     fi
   fi
   
   fi
   echo "$as_me:19286: result: $gmp_cv_asm_rodata" >&5
   echo "${ECHO_T}$gmp_cv_asm_rodata" >&6
   echo "define(<RODATA>, <$gmp_cv_asm_rodata>)" >> $gmp_tmpconfigm4
   
     echo "$as_me:19290: checking if the export directive needs an attribute" >&5
   echo $ECHO_N "checking if the export directive needs an attribute... $ECHO_C" >&6
   if test "${gmp_cv_asm_globl_attr+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $host in
     *-*-hpux*) gmp_cv_asm_globl_attr=",entry" ;;
     *)         gmp_cv_asm_globl_attr="" ;;
   esac
   
   fi
   echo "$as_me:19301: result: $gmp_cv_asm_globl_attr" >&5
   echo "${ECHO_T}$gmp_cv_asm_globl_attr" >&6
   echo "define(<GLOBL_ATTR>, <$gmp_cv_asm_globl_attr>)" >> $gmp_tmpconfigm4
   
     echo "$as_me:19305: checking for assembler .type directive" >&5
   echo $ECHO_N "checking for assembler .type directive... $ECHO_C" >&6
   if test "${gmp_cv_asm_type+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     gmp_cv_asm_type=
   for gmp_tmp_prefix in @ \# %; do
     cat >conftest.s <<EOF
           .type   sym,${gmp_tmp_prefix}function
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19316: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19319: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     if grep "\.type pseudo-op used outside of \.def/\.endef ignored" conftest.out >/dev/null; then : ;
       else
         gmp_cv_asm_type=".type    \$1,${gmp_tmp_prefix}\$2"
         break
       fi
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     :
   fi
   rm -f conftest*
   
   done
   rm -f conftest*
   
   fi
   echo "$as_me:19339: result: $gmp_cv_asm_type" >&5
   echo "${ECHO_T}$gmp_cv_asm_type" >&6
   echo "define(<TYPE>, <$gmp_cv_asm_type>)" >> $gmp_tmpconfigm4
   
     echo "$as_me:19343: checking for assembler .size directive" >&5
   echo $ECHO_N "checking for assembler .size directive... $ECHO_C" >&6
   if test "${gmp_cv_asm_size+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     gmp_cv_asm_size=
   cat >conftest.s <<EOF
           .size   sym,1
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19353: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19356: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     if grep "\.size pseudo-op used outside of \.def/\.endef ignored" conftest.out >/dev/null; then : ;
     else
       gmp_cv_asm_size=".size      \$1,\$2"
     fi
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     :
   fi
   rm -f conftest*
   
   fi
   echo "$as_me:19372: result: $gmp_cv_asm_size" >&5
   echo "${ECHO_T}$gmp_cv_asm_size" >&6
   echo "define(<SIZE>, <$gmp_cv_asm_size>)" >> $gmp_tmpconfigm4
   
   echo "$as_me:19376: checking what prefix to use for a local label" >&5
   echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" >&6
   if test "${gmp_cv_asm_lsym_prefix+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     for gmp_tmp_pre in L .L $ L$; do
     echo "Trying $gmp_tmp_pre" >&5
     cat >conftest.s <<EOF
   dummy${gmp_cv_asm_label_suffix}
   ${gmp_tmp_pre}gurkmacka${gmp_cv_asm_label_suffix}
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19388: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19391: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     if $NM conftest.$OBJEXT >conftest.nm 2>&5; then : ; else
       cat conftest.nm >&5
       { echo "$as_me:19396: WARNING: \"$NM\" failure" >&5
   echo "$as_me: WARNING: \"$NM\" failure" >&2;}
     break      break
   fi    fi
     cat conftest.nm >&5
     if grep gurkmacka conftest.nm >/dev/null; then : ; else
       # no mention of the symbol, this is good
       gmp_cv_asm_lsym_prefix="$gmp_tmp_pre"
       break
     fi
     if grep ' [Nt] .*gurkmacka' conftest.nm >/dev/null; then
       # symbol mentioned as a local, use this if nothing better
       if test -z "$gmp_cv_asm_lsym_prefix"; then
         gmp_cv_asm_lsym_prefix="$gmp_tmp_pre"
       fi
     fi
   
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     :
   fi
   rm -f conftest*
   
 done  done
   rm -f conftest*
   if test -z "$gmp_cv_asm_lsym_prefix"; then
     gmp_cv_asm_lsym_prefix=L
     { echo "$as_me:19425: WARNING: cannot determine local label, using default $gmp_cv_asm_lsym_prefix" >&5
   echo "$as_me: WARNING: cannot determine local label, using default $gmp_cv_asm_lsym_prefix" >&2;}
   fi
   
 # Dig out the links from `gmp_links' for inclusion in DISTCLEANFILES.  fi
 gmp_srclinks=  echo "$as_me:19430: result: $gmp_cv_asm_lsym_prefix" >&5
 for f in $gmp_links; do  echo "${ECHO_T}$gmp_cv_asm_lsym_prefix" >&6
   gmp_srclinks="$gmp_srclinks `echo $f | sed 's/\(.*\):.*/\1/'`"  echo "define(<LSYM_PREFIX>, <${gmp_cv_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4
   
   cat >>confdefs.h <<EOF
   #define LSYM_PREFIX "$gmp_cv_asm_lsym_prefix"
   EOF
   
   echo "$as_me:19438: checking how to define a 32-bit word" >&5
   echo $ECHO_N "checking how to define a 32-bit word... $ECHO_C" >&6
   if test "${gmp_cv_asm_w32+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $host in
     *-*-hpux*)
       # FIXME: HPUX puts first symbol at 0x40000000, breaking our assumption
       # that it's at 0x0.  We'll have to declare another symbol before the
       # .long/.word and look at the distance between the two symbols.  The
       # only problem is that the sed expression(s) barfs (on Solaris, for
       # example) for the symbol with value 0.  For now, HPUX uses .word.
       gmp_cv_asm_w32=".word"
       ;;
     *-*-*)
       gmp_tmp_val=
       for gmp_tmp_op in .long .word; do
         cat >conftest.s <<EOF
           $gmp_cv_asm_data
           $gmp_cv_asm_globl       foo
           $gmp_tmp_op     0
   foo$gmp_cv_asm_label_suffix
           .byte   0
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19463: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19466: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_tmp_val=`$NM conftest.$OBJEXT | grep foo | \
             sed -e 's;[[][0-9][]]\(.*\);\1;' -e 's;[^1-9]*\([0-9]*\).*;\1;'`
           if test "$gmp_tmp_val" = 4; then
             gmp_cv_asm_w32="$gmp_tmp_op"
             break
           fi
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     :
   fi
   rm -f conftest*
   
       done
       rm -f conftest*
       ;;
   esac
   if test -z "$gmp_cv_asm_w32"; then
     { { echo "$as_me:19488: error: cannot determine how to define a 32-bit word" >&5
   echo "$as_me: error: cannot determine how to define a 32-bit word" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
   fi
   echo "$as_me:19494: result: $gmp_cv_asm_w32" >&5
   echo "${ECHO_T}$gmp_cv_asm_w32" >&6
   echo "define(<W32>, <$gmp_cv_asm_w32>)" >> $gmp_tmpconfigm4
   
   echo "$as_me:19498: checking if .align assembly directive is logarithmic" >&5
   echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" >&6
   if test "${gmp_cv_asm_align_log+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.s <<EOF
           $gmp_cv_asm_data
           .align  4
           $gmp_cv_asm_globl       foo
           .byte   1
           .align  4
   foo$gmp_cv_asm_label_suffix
           .byte   2
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19513: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19516: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_tmp_val=`$NM conftest.$OBJEXT | grep foo | \
        sed -e 's;[[][0-9][]]\(.*\);\1;' -e 's;[^1-9]*\([0-9]*\).*;\1;'`
     if test "$gmp_tmp_val" = "10" || test "$gmp_tmp_val" = "16"; then
       gmp_cv_asm_align_log=yes
     else
       gmp_cv_asm_align_log=no
     fi
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     { { echo "$as_me:19530: error: cannot assemble alignment test" >&5
   echo "$as_me: error: cannot assemble alignment test" >&2;}
      { (exit 1); exit 1; }; }
   fi
   rm -f conftest*
   
   fi
   echo "$as_me:19537: result: $gmp_cv_asm_align_log" >&5
   echo "${ECHO_T}$gmp_cv_asm_align_log" >&6
   
   echo "define(<ALIGN_LOGARITHMIC>,<$gmp_cv_asm_align_log>)" >> $gmp_tmpconfigm4
   
     case $host in
       m68*-*-*)
   
   echo "$as_me:19545: checking assembler instruction and register style" >&5
   echo $ECHO_N "checking assembler instruction and register style... $ECHO_C" >&6
   if test "${gmp_cv_asm_m68k_instruction+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     gmp_cv_asm_m68k_instruction=unknown
   for i in "addl %d0,%d1" "add.l %d0,%d1" "addl d0,d1" "add.l d0,d1"; do
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
           $i
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19557: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19560: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_m68k_instruction=$i
       rm -f conftest*
       break
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     :
   fi
   rm -f conftest*
   
 done  done
   
   fi
   echo "$as_me:19577: result: $gmp_cv_asm_m68k_instruction" >&5
   echo "${ECHO_T}$gmp_cv_asm_m68k_instruction" >&6
   case $gmp_cv_asm_m68k_instruction in
   "addl d0,d1")    want_dot_size=no;  want_register_percent=no  ;;
   "addl %d0,%d1")  want_dot_size=no;  want_register_percent=yes ;;
   "add.l d0,d1")   want_dot_size=yes; want_register_percent=no  ;;
   "add.l %d0,%d1") want_dot_size=yes; want_register_percent=yes ;;
   *) { { echo "$as_me:19584: error: cannot determine assembler instruction and register style" >&5
   echo "$as_me: error: cannot determine assembler instruction and register style" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   
   echo "define(<WANT_REGISTER_PERCENT>, <\`$want_register_percent'>)" >> $gmp_tmpconfigm4
   
   echo "define(<WANT_DOT_SIZE>, <\`$want_dot_size'>)" >> $gmp_tmpconfigm4
   
   echo "$as_me:19593: checking assembler addressing style" >&5
   echo $ECHO_N "checking assembler addressing style... $ECHO_C" >&6
   if test "${gmp_cv_asm_m68k_addressing+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     case $gmp_cv_asm_m68k_instruction in
   addl*)  movel=movel ;;
   add.l*) movel=move.l ;;
   *) { { echo "$as_me:19601: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5
   echo "$as_me: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   case $gmp_cv_asm_m68k_instruction in
   *"%d0,%d1") dreg=%d0; areg=%a0 ;;
   *"d0,d1")   dreg=d0;  areg=a0  ;;
   *) { { echo "$as_me:19608: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&5
   echo "$as_me: error: oops, unrecognised gmp_cv_asm_m68k_instruction" >&2;}
      { (exit 1); exit 1; }; } ;;
   esac
   cat >conftest.s <<EOF
           $gmp_cv_asm_text
           $movel  $dreg, $areg@-
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19617: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19620: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_m68k_addressing=mit
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
           $movel  $dreg, -($areg)
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19633: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19636: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_m68k_addressing=motorola
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     { { echo "$as_me:19644: error: cannot determine assembler addressing style" >&5
   echo "$as_me: error: cannot determine assembler addressing style" >&2;}
      { (exit 1); exit 1; }; }
   fi
   rm -f conftest*
   
   fi
   rm -f conftest*
   
   fi
   echo "$as_me:19654: result: $gmp_cv_asm_m68k_addressing" >&5
   echo "${ECHO_T}$gmp_cv_asm_m68k_addressing" >&6
   
   echo "define(<WANT_ADDRESSING>, <\`$gmp_cv_asm_m68k_addressing'>)" >> $gmp_tmpconfigm4
   
   echo "$as_me:19659: checking assembler shortest branches" >&5
   echo $ECHO_N "checking assembler shortest branches... $ECHO_C" >&6
   if test "${gmp_cv_asm_m68k_branches+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     gmp_cv_asm_m68k_branches=unknown
   for i in jra jbra bra; do
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
   foo$gmp_cv_asm_label_suffix
           $i      foo
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19672: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19675: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_m68k_branches=$i
     rm -f conftest*
     break
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     :
   fi
   rm -f conftest*
   
   done
   
   fi
   echo "$as_me:19692: result: $gmp_cv_asm_m68k_branches" >&5
   echo "${ECHO_T}$gmp_cv_asm_m68k_branches" >&6
   if test "$gmp_cv_asm_m68k_branches" = unknown; then
     { { echo "$as_me:19695: error: cannot determine assembler branching style" >&5
   echo "$as_me: error: cannot determine assembler branching style" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
   echo "define(<WANT_BRANCHES>, <\`$gmp_cv_asm_m68k_branches'>)" >> $gmp_tmpconfigm4
   
         ;;
       powerpc*-*-*)
   
   echo "$as_me:19705: checking if the assembler needs r on registers" >&5
   echo $ECHO_N "checking if the assembler needs r on registers... $ECHO_C" >&6
   if test "${gmp_cv_asm_powerpc_r_registers+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
           mtctr   6
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19715: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19718: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_powerpc_r_registers=no
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
           mtctr   r6
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19731: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19734: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_powerpc_r_registers=yes
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     { { echo "$as_me:19742: error: neither \"mtctr 6\" nor \"mtctr r6\" works" >&5
   echo "$as_me: error: neither \"mtctr 6\" nor \"mtctr r6\" works" >&2;}
      { (exit 1); exit 1; }; }
   fi
   rm -f conftest*
   
   fi
   rm -f conftest*
   
   fi
   echo "$as_me:19752: result: $gmp_cv_asm_powerpc_r_registers" >&5
   echo "${ECHO_T}$gmp_cv_asm_powerpc_r_registers" >&6
   
   echo "define(<WANT_R_REGISTERS>,<$gmp_cv_asm_powerpc_r_registers>)" >> $gmp_tmpconfigm4
   
   echo "include_mpn(\`powerpc32/powerpc-defs.m4')" >> $gmp_tmpconfigm4i
   
         case $host in
           powerpc*-*-aix*)
             case $ABI in
               64 | aix64)
   echo "include_mpn(\`powerpc64/aix.m4')" >> $gmp_tmpconfigm4i
    ;;
               *)
   echo "include_mpn(\`powerpc32/aix.m4')" >> $gmp_tmpconfigm4i
    ;;
             esac
             ;;
         esac
         ;;
       power*-*-aix*)
   
   echo "include_mpn(\`powerpc32/aix.m4')" >> $gmp_tmpconfigm4i
   
         ;;
       sparcv9*-*-* | ultrasparc*-*-* | sparc64-*-*)
         case $ABI in
           64)
   
   echo "$as_me:19781: checking if the assembler accepts \".register\"" >&5
   echo $ECHO_N "checking if the assembler accepts \".register\"... $ECHO_C" >&6
   if test "${gmp_cv_asm_sparc_register+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
           .register       %g2,#scratch
   
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19792: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19795: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_sparc_register=yes
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     gmp_cv_asm_sparc_register=no
   fi
   rm -f conftest*
   
   fi
   echo "$as_me:19808: result: $gmp_cv_asm_sparc_register" >&5
   echo "${ECHO_T}$gmp_cv_asm_sparc_register" >&6
   
   echo "define(<HAVE_REGISTER>,<$gmp_cv_asm_sparc_register>)" >> $gmp_tmpconfigm4
   
             ;;
         esac
         ;;
       i?86*-*-* | k[5-8]*-*-* | pentium*-*-* | athlon-*-*)
   
   echo "$as_me:19818: checking if the .align directive accepts an 0x90 fill in .text" >&5
   echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" >&6
   if test "${gmp_cv_asm_align_fill_0x90+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
           .align  4, 0x90
           .byte   0
           .align  4, 0x90
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19830: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19833: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     if grep "Warning: Fill parameter ignored for executable section" conftest.out >/dev/null; then
     echo "Supressing this warning by omitting 0x90" 1>&5
     gmp_cv_asm_align_fill_0x90=no
   else
     gmp_cv_asm_align_fill_0x90=yes
   fi
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     gmp_cv_asm_align_fill_0x90=no
   fi
   rm -f conftest*
   
   fi
   echo "$as_me:19851: result: $gmp_cv_asm_align_fill_0x90" >&5
   echo "${ECHO_T}$gmp_cv_asm_align_fill_0x90" >&6
   
   echo "define(<ALIGN_FILL_0x90>,<$gmp_cv_asm_align_fill_0x90>)" >> $gmp_tmpconfigm4
   
   echo "$as_me:19856: checking if the assembler takes cl with shldl" >&5
   echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" >&6
   if test "${gmp_cv_asm_x86_shldl_cl+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.s <<EOF
           $gmp_cv_asm_text
           shldl   %cl, %eax, %ebx
   EOF
   gmp_assemble="$CCAS $CFLAGS conftest.s >conftest.out 2>&1"
   if { (eval echo "$as_me:19866: \"$gmp_assemble\"") >&5
     (eval $gmp_assemble) 2>&5
     ac_status=$?
     echo "$as_me:19869: \$? = $ac_status" >&5
     (exit $ac_status); }; then
     cat conftest.out >&5
     gmp_cv_asm_x86_shldl_cl=yes
   else
     cat conftest.out >&5
     echo "configure: failed program was:" >&5
     cat conftest.s >&5
     gmp_cv_asm_x86_shldl_cl=no
   fi
   rm -f conftest*
   
   fi
   echo "$as_me:19882: result: $gmp_cv_asm_x86_shldl_cl" >&5
   echo "${ECHO_T}$gmp_cv_asm_x86_shldl_cl" >&6
   if test "$gmp_cv_asm_x86_shldl_cl" = "yes"; then
   
   echo 'define(<WANT_SHLDL_CL>, <1>)' >>$gmp_tmpconfigm4
   
   else
   
   echo 'define(<WANT_SHLDL_CL>, <0>)' >>$gmp_tmpconfigm4
   
   fi
   
         if test "$enable_profiling" != no; then
   
   echo "$as_me:19896: checking how to call x86 mcount" >&5
   echo $ECHO_N "checking how to call x86 mcount... $ECHO_C" >&6
   cat >conftest.c <<EOF
   foo(){bar();}
   EOF
   
   if test "$enable_static" = yes; then
     gmp_asmout_compile="$CC $CFLAGS $CPPFLAGS -S conftest.c 1>&5"
     if { (eval echo "$as_me:19904: \"$gmp_asmout_compile\"") >&5
     (eval $gmp_asmout_compile) 2>&5
     ac_status=$?
     echo "$as_me:19907: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       if grep '\.data' conftest.s >/dev/null; then
         mcount_nonpic_reg=`sed -n '/esp/!s/.*movl.*,\(%[a-z]*\).*$/\1/p' conftest.s`
       else
         mcount_nonpic_reg=
       fi
       mcount_nonpic_call=`grep 'call.*mcount' conftest.s`
       if test -z "$mcount_nonpic_call"; then
         { { echo "$as_me:19916: error: Cannot find mcount call for non-PIC" >&5
   echo "$as_me: error: Cannot find mcount call for non-PIC" >&2;}
      { (exit 1); exit 1; }; }
       fi
     else
       { { echo "$as_me:19921: error: Cannot compile test program for non-PIC" >&5
   echo "$as_me: error: Cannot compile test program for non-PIC" >&2;}
      { (exit 1); exit 1; }; }
     fi
   fi
   
   if test "$enable_shared" = yes; then
     gmp_asmout_compile="$CC $CFLAGS $CPPFLAGS $lt_prog_compiler_pic -S conftest.c 1>&5"
     if { (eval echo "$as_me:19929: \"$gmp_asmout_compile\"") >&5
     (eval $gmp_asmout_compile) 2>&5
     ac_status=$?
     echo "$as_me:19932: \$? = $ac_status" >&5
     (exit $ac_status); }; then
       if grep '\.data' conftest.s >/dev/null; then
         case $lt_prog_compiler_pic in
           *-DDLL_EXPORT*)
             # Windows DLLs have non-PIC style mcount
             mcount_pic_reg=`sed -n '/esp/!s/.*movl.*,\(%[a-z]*\).*$/\1/p' conftest.s`
             ;;
           *)
             mcount_pic_reg=`sed -n 's/.*GOTOFF.*,\(%[a-z]*\).*$/\1/p' conftest.s`
             ;;
         esac
       else
         mcount_pic_reg=
       fi
       mcount_pic_call=`grep 'call.*mcount' conftest.s`
       if test -z "$mcount_pic_call"; then
         { { echo "$as_me:19949: error: Cannot find mcount call for PIC" >&5
   echo "$as_me: error: Cannot find mcount call for PIC" >&2;}
      { (exit 1); exit 1; }; }
       fi
     else
       { { echo "$as_me:19954: error: Cannot compile test program for PIC" >&5
   echo "$as_me: error: Cannot compile test program for PIC" >&2;}
      { (exit 1); exit 1; }; }
     fi
   fi
   
   echo "define(<MCOUNT_NONPIC_REG>, <\`$mcount_nonpic_reg'>)" >> $gmp_tmpconfigm4
   
   echo "define(<MCOUNT_NONPIC_CALL>,<\`$mcount_nonpic_call'>)" >> $gmp_tmpconfigm4
   
   echo "define(<MCOUNT_PIC_REG>,    <\`$mcount_pic_reg'>)" >> $gmp_tmpconfigm4
   
   echo "define(<MCOUNT_PIC_CALL>,   <\`$mcount_pic_call'>)" >> $gmp_tmpconfigm4
   
   rm -f conftest.*
   echo "$as_me:19969: result: determined" >&5
   echo "${ECHO_T}determined" >&6
   
         fi
         case $host in
           *-*-openbsd*)
   
   echo 'define(<_GLOBAL_OFFSET_TABLE_>, <__GLOBAL_OFFSET_TABLE_>)' >>$gmp_tmpconfigm4
   
             ;;
         esac
         ;;
     esac
   fi
   
   # Create link for gmp-mparam.h.
   gmp_mparam_source=
   for gmp_mparam_dir in $path; do
     test "$no_create" = yes || rm -f gmp-mparam.h
     tmp_file=$srcdir/mpn/$gmp_mparam_dir/gmp-mparam.h
     if test -f $tmp_file; then
       ac_config_links="$ac_config_links gmp-mparam.h:mpn/$gmp_mparam_dir/gmp-mparam.h"
   
       gmp_srclinks="$gmp_srclinks gmp-mparam.h"
       gmp_mparam_source=$tmp_file
       break
     fi
   done
   if test -z "$gmp_mparam_source"; then
     { { echo "$as_me:19998: error: no version of gmp-mparam.h found in path: $path" >&5
   echo "$as_me: error: no version of gmp-mparam.h found in path: $path" >&2;}
      { (exit 1); exit 1; }; }
   fi
   
   # For a helpful message from tune/tuneup.c
   gmp_mparam_suggest=$gmp_mparam_source
   if test "$gmp_mparam_dir" = generic; then
     for i in $path; do break; done
     if test "$i" != generic; then
       gmp_mparam_suggest="new file $srcdir/mpn/$i/gmp-mparam.h"
     fi
   fi
   
   cat >>confdefs.h <<EOF
   #define GMP_MPARAM_H_SUGGEST "$gmp_mparam_source"
   EOF
   
   # Copy any SQR_KARATSUBA_THRESHOLD from gmp-mparam.h to config.m4.
   # Some versions of sqr_basecase.asm use this.
   tmp_gmp_karatsuba_sqr_threshold=`sed -n 's/^#define SQR_KARATSUBA_THRESHOLD[    ]*\([0-9][0-9]*\).*$/\1/p' $gmp_mparam_source`
   if test -n "$tmp_gmp_karatsuba_sqr_threshold"; then
   
   echo "define(<SQR_KARATSUBA_THRESHOLD>,<$tmp_gmp_karatsuba_sqr_threshold>)" >> $gmp_tmpconfigm4
   
   fi
   
   # This must come after gmp-mparam.h has been chosen.
   BITS_PER_MP_LIMB=`sed -n 's/^#define BITS_PER_MP_LIMB[  ][      ]*\([0-9]*\).*$/\1/p' $gmp_mparam_source`
   if test -n "$BITS_PER_MP_LIMB" \
      && grep "^#define BYTES_PER_MP_LIMB" $gmp_mparam_source >/dev/null; then : ;
   else
     echo "$as_me:20030: checking for mp_limb_t" >&5
   echo $ECHO_N "checking for mp_limb_t... $ECHO_C" >&6
   if test "${ac_cv_type_mp_limb_t+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20036 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   int
   main ()
   {
   if ((mp_limb_t *) 0)
     return 0;
   if (sizeof (mp_limb_t))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20058: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20061: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20064: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20067: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_mp_limb_t=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_mp_limb_t=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:20077: result: $ac_cv_type_mp_limb_t" >&5
   echo "${ECHO_T}$ac_cv_type_mp_limb_t" >&6
   
   echo "$as_me:20080: checking size of mp_limb_t" >&5
   echo $ECHO_N "checking size of mp_limb_t... $ECHO_C" >&6
   if test "${ac_cv_sizeof_mp_limb_t+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test "$ac_cv_type_mp_limb_t" = yes; then
     if test "$cross_compiling" = yes; then
     # Depending upon the size, compute the lo and hi bounds.
   cat >conftest.$ac_ext <<_ACEOF
   #line 20089 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (mp_limb_t)) >= 0)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20108: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20111: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20114: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20117: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_lo=0 ac_mid=0
     while :; do
       cat >conftest.$ac_ext <<_ACEOF
   #line 20122 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (mp_limb_t)) <= $ac_mid)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20141: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20144: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20147: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20150: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_hi=$ac_mid; break
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
     done
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_hi=-1 ac_mid=-1
     while :; do
       cat >conftest.$ac_ext <<_ACEOF
   #line 20166 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (mp_limb_t)) >= $ac_mid)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20185: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20188: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20191: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20194: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_lo=$ac_mid; break
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
     done
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   # Binary search between lo and hi bounds.
   while test "x$ac_lo" != "x$ac_hi"; do
     ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     cat >conftest.$ac_ext <<_ACEOF
   #line 20210 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (mp_limb_t)) <= $ac_mid)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20229: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20232: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20235: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20238: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_hi=$ac_mid
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_lo=`expr $ac_mid + 1`
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   done
   ac_cv_sizeof_mp_limb_t=$ac_lo
   else
     if test "$cross_compiling" = yes; then
     { { echo "$as_me:20251: error: cannot run test program while cross compiling" >&5
   echo "$as_me: error: cannot run test program while cross compiling" >&2;}
      { (exit 1); exit 1; }; }
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20256 "configure"
   #include "confdefs.h"
   #include <stdio.h>
   #define __GMP_WITHIN_CONFIGURE 1   /* ignore template stuff */
   #define GMP_NAIL_BITS $GMP_NAIL_BITS
   #define __GMP_BITS_PER_MP_LIMB 123 /* dummy for GMP_NUMB_BITS etc */
   #define GMP_LIMB_BITS 123
   $DEFN_LONG_LONG_LIMB
   #include "$srcdir/gmp-h.in"
   
   int
   main ()
   {
   FILE *f = fopen ("conftest.val", "w");
   if (!f)
     exit (1);
   fprintf (f, "%d", (sizeof (mp_limb_t)));
   fclose (f);
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:20279: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:20282: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:20284: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20287: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_sizeof_mp_limb_t=`cat conftest.val`
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   fi
   rm -f conftest.val
   else
     ac_cv_sizeof_mp_limb_t=0
   fi
   fi
   echo "$as_me:20303: result: $ac_cv_sizeof_mp_limb_t" >&5
   echo "${ECHO_T}$ac_cv_sizeof_mp_limb_t" >&6
   cat >>confdefs.h <<EOF
   #define SIZEOF_MP_LIMB_T $ac_cv_sizeof_mp_limb_t
   EOF
   
     if test "$ac_cv_sizeof_mp_limb_t" = 0; then
       { { echo "$as_me:20310: error: some sort of compiler problem, mp_limb_t doesn't seem to work" >&5
   echo "$as_me: error: some sort of compiler problem, mp_limb_t doesn't seem to work" >&2;}
      { (exit 1); exit 1; }; }
     fi
     if test -z "$BITS_PER_MP_LIMB"; then
       BITS_PER_MP_LIMB="(8*$ac_cv_sizeof_mp_limb_t)"
     fi
     if grep "^#define BYTES_PER_MP_LIMB" $gmp_mparam_source >/dev/null; then : ;
     else
   
   cat >>confdefs.h <<EOF
   #define BYTES_PER_MP_LIMB $ac_cv_sizeof_mp_limb_t
   EOF
   
     fi
   fi
   
   if grep "^#define BITS_PER_ULONG" $gmp_mparam_source >/dev/null; then : ;
   else
     case $limb_chosen in
     longlong)
       echo "$as_me:20331: checking for unsigned long" >&5
   echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
   if test "${ac_cv_type_unsigned_long+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20337 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   if ((unsigned long *) 0)
     return 0;
   if (sizeof (unsigned long))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20352: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20355: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20358: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20361: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_unsigned_long=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_unsigned_long=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:20371: result: $ac_cv_type_unsigned_long" >&5
   echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
   
   echo "$as_me:20374: checking size of unsigned long" >&5
   echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
   if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test "$ac_cv_type_unsigned_long" = yes; then
     if test "$cross_compiling" = yes; then
     # Depending upon the size, compute the lo and hi bounds.
   cat >conftest.$ac_ext <<_ACEOF
   #line 20383 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (unsigned long)) >= 0)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20395: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20398: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20401: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20404: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_lo=0 ac_mid=0
     while :; do
       cat >conftest.$ac_ext <<_ACEOF
   #line 20409 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20421: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20424: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20427: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20430: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_hi=$ac_mid; break
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
     done
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_hi=-1 ac_mid=-1
     while :; do
       cat >conftest.$ac_ext <<_ACEOF
   #line 20446 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (unsigned long)) >= $ac_mid)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20458: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20461: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20464: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20467: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_lo=$ac_mid; break
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
     done
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   # Binary search between lo and hi bounds.
   while test "x$ac_lo" != "x$ac_hi"; do
     ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     cat >conftest.$ac_ext <<_ACEOF
   #line 20483 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   int _array_ [1 - 2 * !((sizeof (unsigned long)) <= $ac_mid)]
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20495: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20498: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20501: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20504: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_hi=$ac_mid
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_lo=`expr $ac_mid + 1`
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   done
   ac_cv_sizeof_unsigned_long=$ac_lo
   else
     if test "$cross_compiling" = yes; then
     { { echo "$as_me:20517: error: cannot run test program while cross compiling" >&5
   echo "$as_me: error: cannot run test program while cross compiling" >&2;}
      { (exit 1); exit 1; }; }
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20522 "configure"
   #include "confdefs.h"
   $ac_includes_default
   int
   main ()
   {
   FILE *f = fopen ("conftest.val", "w");
   if (!f)
     exit (1);
   fprintf (f, "%d", (sizeof (unsigned long)));
   fclose (f);
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:20538: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:20541: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:20543: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20546: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_sizeof_unsigned_long=`cat conftest.val`
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   fi
   rm -f conftest.val
   else
     ac_cv_sizeof_unsigned_long=0
   fi
   fi
   echo "$as_me:20562: result: $ac_cv_sizeof_unsigned_long" >&5
   echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
   cat >>confdefs.h <<EOF
   #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
   EOF
   
   cat >>confdefs.h <<EOF
   #define BITS_PER_ULONG (8 * $ac_cv_sizeof_unsigned_long)
   EOF
   
       ;;
     *)
       # Copy the limb size when a limb is a ulong
       cat >>confdefs.h <<\EOF
   #define BITS_PER_ULONG BITS_PER_MP_LIMB
   EOF
   
       ;;
     esac
   fi
   
   echo "define(<GMP_LIMB_BITS>,$BITS_PER_MP_LIMB)" >> $gmp_tmpconfigm4
   
   echo "define(<GMP_NAIL_BITS>,$GMP_NAIL_BITS)" >> $gmp_tmpconfigm4
   
   echo "define(<GMP_NUMB_BITS>,eval(GMP_LIMB_BITS-GMP_NAIL_BITS))" >> $gmp_tmpconfigm4
   
   # Exclude the mpn random functions from mpbsd since that would drag in the
   # top-level rand things, all of which are unnecessary for libmp.  There's
   # other unnecessary objects too actually, if we could be bothered figuring
   # out exactly which they are.
   #
   mpn_objs_in_libmp=
   for i in $mpn_objs_in_libgmp; do
     case $i in
     *random*) ;;
     *) mpn_objs_in_libmp="$mpn_objs_in_libmp $i" ;;
     esac
   done
   
   # Configs for mpfr.
   #
   if test $enable_mpfr = yes; then
     gmp_CFLAGS=$CFLAGS
     gmp_LIBS=$LIBS
     LIBS="$LIBS $LIBM"
   
   case $host in
           *-*-solaris*)
                   LM9X="-lm9x"
                   ;;
   esac
   
   for ac_func in strcasecmp
   do
   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   echo "$as_me:20618: checking for $ac_func" >&5
   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   if eval "test \"\${$as_ac_var+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20624 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char $ac_func (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char $ac_func ();
   char (*f) ();
   
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   choke me
   #else
   f = $ac_func;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:20655: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:20658: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:20661: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20664: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     eval "$as_ac_var=yes"
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   eval "$as_ac_var=no"
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:20674: result: `eval echo '${'$as_ac_var'}'`" >&5
   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   if test `eval echo '${'$as_ac_var'}'` = yes; then
     cat >>confdefs.h <<EOF
   #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   EOF
   
   else
     LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
   fi
   done
   
   case $host in
   alpha*-*-*)
     saved_CFLAGS="$CFLAGS"
     echo "$as_me:20689: checking for IEEE-754 switches" >&5
   echo $ECHO_N "checking for IEEE-754 switches... $ECHO_C" >&6
   if test "${mpfr_cv_ieee_switches+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   
     if test -n "$GCC"; then
       mpfr_cv_ieee_switches="-mfp-rounding-mode=d -mieee-with-inexact"
     else
       mpfr_cv_ieee_switches="-fprm d -ieee_with_inexact"
     fi
     CFLAGS="$CFLAGS $mpfr_cv_ieee_switches"
     cat >conftest.$ac_ext <<_ACEOF
   #line 20702 "configure"
   #include "confdefs.h"
   
   int
   main ()
   {
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:20714: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:20717: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:20720: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20723: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     :
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   mpfr_cv_ieee_switches="none"
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   
   fi
   echo "$as_me:20734: result: $mpfr_cv_ieee_switches" >&5
   echo "${ECHO_T}$mpfr_cv_ieee_switches" >&6
     if test "$mpfr_cv_ieee_switches" = "none"; then
       CFLAGS="$saved_CFLAGS"
     else
       CFLAGS="$saved_CFLAGS $mpfr_cv_ieee_switches"
     fi
   esac
   
   for ac_header in fpu_control.h
   do
   as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   echo "$as_me:20746: checking for $ac_header" >&5
   echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   if eval "test \"\${$as_ac_Header+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20752 "configure"
   #include "confdefs.h"
   #include <$ac_header>
   _ACEOF
   if { (eval echo "$as_me:20756: \"$ac_cpp conftest.$ac_ext\"") >&5
     (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
     ac_status=$?
     egrep -v '^ *\+' conftest.er1 >conftest.err
     rm -f conftest.er1
     cat conftest.err >&5
     echo "$as_me:20762: \$? = $ac_status" >&5
     (exit $ac_status); } >/dev/null; then
     if test -s conftest.err; then
       ac_cpp_err=$ac_c_preproc_warn_flag
     else
       ac_cpp_err=
     fi
   else
     ac_cpp_err=yes
   fi
   if test -z "$ac_cpp_err"; then
     eval "$as_ac_Header=yes"
   else
     echo "$as_me: failed program was:" >&5
     cat conftest.$ac_ext >&5
     eval "$as_ac_Header=no"
   fi
   rm -f conftest.err conftest.$ac_ext
   fi
   echo "$as_me:20781: result: `eval echo '${'$as_ac_Header'}'`" >&5
   echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   if test `eval echo '${'$as_ac_Header'}'` = yes; then
     cat >>confdefs.h <<EOF
   #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   EOF
   
   fi
   done
   
   echo "$as_me:20791: checking for fesetround" >&5
   echo $ECHO_N "checking for fesetround... $ECHO_C" >&6
   if test "${mpfr_cv_have_fesetround+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   
   saved_LIBS="$LIBS"
   LIBS="$LIBS $LM9X"
   cat >conftest.$ac_ext <<_ACEOF
   #line 20800 "configure"
   #include "confdefs.h"
   #include <fenv.h>
   int
   main ()
   {
   fesetround(FE_TONEAREST);
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:20812: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:20815: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:20818: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20821: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     mpfr_cv_have_fesetround=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   mpfr_cv_have_fesetround=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS="$saved_LIBS"
   
   fi
   echo "$as_me:20833: result: $mpfr_cv_have_fesetround" >&5
   echo "${ECHO_T}$mpfr_cv_have_fesetround" >&6
   if test "$mpfr_cv_have_fesetround" = "yes"; then
     LIBS="$LIBS $LM9X"
   
   cat >>confdefs.h <<\EOF
   #define MPFR_HAVE_FESETROUND 1
   EOF
   
   fi
   
   for ac_func in lrand48
   do
   as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   echo "$as_me:20847: checking for $ac_func" >&5
   echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   if eval "test \"\${$as_ac_var+set}\" = set"; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20853 "configure"
   #include "confdefs.h"
   /* System header to define __stub macros and hopefully few prototypes,
       which can conflict with char $ac_func (); below.  */
   #include <assert.h>
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char $ac_func ();
   char (*f) ();
   
   int
   main ()
   {
   /* The GNU C library defines this for functions which it implements
       to always fail with ENOSYS.  Some functions are actually named
       something starting with __ and the normal name is an alias.  */
   #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   choke me
   #else
   f = $ac_func;
   #endif
   
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:20884: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:20887: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:20890: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20893: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     eval "$as_ac_var=yes"
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   eval "$as_ac_var=no"
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   fi
   echo "$as_me:20903: result: `eval echo '${'$as_ac_var'}'`" >&5
   echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   if test `eval echo '${'$as_ac_var'}'` = yes; then
     cat >>confdefs.h <<EOF
   #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   EOF
   
   fi
   done
   
   echo "$as_me:20913: checking for valid NaN" >&5
   echo $ECHO_N "checking for valid NaN... $ECHO_C" >&6
   if test "${mpfr_cv_valid_nan+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   
   if test "$cross_compiling" = yes; then
     mpfr_cv_valid_nan=no
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20923 "configure"
   #include "confdefs.h"
   
   #include <math.h>
   int main()
   {
     double x = (0.0/0.0) + sqrt(-1.0);
     return x == 1.0/0.0;
   }
   
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:20935: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:20938: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:20940: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:20943: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     mpfr_cv_valid_nan=yes
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   mpfr_cv_valid_nan=no
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   
   fi
   echo "$as_me:20956: result: $mpfr_cv_valid_nan" >&5
   echo "${ECHO_T}$mpfr_cv_valid_nan" >&6
   if test "$mpfr_cv_valid_nan" = "yes"; then
   
   cat >>confdefs.h <<\EOF
   #define HAVE_INFS 1
   EOF
   
   fi
   
   if test -n "$GCC"; then
     echo "$as_me:20967: checking for gcc float-conversion bug" >&5
   echo $ECHO_N "checking for gcc float-conversion bug... $ECHO_C" >&6
   if test "${mpfr_cv_gcc_floatconv_bug+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   
     if test "$cross_compiling" = yes; then
     mpfr_cv_gcc_floatconv_bug="cannot test, use -ffloat-store"
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 20977 "configure"
   #include "confdefs.h"
   
   #include <float.h>
   #ifdef MPFR_HAVE_FESETROUND
   #include <fenv.h>
   #endif
   int main()
   {
     double x = 0.5;
     int i;
     for (i = 1; i <= 11; i++)
       x *= x;
     if (x != 0)
       return 1;
   #ifdef MPFR_HAVE_FESETROUND
     /* Useful test for the G4 PowerPC */
     fesetround(FE_TOWARDZERO);
     x = DBL_MAX;
     x *= 2.0;
     if (x != DBL_MAX)
       return 1;
   #endif
     return 0;
   }
   
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:21005: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:21008: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:21010: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:21013: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     mpfr_cv_gcc_floatconv_bug="no"
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   mpfr_cv_gcc_floatconv_bug="yes, use -ffloat-store"
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   
   fi
   echo "$as_me:21026: result: $mpfr_cv_gcc_floatconv_bug" >&5
   echo "${ECHO_T}$mpfr_cv_gcc_floatconv_bug" >&6
     if test "$mpfr_cv_gcc_floatconv_bug" != "no"; then
       CFLAGS="$CFLAGS -ffloat-store"
     fi
   fi
   
   echo "$as_me:21033: checking for denormalized numbers" >&5
   echo $ECHO_N "checking for denormalized numbers... $ECHO_C" >&6
   if test "${mpfr_cv_have_denorms+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
   
   if test "$cross_compiling" = yes; then
     mpfr_cv_have_denorms=no
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 21043 "configure"
   #include "confdefs.h"
   
   #include <math.h>
   #include <stdio.h>
   int main()
   {
     double x = 2.22507385850720138309e-308;
     fprintf (stderr, "%e\n", x / 2.0);
     return 2.0 * (x / 2.0) != x;
   }
   
   _ACEOF
   rm -f conftest$ac_exeext
   if { (eval echo "$as_me:21057: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:21060: \$? = $ac_status" >&5
     (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     { (eval echo "$as_me:21062: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:21065: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     mpfr_cv_have_denorms=yes
   else
     echo "$as_me: program exited with status $ac_status" >&5
   echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   mpfr_cv_have_denorms=no
   fi
   rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   fi
   
   fi
   echo "$as_me:21078: result: $mpfr_cv_have_denorms" >&5
   echo "${ECHO_T}$mpfr_cv_have_denorms" >&6
   if test "$mpfr_cv_have_denorms" = "yes"; then
   
   cat >>confdefs.h <<\EOF
   #define HAVE_DENORMS 1
   EOF
   
   fi
   
     MPFR_CFLAGS=$CFLAGS
   
     MPFR_LIBS=$LIBS
   
     CFLAGS=$gmp_CFLAGS
     LIBS=$gmp_LIBS
   fi
   
   # A recompiled sqr_basecase for use in the tune program, if necessary.
   TUNE_SQR_OBJ=
   test -d tune || mkdir tune
   case $sqr_basecase_source in
     *.asm)
       sqr_max=`sed -n 's/^def...(SQR_KARATSUBA_THRESHOLD_MAX, *\([0-9]*\))/\1/p' $sqr_basecase_source`
       if test -n "$sqr_max"; then
         TUNE_SQR_OBJ=sqr_asm.o
   
   cat >>confdefs.h <<EOF
   #define TUNE_SQR_KARATSUBA_MAX $sqr_max
   EOF
   
       fi
       cat >tune/sqr_basecase.c <<EOF
   /* not sure that an empty file can compile, so put in a dummy */
   int sqr_basecase_dummy;
   EOF
       ;;
     *.c)
       TUNE_SQR_OBJ=
       cat >>confdefs.h <<\EOF
   #define TUNE_SQR_KARATSUBA_MAX SQR_KARATSUBA_MAX_GENERIC
   EOF
   
       cat >tune/sqr_basecase.c <<EOF
   #define TUNE_PROGRAM_BUILD 1
   #define TUNE_PROGRAM_BUILD_SQR 1
   #include "mpn/sqr_basecase.c"
   EOF
       ;;
   esac
   
   # Configs for demos/pexpr.c.
   #
   ac_config_files="$ac_config_files demos/pexpr-config.h:demos/pexpr-config-h.in"
   
   case $ac_cv_func_clock in
   yes) HAVE_CLOCK_01=1
    ;;
   no)  HAVE_CLOCK_01=0 ;;
   esac
   
   case $ac_cv_func_cputime in
   yes) HAVE_CPUTIME_01=1
    ;;
   no)  HAVE_CPUTIME_01=0 ;;
   esac
   
   case $ac_cv_func_getrusage in
   yes) HAVE_GETRUSAGE_01=1
    ;;
   no)  HAVE_GETRUSAGE_01=0 ;;
   esac
   
   case $ac_cv_func_gettimeofday in
   yes) HAVE_GETTIMEOFDAY_01=1
    ;;
   no)  HAVE_GETTIMEOFDAY_01=0 ;;
   esac
   
   case $ac_cv_func_sigaction in
   yes) HAVE_SIGACTION_01=1
    ;;
   no)  HAVE_SIGACTION_01=0 ;;
   esac
   
   case $ac_cv_func_sigaltstack in
   yes) HAVE_SIGALTSTACK_01=1
    ;;
   no)  HAVE_SIGALTSTACK_01=0 ;;
   esac
   
   case $ac_cv_func_sigstack in
   yes) HAVE_SIGSTACK_01=1
    ;;
   no)  HAVE_SIGSTACK_01=0 ;;
   esac
   
   case $ac_cv_header_sys_resource_h in
   yes) HAVE_SYS_RESOURCE_H_01=1
    ;;
   no)  HAVE_SYS_RESOURCE_H_01=0 ;;
   esac
   
   echo "$as_me:21181: checking for stack_t" >&5
   echo $ECHO_N "checking for stack_t... $ECHO_C" >&6
   if test "${ac_cv_type_stack_t+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     cat >conftest.$ac_ext <<_ACEOF
   #line 21187 "configure"
   #include "confdefs.h"
   #include <signal.h>
   
   int
   main ()
   {
   if ((stack_t *) 0)
     return 0;
   if (sizeof (stack_t))
     return 0;
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext
   if { (eval echo "$as_me:21203: \"$ac_compile\"") >&5
     (eval $ac_compile) 2>&5
     ac_status=$?
     echo "$as_me:21206: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest.$ac_objext'
     { (eval echo "$as_me:21209: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:21212: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_type_stack_t=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_type_stack_t=no
   fi
   rm -f conftest.$ac_objext conftest.$ac_ext
   fi
   echo "$as_me:21222: result: $ac_cv_type_stack_t" >&5
   echo "${ECHO_T}$ac_cv_type_stack_t" >&6
   if test $ac_cv_type_stack_t = yes; then
   
   cat >>confdefs.h <<EOF
   #define HAVE_STACK_T 1
   EOF
   
   HAVE_STACK_T_01=1
   else
     HAVE_STACK_T_01=0
   fi
   
   # Configs for demos/calc directory
   #
   # AC_SUBST is used here since with AM_CONFIG_HEADER automake would put
   # demos/calc in the default $(DEFAULT_INCLUDES) for every directory,
   # which would look very strange.  Likewise demos/expr below.
   #
   ac_config_files="$ac_config_files demos/calc/calc-config.h:demos/calc/calc-config-h.in"
   
   use_readline=$with_readline
   if test $with_readline = detect; then
     echo "$as_me:21245: checking for readline in -lreadline" >&5
   echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
   if test "${ac_cv_lib_readline_readline+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lreadline  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 21253 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char readline ();
   int
   main ()
   {
   readline ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:21272: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:21275: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:21278: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:21281: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_readline_readline=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_readline_readline=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:21292: result: $ac_cv_lib_readline_readline" >&5
   echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
   if test $ac_cv_lib_readline_readline = yes; then
     use_readline=yes
   fi
   
   fi
   if test $use_readline = yes; then
     WITH_READLINE_01=1
   
     LIBREADLINE=-lreadline
   
   else
     WITH_READLINE_01=0
   fi
   for ac_prog in 'bison -y' byacc
   do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
   set dummy $ac_prog; ac_word=$2
   echo "$as_me:21311: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_YACC+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$YACC"; then
     ac_cv_prog_YACC="$YACC" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_YACC="$ac_prog"
   echo "$as_me:21326: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   YACC=$ac_cv_prog_YACC
   if test -n "$YACC"; then
     echo "$as_me:21334: result: $YACC" >&5
   echo "${ECHO_T}$YACC" >&6
   else
     echo "$as_me:21337: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     test -n "$YACC" && break
   done
   test -n "$YACC" || YACC="yacc"
   
   for ac_prog in flex lex
   do
     # Extract the first word of "$ac_prog", so it can be a program name with args.
   set dummy $ac_prog; ac_word=$2
   echo "$as_me:21349: checking for $ac_word" >&5
   echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   if test "${ac_cv_prog_LEX+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     if test -n "$LEX"; then
     ac_cv_prog_LEX="$LEX" # Let the user override the test.
   else
     ac_save_IFS=$IFS; IFS=$ac_path_separator
   ac_dummy="$PATH"
   for ac_dir in $ac_dummy; do
     IFS=$ac_save_IFS
     test -z "$ac_dir" && ac_dir=.
     $as_executable_p "$ac_dir/$ac_word" || continue
   ac_cv_prog_LEX="$ac_prog"
   echo "$as_me:21364: found $ac_dir/$ac_word" >&5
   break
   done
   
   fi
   fi
   LEX=$ac_cv_prog_LEX
   if test -n "$LEX"; then
     echo "$as_me:21372: result: $LEX" >&5
   echo "${ECHO_T}$LEX" >&6
   else
     echo "$as_me:21375: result: no" >&5
   echo "${ECHO_T}no" >&6
   fi
   
     test -n "$LEX" && break
   done
   test -n "$LEX" || LEX=":"
   
   if test -z "$LEXLIB"
   then
     echo "$as_me:21385: checking for yywrap in -lfl" >&5
   echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
   if test "${ac_cv_lib_fl_yywrap+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-lfl  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 21393 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char yywrap ();
   int
   main ()
   {
   yywrap ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:21412: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:21415: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:21418: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:21421: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_fl_yywrap=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_fl_yywrap=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:21432: result: $ac_cv_lib_fl_yywrap" >&5
   echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
   if test $ac_cv_lib_fl_yywrap = yes; then
     LEXLIB="-lfl"
   else
     echo "$as_me:21437: checking for yywrap in -ll" >&5
   echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
   if test "${ac_cv_lib_l_yywrap+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     ac_check_lib_save_LIBS=$LIBS
   LIBS="-ll  $LIBS"
   cat >conftest.$ac_ext <<_ACEOF
   #line 21445 "configure"
   #include "confdefs.h"
   
   /* Override any gcc2 internal prototype to avoid an error.  */
   #ifdef __cplusplus
   extern "C"
   #endif
   /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
   char yywrap ();
   int
   main ()
   {
   yywrap ();
     ;
     return 0;
   }
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:21464: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:21467: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:21470: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:21473: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_lib_l_yywrap=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   ac_cv_lib_l_yywrap=no
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_check_lib_save_LIBS
   fi
   echo "$as_me:21484: result: $ac_cv_lib_l_yywrap" >&5
   echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
   if test $ac_cv_lib_l_yywrap = yes; then
     LEXLIB="-ll"
   fi
   
   fi
   
   fi
   
   if test "x$LEX" != "x:"; then
     echo "$as_me:21495: checking lex output file root" >&5
   echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
   if test "${ac_cv_prog_lex_root+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     # The minimal lex program is just a single line: %%.  But some broken lexes
   # (Solaris, I think it was) want two %% lines, so accommodate them.
   echo '%%
   %%' | $LEX
   if test -f lex.yy.c; then
     ac_cv_prog_lex_root=lex.yy
   elif test -f lexyy.c; then
     ac_cv_prog_lex_root=lexyy
   else
     { { echo "$as_me:21509: error: cannot find output from $LEX; giving up" >&5
   echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
      { (exit 1); exit 1; }; }
   fi
   fi
   echo "$as_me:21514: result: $ac_cv_prog_lex_root" >&5
   echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
   LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   
   echo "$as_me:21518: checking whether yytext is a pointer" >&5
   echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
   if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
     echo $ECHO_N "(cached) $ECHO_C" >&6
   else
     # POSIX says lex can declare yytext either as a pointer or an array; the
   # default is implementation-dependent. Figure out which it is, since
   # not all implementations provide the %pointer and %array declarations.
   ac_cv_prog_lex_yytext_pointer=no
   echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
   ac_save_LIBS=$LIBS
   LIBS="$LIBS $LEXLIB"
   cat >conftest.$ac_ext <<_ACEOF
   `cat $LEX_OUTPUT_ROOT.c`
   _ACEOF
   rm -f conftest.$ac_objext conftest$ac_exeext
   if { (eval echo "$as_me:21534: \"$ac_link\"") >&5
     (eval $ac_link) 2>&5
     ac_status=$?
     echo "$as_me:21537: \$? = $ac_status" >&5
     (exit $ac_status); } &&
            { ac_try='test -s conftest$ac_exeext'
     { (eval echo "$as_me:21540: \"$ac_try\"") >&5
     (eval $ac_try) 2>&5
     ac_status=$?
     echo "$as_me:21543: \$? = $ac_status" >&5
     (exit $ac_status); }; }; then
     ac_cv_prog_lex_yytext_pointer=yes
   else
     echo "$as_me: failed program was:" >&5
   cat conftest.$ac_ext >&5
   fi
   rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
   LIBS=$ac_save_LIBS
   rm -f "${LEX_OUTPUT_ROOT}.c"
   
   fi
   echo "$as_me:21555: result: $ac_cv_prog_lex_yytext_pointer" >&5
   echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
   if test $ac_cv_prog_lex_yytext_pointer = yes; then
   
   cat >>confdefs.h <<\EOF
   #define YYTEXT_POINTER 1
   EOF
   
   fi
   
   fi
   
   if test "$LEX" = :; then
     LEX=${am_missing_run}flex
   fi
   
   # Configs for demos/expr directory
   ac_config_files="$ac_config_files demos/expr/expr-config.h:demos/expr/expr-config-h.in"
   
   if test $enable_mpfr = yes; then
     HAVE_MPFR_01=1
   
   else
     HAVE_MPFR_01=0
   fi
   if test $ac_cv_have_decl_optarg = yes; then
     HAVE_DECL_OPTARG=1
   
   else
     HAVE_DECL_OPTARG=0
   fi
   
   # Create config.m4.
   
 echo "creating $gmp_configm4"  echo "creating $gmp_configm4"
 echo "dnl $gmp_configm4.  Generated automatically by configure." > $gmp_configm4  echo "d""nl $gmp_configm4.  Generated automatically by configure." > $gmp_configm4
 if test -f $gmp_tmpconfigm4; then  if test -f $gmp_tmpconfigm4; then
   echo "changequote(<,>)dnl" >> $gmp_configm4    echo "changequote(<,>)" >> $gmp_configm4
   echo "ifdef(<__CONFIG_M4_INCLUDED__>,,<" >> $gmp_configm4    echo "ifdef(<__CONFIG_M4_INCLUDED__>,,<" >> $gmp_configm4
   cat $gmp_tmpconfigm4 >> $gmp_configm4    cat $gmp_tmpconfigm4 >> $gmp_configm4
   echo ">)" >> $gmp_configm4    echo ">)" >> $gmp_configm4
   echo "changequote(\`,')dnl" >> $gmp_configm4    echo "changequote(\`,')" >> $gmp_configm4
   rm $gmp_tmpconfigm4    rm $gmp_tmpconfigm4
 fi  fi
 echo "ifdef(\`__CONFIG_M4_INCLUDED__',,\`" >> $gmp_configm4  echo "ifdef(\`__CONFIG_M4_INCLUDED__',,\`" >> $gmp_configm4
Line 4526  if test -f $gmp_tmpconfigm4p; then
Line 21607  if test -f $gmp_tmpconfigm4p; then
 fi  fi
 echo "')" >> $gmp_configm4  echo "')" >> $gmp_configm4
 echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4  echo "define(\`__CONFIG_M4_INCLUDED__')" >> $gmp_configm4
   
 trap '' 1 2 15  # Create Makefiles
 cat >confcache <<\EOF  # FIXME: Upcoming version of autoconf/automake may not like broken lines.
   #        Right now automake isn't accepting the new AC_CONFIG_FILES scheme.
   
   ac_config_files="$ac_config_files Makefile mpbsd/Makefile mpf/Makefile mpn/Makefile mpq/Makefile mpz/Makefile printf/Makefile scanf/Makefile cxx/Makefile tests/Makefile tests/devel/Makefile tests/mpbsd/Makefile tests/mpf/Makefile tests/mpn/Makefile tests/mpq/Makefile tests/mpz/Makefile tests/rand/Makefile tests/misc/Makefile tests/cxx/Makefile mpfr/Makefile mpfr/tests/Makefile tune/Makefile demos/Makefile demos/calc/Makefile demos/expr/Makefile gmp.h:gmp-h.in mp.h:mp-h.in"
   cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure  # tests run on this system so they can be shared between configure
 # scripts and configure runs.  It is not useful on other systems.  # scripts and configure runs, see configure's option --config-cache.
 # If it contains results you don't want to keep, you may remove or edit it.  # It is not useful on other systems.  If it contains results you don't
   # want to keep, you may remove or edit it.
 #  #
 # By default, configure uses ./config.cache as the cache file,  # config.status only pays attention to the cache file if you give it
 # creating it if it does not exist already.  You can give configure  # the --recheck option to rerun configure.
 # the --cache-file=FILE option to use a different cache file; that is  
 # what configure does when it calls configure scripts in  
 # subdirectories, so they share the cache.  
 # Giving --cache-file=/dev/null disables caching, for debugging configure.  
 # config.status only pays attention to the cache file if you give it the  
 # --recheck option to rerun configure.  
 #  #
 EOF  # `ac_cv_env_foo' variables (set or unset) will be overriden when
   # loading this file, other *unset* `ac_cv_foo' will be assigned the
   # following values.
   
   _ACEOF
   
 # The following way of writing the cache mishandles newlines in values,  # The following way of writing the cache mishandles newlines in values,
 # but we know of no workaround that is simple, portable, and efficient.  # but we know of no workaround that is simple, portable, and efficient.
 # So, don't put newlines in cache variables' values.  # So, don't put newlines in cache variables' values.
 # Ultrix sh set writes to stderr and can't be redirected directly,  # Ultrix sh set writes to stderr and can't be redirected directly,
 # and sets the high bit in the cache file unless we assign to the vars.  # and sets the high bit in the cache file unless we assign to the vars.
 (set) 2>&1 |  {
   case `(ac_space=' '; set | grep ac_space) 2>&1` in    (set) 2>&1 |
   *ac_space=\ *)      case `(ac_space=' '; set | grep ac_space) 2>&1` in
     # `set' does not quote correctly, so add quotes (double-quote substitution      *ac_space=\ *)
     # turns \\\\ into \\, and sed turns \\ into \).        # `set' does not quote correctly, so add quotes (double-quote
     sed -n \        # substitution turns \\\\ into \\, and sed turns \\ into \).
       -e "s/'/'\\\\''/g" \        sed -n \
       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"          "s/'/'\\\\''/g;
     ;;            s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   *)        ;;
     # `set' quotes correctly as required by POSIX, so do not add quotes.      *)
     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'        # `set' quotes correctly as required by POSIX, so do not add quotes.
     ;;        sed -n \
   esac >>confcache          "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
         ;;
       esac;
   } |
     sed '
        t clear
        : clear
        s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
        t end
        /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        : end' >>confcache
 if cmp -s $cache_file confcache; then :; else  if cmp -s $cache_file confcache; then :; else
   if test -w $cache_file; then    if test -w $cache_file; then
     echo "updating cache $cache_file"      test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
     cat confcache >$cache_file      cat confcache >$cache_file
   else    else
     echo "not updating unwritable cache $cache_file"      echo "not updating unwritable cache $cache_file"
   fi    fi
 fi  fi
 rm -f confcache  rm -f confcache
   
 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15  
   
 test "x$prefix" = xNONE && prefix=$ac_default_prefix  test "x$prefix" = xNONE && prefix=$ac_default_prefix
 # Let make expand exec_prefix.  # Let make expand exec_prefix.
 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   
 # Any assignment to VPATH causes Sun make to only execute  # VPATH may cause trouble with some makes, so we remove $(srcdir),
 # the first set of double-colon rules, so remove it if not needed.  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 # If there is a colon in the path, we need to keep it.  # trailing colons and then remove the whole line if VPATH becomes empty
   # (actually we leave an empty line to preserve line numbers).
 if test "x$srcdir" = x.; then  if test "x$srcdir" = x.; then
   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'    ac_vpsub='/^[         ]*VPATH[        ]*=/{
   s/:*\$(srcdir):*/:/;
   s/:*\${srcdir}:*/:/;
   s/:*@srcdir@:*/:/;
   s/^\([^=]*=[    ]*\):*/\1/;
   s/:*$//;
   s/^[^=]*=[      ]*$//;
   }'
 fi  fi
   
 DEFS=-DHAVE_CONFIG_H  DEFS=-DHAVE_CONFIG_H
   
 : ${CONFIG_STATUS=./config.status}  : ${CONFIG_STATUS=./config.status}
 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15  ac_clean_files_save=$ac_clean_files
 echo creating $CONFIG_STATUS  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 cat >$CONFIG_STATUS <<EOF  { echo "$as_me:21695: creating $CONFIG_STATUS" >&5
 #! /bin/sh  echo "$as_me: creating $CONFIG_STATUS" >&6;}
   cat >$CONFIG_STATUS <<_ACEOF
   #! $SHELL
 # Generated automatically by configure.  # Generated automatically by configure.
 # Run this file to recreate the current configuration.  # Run this file to recreate the current configuration.
 # This directory was configured as follows,  
 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:  
 #  
 # $0 $ac_configure_args  
 #  
 # Compiler output produced by configure, useful for debugging  # Compiler output produced by configure, useful for debugging
 # configure, is in ./config.log if it exists.  # configure, is in config.log if it exists.
   
   debug=false
   SHELL=\${CONFIG_SHELL-$SHELL}
   ac_cs_invocation="\$0 \$@"
   
   _ACEOF
   
   cat >>$CONFIG_STATUS <<\_ACEOF
   # Be Bourne compatible
   if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     emulate sh
     NULLCMD=:
   elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     set -o posix
   fi
   
   # Name of the executable.
   as_me=`echo "$0" |sed 's,.*[\\/],,'`
   
   if expr a : '\(a\)' >/dev/null 2>&1; then
     as_expr=expr
   else
     as_expr=false
   fi
   
   rm -f conf$$ conf$$.exe conf$$.file
   echo >conf$$.file
   if ln -s conf$$.file conf$$ 2>/dev/null; then
     # We could just check for DJGPP; but this test a) works b) is more generic
     # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
     if test -f conf$$.exe; then
       # Don't use ln at all; we don't have any links
       as_ln_s='cp -p'
     else
       as_ln_s='ln -s'
     fi
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
     as_ln_s='cp -p'
   fi
   rm -f conf$$ conf$$.exe conf$$.file
   
   as_executable_p="test -f"
   
   # Support unset when possible.
   if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
     as_unset=unset
   else
     as_unset=false
   fi
   
   # NLS nuisances.
   $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
   $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
   $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
   $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
   $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
   $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
   $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
   $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
   
   # IFS
   # We need space, tab and new line, in precisely that order.
   as_nl='
   '
   IFS="   $as_nl"
   
   # CDPATH.
   $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
   
   exec 6>&1
   
   _ACEOF
   
 # Files that config.status was made for.  # Files that config.status was made for.
 config_files="\\  if test -n "$ac_config_files"; then
   Makefile mpf/Makefile mpz/Makefile mpn/Makefile mpq/Makefile    echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   mpf/tests/Makefile mpz/tests/Makefile mpq/tests/Makefile mpn/tests/Makefile  fi
   tests/Makefile tests/rand/Makefile demos/Makefile tune/Makefile  
   mpbsd/Makefile mpbsd/tests/Makefile mpfr/Makefile mpfr/tests/Makefile"  
 config_headers="\\  
   config.h:config.in"  
 config_links="\\  
   $gmp_links"  
 config_commands="\\  
   default-1"  
   
 ac_cs_usage="\\  if test -n "$ac_config_headers"; then
 \\\`$CONFIG_STATUS' instantiates files from templates according to the    echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   fi
   
   if test -n "$ac_config_links"; then
     echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   fi
   
   if test -n "$ac_config_commands"; then
     echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   fi
   
   cat >>$CONFIG_STATUS <<\EOF
   
   ac_cs_usage="\
   \`$as_me' instantiates files from templates according to the
 current configuration.  current configuration.
   
 Usage: $CONFIG_STATUS [OPTIONS] FILE...  Usage: $0 [OPTIONS] [FILE]...
   
   --recheck    Update $CONFIG_STATUS by reconfiguring in the same conditions    -h, --help       print this help, then exit
   --version    Print the version of Autoconf and exit    -V, --version    print version number, then exit
   --help       Display this help and exit    -d, --debug      don't remove temporary files
         --recheck    update $as_me by reconfiguring in the same conditions
   --file=FILE[:TEMPLATE]    --file=FILE[:TEMPLATE]
                Instantiate the configuration file FILE                     instantiate the configuration file FILE
   --header=FILE[:TEMPLATE]    --header=FILE[:TEMPLATE]
                Instantiate the configuration header FILE                     instantiate the configuration header FILE
   
 Configuration files:  Configuration files:
 \$config_files  $config_files
   
 Configuration headers:  Configuration headers:
 \$config_headers  $config_headers
   
 Configuration links:  Configuration links:
 \$config_links  $config_links
   
 Configuration commands:  Configuration commands:
 \$config_commands  $config_commands
   
 Report bugs to <bug-autoconf@gnu.org>."  Report bugs to <bug-autoconf@gnu.org>."
   EOF
   
   cat >>$CONFIG_STATUS <<EOF
 ac_cs_version="\\  ac_cs_version="\\
 $CONFIG_STATUS generated by autoconf version 2.14a.  config.status
 Configured on host `(hostname || uname -n) 2>/dev/null | sed 1q` by  configured by $0, generated by GNU Autoconf 2.52,
   `echo "$0 $ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'`"    with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   
 # Root of the tmp file names.  Use pid to allow concurrent executions.  Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
 ac_cs_root=cs\$\$  Free Software Foundation, Inc.
 ac_given_srcdir=$srcdir  This config.status script is free software; the Free Software Foundation
 ac_given_INSTALL="$INSTALL"  gives unlimited permission to copy, distribute and modify it."
   srcdir=$srcdir
   INSTALL="$INSTALL"
   EOF
   
   cat >>$CONFIG_STATUS <<\EOF
 # If no file are specified by the user, then we need to provide default  # If no file are specified by the user, then we need to provide default
 # value.  By we need to know if files were specified by the user.  # value.  By we need to know if files were specified by the user.
 ac_need_defaults=:  ac_need_defaults=:
 while test \$# != 0  while test $# != 0
 do  do
   case "\$1" in    case $1 in
   --*=*)    --*=*)
     ac_option=\`echo "\$1" | sed -e 's/=.*//'\`      ac_option=`expr "x$1" : 'x\([^=]*\)='`
     ac_optarg=\`echo "\$1" | sed -e 's/[^=]*=//'\`      ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
     shift      shift
     set dummy "\$ac_option" "\$ac_optarg" \${1+"\$@"}      set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
     shift      shift
     ;;      ;;
   -*);;    -*);;
Line 4673  do
Line 21858  do
      ac_need_defaults=false;;       ac_need_defaults=false;;
   esac    esac
   
   case "\$1" in    case $1 in
   
   # Handling of the options.    # Handling of the options.
   EOF
   cat >>$CONFIG_STATUS <<EOF
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     echo "running \${CONFIG_SHELL-/bin/sh} $0 `echo "$ac_configure_args" | sed 's/[\\"\`\$]/\\\\&/g'` --no-create --no-recursion"      echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;      exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)  EOF
     echo "\$ac_cs_version"; exit 0 ;;  cat >>$CONFIG_STATUS <<\EOF
     --version | --vers* | -V )
       echo "$ac_cs_version"; exit 0 ;;
   --he | --h)    --he | --h)
     # Conflict between --help and --header      # Conflict between --help and --header
     echo "$CONFIG_STATUS: ambiguous option: \$ac_option      { { echo "$as_me:21874: error: ambiguous option: $1
 Try \\\`$CONFIG_STATUS --help' for more information."; exit 1 ;;  Try \`$0 --help' for more information." >&5
   -help | --help | --hel )  echo "$as_me: error: ambiguous option: $1
     echo "\$ac_cs_usage"; exit 0 ;;  Try \`$0 --help' for more information." >&2;}
      { (exit 1); exit 1; }; };;
     --help | --hel | -h )
       echo "$ac_cs_usage"; exit 0 ;;
     --debug | --d* | -d )
       debug=: ;;
   --file | --fil | --fi | --f )    --file | --fil | --fi | --f )
     shift      shift
     CONFIG_FILES="\$CONFIG_FILES \$1"      CONFIG_FILES="$CONFIG_FILES $1"
     ac_need_defaults=false;;      ac_need_defaults=false;;
   --header | --heade | --head | --hea )    --header | --heade | --head | --hea )
     shift      shift
     CONFIG_HEADERS="\$CONFIG_FILES \$1"      CONFIG_HEADERS="$CONFIG_HEADERS $1"
     ac_need_defaults=false;;      ac_need_defaults=false;;
   
   # Handling of arguments.  
   'Makefile' ) CONFIG_FILES="\$CONFIG_FILES Makefile" ;;  
   'mpf/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpf/Makefile" ;;  
   'mpz/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpz/Makefile" ;;  
   'mpn/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpn/Makefile" ;;  
   'mpq/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpq/Makefile" ;;  
   'mpf/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpf/tests/Makefile" ;;  
   'mpz/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpz/tests/Makefile" ;;  
   'mpq/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpq/tests/Makefile" ;;  
   'mpn/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpn/tests/Makefile" ;;  
   'tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES tests/Makefile" ;;  
   'tests/rand/Makefile' ) CONFIG_FILES="\$CONFIG_FILES tests/rand/Makefile" ;;  
   'demos/Makefile' ) CONFIG_FILES="\$CONFIG_FILES demos/Makefile" ;;  
   'tune/Makefile' ) CONFIG_FILES="\$CONFIG_FILES tune/Makefile" ;;  
   'mpbsd/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpbsd/Makefile" ;;  
   'mpbsd/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpbsd/tests/Makefile" ;;  
   'mpfr/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpfr/Makefile" ;;  
   'mpfr/tests/Makefile' ) CONFIG_FILES="\$CONFIG_FILES mpfr/tests/Makefile" ;;  
   '$gmp_links' ) CONFIG_LINKS="\$CONFIG_LINKS $gmp_links" ;;  
   'default-1' ) CONFIG_COMMANDS="\$CONFIG_COMMANDS default-1" ;;  
   'config.h' ) CONFIG_HEADERS="\$CONFIG_HEADERS config.h:config.in" ;;  
   
   # This is an error.    # This is an error.
   -*) echo "$CONFIG_STATUS: unrecognized option: \$1    -*) { { echo "$as_me:21893: error: unrecognized option: $1
 Try \\\`$CONFIG_STATUS --help' for more information."; exit 1 ;;  Try \`$0 --help' for more information." >&5
   *) echo "$CONFIG_STATUS: invalid argument: \$1"; exit 1 ;;  echo "$as_me: error: unrecognized option: $1
   Try \`$0 --help' for more information." >&2;}
      { (exit 1); exit 1; }; } ;;
   
     *) ac_config_targets="$ac_config_targets $1" ;;
   
   esac    esac
   shift    shift
 done  done
   
   exec 5>>config.log
   cat >&5 << _ACEOF
   
   ## ----------------------- ##
   ## Running config.status.  ##
   ## ----------------------- ##
   
   This file was extended by $as_me 2.52, executed with
     CONFIG_FILES    = $CONFIG_FILES
     CONFIG_HEADERS  = $CONFIG_HEADERS
     CONFIG_LINKS    = $CONFIG_LINKS
     CONFIG_COMMANDS = $CONFIG_COMMANDS
     > $ac_cs_invocation
   on `(hostname || uname -n) 2>/dev/null | sed 1q`
   
   _ACEOF
 EOF  EOF
   
   cat >>$CONFIG_STATUS <<EOF
   #
   # INIT-COMMANDS section.
   #
   
   AMDEP_TRUE="$AMDEP_TRUE"
   ac_aux_dir="$ac_aux_dir"
   
   EOF
   
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
   for ac_config_target in $ac_config_targets
   do
     case "$ac_config_target" in
     # Handling of arguments.
     "demos/pexpr-config.h" ) CONFIG_FILES="$CONFIG_FILES demos/pexpr-config.h:demos/pexpr-config-h.in" ;;
     "demos/calc/calc-config.h" ) CONFIG_FILES="$CONFIG_FILES demos/calc/calc-config.h:demos/calc/calc-config-h.in" ;;
     "demos/expr/expr-config.h" ) CONFIG_FILES="$CONFIG_FILES demos/expr/expr-config.h:demos/expr/expr-config-h.in" ;;
     "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
     "mpbsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpbsd/Makefile" ;;
     "mpf/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpf/Makefile" ;;
     "mpn/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpn/Makefile" ;;
     "mpq/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpq/Makefile" ;;
     "mpz/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpz/Makefile" ;;
     "printf/Makefile" ) CONFIG_FILES="$CONFIG_FILES printf/Makefile" ;;
     "scanf/Makefile" ) CONFIG_FILES="$CONFIG_FILES scanf/Makefile" ;;
     "cxx/Makefile" ) CONFIG_FILES="$CONFIG_FILES cxx/Makefile" ;;
     "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
     "tests/devel/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/devel/Makefile" ;;
     "tests/mpbsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mpbsd/Makefile" ;;
     "tests/mpf/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mpf/Makefile" ;;
     "tests/mpn/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mpn/Makefile" ;;
     "tests/mpq/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mpq/Makefile" ;;
     "tests/mpz/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/mpz/Makefile" ;;
     "tests/rand/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/rand/Makefile" ;;
     "tests/misc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/misc/Makefile" ;;
     "tests/cxx/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/cxx/Makefile" ;;
     "mpfr/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpfr/Makefile" ;;
     "mpfr/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES mpfr/tests/Makefile" ;;
     "tune/Makefile" ) CONFIG_FILES="$CONFIG_FILES tune/Makefile" ;;
     "demos/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
     "demos/calc/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/calc/Makefile" ;;
     "demos/expr/Makefile" ) CONFIG_FILES="$CONFIG_FILES demos/expr/Makefile" ;;
     "gmp.h" ) CONFIG_FILES="$CONFIG_FILES gmp.h:gmp-h.in" ;;
     "mp.h" ) CONFIG_FILES="$CONFIG_FILES mp.h:mp-h.in" ;;
     "mpn/$tmp_fn.$tmp_ext" ) CONFIG_LINKS="$CONFIG_LINKS mpn/$tmp_fn.$tmp_ext:mpn/$tmp_dir/$tmp_base.$tmp_ext" ;;
     "gmp-mparam.h" ) CONFIG_LINKS="$CONFIG_LINKS gmp-mparam.h:mpn/$gmp_mparam_dir/gmp-mparam.h" ;;
     "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
     "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
     *) { { echo "$as_me:21972: error: invalid argument: $ac_config_target" >&5
   echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
      { (exit 1); exit 1; }; };;
     esac
   done
   
 # If the user did not use the arguments to specify the items to instantiate,  # If the user did not use the arguments to specify the items to instantiate,
 # then the envvar interface is used.  Set only those that are not.  # then the envvar interface is used.  Set only those that are not.
   # We use the long form for the default assignment because of an extremely
   # bizarre bug on SunOS 4.1.3.
 if $ac_need_defaults; then  if $ac_need_defaults; then
   : ${CONFIG_FILES=$config_files}    test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   : ${CONFIG_HEADERS=$config_headers}    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   : ${CONFIG_LINKS=$config_links}    test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
   : ${CONFIG_COMMANDS=$config_commands}    test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 fi  fi
   
 # Trap to remove the temp files.  
 trap 'rm -fr $ac_cs_root*; exit 1' 1 2 15  
   
 EOF  # Create a temporary directory, and hook for its removal unless debugging.
   $debug ||
   {
     trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
     trap '{ (exit 1); exit 1; }' 1 2 13 15
   }
   
 cat >>$CONFIG_STATUS <<EOF  # Create a (secure) tmp directory for tmp files.
 #  : ${TMPDIR=/tmp}
 # INIT-COMMANDS section.  {
 #    tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
     test -n "$tmp" && test -d "$tmp"
   }  ||
   {
     tmp=$TMPDIR/cs$$-$RANDOM
     (umask 077 && mkdir $tmp)
   } ||
   {
      echo "$me: cannot create a temporary directory in $TMPDIR" >&2
      { (exit 1); exit 1; }
   }
   
 EOF  EOF
   
Line 4760  cat >>$CONFIG_STATUS <<EOF
Line 22020  cat >>$CONFIG_STATUS <<EOF
 # This happens for instance when ./config.status config.h  # This happens for instance when ./config.status config.h
 if test -n "\$CONFIG_FILES"; then  if test -n "\$CONFIG_FILES"; then
   # Protect against being on the right side of a sed subst in config.status.    # Protect against being on the right side of a sed subst in config.status.
   sed 's/%@/@@/; s/@%/@@/; s/%;t t\$/@;t t/; /@;t t\$/s/[\\\\&%]/\\\\&/g;    sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
    s/@@/%@/; s/@@/@%/; s/@;t t\$/%;t t/' >\$ac_cs_root.subs <<\\CEOF     s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
 s%@exec_prefix@%$exec_prefix%;t t  s,@SHELL@,$SHELL,;t t
 s%@prefix@%$prefix%;t t  s,@exec_prefix@,$exec_prefix,;t t
 s%@program_transform_name@%$program_transform_name%;t t  s,@prefix@,$prefix,;t t
 s%@bindir@%$bindir%;t t  s,@program_transform_name@,$program_transform_name,;t t
 s%@sbindir@%$sbindir%;t t  s,@bindir@,$bindir,;t t
 s%@libexecdir@%$libexecdir%;t t  s,@sbindir@,$sbindir,;t t
 s%@datadir@%$datadir%;t t  s,@libexecdir@,$libexecdir,;t t
 s%@sysconfdir@%$sysconfdir%;t t  s,@datadir@,$datadir,;t t
 s%@sharedstatedir@%$sharedstatedir%;t t  s,@sysconfdir@,$sysconfdir,;t t
 s%@localstatedir@%$localstatedir%;t t  s,@sharedstatedir@,$sharedstatedir,;t t
 s%@libdir@%$libdir%;t t  s,@localstatedir@,$localstatedir,;t t
 s%@includedir@%$includedir%;t t  s,@libdir@,$libdir,;t t
 s%@oldincludedir@%$oldincludedir%;t t  s,@includedir@,$includedir,;t t
 s%@infodir@%$infodir%;t t  s,@oldincludedir@,$oldincludedir,;t t
 s%@mandir@%$mandir%;t t  s,@infodir@,$infodir,;t t
 s%@SHELL@%$SHELL%;t t  s,@mandir@,$mandir,;t t
 s%@ECHO_C@%$ECHO_C%;t t  s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
 s%@ECHO_N@%$ECHO_N%;t t  s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
 s%@ECHO_T@%$ECHO_T%;t t  s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
 s%@CFLAGS@%$CFLAGS%;t t  s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
 s%@CPPFLAGS@%$CPPFLAGS%;t t  s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
 s%@CXXFLAGS@%$CXXFLAGS%;t t  s,@build_alias@,$build_alias,;t t
 s%@FFLAGS@%$FFLAGS%;t t  s,@host_alias@,$host_alias,;t t
 s%@DEFS@%$DEFS%;t t  s,@target_alias@,$target_alias,;t t
 s%@LDFLAGS@%$LDFLAGS%;t t  s,@ECHO_C@,$ECHO_C,;t t
 s%@LIBS@%$LIBS%;t t  s,@ECHO_N@,$ECHO_N,;t t
 s%@host@%$host%;t t  s,@ECHO_T@,$ECHO_T,;t t
 s%@host_alias@%$host_alias%;t t  s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
 s%@host_cpu@%$host_cpu%;t t  s,@DEFS@,$DEFS,;t t
 s%@host_vendor@%$host_vendor%;t t  s,@LIBS@,$LIBS,;t t
 s%@host_os@%$host_os%;t t  s,@build@,$build,;t t
 s%@target@%$target%;t t  s,@build_cpu@,$build_cpu,;t t
 s%@target_alias@%$target_alias%;t t  s,@build_vendor@,$build_vendor,;t t
 s%@target_cpu@%$target_cpu%;t t  s,@build_os@,$build_os,;t t
 s%@target_vendor@%$target_vendor%;t t  s,@host@,$host,;t t
 s%@target_os@%$target_os%;t t  s,@host_cpu@,$host_cpu,;t t
 s%@build@%$build%;t t  s,@host_vendor@,$host_vendor,;t t
 s%@build_alias@%$build_alias%;t t  s,@host_os@,$host_os,;t t
 s%@build_cpu@%$build_cpu%;t t  s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
 s%@build_vendor@%$build_vendor%;t t  s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
 s%@build_os@%$build_os%;t t  s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%;t t  s,@PACKAGE@,$PACKAGE,;t t
 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%;t t  s,@VERSION@,$VERSION,;t t
 s%@INSTALL_DATA@%$INSTALL_DATA%;t t  s,@EXEEXT@,$EXEEXT,;t t
 s%@PACKAGE@%$PACKAGE%;t t  s,@OBJEXT@,$OBJEXT,;t t
 s%@VERSION@%$VERSION%;t t  s,@ACLOCAL@,$ACLOCAL,;t t
 s%@ACLOCAL@%$ACLOCAL%;t t  s,@AUTOCONF@,$AUTOCONF,;t t
 s%@AUTOCONF@%$AUTOCONF%;t t  s,@AUTOMAKE@,$AUTOMAKE,;t t
 s%@AUTOMAKE@%$AUTOMAKE%;t t  s,@AUTOHEADER@,$AUTOHEADER,;t t
 s%@AUTOHEADER@%$AUTOHEADER%;t t  s,@MAKEINFO@,$MAKEINFO,;t t
 s%@MAKEINFO@%$MAKEINFO%;t t  s,@AMTAR@,$AMTAR,;t t
 s%@AMTAR@%$AMTAR%;t t  s,@install_sh@,$install_sh,;t t
 s%@install_sh@%$install_sh%;t t  s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 s%@AWK@%$AWK%;t t  s,@AWK@,$AWK,;t t
 s%@SET_MAKE@%$SET_MAKE%;t t  s,@SET_MAKE@,$SET_MAKE,;t t
 s%@AMDEP@%$AMDEP%;t t  s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%;t t  s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 s%@DEPDIR@%$DEPDIR%;t t  s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%;t t  s,@DEPDIR@,$DEPDIR,;t t
 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%;t t  s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
 s%@MAINT@%$MAINT%;t t  s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
 s%@WANT_MPBSD_TRUE@%$WANT_MPBSD_TRUE%;t t  s,@MAINT@,$MAINT,;t t
 s%@WANT_MPBSD_FALSE@%$WANT_MPBSD_FALSE%;t t  s,@WANT_MPBSD_TRUE@,$WANT_MPBSD_TRUE,;t t
 s%@WANT_MPFR_TRUE@%$WANT_MPFR_TRUE%;t t  s,@WANT_MPBSD_FALSE@,$WANT_MPBSD_FALSE,;t t
 s%@WANT_MPFR_FALSE@%$WANT_MPFR_FALSE%;t t  s,@WANT_MPFR_TRUE@,$WANT_MPFR_TRUE,;t t
 s%@CC@%$CC%;t t  s,@WANT_MPFR_FALSE@,$WANT_MPFR_FALSE,;t t
 s%@CCAS@%$CCAS%;t t  s,@GMP_NAIL_BITS@,$GMP_NAIL_BITS,;t t
 s%@CPP@%$CPP%;t t  s,@ABI@,$ABI,;t t
 s%@LN_S@%$LN_S%;t t  s,@HAVE_HOST_CPU_FAMILY_power@,$HAVE_HOST_CPU_FAMILY_power,;t t
 s%@M4@%$M4%;t t  s,@HAVE_HOST_CPU_FAMILY_powerpc@,$HAVE_HOST_CPU_FAMILY_powerpc,;t t
 s%@AR@%$AR%;t t  s,@GMP_LDFLAGS@,$GMP_LDFLAGS,;t t
 s%@CALLING_CONVENTIONS_OBJS@%$CALLING_CONVENTIONS_OBJS%;t t  s,@SPEED_CYCLECOUNTER_OBJ@,$SPEED_CYCLECOUNTER_OBJ,;t t
 s%@SPEED_CYCLECOUNTER_OBJS@%$SPEED_CYCLECOUNTER_OBJS%;t t  s,@CALLING_CONVENTIONS_OBJS@,$CALLING_CONVENTIONS_OBJS,;t t
 s%@EXEEXT@%$EXEEXT%;t t  s,@DEFN_LONG_LONG_LIMB@,$DEFN_LONG_LONG_LIMB,;t t
 s%@OBJEXT@%$OBJEXT%;t t  s,@CC@,$CC,;t t
 s%@RANLIB@%$RANLIB%;t t  s,@CFLAGS@,$CFLAGS,;t t
 s%@STRIP@%$STRIP%;t t  s,@LDFLAGS@,$LDFLAGS,;t t
 s%@LIBTOOL@%$LIBTOOL%;t t  s,@CPPFLAGS@,$CPPFLAGS,;t t
 s%@U@%$U%;t t  s,@ac_ct_CC@,$ac_ct_CC,;t t
 s%@ANSI2KNR@%$ANSI2KNR%;t t  s,@am__include@,$am__include,;t t
 s%@mpn_objects@%$mpn_objects%;t t  s,@am__quote@,$am__quote,;t t
 s%@mpn_objs_in_libgmp@%$mpn_objs_in_libgmp%;t t  s,@CCDEPMODE@,$CCDEPMODE,;t t
 s%@gmp_srclinks@%$gmp_srclinks%;t t  s,@CPP@,$CPP,;t t
   s,@CXX@,$CXX,;t t
   s,@CXXFLAGS@,$CXXFLAGS,;t t
   s,@ac_ct_CXX@,$ac_ct_CXX,;t t
   s,@CXXDEPMODE@,$CXXDEPMODE,;t t
   s,@WANT_CXX_TRUE@,$WANT_CXX_TRUE,;t t
   s,@WANT_CXX_FALSE@,$WANT_CXX_FALSE,;t t
   s,@CXXCPP@,$CXXCPP,;t t
   s,@U@,$U,;t t
   s,@ANSI2KNR@,$ANSI2KNR,;t t
   s,@AR@,$AR,;t t
   s,@ac_ct_AR@,$ac_ct_AR,;t t
   s,@LIBGMP_DLL@,$LIBGMP_DLL,;t t
   s,@LN_S@,$LN_S,;t t
   s,@ECHO@,$ECHO,;t t
   s,@RANLIB@,$RANLIB,;t t
   s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   s,@STRIP@,$STRIP,;t t
   s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   s,@DLLTOOL@,$DLLTOOL,;t t
   s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
   s,@AS@,$AS,;t t
   s,@ac_ct_AS@,$ac_ct_AS,;t t
   s,@OBJDUMP@,$OBJDUMP,;t t
   s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
   s,@LIBTOOL@,$LIBTOOL,;t t
   s,@CCAS@,$CCAS,;t t
   s,@LIBM@,$LIBM,;t t
   s,@TAL_OBJECT@,$TAL_OBJECT,;t t
   s,@REPL_VSNPRINTF_PRINTF_OBJ@,$REPL_VSNPRINTF_PRINTF_OBJ,;t t
   s,@REPL_VSNPRINTF_OBJ@,$REPL_VSNPRINTF_OBJ,;t t
   s,@M4@,$M4,;t t
   s,@BITS_PER_MP_LIMB@,$BITS_PER_MP_LIMB,;t t
   s,@mpn_objs_in_libmp@,$mpn_objs_in_libmp,;t t
   s,@mpn_objects@,$mpn_objects,;t t
   s,@mpn_objs_in_libgmp@,$mpn_objs_in_libgmp,;t t
   s,@gmp_srclinks@,$gmp_srclinks,;t t
   s,@LIBOBJS@,$LIBOBJS,;t t
   s,@MPFR_CFLAGS@,$MPFR_CFLAGS,;t t
   s,@MPFR_LIBS@,$MPFR_LIBS,;t t
   s,@TUNE_SQR_OBJ@,$TUNE_SQR_OBJ,;t t
   s,@HAVE_CLOCK_01@,$HAVE_CLOCK_01,;t t
   s,@HAVE_CPUTIME_01@,$HAVE_CPUTIME_01,;t t
   s,@HAVE_GETRUSAGE_01@,$HAVE_GETRUSAGE_01,;t t
   s,@HAVE_GETTIMEOFDAY_01@,$HAVE_GETTIMEOFDAY_01,;t t
   s,@HAVE_SIGACTION_01@,$HAVE_SIGACTION_01,;t t
   s,@HAVE_SIGALTSTACK_01@,$HAVE_SIGALTSTACK_01,;t t
   s,@HAVE_SIGSTACK_01@,$HAVE_SIGSTACK_01,;t t
   s,@HAVE_SYS_RESOURCE_H_01@,$HAVE_SYS_RESOURCE_H_01,;t t
   s,@HAVE_STACK_T_01@,$HAVE_STACK_T_01,;t t
   s,@WITH_READLINE_01@,$WITH_READLINE_01,;t t
   s,@LIBREADLINE@,$LIBREADLINE,;t t
   s,@YACC@,$YACC,;t t
   s,@LEX@,$LEX,;t t
   s,@LEXLIB@,$LEXLIB,;t t
   s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
   s,@HAVE_MPFR_01@,$HAVE_MPFR_01,;t t
   s,@HAVE_DECL_OPTARG@,$HAVE_DECL_OPTARG,;t t
 CEOF  CEOF
   
 EOF  EOF
Line 4857  EOF
Line 22174  EOF
   ac_beg=1 # First line for current file.    ac_beg=1 # First line for current file.
   ac_end=$ac_max_sed_lines # Line after last line for current file.    ac_end=$ac_max_sed_lines # Line after last line for current file.
   ac_more_lines=:    ac_more_lines=:
   ac_sed_cmds=""    ac_sed_cmds=
   while $ac_more_lines; do    while $ac_more_lines; do
     if test $ac_beg -gt 1; then      if test $ac_beg -gt 1; then
       sed "1,${ac_beg}d; ${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag        sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     else      else
       sed "${ac_end}q" $ac_cs_root.subs >$ac_cs_root.sfrag        sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
     fi      fi
     if test ! -s $ac_cs_root.sfrag; then      if test ! -s $tmp/subs.frag; then
       ac_more_lines=false        ac_more_lines=false
       rm -f $ac_cs_root.sfrag  
     else      else
       # The purpose of the label and of the branching condition is to        # The purpose of the label and of the branching condition is to
       # speed up the sed processing (if there are no `@' at all, there        # speed up the sed processing (if there are no `@' at all, there
       # is no need to browse any of the substitutions).        # is no need to browse any of the substitutions).
       # These are the two extra sed commands mentioned above.        # These are the two extra sed commands mentioned above.
       (echo ':t        (echo ':t
   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $ac_cs_root.sfrag) >$ac_cs_root.s$ac_sed_frag    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
       if test -z "$ac_sed_cmds"; then        if test -z "$ac_sed_cmds"; then
         ac_sed_cmds="sed -f $ac_cs_root.s$ac_sed_frag"          ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
       else        else
         ac_sed_cmds="$ac_sed_cmds | sed -f $ac_cs_root.s$ac_sed_frag"          ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
       fi        fi
       ac_sed_frag=`expr $ac_sed_frag + 1`        ac_sed_frag=`expr $ac_sed_frag + 1`
       ac_beg=$ac_end        ac_beg=$ac_end
Line 4891  fi # test -n "$CONFIG_FILES"
Line 22207  fi # test -n "$CONFIG_FILES"
   
 EOF  EOF
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then  for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   case "$ac_file" in    case $ac_file in
   *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'`    - | *:- | *:-:* ) # input from stdin
        ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;          cat >$tmp/stdin
   *) ac_file_in="${ac_file}.in" ;;          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
           ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
           ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     * )   ac_file_in=$ac_file.in ;;
   esac    esac
   
   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.    # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
     ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   # Remove last slash and all that follows it.  Not all systems have dirname.           X"$ac_file" : 'X\(//\)[^/]' \| \
   ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'`           X"$ac_file" : 'X\(//\)$' \| \
            X"$ac_file" : 'X\(/\)' \| \
            .     : '\(.\)' 2>/dev/null ||
   echo X"$ac_file" |
       sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
             /^X\(\/\/\)[^/].*/{ s//\1/; q; }
             /^X\(\/\/\)$/{ s//\1/; q; }
             /^X\(\/\).*/{ s//\1/; q; }
             s/.*/./; q'`
   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     # The file is in a subdirectory.      { case "$ac_dir" in
     test ! -d "$ac_dir" && mkdir "$ac_dir"    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"    *)                      as_incr_dir=.;;
   esac
   as_dummy="$ac_dir"
   for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
     case $as_mkdir_dir in
       # Skip DOS drivespec
       ?:) as_incr_dir=$as_mkdir_dir ;;
       *)
         as_incr_dir=$as_incr_dir/$as_mkdir_dir
         test -d "$as_incr_dir" || mkdir "$as_incr_dir"
       ;;
     esac
   done; }
   
       ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
     # A "../" for each directory in $ac_dir_suffix.      # A "../" for each directory in $ac_dir_suffix.
     ac_dots=`echo "$ac_dir_suffix" | sed 's%/[^/]*%../%g'`      ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
   else    else
     ac_dir_suffix= ac_dots=      ac_dir_suffix= ac_dots=
   fi    fi
   
   case "$ac_given_srcdir" in    case $srcdir in
   .)  srcdir=.    .)  ac_srcdir=.
       if test -z "$ac_dots"; then top_srcdir=.        if test -z "$ac_dots"; then
       else top_srcdir=`echo $ac_dots | sed 's%/$%%'`; fi ;;           ac_top_srcdir=.
         else
            ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
         fi ;;
   [\\/]* | ?:[\\/]* )    [\\/]* | ?:[\\/]* )
       srcdir="$ac_given_srcdir$ac_dir_suffix";        ac_srcdir=$srcdir$ac_dir_suffix;
       top_srcdir=$ac_given_srcdir ;;        ac_top_srcdir=$srcdir ;;
   *) # Relative path.    *) # Relative path.
     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"      ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
     top_srcdir="$ac_dots$ac_given_srcdir" ;;      ac_top_srcdir=$ac_dots$srcdir ;;
   esac    esac
   
   case "$ac_given_INSTALL" in    case $INSTALL in
   [\\/$]* | ?:[\\/]* ) INSTALL="$ac_given_INSTALL" ;;    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;    *) ac_INSTALL=$ac_dots$INSTALL ;;
   esac    esac
   
   echo creating "$ac_file"    if test x"$ac_file" != x-; then
   rm -f "$ac_file"      { echo "$as_me:22279: creating $ac_file" >&5
   echo "$as_me: creating $ac_file" >&6;}
       rm -f "$ac_file"
     fi
     # Let's still pretend it is `configure' which instantiates (i.e., don't
     # use $as_me), people would be surprised to read:
     #    /* config.h.  Generated automatically by config.status.  */
   configure_input="Generated automatically from `echo $ac_file_in |    configure_input="Generated automatically from `echo $ac_file_in |
                                                  sed 's%.*/%%'` by configure."                                                   sed 's,.*/,,'` by configure."
   case "$ac_file" in  
   *[Mm]akefile*) ac_comsub="1i\\  
 # $configure_input" ;;  
   *) ac_comsub= ;;  
   esac  
   
   # Don't redirect the output to AC_FILE directly: use `mv' so that updating    # First look for the input files in the build tree, otherwise in the
   # is atomic, and doesn't need trapping.    # src tree.
   ac_file_inputs=`echo "$ac_file_in" |    ac_file_inputs=`IFS=:
                   sed -e "s%:% $ac_given_srcdir/%g;s%^%$ac_given_srcdir/%"`      for f in $ac_file_in; do
   for ac_file_input in $ac_file_inputs;        case $f in
   do        -) echo $tmp/stdin ;;
     test -f "$ac_file_input" ||        [\\/$]*)
         { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; }           # Absolute (can't be DOS-style, as IFS=:)
   done           test -f "$f" || { { echo "$as_me:22297: error: cannot find input file: $f" >&5
   echo "$as_me: error: cannot find input file: $f" >&2;}
      { (exit 1); exit 1; }; }
            echo $f;;
         *) # Relative
            if test -f "$f"; then
              # Build tree
              echo $f
            elif test -f "$srcdir/$f"; then
              # Source tree
              echo $srcdir/$f
            else
              # /dev/null tree
              { { echo "$as_me:22310: error: cannot find input file: $f" >&5
   echo "$as_me: error: cannot find input file: $f" >&2;}
      { (exit 1); exit 1; }; }
            fi;;
         esac
       done` || { (exit 1); exit 1; }
 EOF  EOF
 cat >>$CONFIG_STATUS <<EOF  cat >>$CONFIG_STATUS <<EOF
   sed -e "$ac_comsub    sed "$ac_vpsub
 $ac_vpsub  
 $extrasub  $extrasub
 EOF  EOF
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
 :t  :t
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 s%@configure_input@%$configure_input%;t t  s,@configure_input@,$configure_input,;t t
 s%@srcdir@%$srcdir%;t t  s,@srcdir@,$ac_srcdir,;t t
 s%@top_srcdir@%$top_srcdir%;t t  s,@top_srcdir@,$ac_top_srcdir,;t t
 s%@INSTALL@%$INSTALL%;t t  s,@INSTALL@,$ac_INSTALL,;t t
 " $ac_file_inputs | (eval "$ac_sed_cmds") >$ac_cs_root.out  " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   mv $ac_cs_root.out $ac_file    rm -f $tmp/stdin
     if test x"$ac_file" != x-; then
       mv $tmp/out $ac_file
     else
       cat $tmp/out
       rm -f $tmp/out
     fi
   
 fi; done  done
 rm -f $ac_cs_root.s*  
 EOF  EOF
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
   
Line 4978  cat >>$CONFIG_STATUS <<\EOF
Line 22346  cat >>$CONFIG_STATUS <<\EOF
 # NAME is the cpp macro being defined and VALUE is the value it is being given.  # NAME is the cpp macro being defined and VALUE is the value it is being given.
 #  #
 # ac_d sets the value in "#define NAME VALUE" lines.  # ac_d sets the value in "#define NAME VALUE" lines.
 ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'  ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
 ac_dB='[        ].*$%\1#\2'  ac_dB='[        ].*$,\1#\2'
 ac_dC=' '  ac_dC=' '
 ac_dD='%;t'  ac_dD=',;t'
 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".  # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
 ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'  ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
 ac_uB='$%\1#\2define\3'  ac_uB='$,\1#\2define\3'
 ac_uC=' '  ac_uC=' '
 ac_uD='%;t'  ac_uD=',;t'
   
 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then  for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".    # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   case "$ac_file" in    case $ac_file in
   *:*) ac_file_in=`echo "$ac_file" | sed 's%[^:]*:%%'`    - | *:- | *:-:* ) # input from stdin
        ac_file=`echo "$ac_file" | sed 's%:.*%%'` ;;          cat >$tmp/stdin
   *) ac_file_in="${ac_file}.in" ;;          ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
           ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
           ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
     * )   ac_file_in=$ac_file.in ;;
   esac    esac
   
   echo creating $ac_file    test x"$ac_file" != x- && { echo "$as_me:22371: creating $ac_file" >&5
   echo "$as_me: creating $ac_file" >&6;}
   
   rm -f $ac_cs_root.frag $ac_cs_root.in $ac_cs_root.out    # First look for the input files in the build tree, otherwise in the
   ac_file_inputs=`echo "$ac_file_in" |    # src tree.
                   sed -e "s%:% $ac_given_srcdir/%g;s%^%$ac_given_srcdir/%"`    ac_file_inputs=`IFS=:
     for ac_file_input in $ac_file_inputs;      for f in $ac_file_in; do
   do        case $f in
     test -f "$ac_file_input" ||        -) echo $tmp/stdin ;;
         { echo "configure: error: cannot find input file \`$ac_file_input'" 1>&2; exit 1; }        [\\/$]*)
   done           # Absolute (can't be DOS-style, as IFS=:)
            test -f "$f" || { { echo "$as_me:22382: error: cannot find input file: $f" >&5
   echo "$as_me: error: cannot find input file: $f" >&2;}
      { (exit 1); exit 1; }; }
            echo $f;;
         *) # Relative
            if test -f "$f"; then
              # Build tree
              echo $f
            elif test -f "$srcdir/$f"; then
              # Source tree
              echo $srcdir/$f
            else
              # /dev/null tree
              { { echo "$as_me:22395: error: cannot find input file: $f" >&5
   echo "$as_me: error: cannot find input file: $f" >&2;}
      { (exit 1); exit 1; }; }
            fi;;
         esac
       done` || { (exit 1); exit 1; }
   # Remove the trailing spaces.    # Remove the trailing spaces.
   sed -e 's/[   ]*$//' $ac_file_inputs >$ac_cs_root.in    sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
   
 EOF  EOF
   
Line 5019  EOF
Line 22411  EOF
 # config.status.  Protect against being in an unquoted here document  # config.status.  Protect against being in an unquoted here document
 # in config.status.  # in config.status.
 rm -f conftest.defines conftest.undefs  rm -f conftest.defines conftest.undefs
 ac_cs_root=conftest  # Using a here document instead of a string reduces the quoting nightmare.
 cat >$ac_cs_root.hdr <<\EOF  # Putting comments in sed scripts is not portable.
 s/[\\&%]/\\&/g  #
 s%[\\$`]%\\&%g  # `end' is used to avoid that the second main sed command (meant for
   # 0-ary CPP macros) applies to n-ary macro definitions.
   # See the Autoconf documentation for `clear'.
   cat >confdef2sed.sed <<\EOF
   s/[\\&,]/\\&/g
   s,[\\$`],\\&,g
 t clear  t clear
 : clear  : clear
 s%^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$%${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD}%gp  s,^[    ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
 t cleanup  t end
 s%^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp  s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
 : cleanup  : end
 EOF  EOF
 # If some macros were called several times there might be several times  # If some macros were called several times there might be several times
 # the same #defines, which is useless.  Nevertheless, we may not want to  # the same #defines, which is useless.  Nevertheless, we may not want to
 # sort them, since we want the *last* AC_DEFINE to be honored.  # sort them, since we want the *last* AC-DEFINE to be honored.
 uniq confdefs.h | sed -n -f $ac_cs_root.hdr >conftest.defines  uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
 sed -e 's/ac_d/ac_u/g' conftest.defines >conftest.undefs  sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
 rm -f $ac_cs_root.hdr  rm -f confdef2sed.sed
   
 # This sed command replaces #undef with comments.  This is necessary, for  # This sed command replaces #undef with comments.  This is necessary, for
 # example, in the case of _POSIX_SOURCE, which is predefined and required  # example, in the case of _POSIX_SOURCE, which is predefined and required
 # on some systems where configure will not decide to define it.  # on some systems where configure will not decide to define it.
 cat >>conftest.undefs <<\EOF  cat >>conftest.undefs <<\EOF
 s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%  s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
 EOF  EOF
   
 # Break up conftest.defines because some shells have a limit on the size  # Break up conftest.defines because some shells have a limit on the size
 # of here documents, and old seds have small limits too (100 cmds).  # of here documents, and old seds have small limits too (100 cmds).
 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS  echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
 echo '  if egrep "^[    ]*#[    ]*define" $ac_cs_root.in >/dev/null; then' >>$CONFIG_STATUS  echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS  echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
 echo '  :' >>$CONFIG_STATUS  echo '  :' >>$CONFIG_STATUS
 rm -f conftest.tail  rm -f conftest.tail
 while grep . conftest.defines >/dev/null  while grep . conftest.defines >/dev/null
 do  do
   # Write a limited-size here document to $ac_cs_root.frag.    # Write a limited-size here document to $tmp/defines.sed.
   echo '  cat >$ac_cs_root.frag <<CEOF' >>$CONFIG_STATUS    echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
     # Speed up: don't consider the non `#define' lines.
   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS    echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
     # Work around the forget-to-reset-the-flag bug.
     echo 't clr' >>$CONFIG_STATUS
     echo ': clr' >>$CONFIG_STATUS
   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS    sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   echo 'CEOF    echo 'CEOF
   sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out    sed -f $tmp/defines.sed $tmp/in >$tmp/out
   rm -f $ac_cs_root.in    rm -f $tmp/in
   mv $ac_cs_root.out $ac_cs_root.in    mv $tmp/out $tmp/in
 ' >>$CONFIG_STATUS  ' >>$CONFIG_STATUS
   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail    sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   rm -f conftest.defines    rm -f conftest.defines
Line 5076  echo '  # Handle all the #undef templates' >>$CONFIG_S
Line 22477  echo '  # Handle all the #undef templates' >>$CONFIG_S
 rm -f conftest.tail  rm -f conftest.tail
 while grep . conftest.undefs >/dev/null  while grep . conftest.undefs >/dev/null
 do  do
   # Write a limited-size here document to $ac_cs_root.frag.    # Write a limited-size here document to $tmp/undefs.sed.
   echo '  cat >$ac_cs_root.frag <<CEOF' >>$CONFIG_STATUS    echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
     # Speed up: don't consider the non `#undef'
   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS    echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
     # Work around the forget-to-reset-the-flag bug.
     echo 't clr' >>$CONFIG_STATUS
     echo ': clr' >>$CONFIG_STATUS
   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS    sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   echo 'CEOF    echo 'CEOF
   sed -f $ac_cs_root.frag $ac_cs_root.in >$ac_cs_root.out    sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   rm -f $ac_cs_root.in    rm -f $tmp/in
   mv $ac_cs_root.out $ac_cs_root.in    mv $tmp/out $tmp/in
 ' >>$CONFIG_STATUS  ' >>$CONFIG_STATUS
   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail    sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   rm -f conftest.undefs    rm -f conftest.undefs
Line 5092  done
Line 22497  done
 rm -f conftest.undefs  rm -f conftest.undefs
   
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
   rm -f $ac_cs_root.frag $ac_cs_root.h    # Let's still pretend it is `configure' which instantiates (i.e., don't
   echo "/* $ac_file.  Generated automatically by configure.  */" >$ac_cs_root.h    # use $as_me), people would be surprised to read:
   cat $ac_cs_root.in >>$ac_cs_root.h    #    /* config.h.  Generated automatically by config.status.  */
   rm -f $ac_cs_root.in    if test x"$ac_file" = x-; then
   if cmp -s $ac_file $ac_cs_root.h 2>/dev/null; then      echo "/* Generated automatically by configure.  */" >$tmp/config.h
     echo "$ac_file is unchanged"  
     rm -f $ac_cs_root.h  
   else    else
     # Remove last slash and all that follows it.  Not all systems have dirname.      echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
     ac_dir=`echo "$ac_file" | sed 's%/[^/][^/]*$%%'`    fi
     if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then    cat $tmp/in >>$tmp/config.h
       # The file is in a subdirectory.    rm -f $tmp/in
       test ! -d "$ac_dir" && mkdir "$ac_dir"    if test x"$ac_file" != x-; then
       if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
         { echo "$as_me:22512: $ac_file is unchanged" >&5
   echo "$as_me: $ac_file is unchanged" >&6;}
       else
         ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
            X"$ac_file" : 'X\(//\)[^/]' \| \
            X"$ac_file" : 'X\(//\)$' \| \
            X"$ac_file" : 'X\(/\)' \| \
            .     : '\(.\)' 2>/dev/null ||
   echo X"$ac_file" |
       sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
             /^X\(\/\/\)[^/].*/{ s//\1/; q; }
             /^X\(\/\/\)$/{ s//\1/; q; }
             /^X\(\/\).*/{ s//\1/; q; }
             s/.*/./; q'`
         if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
           { case "$ac_dir" in
     [\\/]* | ?:[\\/]* ) as_incr_dir=;;
     *)                      as_incr_dir=.;;
   esac
   as_dummy="$ac_dir"
   for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
     case $as_mkdir_dir in
       # Skip DOS drivespec
       ?:) as_incr_dir=$as_mkdir_dir ;;
       *)
         as_incr_dir=$as_incr_dir/$as_mkdir_dir
         test -d "$as_incr_dir" || mkdir "$as_incr_dir"
       ;;
     esac
   done; }
   
         fi
         rm -f $ac_file
         mv $tmp/config.h $ac_file
     fi      fi
     rm -f $ac_file    else
     mv $ac_cs_root.h $ac_file      cat $tmp/config.h
       rm -f $tmp/config.h
   fi    fi
 fi; done    # Run the commands associated with the file.
     case $ac_file in
       config.h ) # update the timestamp
   echo timestamp >"./stamp-h1"
    ;;
     esac
   done
 EOF  EOF
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
   
 #  #
 # CONFIG_LINKS section.  # CONFIG_LINKS section.
 #  #
 srcdir=$ac_given_srcdir  
   
 for ac_file in : $CONFIG_LINKS; do if test "x$ac_file" != x:; then  for ac_file in : $CONFIG_LINKS; do test "x$ac_file" = x: && continue
   ac_dest=`echo "$ac_file" | sed 's%:.*%%'`    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'`    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   
   echo "linking $srcdir/$ac_source to $ac_dest"    { echo "$as_me:22569: linking $srcdir/$ac_source to $ac_dest" >&5
   echo "$as_me: linking $srcdir/$ac_source to $ac_dest" >&6;}
   
   if test ! -r $srcdir/$ac_source; then    if test ! -r $srcdir/$ac_source; then
     { echo "configure: error: $srcdir/$ac_source: File not found" 1>&2; exit 1; }      { { echo "$as_me:22573: error: $srcdir/$ac_source: File not found" >&5
   echo "$as_me: error: $srcdir/$ac_source: File not found" >&2;}
      { (exit 1); exit 1; }; }
   fi    fi
   rm -f $ac_dest    rm -f $ac_dest
   
   # Make relative symlinks.    # Make relative symlinks.
   # Remove last slash and all that follows it.  Not all systems have dirname.    ac_dest_dir=`$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   ac_dest_dir=`echo $ac_dest | sed 's%/[^/][^/]*$%%'`           X"$ac_dest" : 'X\(//\)[^/]' \| \
            X"$ac_dest" : 'X\(//\)$' \| \
            X"$ac_dest" : 'X\(/\)' \| \
            .     : '\(.\)' 2>/dev/null ||
   echo X"$ac_dest" |
       sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
             /^X\(\/\/\)[^/].*/{ s//\1/; q; }
             /^X\(\/\/\)$/{ s//\1/; q; }
             /^X\(\/\).*/{ s//\1/; q; }
             s/.*/./; q'`
   if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then    if test "$ac_dest_dir" != "$ac_dest" && test "$ac_dest_dir" != .; then
     # The dest file is in a subdirectory.      { case "$ac_dest_dir" in
     test ! -d "$ac_dest_dir" && mkdir "$ac_dest_dir"    [\\/]* | ?:[\\/]* ) as_incr_dir=;;
     ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's%^\./%%'`"    *)                      as_incr_dir=.;;
   esac
   as_dummy="$ac_dest_dir"
   for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
     case $as_mkdir_dir in
       # Skip DOS drivespec
       ?:) as_incr_dir=$as_mkdir_dir ;;
       *)
         as_incr_dir=$as_incr_dir/$as_mkdir_dir
         test -d "$as_incr_dir" || mkdir "$as_incr_dir"
       ;;
     esac
   done; }
   
       ac_dest_dir_suffix="/`echo $ac_dest_dir|sed 's,^\./,,'`"
     # A "../" for each directory in $ac_dest_dir_suffix.      # A "../" for each directory in $ac_dest_dir_suffix.
     ac_dots=`echo $ac_dest_dir_suffix|sed 's%/[^/]*%../%g'`      ac_dots=`echo $ac_dest_dir_suffix|sed 's,/[^/]*,../,g'`
   else    else
     ac_dest_dir_suffix= ac_dots=      ac_dest_dir_suffix= ac_dots=
   fi    fi
   
   case "$srcdir" in    case $srcdir in
   [\\/$]* | ?:[\\/]* ) ac_rel_source="$srcdir/$ac_source" ;;    [\\/$]* | ?:[\\/]* ) ac_rel_source=$srcdir/$ac_source ;;
       *) ac_rel_source="$ac_dots$srcdir/$ac_source" ;;        *) ac_rel_source=$ac_dots$srcdir/$ac_source ;;
   esac    esac
   
   # Make a symlink if possible; otherwise try a hard link.    # Make a symlink if possible; otherwise try a hard link.
   if ln -s $ac_rel_source $ac_dest 2>/dev/null ||    ln -s $ac_rel_source $ac_dest 2>/dev/null ||
      ln $srcdir/$ac_source $ac_dest; then :      ln $srcdir/$ac_source $ac_dest ||
   else      { { echo "$as_me:22623: error: cannot link $ac_dest to $srcdir/$ac_source" >&5
     { echo "configure: error: cannot link $ac_dest to $srcdir/$ac_source" 1>&2; exit 1; }  echo "$as_me: error: cannot link $ac_dest to $srcdir/$ac_source" >&2;}
   fi     { (exit 1); exit 1; }; }
 fi; done  done
 EOF  EOF
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
   
 #  #
 # CONFIG_COMMANDS section.  # CONFIG_COMMANDS section.
 #  #
 for ac_file in .. $CONFIG_COMMANDS; do if test "x$ac_file" != x..; then  for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   ac_dest=`echo "$ac_file" | sed 's%:.*%%'`    ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   ac_source=`echo "$ac_file" | sed 's%[^:]*:%%'`    ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   
   case "$ac_dest" in    case $ac_dest in
     default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;      default-1 )
   test x"$AMDEP_TRUE" != x"" ||
   for mf in $CONFIG_FILES; do
     case "$mf" in
     Makefile) dirpart=.;;
     */Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
     *) continue;;
   esac    esac
 fi;done    grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
     # Extract the definition of DEP_FILES from the Makefile without
     # running `make'.
     DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
     test -z "$DEPDIR" && continue
     # When using ansi2knr, U may be empty or an underscore; expand it
     U=`sed -n -e '/^U = / s///p' < "$mf"`
     test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
     # We invoke sed twice because it is the simplest approach to
     # changing $(DEPDIR) to its actual value in the expansion.
     for file in `sed -n -e '
       /^DEP_FILES = .*\\\\$/ {
         s/^DEP_FILES = //
         :loop
           s/\\\\$//
           p
           n
           /\\\\$/ b loop
         p
       }
       /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
       # Make sure the directory exists.
       test -f "$dirpart/$file" && continue
       fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
       $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
       # echo "creating $dirpart/$file"
       echo '# dummy' > "$dirpart/$file"
     done
   done
    ;;
     esac
   done
 EOF  EOF
   
 cat >>$CONFIG_STATUS <<\EOF  cat >>$CONFIG_STATUS <<\EOF
   
 exit 0  { (exit 0); exit 0; }
 EOF  EOF
 chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
 rm -fr confdefs* $ac_clean_files  ac_clean_files=$ac_clean_files_save
 trap 'exit 1' 1 2 15  
   
 test "$no_create" = yes || $SHELL $CONFIG_STATUS || exit 1  # configure is writing to config.log, and then calls config.status.
   # config.status does its own redirection, appending to config.log.
   # Unfortunately, on DOS this fails, as config.log is still kept open
   # by configure, so config.status won't be able to write to it; its
   # output is simply discarded.  So we exec the FD to /dev/null,
   # effectively closing config.log, so it can be properly (re)opened and
   # appended to by config.status.  When coming back to configure, we
   # need to make the FD available again.
   if test "$no_create" != yes; then
     ac_cs_success=:
     exec 5>/dev/null
     $SHELL $CONFIG_STATUS || ac_cs_success=false
     exec 5>>config.log
     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
     # would make configure fail if this is the last instruction.
     $ac_cs_success || { (exit 1); exit 1; }
   fi
   

Legend:
Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>