[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.2 and 1.1.1.3

version 1.1.1.2, 2000/09/09 14:12:14 version 1.1.1.3, 2000/12/01 05:44:41
Line 1 
Line 1 
 #! /bin/sh  #! /bin/sh
 # From configure.in Revision: 1.129  # From configure.in Revision: 1.129.2.2
 # 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 automatically using Autoconf version 2.14a.
 # Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000  # Copyright (C) 1992, 93, 94, 95, 96, 98, 99, 2000
Line 991  fi
Line 991  fi
   
 PACKAGE=gmp  PACKAGE=gmp
   
 VERSION=3.1  VERSION=3.1.1
   
 if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&  if test "`CDPATH=: && cd $srcdir && pwd`" != "`pwd`" &&
    test -f $srcdir/config.status; then     test -f $srcdir/config.status; then
Line 1230  case "$target" in
Line 1230  case "$target" in
     gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"      gmp_cflags64_cc="-xtarget=native -xarch=v9 -xO4"
     ;;      ;;
   sparc64-*-linux*)    sparc64-*-linux*)
       # Need to think more about the options passed here.  This isn't good for
       # some sparc64 linux distros, since we end up not optimizing when all the
       # options below fail.
     os_64bit=yes      os_64bit=yes
     gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"      gmp_cflags64_gcc="$gmp_cflags64_gcc -m64 -mptr64 -Wa,-xarch=v9 -mcpu=v9"
     gmp_cflags_gcc="$gmp_cflags_gcc -m32"      gmp_cflags_gcc="$gmp_cflags_gcc -m32"
Line 1345  EOF
Line 1348  EOF
 esac  esac
   
 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6  echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" 1>&6
 echo "configure:1349: checking for BSD-compatible nm" 1>&5  echo "configure:1352: checking for BSD-compatible nm" 1>&5
 if test "${ac_cv_path_NM+set}" = set; then  if test "${ac_cv_path_NM+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 1411  for c in $gmp_cc_list; do
Line 1414  for c in $gmp_cc_list; do
 # Extract the first word of "${ac_tool_prefix}$c", so it can be a program name with args.  # Extract the first word of "${ac_tool_prefix}$c", so it can be a program name with args.
 set dummy ${ac_tool_prefix}$c; ac_word=$2  set dummy ${ac_tool_prefix}$c; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
 echo "configure:1415: checking for $ac_word" 1>&5  echo "configure:1418: checking for $ac_word" 1>&5
 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" 1>&6
 else  else
Line 1445  if test -z "$ac_cv_prog_CC"; then
Line 1448  if test -z "$ac_cv_prog_CC"; then
     # Extract the first word of "$c", so it can be a program name with args.      # Extract the first word of "$c", so it can be a program name with args.
 set dummy $c; ac_word=$2  set dummy $c; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
 echo "configure:1449: checking for $ac_word" 1>&5  echo "configure:1452: checking for $ac_word" 1>&5
 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" 1>&6
 else  else
Line 1491  cross_compiling=$ac_cv_prog_cc_cross
Line 1494  cross_compiling=$ac_cv_prog_cc_cross
         CC="$CC"          CC="$CC"
 CFLAGS="$c_flags"  CFLAGS="$c_flags"
 echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6  echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
 echo "configure:1495: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5  echo "configure:1498: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
   
 # Simple test for all targets.  # Simple test for all targets.
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
   
 #line 1500 "configure"  #line 1503 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main(){return(0);}  int main(){return(0);}
 EOF  EOF
 if { (eval echo configure:1505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   tmp_works=yes    tmp_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 1521  if test "$tmp_works" = "yes"; then
Line 1524  if test "$tmp_works" = "yes"; then
   case "$target" in    case "$target" in
     *-*-aix*)   # Returning a funcptr.      *-*-aix*)   # Returning a funcptr.
       cat >conftest.$ac_ext <<EOF        cat >conftest.$ac_ext <<EOF
 #line 1525 "configure"  #line 1528 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 1532  main ()
Line 1535  main ()
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:1536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   tmp_works=yes    tmp_works=yes
 else  else
Line 1576  cross_compiling=$ac_cv_prog_cc_cross
Line 1579  cross_compiling=$ac_cv_prog_cc_cross
         CC="$c"          CC="$c"
 CFLAGS="$c_flags"  CFLAGS="$c_flags"
 echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6  echo $ECHO_N "checking if the C compiler ($CC) works with flags $CFLAGS... $ECHO_C" 1>&6
 echo "configure:1580: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5  echo "configure:1583: checking if the C compiler ($CC) works with flags $CFLAGS" 1>&5
   
 # Simple test for all targets.  # Simple test for all targets.
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
   
 #line 1585 "configure"  #line 1588 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main(){return(0);}  int main(){return(0);}
 EOF  EOF
 if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   tmp_works=yes    tmp_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 1606  if test "$tmp_works" = "yes"; then
Line 1609  if test "$tmp_works" = "yes"; then
   case "$target" in    case "$target" in
     *-*-aix*)   # Returning a funcptr.      *-*-aix*)   # Returning a funcptr.
       cat >conftest.$ac_ext <<EOF        cat >conftest.$ac_ext <<EOF
 #line 1610 "configure"  #line 1613 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 1617  main ()
Line 1620  main ()
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:1621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   tmp_works=yes    tmp_works=yes
 else  else
Line 1644  echo "$ECHO_T""$tmp_works" 1>&6
Line 1647  echo "$ECHO_T""$tmp_works" 1>&6
   gmp_tmp_CC_save="$CC"    gmp_tmp_CC_save="$CC"
   CC="$c"    CC="$c"
   echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6    echo $ECHO_N "checking whether the C compiler ($CC) is 64-bit capable... $ECHO_C" 1>&6
 echo "configure:1648: checking whether the C compiler ($CC) is 64-bit capable" 1>&5  echo "configure:1651: checking whether the C compiler ($CC) is 64-bit capable" 1>&5
   if test -z "$NM"; then    if test -z "$NM"; then
     echo; echo "configure: GMP_CHECK_CC_64BIT: fatal: need nm"      echo; echo "configure: GMP_CHECK_CC_64BIT: fatal: need nm"
     exit 1      exit 1
Line 1682  echo "configure:1648: checking whether the C compiler 
Line 1685  echo "configure:1648: checking whether the C compiler 
       # Simply try to compile an empty main.  If that succeeds return        # Simply try to compile an empty main.  If that succeeds return
       # true.        # true.
       cat >conftest.$ac_ext <<EOF        cat >conftest.$ac_ext <<EOF
 #line 1686 "configure"  #line 1689 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 1693  main ()
Line 1696  main ()
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:1697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:1700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   gmp_cv_cc_64bit=yes    gmp_cv_cc_64bit=yes
 else  else
Line 1712  char arr[sizeof (void *)]={0};
Line 1715  char arr[sizeof (void *)]={0};
 char post=0;  char post=0;
 EOF  EOF
       gmp_compile="$CC $CFLAGS -c conftest.c 1>&5"        gmp_compile="$CC $CFLAGS -c conftest.c 1>&5"
       if { (eval echo configure:1716: \"$gmp_compile\") 1>&5; (eval $gmp_compile) 2>&5; }; then        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;' \                  gmp_tmp_val=`$NM conftest.o | grep post | sed -e 's;[[][0-9][]]\(.*\);\1;' \
           -e 's;[^1-9]*\([0-9]*\).*;\1;'`            -e 's;[^1-9]*\([0-9]*\).*;\1;'`
                 if test "$gmp_tmp_val" = "8"; then                  if test "$gmp_tmp_val" = "8"; then
Line 1763  CC="$CC32"
Line 1766  CC="$CC32"
     CFLAGS_save="$CFLAGS"      CFLAGS_save="$CFLAGS"
     CFLAGS="$CFLAGS $optcflags"      CFLAGS="$CFLAGS $optcflags"
     echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6      echo $ECHO_N "checking whether $CC accepts $optcflags... $ECHO_C" 1>&6
 echo "configure:1767: checking whether $CC accepts $optcflags" 1>&5  echo "configure:1770: checking whether $CC accepts $optcflags" 1>&5
     ac_ext=c      ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 1773  cross_compiling=$ac_cv_prog_cc_cross
Line 1776  cross_compiling=$ac_cv_prog_cc_cross
   
     cat >conftest.$ac_ext <<EOF      cat >conftest.$ac_ext <<EOF
   
 #line 1777 "configure"  #line 1780 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main(){return(0);}  int main(){return(0);}
 EOF  EOF
 if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   optok=yes    optok=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 1807  rm -fr conftest*
Line 1810  rm -fr conftest*
       CFLAGS_save="$CFLAGS"        CFLAGS_save="$CFLAGS"
       CFLAGS="$CFLAGS $xopt"        CFLAGS="$CFLAGS $xopt"
       echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6        echo $ECHO_N "checking whether $CC accepts $xopt... $ECHO_C" 1>&6
 echo "configure:1811: checking whether $CC accepts $xopt" 1>&5  echo "configure:1814: checking whether $CC accepts $xopt" 1>&5
       ac_ext=c        ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
 ac_cpp='$CPP $CPPFLAGS'  ac_cpp='$CPP $CPPFLAGS'
Line 1817  cross_compiling=$ac_cv_prog_cc_cross
Line 1820  cross_compiling=$ac_cv_prog_cc_cross
   
       cat >conftest.$ac_ext <<EOF        cat >conftest.$ac_ext <<EOF
   
 #line 1821 "configure"  #line 1824 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main(){return(0);}  int main(){return(0);}
 EOF  EOF
 if { (eval echo configure:1826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   optok=yes    optok=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 1861  test -n "$gmp_user_CFLAGS" && CFLAGS="$gmp_user_CFLAGS
Line 1864  test -n "$gmp_user_CFLAGS" && CFLAGS="$gmp_user_CFLAGS
 # Select chosen compiler.  # Select chosen compiler.
   
 echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6  echo $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works... $ECHO_C" 1>&6
 echo "configure:1865: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5  echo "configure:1868: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) works" 1>&5
   
 ac_ext=c  ac_ext=c
 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.  # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
Line 1872  cross_compiling=$ac_cv_prog_cc_cross
Line 1875  cross_compiling=$ac_cv_prog_cc_cross
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
   
 #line 1876 "configure"  #line 1879 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main(){return(0);}  int main(){return(0);}
 EOF  EOF
 if { (eval echo configure:1881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   ac_cv_prog_cc_works=yes    ac_cv_prog_cc_works=yes
   # If we can't run a trivial program, we are probably using a cross compiler.    # If we can't run a trivial program, we are probably using a cross compiler.
   if (./conftest; exit) 2>/dev/null; then    if (./conftest; exit) 2>/dev/null; then
Line 1903  if test $ac_cv_prog_cc_works = no; then
Line 1906  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; }    { 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 $ECHO_N "checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler... $ECHO_C" 1>&6
 echo "configure:1907: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5  echo "configure:1910: checking whether the C compiler ($CC $CFLAGS $CPPFLAGS $LDFLAGS) is a cross-compiler" 1>&5
 echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6  echo "$ECHO_T""$ac_cv_prog_cc_cross" 1>&6
 cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
   
 echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6  echo $ECHO_N "checking whether we are using GNU C... $ECHO_C" 1>&6
 echo "configure:1912: checking whether we are using GNU C" 1>&5  echo "configure:1915: checking whether we are using GNU C" 1>&5
 if test "${ac_cv_prog_gcc+set}" = set; then  if test "${ac_cv_prog_gcc+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 1917  else
Line 1920  else
   yes;    yes;
 #endif  #endif
 EOF  EOF
 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then  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
   ac_cv_prog_gcc=yes    ac_cv_prog_gcc=yes
 else  else
   ac_cv_prog_gcc=no    ac_cv_prog_gcc=no
Line 1949  fi
Line 1952  fi
 CCAS="$CC -c"  CCAS="$CC -c"
   
 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6  echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" 1>&6
 echo "configure:1953: checking how to run the C preprocessor" 1>&5  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=
Line 1965  else
Line 1968  else
   # not just through cpp.    # not just through cpp.
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 1969 "configure"  #line 1972 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <assert.h>
 Syntax Error  Syntax Error
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:1975: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   :    :
Line 1983  else
Line 1986  else
   CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 1987 "configure"  #line 1990 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <assert.h>
 Syntax Error  Syntax Error
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:1993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:1996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   :    :
Line 2001  else
Line 2004  else
   CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 2005 "configure"  #line 2008 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <assert.h>  #include <assert.h>
 Syntax Error  Syntax Error
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:2014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   :    :
Line 2043  echo "$ECHO_T""$CPP" 1>&6
Line 2046  echo "$ECHO_T""$CPP" 1>&6
 # 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 $ECHO_N "checking for a BSD compatible install... $ECHO_C" 1>&6
 echo "configure:2047: checking for a BSD compatible install" 1>&5  echo "configure:2050: checking for a BSD compatible install" 1>&5
 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" 1>&6
Line 2100  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL
Line 2103  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 ln -s works... $ECHO_C" 1>&6  echo $ECHO_N "checking whether ln -s works... $ECHO_C" 1>&6
 echo "configure:2104: checking whether ln -s works" 1>&5  echo "configure:2107: checking whether ln -s works" 1>&5
 if test "${ac_cv_prog_LN_S+set}" = set; then  if test "${ac_cv_prog_LN_S+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2121  else
Line 2124  else
 fi  fi
   
 echo $ECHO_N "checking for suitable m4... $ECHO_C" 1>&6  echo $ECHO_N "checking for suitable m4... $ECHO_C" 1>&6
 echo "configure:2125: checking for suitable m4" 1>&5  echo "configure:2128: checking for suitable m4" 1>&5
 if test "${gmp_cv_prog_m4+set}" = set; then  if test "${gmp_cv_prog_m4+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2171  M4="$gmp_cv_prog_m4"
Line 2174  M4="$gmp_cv_prog_m4"
 # Extract the first word of "ar", so it can be a program name with args.  # Extract the first word of "ar", so it can be a program name with args.
 set dummy ar; ac_word=$2  set dummy ar; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
 echo "configure:2175: checking for $ac_word" 1>&5  echo "configure:2178: checking for $ac_word" 1>&5
 if test "${ac_cv_prog_AR+set}" = set; then  if test "${ac_cv_prog_AR+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2209  esac
Line 2212  esac
   
 if test "$gmp_no_asm_syntax_testing" != "yes"; then  if test "$gmp_no_asm_syntax_testing" != "yes"; then
   echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6    echo $ECHO_N "checking how to switch to text section... $ECHO_C" 1>&6
 echo "configure:2213: checking how to switch to text section" 1>&5  echo "configure:2216: checking how to switch to text section" 1>&5
 if test "${gmp_cv_check_asm_text+set}" = set; then  if test "${gmp_cv_check_asm_text+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2228  echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6
Line 2231  echo "$ECHO_T""$gmp_cv_check_asm_text" 1>&6
 echo "define(<TEXT>, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4  echo "define(<TEXT>, <$gmp_cv_check_asm_text>)" >> $gmp_tmpconfigm4
   
   echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6    echo $ECHO_N "checking how to switch to data section... $ECHO_C" 1>&6
 echo "configure:2232: checking how to switch to data section" 1>&5  echo "configure:2235: checking how to switch to data section" 1>&5
 if test "${gmp_cv_check_asm_data+set}" = set; then  if test "${gmp_cv_check_asm_data+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2246  echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6
Line 2249  echo "$ECHO_T""$gmp_cv_check_asm_data" 1>&6
 echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4  echo "define(<DATA>, <$gmp_cv_check_asm_data>)" >> $gmp_tmpconfigm4
   
   echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6    echo $ECHO_N "checking how to export a symbol... $ECHO_C" 1>&6
 echo "configure:2250: checking how to export a symbol" 1>&5  echo "configure:2253: checking how to export a symbol" 1>&5
 if test "${gmp_cv_check_asm_globl+set}" = set; then  if test "${gmp_cv_check_asm_globl+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2260  echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6
Line 2263  echo "$ECHO_T""$gmp_cv_check_asm_globl" 1>&6
 echo "define(<GLOBL>, <$gmp_cv_check_asm_globl>)" >> $gmp_tmpconfigm4  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 $ECHO_N "checking what assembly label suffix to use... $ECHO_C" 1>&6
 echo "configure:2264: checking what assembly label suffix to use" 1>&5  echo "configure:2267: checking what assembly label suffix to use" 1>&5
 if test "${gmp_cv_check_asm_label_suffix+set}" = set; then  if test "${gmp_cv_check_asm_label_suffix+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2274  echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6
Line 2277  echo "$ECHO_T""$gmp_cv_check_asm_label_suffix" 1>&6
 echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_check_asm_label_suffix>)" >> $gmp_tmpconfigm4  echo "define(<LABEL_SUFFIX>, <\$1$gmp_cv_check_asm_label_suffix>)" >> $gmp_tmpconfigm4
   
   echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" 1>&6    echo $ECHO_N "checking how the .type assembly directive should be used... $ECHO_C" 1>&6
 echo "configure:2278: checking how the .type assembly directive should be used" 1>&5  echo "configure:2281: checking how the .type assembly directive should be used" 1>&5
 if test "${gmp_cv_check_asm_type+set}" = set; then  if test "${gmp_cv_check_asm_type+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"    ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
 for gmp_tmp_prefix in @ \# %; do  for gmp_tmp_prefix in @ \# %; do
   echo "        .type   sym,${gmp_tmp_prefix}function" > conftest.s    echo "        .type   sym,${gmp_tmp_prefix}function" > conftest.s
   if { (eval echo configure:2285: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then    if { (eval echo configure:2288: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
     gmp_cv_check_asm_type=".type        \$1,${gmp_tmp_prefix}\$2"      gmp_cv_check_asm_type=".type        \$1,${gmp_tmp_prefix}\$2"
     break      break
   fi    fi
Line 2295  echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6
Line 2298  echo "$ECHO_T""$gmp_cv_check_asm_type" 1>&6
 echo "define(<TYPE>, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4  echo "define(<TYPE>, <$gmp_cv_check_asm_type>)" >> $gmp_tmpconfigm4
   
   echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6    echo $ECHO_N "checking if the .size assembly directive works... $ECHO_C" 1>&6
 echo "configure:2299: checking if the .size assembly directive works" 1>&5  echo "configure:2302: checking if the .size assembly directive works" 1>&5
 if test "${gmp_cv_check_asm_size+set}" = set; then  if test "${gmp_cv_check_asm_size+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"    ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
 echo '  .size   sym,1' > conftest.s  echo '  .size   sym,1' > conftest.s
 if { (eval echo configure:2305: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  if { (eval echo configure:2308: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
   gmp_cv_check_asm_size=".size  \$1,\$2"    gmp_cv_check_asm_size=".size  \$1,\$2"
 else  else
   gmp_cv_check_asm_size="dnl"    gmp_cv_check_asm_size="dnl"
Line 2312  echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6
Line 2315  echo "$ECHO_T""$gmp_cv_check_asm_size" 1>&6
 echo "define(<SIZE>, <$gmp_cv_check_asm_size>)" >> $gmp_tmpconfigm4  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  echo $ECHO_N "checking what prefix to use for a local label... $ECHO_C" 1>&6
 echo "configure:2316: checking what prefix to use for a local label" 1>&5  echo "configure:2319: checking what prefix to use for a local label" 1>&5
 if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then  if test "${gmp_cv_check_asm_lsym_prefix+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2328  dummy${gmp_cv_check_asm_label_suffix}
Line 2331  dummy${gmp_cv_check_asm_label_suffix}
 ${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix}  ${gmp_tmp_pre}gurkmacka${gmp_cv_check_asm_label_suffix}
         .byte 0          .byte 0
 EOF  EOF
   if { (eval echo configure:2332: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then    if { (eval echo configure:2335: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
     $NM conftest.o >/dev/null 2>&1      $NM conftest.o >/dev/null 2>&1
     gmp_rc=$?      gmp_rc=$?
     if test "$gmp_rc" != "0"; then      if test "$gmp_rc" != "0"; then
Line 2352  echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6
Line 2355  echo "$ECHO_T""$gmp_cv_check_asm_lsym_prefix" 1>&6
 echo "define(<LSYM_PREFIX>, <${gmp_cv_check_asm_lsym_prefix}>)" >> $gmp_tmpconfigm4  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 $ECHO_N "checking how to define a 32-bit word... $ECHO_C" 1>&6
 echo "configure:2356: checking how to [define] a 32-bit word" 1>&5  echo "configure:2359: checking how to [define] a 32-bit word" 1>&5
 if test "${gmp_cv_check_asm_w32+set}" = set; then  if test "${gmp_cv_check_asm_w32+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2381  case "$target" in
Line 2384  case "$target" in
 foo${gmp_cv_check_asm_label_suffix}  foo${gmp_cv_check_asm_label_suffix}
         .byte   0          .byte   0
 EOF  EOF
       if { (eval echo configure:2385: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then        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_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
              -e 's;[^1-9]*\([0-9]*\).*;\1;'`               -e 's;[^1-9]*\([0-9]*\).*;\1;'`
Line 2405  echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6
Line 2408  echo "$ECHO_T""$gmp_cv_check_asm_w32" 1>&6
 echo "define(<W32>, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4  echo "define(<W32>, <$gmp_cv_check_asm_w32>)" >> $gmp_tmpconfigm4
   
   echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6    echo $ECHO_N "checking if symbols are prefixed by underscore... $ECHO_C" 1>&6
 echo "configure:2409: checking if symbols are prefixed by underscore" 1>&5  echo "configure:2412: checking if symbols are prefixed by underscore" 1>&5
 if test "${gmp_cv_check_asm_underscore+set}" = set; then  if test "${gmp_cv_check_asm_underscore+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 2414 "configure"  #line 2417 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 int underscore_test() {  int underscore_test() {
 return; }  return; }
 EOF  EOF
 if { (eval echo configure:2419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   if grep _underscore_test conftest* >/dev/null; then    if grep _underscore_test conftest* >/dev/null; then
     gmp_cv_check_asm_underscore=yes      gmp_cv_check_asm_underscore=yes
   else    else
Line 2442  echo 'define(<GSYM_PREFIX>, <>)' >> $gmp_tmpconfigm4
Line 2445  echo 'define(<GSYM_PREFIX>, <>)' >> $gmp_tmpconfigm4
 fi  fi
   
 echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6  echo $ECHO_N "checking if .align assembly directive is logarithmic... $ECHO_C" 1>&6
 echo "configure:2446: checking if .align assembly directive is logarithmic" 1>&5  echo "configure:2449: checking if .align assembly directive is logarithmic" 1>&5
 if test "${gmp_cv_check_asm_align_log+set}" = set; then  if test "${gmp_cv_check_asm_align_log+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2460  foo$gmp_cv_check_asm_label_suffix
Line 2463  foo$gmp_cv_check_asm_label_suffix
         .byte   2          .byte   2
 EOF  EOF
 ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"  ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
 if { (eval echo configure:2464: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  if { (eval echo configure:2467: \"$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_tmp_val=`$NM conftest.o | grep foo | sed -e 's;[[][0-9][]]\(.*\);\1;' \
        -e 's;[^1-9]*\([0-9]*\).*;\1;'`         -e 's;[^1-9]*\([0-9]*\).*;\1;'`
Line 2495  case ${target} in
Line 2498  case ${target} in
     path="arm"      path="arm"
     ;;      ;;
   sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*)    sparcv9*-*-solaris2.[789]* | sparc64*-*-solaris2.[789]* | ultrasparc*-*-solaris2.[789]*)
     if test -n "$CC64"; then      if test -n "$CC64"
       path="sparc64"        then path="sparc64"
     else        else path="sparc32/v9 sparc32/v8 sparc32"
       path="sparc32/v9 sparc32/v8 sparc32"  
     fi      fi
     ;;      ;;
   sparc64-*-linux*)    sparc64-*-linux*)
     path="sparc64"      if test -n "$CC64"
         then path="sparc64"
         else path="sparc32/v9 sparc32/v8 sparc32"
       fi
     ;;      ;;
   sparcv8*-*-* | microsparc*-*-*)    sparcv8*-*-* | microsparc*-*-*)
         path="sparc32/v8 sparc32"          path="sparc32/v8 sparc32"
Line 2574  case ${target} in
Line 2579  case ${target} in
     CALLING_CONVENTIONS_OBJS="x86call.o x86check.o"      CALLING_CONVENTIONS_OBJS="x86call.o x86check.o"
   
 echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6  echo $ECHO_N "checking if the assembler takes cl with shldl... $ECHO_C" 1>&6
 echo "configure:2578: checking if the assembler takes cl with shldl" 1>&5  echo "configure:2583: checking if the assembler takes cl with shldl" 1>&5
 if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then  if test "${gmp_cv_check_asm_shldl_cl+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2583  else
Line 2588  else
         shldl   %cl, %eax, %ebx          shldl   %cl, %eax, %ebx
 EOF  EOF
 ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"  ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
 if { (eval echo configure:2587: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  if { (eval echo configure:2592: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
   gmp_cv_check_asm_shldl_cl=yes    gmp_cv_check_asm_shldl_cl=yes
 else  else
   gmp_cv_check_asm_shldl_cl=no    gmp_cv_check_asm_shldl_cl=no
Line 2603  echo 'define(<WANT_SHLDL_CL>, <0>)' >> $gmp_tmpconfigm
Line 2608  echo 'define(<WANT_SHLDL_CL>, <0>)' >> $gmp_tmpconfigm
 fi  fi
   
     echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" 1>&6      echo $ECHO_N "checking if the .align directive accepts an 0x90 fill in .text... $ECHO_C" 1>&6
 echo "configure:2607: checking if the .align directive accepts an 0x90 fill in .text" 1>&5  echo "configure:2612: checking if the .align directive accepts an 0x90 fill in .text" 1>&5
 if test "${gmp_cv_check_asm_align_fill_0x90+set}" = set; then  if test "${gmp_cv_check_asm_align_fill_0x90+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2640  echo "define(<ALIGN_FILL_0x90>,<$gmp_cv_check_asm_alig
Line 2645  echo "define(<ALIGN_FILL_0x90>,<$gmp_cv_check_asm_alig
       pentiummmx-*-* | pentium[23]-*-* | k6*-*-* | athlon-*-*)        pentiummmx-*-* | pentium[23]-*-* | k6*-*-* | athlon-*-*)
   
 echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6  echo $ECHO_N "checking if the assembler knows about MMX instructions... $ECHO_C" 1>&6
 echo "configure:2644: checking if the assembler knows about MMX instructions" 1>&5  echo "configure:2649: checking if the assembler knows about MMX instructions" 1>&5
 if test "${gmp_cv_check_asm_mmx+set}" = set; then  if test "${gmp_cv_check_asm_mmx+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2649  else
Line 2654  else
         por     %mm0, %mm0          por     %mm0, %mm0
 EOF  EOF
 ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"  ac_assemble="$CCAS $CFLAGS conftest.s 1>&5"
 if { (eval echo configure:2653: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then  if { (eval echo configure:2658: \"$ac_assemble\") 1>&5; (eval $ac_assemble) 2>&5; }; then
   gmp_cv_check_asm_mmx=yes    gmp_cv_check_asm_mmx=yes
 else  else
   gmp_cv_check_asm_mmx=no    gmp_cv_check_asm_mmx=no
Line 2813  EOF
Line 2818  EOF
 fi  fi
   
 echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6  echo $ECHO_N "checking for Cygwin environment... $ECHO_C" 1>&6
 echo "configure:2817: checking for Cygwin environment" 1>&5  echo "configure:2822: checking for Cygwin environment" 1>&5
 if test "${ac_cv_cygwin+set}" = set; then  if test "${ac_cv_cygwin+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 2822 "configure"  #line 2827 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 2832  return __CYGWIN__;
Line 2837  return __CYGWIN__;
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:2836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_cygwin=yes    ac_cv_cygwin=yes
 else  else
Line 2847  echo "$ECHO_T""$ac_cv_cygwin" 1>&6
Line 2852  echo "$ECHO_T""$ac_cv_cygwin" 1>&6
 CYGWIN=  CYGWIN=
 test "$ac_cv_cygwin" = yes && CYGWIN=yes  test "$ac_cv_cygwin" = yes && CYGWIN=yes
 echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6  echo $ECHO_N "checking for mingw32 environment... $ECHO_C" 1>&6
 echo "configure:2851: checking for mingw32 environment" 1>&5  echo "configure:2856: checking for mingw32 environment" 1>&5
 if test "${ac_cv_mingw32+set}" = set; then  if test "${ac_cv_mingw32+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 2856 "configure"  #line 2861 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 2863  return __MINGW32__;
Line 2868  return __MINGW32__;
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:2867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_mingw32=yes    ac_cv_mingw32=yes
 else  else
Line 2878  echo "$ECHO_T""$ac_cv_mingw32" 1>&6
Line 2883  echo "$ECHO_T""$ac_cv_mingw32" 1>&6
 MINGW32=  MINGW32=
 test "$ac_cv_mingw32" = yes && MINGW32=yes  test "$ac_cv_mingw32" = yes && MINGW32=yes
 echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 1>&6  echo $ECHO_N "checking for EMX OS/2 environment... $ECHO_C" 1>&6
 echo "configure:2882: checking for EMX OS/2 environment" 1>&5  echo "configure:2887: checking for EMX OS/2 environment" 1>&5
 if test "${ac_cv_emxos2+set}" = set; then  if test "${ac_cv_emxos2+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 2887 "configure"  #line 2892 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 2894  return __EMX__;
Line 2899  return __EMX__;
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:2898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_emxos2=yes    ac_cv_emxos2=yes
 else  else
Line 2910  EMXOS2=
Line 2915  EMXOS2=
 test "$ac_cv_emxos2" = yes && EMXOS2=yes  test "$ac_cv_emxos2" = yes && EMXOS2=yes
   
 echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6  echo $ECHO_N "checking for executable suffix... $ECHO_C" 1>&6
 echo "configure:2914: checking for executable suffix" 1>&5  echo "configure:2919: checking for executable suffix" 1>&5
 if test "${ac_cv_exeext+set}" = set; then  if test "${ac_cv_exeext+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 2920  else
Line 2925  else
   rm -f conftest*    rm -f conftest*
   echo 'int main () { return 0; }' >conftest.$ac_ext    echo 'int main () { return 0; }' >conftest.$ac_ext
   ac_cv_exeext=    ac_cv_exeext=
   if { (eval echo configure:2924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then    if { (eval echo configure:2929: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     for ac_file in conftest.*; do      for ac_file in conftest.*; do
       case $ac_file in        case $ac_file in
       *.c | *.C | *.o | *.obj | *.xcoff) ;;        *.c | *.C | *.o | *.obj | *.xcoff) ;;
Line 2941  echo "$ECHO_T""${ac_cv_exeext}" 1>&6
Line 2946  echo "$ECHO_T""${ac_cv_exeext}" 1>&6
 ac_exeext=$EXEEXT  ac_exeext=$EXEEXT
   
 echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6  echo $ECHO_N "checking for object suffix... $ECHO_C" 1>&6
 echo "configure:2945: checking for object suffix" 1>&5  echo "configure:2950: checking for object suffix" 1>&5
 if test "${ac_cv_objext+set}" = set; then  if test "${ac_cv_objext+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   rm -f conftest*    rm -f conftest*
 echo 'int i = 1;' >conftest.$ac_ext  echo 'int i = 1;' >conftest.$ac_ext
 if { (eval echo configure:2951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:2956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   for ac_file in conftest.*; do    for ac_file in conftest.*; do
     case $ac_file in      case $ac_file in
     *.c) ;;      *.c) ;;
Line 3035  else
Line 3040  else
 fi  fi
   
 echo $ECHO_N "checking build system type... $ECHO_C" 1>&6  echo $ECHO_N "checking build system type... $ECHO_C" 1>&6
 echo "configure:3039: checking build system type" 1>&5  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  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.    # Make sure we can run config.sub.
Line 3081  ac_prog=ld
Line 3086  ac_prog=ld
 if test "$ac_cv_prog_gcc" = yes; then  if test "$ac_cv_prog_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 $ECHO_N "checking for ld used by GCC... $ECHO_C" 1>&6
 echo "configure:3085: checking for ld used by GCC" 1>&5  echo "configure:3090: checking for ld used by GCC" 1>&5
   case $lt_target in    case $lt_target in
   *-*-mingw*)    *-*-mingw*)
     # gcc leaves a trailing carriage return which upsets mingw      # gcc leaves a trailing carriage return which upsets mingw
Line 3111  echo "configure:3085: checking for ld used by GCC" 1>&
Line 3116  echo "configure:3085: 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 $ECHO_N "checking for GNU ld... $ECHO_C" 1>&6
 echo "configure:3115: checking for GNU ld" 1>&5  echo "configure:3120: checking for GNU ld" 1>&5
 else  else
   echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6    echo $ECHO_N "checking for non-GNU ld... $ECHO_C" 1>&6
 echo "configure:3118: checking for non-GNU ld" 1>&5  echo "configure:3123: checking for non-GNU ld" 1>&5
 fi  fi
 if test "${ac_cv_path_LD+set}" = set; then  if test "${ac_cv_path_LD+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
Line 3149  else
Line 3154  else
 fi  fi
 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }  test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" 1>&6  echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" 1>&6
 echo "configure:3153: checking if the linker ($LD) is GNU ld" 1>&5  echo "configure:3158: checking if the linker ($LD) is GNU ld" 1>&5
 if test "${ac_cv_prog_gnu_ld+set}" = set; then  if test "${ac_cv_prog_gnu_ld+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3164  echo "$ECHO_T""$ac_cv_prog_gnu_ld" 1>&6
Line 3169  echo "$ECHO_T""$ac_cv_prog_gnu_ld" 1>&6
 with_gnu_ld=$ac_cv_prog_gnu_ld  with_gnu_ld=$ac_cv_prog_gnu_ld
   
 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 1>&6  echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" 1>&6
 echo "configure:3168: checking for $LD option to reload object files" 1>&5  echo "configure:3173: checking for $LD option to reload object files" 1>&5
 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" 1>&6
 else  else
Line 3175  reload_flag=$lt_cv_ld_reload_flag
Line 3180  reload_flag=$lt_cv_ld_reload_flag
 test -n "$reload_flag" && reload_flag=" $reload_flag"  test -n "$reload_flag" && reload_flag=" $reload_flag"
   
 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6  echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" 1>&6
 echo "configure:3179: checking how to recognise dependant libraries" 1>&5  echo "configure:3184: checking how to recognise dependant libraries" 1>&5
 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" 1>&6
 else  else
Line 3299  file_magic*)
Line 3304  file_magic*)
   if test "$file_magic_cmd" = '${MAGIC}'; then    if test "$file_magic_cmd" = '${MAGIC}'; then
   
 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6  echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" 1>&6
 echo "configure:3303: checking for ${ac_tool_prefix}file" 1>&5  echo "configure:3308: checking for ${ac_tool_prefix}file" 1>&5
 if test "${lt_cv_path_MAGIC+set}" = set; then  if test "${lt_cv_path_MAGIC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3361  fi
Line 3366  fi
 if test -z "$lt_cv_path_MAGIC"; then  if test -z "$lt_cv_path_MAGIC"; 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 $ECHO_N "checking for file... $ECHO_C" 1>&6
 echo "configure:3365: checking for file" 1>&5  echo "configure:3370: checking for file" 1>&5
 if test "${lt_cv_path_MAGIC+set}" = set; then  if test "${lt_cv_path_MAGIC+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3437  esac
Line 3442  esac
 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.  # 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  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
 echo "configure:3441: checking for $ac_word" 1>&5  echo "configure:3446: checking for $ac_word" 1>&5
 if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3471  if test -z "$ac_cv_prog_RANLIB"; then
Line 3476  if test -z "$ac_cv_prog_RANLIB"; then
     # Extract the first word of "ranlib", so it can be a program name with args.      # Extract the first word of "ranlib", so it can be a program name with args.
 set dummy ranlib; ac_word=$2  set dummy ranlib; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
 echo "configure:3475: checking for $ac_word" 1>&5  echo "configure:3480: checking for $ac_word" 1>&5
 if test "${ac_cv_prog_RANLIB+set}" = set; then  if test "${ac_cv_prog_RANLIB+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3509  fi
Line 3514  fi
 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.  # 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  set dummy ${ac_tool_prefix}strip; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
 echo "configure:3513: checking for $ac_word" 1>&5  echo "configure:3518: checking for $ac_word" 1>&5
 if test "${ac_cv_prog_STRIP+set}" = set; then  if test "${ac_cv_prog_STRIP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3543  if test -z "$ac_cv_prog_STRIP"; then
Line 3548  if test -z "$ac_cv_prog_STRIP"; then
     # Extract the first word of "strip", so it can be a program name with args.      # Extract the first word of "strip", so it can be a program name with args.
 set dummy strip; ac_word=$2  set dummy strip; ac_word=$2
 echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_word... $ECHO_C" 1>&6
 echo "configure:3547: checking for $ac_word" 1>&5  echo "configure:3552: checking for $ac_word" 1>&5
 if test "${ac_cv_prog_STRIP+set}" = set; then  if test "${ac_cv_prog_STRIP+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3609  test x"$pic_mode" = xno && libtool_flags="$libtool_fla
Line 3614  test x"$pic_mode" = xno && libtool_flags="$libtool_fla
 case "$lt_target" in  case "$lt_target" in
 *-*-irix6*)  *-*-irix6*)
   # Find out which ABI we are using.    # Find out which ABI we are using.
   echo '#line 3613 "configure"' > conftest.$ac_ext    echo '#line 3618 "configure"' > conftest.$ac_ext
   if { (eval echo configure:3614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then    if { (eval echo configure:3619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     case "`/usr/bin/file conftest.o`" in      case "`/usr/bin/file conftest.o`" in
     *32-bit*)      *32-bit*)
       LD="${LD-ld} -32"        LD="${LD-ld} -32"
Line 3631  case "$lt_target" in
Line 3636  case "$lt_target" in
   SAVE_CFLAGS="$CFLAGS"    SAVE_CFLAGS="$CFLAGS"
   CFLAGS="$CFLAGS -belf"    CFLAGS="$CFLAGS -belf"
   echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6    echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" 1>&6
 echo "configure:3635: checking whether the C compiler needs -belf" 1>&5  echo "configure:3640: checking whether the C compiler needs -belf" 1>&5
 if test "${lt_cv_cc_needs_belf+set}" = set; then  if test "${lt_cv_cc_needs_belf+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
Line 3644  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPP
Line 3649  ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPP
 cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
   
      cat >conftest.$ac_ext <<EOF       cat >conftest.$ac_ext <<EOF
 #line 3648 "configure"  #line 3653 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int  int
Line 3655  main()
Line 3660  main()
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:3659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:3664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   lt_cv_cc_needs_belf=yes    lt_cv_cc_needs_belf=yes
 else  else
Line 3760  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
Line 3765  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 exec 5>>./config.log  exec 5>>./config.log
   
 echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6  echo $ECHO_N "checking whether optarg is declared... $ECHO_C" 1>&6
 echo "configure:3764: checking whether optarg is declared" 1>&5  echo "configure:3769: checking whether optarg is declared" 1>&5
 if test "${ac_cv_have_decl_optarg+set}" = set; then  if test "${ac_cv_have_decl_optarg+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 3769 "configure"  #line 3774 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 $ac_includes_default  $ac_includes_default
 int  int
Line 3779  main ()
Line 3784  main ()
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:3783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_have_decl_optarg=yes    ac_cv_have_decl_optarg=yes
 else  else
Line 3804  EOF
Line 3809  EOF
 fi  fi
   
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
 echo "configure:3808: checking for ANSI C header files" 1>&5  echo "configure:3813: checking for ANSI C header files" 1>&5
 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" 1>&6
 else  else
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 3814 "configure"  #line 3819 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdarg.h>  #include <stdarg.h>
Line 3819  cat >conftest.$ac_ext <<EOF
Line 3824  cat >conftest.$ac_ext <<EOF
   
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:3823: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 3837  if test $ac_cv_header_stdc = yes; then
Line 3842  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 <<EOF  cat >conftest.$ac_ext <<EOF
 #line 3841 "configure"  #line 3846 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <string.h>  #include <string.h>
   
Line 3857  if test $ac_cv_header_stdc = yes; then
Line 3862  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 <<EOF  cat >conftest.$ac_ext <<EOF
 #line 3861 "configure"  #line 3866 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
   
Line 3879  if test "$cross_compiling" = yes; then
Line 3884  if test "$cross_compiling" = yes; then
   :    :
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 3883 "configure"  #line 3888 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h>  #include <ctype.h>
 #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
Line 3904  main ()
Line 3909  main ()
   exit (0);    exit (0);
 }  }
 EOF  EOF
 if { (eval echo configure:3908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then  then
   :    :
 else  else
Line 3931  for ac_header in getopt.h unistd.h sys/sysctl.h sys/ti
Line 3936  for ac_header in getopt.h unistd.h sys/sysctl.h sys/ti
 do  do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`  ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
 echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
 echo "configure:3935: checking for $ac_header" 1>&5  echo "configure:3940: checking for $ac_header" 1>&5
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then  if eval "test \"\${$ac_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 3941 "configure"  #line 3946 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_header>  #include <$ac_header>
   
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:3947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:3952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 3967  fi
Line 3972  fi
 done  done
   
 echo $ECHO_N "checking for void... $ECHO_C" 1>&6  echo $ECHO_N "checking for void... $ECHO_C" 1>&6
 echo "configure:3971: checking for void" 1>&5  echo "configure:3976: checking for void" 1>&5
 if test "${ac_cv_type_void+set}" = set; then  if test "${ac_cv_type_void+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 3976 "configure"  #line 3981 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 $ac_includes_default  $ac_includes_default
 int  int
Line 3986  if (sizeof (void))
Line 3991  if (sizeof (void))
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:3990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   rm -rf conftest*    rm -rf conftest*
   ac_cv_type_void=yes    ac_cv_type_void=yes
 else  else
Line 4006  EOF
Line 4011  EOF
 fi  fi
   
 echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6  echo $ECHO_N "checking for preprocessor stringizing operator... $ECHO_C" 1>&6
 echo "configure:4010: checking for preprocessor stringizing operator" 1>&5  echo "configure:4015: checking for preprocessor stringizing operator" 1>&5
 if test "${ac_cv_c_stringize+set}" = set; then  if test "${ac_cv_c_stringize+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 4016 "configure"  #line 4021 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 #define x(y) #y  #define x(y) #y
Line 4044  for ac_func in getopt_long getpagesize popen processor
Line 4049  for ac_func in getopt_long getpagesize popen processor
 do  do
 ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`  ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
 echo $ECHO_N "checking for $ac_func... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_func... $ECHO_C" 1>&6
 echo "configure:4048: checking for $ac_func" 1>&5  echo "configure:4053: checking for $ac_func" 1>&5
 if eval "test \"\${$ac_ac_var+set}\" = set"; then  if eval "test \"\${$ac_ac_var+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 4053 "configure"  #line 4058 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* System header to define __stub macros and hopefully few prototypes,  /* System header to define __stub macros and hopefully few prototypes,
     which can conflict with char $ac_func(); below.  */      which can conflict with char $ac_func(); below.  */
Line 4077  f = $ac_func;
Line 4082  f = $ac_func;
   return 0;    return 0;
 }  }
 EOF  EOF
 if { (eval echo configure:4081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:4086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "$ac_ac_var=yes"    eval "$ac_ac_var=yes"
 else  else
Line 4099  fi
Line 4104  fi
 done  done
   
 echo $ECHO_N "checking if ansi2knr should be used... $ECHO_C" 1>&6  echo $ECHO_N "checking if ansi2knr should be used... $ECHO_C" 1>&6
 echo "configure:4103: checking if ansi2knr should be used" 1>&5  echo "configure:4108: checking if ansi2knr should be used" 1>&5
 if test "${gmp_cv_c_ansi2knr+set}" = set; then  if test "${gmp_cv_c_ansi2knr+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   cat >conftest.c <<EOF    cat >conftest.c <<EOF
 int main (int argc, char *argv) { return 0; }  int main (int argc, char *argv) { return 0; }
 EOF  EOF
 if { (eval echo configure:4110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then  if { (eval echo configure:4115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
   gmp_cv_c_ansi2knr=no    gmp_cv_c_ansi2knr=no
 else  else
   gmp_cv_c_ansi2knr=yes    gmp_cv_c_ansi2knr=yes
Line 4122  else
Line 4127  else
   # Ensure some checks needed by ansi2knr itself.    # Ensure some checks needed by ansi2knr itself.
   
 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6  echo $ECHO_N "checking for ANSI C header files... $ECHO_C" 1>&6
 echo "configure:4126: checking for ANSI C header files" 1>&5  echo "configure:4131: checking for ANSI C header files" 1>&5
 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" 1>&6
 else  else
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 4132 "configure"  #line 4137 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
 #include <stdarg.h>  #include <stdarg.h>
Line 4137  cat >conftest.$ac_ext <<EOF
Line 4142  cat >conftest.$ac_ext <<EOF
   
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:4141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 4155  if test $ac_cv_header_stdc = yes; then
Line 4160  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 <<EOF  cat >conftest.$ac_ext <<EOF
 #line 4159 "configure"  #line 4164 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <string.h>  #include <string.h>
   
Line 4175  if test $ac_cv_header_stdc = yes; then
Line 4180  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 <<EOF  cat >conftest.$ac_ext <<EOF
 #line 4179 "configure"  #line 4184 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <stdlib.h>  #include <stdlib.h>
   
Line 4197  if test "$cross_compiling" = yes; then
Line 4202  if test "$cross_compiling" = yes; then
   :    :
 else  else
   cat >conftest.$ac_ext <<EOF    cat >conftest.$ac_ext <<EOF
 #line 4201 "configure"  #line 4206 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <ctype.h>  #include <ctype.h>
 #if ((' ' & 0x0FF) == 0x020)  #if ((' ' & 0x0FF) == 0x020)
Line 4222  main ()
Line 4227  main ()
   exit (0);    exit (0);
 }  }
 EOF  EOF
 if { (eval echo configure:4226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null  if { (eval echo configure:4231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 then  then
   :    :
 else  else
Line 4249  fi
Line 4254  fi
 do  do
 ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`  ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
 echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6  echo $ECHO_N "checking for $ac_header... $ECHO_C" 1>&6
 echo "configure:4253: checking for $ac_header" 1>&5  echo "configure:4258: checking for $ac_header" 1>&5
 if eval "test \"\${$ac_ac_Header+set}\" = set"; then  if eval "test \"\${$ac_ac_Header+set}\" = set"; then
   echo $ECHO_N "(cached) $ECHO_C" 1>&6    echo $ECHO_N "(cached) $ECHO_C" 1>&6
 else  else
   
 cat >conftest.$ac_ext <<EOF  cat >conftest.$ac_ext <<EOF
 #line 4259 "configure"  #line 4264 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <$ac_header>  #include <$ac_header>
   
 EOF  EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"  ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:4265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:4270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`  ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 if test -z "$ac_err"; then  if test -z "$ac_err"; then
   rm -rf conftest*    rm -rf conftest*
Line 4446  for tmp_fn in ${gmp_mpn_functions} ; do
Line 4451  for tmp_fn in ${gmp_mpn_functions} ; do
           # that multi-function files get grepped here repeatedly            # that multi-function files get grepped here repeatedly
           gmp_ep="`            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

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

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