[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_toolkit

Diff for /OpenXM/src/ox_toolkit/configure between version 1.1 and 1.3

version 1.1, 2001/08/21 03:43:38 version 1.3, 2003/03/30 08:05:22
Line 1 
Line 1 
 #! /bin/sh  #! /bin/sh
   
 # $OpenXM$  
 # Guess values for system-dependent variables and create Makefiles.  # Guess values for system-dependent variables and create Makefiles.
 # Generated automatically using autoconf version 2.13  # Generated automatically using autoconf version 2.13
 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.  # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
Line 14  ac_default_prefix=/usr/local
Line 13  ac_default_prefix=/usr/local
 # Any additions from configure.in:  # Any additions from configure.in:
 ac_help="$ac_help  ac_help="$ac_help
   --with-x                use the X Window System"    --with-x                use the X Window System"
   ac_help="$ac_help
     --with-gmp              with the GNU MP library [[no]]"
   
 # Initialize some variables set by options.  # Initialize some variables set by options.
 # The variables have the same names as the options, with  # The variables have the same names as the options, with
Line 31  program_suffix=NONE
Line 32  program_suffix=NONE
 program_transform_name=s,x,x,  program_transform_name=s,x,x,
 silent=  silent=
 site=  site=
   sitefile=
 srcdir=  srcdir=
 target=NONE  target=NONE
 verbose=  verbose=
Line 145  Configuration:
Line 147  Configuration:
   --help                  print this message    --help                  print this message
   --no-create             do not create output files    --no-create             do not create output files
   --quiet, --silent       do not print \`checking...' messages    --quiet, --silent       do not print \`checking...' messages
     --site-file=FILE        use FILE as the site file
   --version               print the version of autoconf that created configure    --version               print the version of autoconf that created configure
 Directory and file names:  Directory and file names:
   --prefix=PREFIX         install architecture-independent files in PREFIX    --prefix=PREFIX         install architecture-independent files in PREFIX
Line 315  EOF
Line 318  EOF
   -site=* | --site=* | --sit=*)    -site=* | --site=* | --sit=*)
     site="$ac_optarg" ;;      site="$ac_optarg" ;;
   
     -site-file | --site-file | --site-fil | --site-fi | --site-f)
       ac_prev=sitefile ;;
     -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
       sitefile="$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=*)
Line 480  fi
Line 488  fi
 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`  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 "$sitefile"; then
   if test "x$prefix" != xNONE; then    if test -z "$CONFIG_SITE"; then
     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"      if test "x$prefix" != xNONE; then
   else        CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"      else
         CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
       fi
   fi    fi
   else
     CONFIG_SITE="$sitefile"
 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
Line 527  fi
Line 539  fi
 # Extract the first word of "gcc", so it can be a program name with args.  # Extract the first word of "gcc", so it can be a program name with args.
 set dummy gcc; ac_word=$2  set dummy gcc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:530: checking for $ac_word" >&5  echo "configure:543: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 557  if test -z "$CC"; then
Line 569  if test -z "$CC"; then
   # Extract the first word of "cc", so it can be a program name with args.    # Extract the first word of "cc", so it can be a program name with args.
 set dummy cc; ac_word=$2  set dummy cc; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:560: checking for $ac_word" >&5  echo "configure:573: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 608  fi
Line 620  fi
       # Extract the first word of "cl", so it can be a program name with args.        # Extract the first word of "cl", so it can be a program name with args.
 set dummy cl; ac_word=$2  set dummy cl; ac_word=$2
 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:611: checking for $ac_word" >&5  echo "configure:624: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 640  fi
Line 652  fi
 fi  fi
   
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
 echo "configure:643: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5  echo "configure:656: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&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 651  cross_compiling=$ac_cv_prog_cc_cross
Line 663  cross_compiling=$ac_cv_prog_cc_cross
   
 cat > conftest.$ac_ext << EOF  cat > conftest.$ac_ext << EOF
   
 #line 654 "configure"  #line 667 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 main(){return(0);}  main(){return(0);}
 EOF  EOF
 if { (eval echo configure:659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:672: \"$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 682  if test $ac_cv_prog_cc_works = no; then
Line 694  if test $ac_cv_prog_cc_works = no; then
   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }    { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
 fi  fi
 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6  echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
 echo "configure:685: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5  echo "configure:698: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6  echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
 cross_compiling=$ac_cv_prog_cc_cross  cross_compiling=$ac_cv_prog_cc_cross
   
 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6  echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
 echo "configure:690: checking whether we are using GNU C" >&5  echo "configure:703: checking whether we are using GNU C" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 696  else
Line 708  else
   yes;    yes;
 #endif  #endif
 EOF  EOF
 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:699: \"$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:712: \"$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 715  ac_test_CFLAGS="${CFLAGS+set}"
Line 727  ac_test_CFLAGS="${CFLAGS+set}"
 ac_save_CFLAGS="$CFLAGS"  ac_save_CFLAGS="$CFLAGS"
 CFLAGS=  CFLAGS=
 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
 echo "configure:718: checking whether ${CC-cc} accepts -g" >&5  echo "configure:731: checking whether ${CC-cc} accepts -g" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 749  fi
Line 761  fi
 # 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6  echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 echo "configure:752: checking for $ac_word" >&5  echo "configure:765: checking for $ac_word" >&5
 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
Line 777  else
Line 789  else
 fi  fi
   
 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6  echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 echo "configure:780: checking how to run the C preprocessor" >&5  echo "configure:793: checking how to run the C preprocessor" >&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 792  else
Line 804  else
   # 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.
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 795 "configure"  #line 808 "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:801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:814: \"$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 809  else
Line 821  else
   rm -rf conftest*    rm -rf conftest*
   CPP="${CC-cc} -E -traditional-cpp"    CPP="${CC-cc} -E -traditional-cpp"
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 812 "configure"  #line 825 "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:818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:831: \"$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 826  else
Line 838  else
   rm -rf conftest*    rm -rf conftest*
   CPP="${CC-cc} -nologo -E"    CPP="${CC-cc} -nologo -E"
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 829 "configure"  #line 842 "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:835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:848: \"$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 861  echo "$ac_t""$CPP" 1>&6
Line 873  echo "$ac_t""$CPP" 1>&6
 # Uses ac_ vars as temps to allow command line to override cache and checks.  # Uses ac_ vars as temps to allow command line to override cache and checks.
 # --without-x overrides everything else, but does not touch the cache.  # --without-x overrides everything else, but does not touch the cache.
 echo $ac_n "checking for X""... $ac_c" 1>&6  echo $ac_n "checking for X""... $ac_c" 1>&6
 echo "configure:864: checking for X" >&5  echo "configure:877: checking for X" >&5
   
 # Check whether --with-x or --without-x was given.  # Check whether --with-x or --without-x was given.
 if test "${with_x+set}" = set; then  if test "${with_x+set}" = set; then
Line 923  if test "$ac_x_includes" = NO; then
Line 935  if test "$ac_x_includes" = NO; then
   
   # First, try using that file with no special directory specified.    # First, try using that file with no special directory specified.
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 926 "configure"  #line 939 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 #include <$x_direct_test_include>  #include <$x_direct_test_include>
 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:931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }  { (eval echo configure:944: \"$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 997  if test "$ac_x_libraries" = NO; then
Line 1009  if test "$ac_x_libraries" = NO; then
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
   LIBS="-l$x_direct_test_library $LIBS"    LIBS="-l$x_direct_test_library $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1000 "configure"  #line 1013 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
 ${x_direct_test_function}()  ${x_direct_test_function}()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   LIBS="$ac_save_LIBS"    LIBS="$ac_save_LIBS"
 # We can link X programs with no special library path.  # We can link X programs with no special library path.
Line 1110  else
Line 1122  else
     case "`(uname -sr) 2>/dev/null`" in      case "`(uname -sr) 2>/dev/null`" in
     "SunOS 5"*)      "SunOS 5"*)
       echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6        echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
 echo "configure:1113: checking whether -R must be followed by a space" >&5  echo "configure:1126: checking whether -R must be followed by a space" >&5
       ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"        ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries"
       cat > conftest.$ac_ext <<EOF        cat > conftest.$ac_ext <<EOF
 #line 1116 "configure"  #line 1129 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   ac_R_nospace=yes    ac_R_nospace=yes
 else  else
Line 1136  rm -f conftest*
Line 1148  rm -f conftest*
       else        else
         LIBS="$ac_xsave_LIBS -R $x_libraries"          LIBS="$ac_xsave_LIBS -R $x_libraries"
         cat > conftest.$ac_ext <<EOF          cat > conftest.$ac_ext <<EOF
 #line 1139 "configure"  #line 1152 "configure"
 #include "confdefs.h"  #include "confdefs.h"
   
 int main() {  int main() {
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   ac_R_space=yes    ac_R_space=yes
 else  else
Line 1175  rm -f conftest*
Line 1187  rm -f conftest*
     # libraries were built with DECnet support.  And karl@cs.umb.edu says      # libraries were built with DECnet support.  And karl@cs.umb.edu says
     # the Alpha needs dnet_stub (dnet does not exist).      # the Alpha needs dnet_stub (dnet does not exist).
     echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6      echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
 echo "configure:1178: checking for dnet_ntoa in -ldnet" >&5  echo "configure:1191: checking for dnet_ntoa in -ldnet" >&5
 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1183  else
Line 1195  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldnet  $LIBS"  LIBS="-ldnet  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1186 "configure"  #line 1199 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1194  int main() {
Line 1206  int main() {
 dnet_ntoa()  dnet_ntoa()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1216  fi
Line 1228  fi
   
     if test $ac_cv_lib_dnet_dnet_ntoa = no; then      if test $ac_cv_lib_dnet_dnet_ntoa = no; then
       echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6        echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
 echo "configure:1219: checking for dnet_ntoa in -ldnet_stub" >&5  echo "configure:1232: checking for dnet_ntoa in -ldnet_stub" >&5
 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`  ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1224  else
Line 1236  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-ldnet_stub  $LIBS"  LIBS="-ldnet_stub  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1227 "configure"  #line 1240 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1235  int main() {
Line 1247  int main() {
 dnet_ntoa()  dnet_ntoa()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1264  fi
Line 1276  fi
     # The nsl library prevents programs from opening the X display      # The nsl library prevents programs from opening the X display
     # on Irix 5.2, according to dickey@clark.net.      # on Irix 5.2, according to dickey@clark.net.
     echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6      echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
 echo "configure:1267: checking for gethostbyname" >&5  echo "configure:1280: checking for gethostbyname" >&5
 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 1272 "configure"  #line 1285 "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 gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
Line 1292  gethostbyname();
Line 1304  gethostbyname();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
 else  else
Line 1313  fi
Line 1325  fi
   
     if test $ac_cv_func_gethostbyname = no; then      if test $ac_cv_func_gethostbyname = no; then
       echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6        echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
 echo "configure:1316: checking for gethostbyname in -lnsl" >&5  echo "configure:1329: checking for gethostbyname in -lnsl" >&5
 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1321  else
Line 1333  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1324 "configure"  #line 1337 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1332  int main() {
Line 1344  int main() {
 gethostbyname()  gethostbyname()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1362  fi
Line 1374  fi
     # -lsocket must be given before -lnsl if both are needed.      # -lsocket must be given before -lnsl if both are needed.
     # We assume that if connect needs -lnsl, so does gethostbyname.      # We assume that if connect needs -lnsl, so does gethostbyname.
     echo $ac_n "checking for connect""... $ac_c" 1>&6      echo $ac_n "checking for connect""... $ac_c" 1>&6
 echo "configure:1365: checking for connect" >&5  echo "configure:1378: checking for connect" >&5
 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 1370 "configure"  #line 1383 "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 connect(); below.  */      which can conflict with char connect(); below.  */
Line 1390  connect();
Line 1402  connect();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1393: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_connect=yes"    eval "ac_cv_func_connect=yes"
 else  else
Line 1411  fi
Line 1423  fi
   
     if test $ac_cv_func_connect = no; then      if test $ac_cv_func_connect = no; then
       echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6        echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
 echo "configure:1414: checking for connect in -lsocket" >&5  echo "configure:1427: checking for connect in -lsocket" >&5
 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1419  else
Line 1431  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"  LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1422 "configure"  #line 1435 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1430  int main() {
Line 1442  int main() {
 connect()  connect()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1454  fi
Line 1466  fi
   
     # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.      # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
     echo $ac_n "checking for remove""... $ac_c" 1>&6      echo $ac_n "checking for remove""... $ac_c" 1>&6
 echo "configure:1457: checking for remove" >&5  echo "configure:1470: checking for remove" >&5
 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 1462 "configure"  #line 1475 "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 remove(); below.  */      which can conflict with char remove(); below.  */
Line 1482  remove();
Line 1494  remove();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_remove=yes"    eval "ac_cv_func_remove=yes"
 else  else
Line 1503  fi
Line 1515  fi
   
     if test $ac_cv_func_remove = no; then      if test $ac_cv_func_remove = no; then
       echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6        echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
 echo "configure:1506: checking for remove in -lposix" >&5  echo "configure:1519: checking for remove in -lposix" >&5
 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`  ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1511  else
Line 1523  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lposix  $LIBS"  LIBS="-lposix  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1514 "configure"  #line 1527 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1522  int main() {
Line 1534  int main() {
 remove()  remove()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1546  fi
Line 1558  fi
   
     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.      # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
     echo $ac_n "checking for shmat""... $ac_c" 1>&6      echo $ac_n "checking for shmat""... $ac_c" 1>&6
 echo "configure:1549: checking for shmat" >&5  echo "configure:1562: checking for shmat" >&5
 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 1554 "configure"  #line 1567 "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 shmat(); below.  */      which can conflict with char shmat(); below.  */
Line 1574  shmat();
Line 1586  shmat();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_shmat=yes"    eval "ac_cv_func_shmat=yes"
 else  else
Line 1595  fi
Line 1607  fi
   
     if test $ac_cv_func_shmat = no; then      if test $ac_cv_func_shmat = no; then
       echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6        echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
 echo "configure:1598: checking for shmat in -lipc" >&5  echo "configure:1611: checking for shmat in -lipc" >&5
 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1603  else
Line 1615  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lipc  $LIBS"  LIBS="-lipc  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1606 "configure"  #line 1619 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1614  int main() {
Line 1626  int main() {
 shmat()  shmat()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1647  fi
Line 1659  fi
   # libraries we check for below, so use a different variable.    # libraries we check for below, so use a different variable.
   #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.    #  --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
   echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6    echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
 echo "configure:1650: checking for IceConnectionNumber in -lICE" >&5  echo "configure:1663: checking for IceConnectionNumber in -lICE" >&5
 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`  ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1655  else
Line 1667  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lICE $X_EXTRA_LIBS $LIBS"  LIBS="-lICE $X_EXTRA_LIBS $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1658 "configure"  #line 1671 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1666  int main() {
Line 1678  int main() {
 IceConnectionNumber()  IceConnectionNumber()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1669: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1691  fi
Line 1703  fi
 fi  fi
   
   
   # Check whether --with-gmp or --without-gmp was given.
   if test "${with_gmp+set}" = set; then
     withval="$with_gmp"
     with_gmp=yes
   else
     with_gmp=no
   fi
   
   
   if test ${with_gmp:=no} != no ; then
       cat >> confdefs.h <<\EOF
   #define WITH_GMP 1
   EOF
   
       GMPLIB="-lgmp"
       USE_GMP='#'
   fi
   
   
   
 echo $ac_n "checking for socket""... $ac_c" 1>&6  echo $ac_n "checking for socket""... $ac_c" 1>&6
 echo "configure:1695: checking for socket" >&5  echo "configure:1728: checking for socket" >&5
 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 1700 "configure"  #line 1733 "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 socket(); below.  */      which can conflict with char socket(); below.  */
Line 1720  socket();
Line 1752  socket();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_socket=yes"    eval "ac_cv_func_socket=yes"
 else  else
Line 1737  if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; 
Line 1769  if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; 
   :    :
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 fi  echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
   echo "configure:1774: checking for socket in -lsocket" >&5
 if test "$ac_cv_func_socket" = no ; then  
   echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6  
 echo "configure:1744: checking for socket in -lsocket" >&5  
 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`  ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1749  else
Line 1778  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lsocket  $LIBS"  LIBS="-lsocket  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1752 "configure"  #line 1782 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1760  int main() {
Line 1789  int main() {
 socket()  socket()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1788  else
Line 1817  else
 fi  fi
   
 fi  fi
   
 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6  echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
 echo "configure:1792: checking for gethostbyname" >&5  echo "configure:1823: checking for gethostbyname" >&5
 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
 else  else
   cat > conftest.$ac_ext <<EOF    cat > conftest.$ac_ext <<EOF
 #line 1797 "configure"  #line 1828 "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 gethostbyname(); below.  */      which can conflict with char gethostbyname(); below.  */
Line 1817  gethostbyname();
Line 1847  gethostbyname();
   
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_func_gethostbyname=yes"    eval "ac_cv_func_gethostbyname=yes"
 else  else
Line 1834  if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" =
Line 1864  if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" =
   :    :
 else  else
   echo "$ac_t""no" 1>&6    echo "$ac_t""no" 1>&6
 fi  echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
   echo "configure:1869: checking for gethostbyname in -lnsl" >&5
 if test "$ac_cv_func_gethostbyname" = no ; then  
   echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6  
 echo "configure:1841: checking for gethostbyname in -lnsl" >&5  
 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`  ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6    echo $ac_n "(cached) $ac_c" 1>&6
Line 1846  else
Line 1873  else
   ac_save_LIBS="$LIBS"    ac_save_LIBS="$LIBS"
 LIBS="-lnsl  $LIBS"  LIBS="-lnsl  $LIBS"
 cat > conftest.$ac_ext <<EOF  cat > conftest.$ac_ext <<EOF
 #line 1849 "configure"  #line 1877 "configure"
 #include "confdefs.h"  #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */  /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2  /* We use char because int might match the return type of a gcc2
Line 1857  int main() {
Line 1884  int main() {
 gethostbyname()  gethostbyname()
 ; return 0; }  ; return 0; }
 EOF  EOF
 if { (eval echo configure:1860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then  if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*    rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"    eval "ac_cv_lib_$ac_lib_var=yes"
 else  else
Line 1886  fi
Line 1913  fi
   
 fi  fi
   
   
 trap '' 1 2 15  trap '' 1 2 15
 cat > confcache <<\EOF  cat > confcache <<\EOF
 # This file is a shell script that caches the results of configure  # This file is a shell script that caches the results of configure
Line 2037  s%@X_CFLAGS@%$X_CFLAGS%g
Line 2065  s%@X_CFLAGS@%$X_CFLAGS%g
 s%@X_PRE_LIBS@%$X_PRE_LIBS%g  s%@X_PRE_LIBS@%$X_PRE_LIBS%g
 s%@X_LIBS@%$X_LIBS%g  s%@X_LIBS@%$X_LIBS%g
 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g  s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
   s%@GMPLIB@%$GMPLIB%g
   s%@USE_GMP@%$USE_GMP%g
   
 CEOF  CEOF
 EOF  EOF
Line 2143  EOF
Line 2173  EOF
 chmod +x $CONFIG_STATUS  chmod +x $CONFIG_STATUS
 rm -fr confdefs* $ac_clean_files  rm -fr confdefs* $ac_clean_files
 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1  test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

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