Changeset 66be513 in git for MP/configure


Ignore:
Timestamp:
Apr 16, 1998, 6:17:06 PM (26 years ago)
Author:
Olaf Bachmann <obachman@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
1b45a8009e4a6e6a33d5a3802fd0da9da4775a1c
Parents:
eea2b09531a1a40340381fac610aa2b5c7ca2f30
Message:
1998-04-16  Olaf Bachmann  <obachman@mathematik.uni-kl.de>

	* MP_Util.c (IMP_GetCmdlineArg): Allow long option names

	* MP_TcpTransp.c (open_tcp_launch_mode): When long option
names
	were used for specification of MPapplication, use long option
	names for MP options which are appended to application.


git-svn-id: file:///usr/local/Singular/svn/trunk@1389 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • MP/configure

    reea2b0 r66be513  
    22
    33# Guess values for system-dependent variables and create Makefiles.
    4 # Generated automatically using autoconf version 2.9
     4# Generated automatically using autoconf version 2.12
    55# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
    66#
     
    100100subdirs=
    101101MFLAGS= MAKEFLAGS=
     102# Maximum number of lines to put in a shell here document.
     103ac_max_here_lines=12
    102104
    103105ac_prev=
     
    381383
    382384  -version | --version | --versio | --versi | --vers)
    383     echo "configure generated by autoconf version 2.9"
     385    echo "configure generated by autoconf version 2.12"
    384386    exit 0 ;;
    385387
     
    483485
    484486# NLS nuisances.
    485 # Only set LANG and LC_ALL to C if already set.
    486 # These must not be set unconditionally because not all systems understand
    487 # e.g. LANG=C (notably SCO).
     487# Only set these to C if already set.  These must not be set unconditionally
     488# because not all systems understand e.g. LANG=C (notably SCO).
     489# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
     490# Non-C LC_CTYPE values break the ctype check.
     491if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
    488492if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
    489 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
     493if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
     494if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
    490495
    491496# confdefs.h avoids OS command line length limits that DEFS can exceed.
     
    549554ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
    550555ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     556cross_compiling=$ac_cv_prog_cc_cross
    551557
    552558if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
     
    620626
    621627echo $ac_n "checking host system type""... $ac_c" 1>&6
     628echo "configure:629: checking host system type" >&5
    622629
    623630host_alias=$host
     
    634641
    635642host=`$ac_config_sub $host_alias`
    636 host_cpu=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
    637 host_vendor=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
    638 host_os=`echo $host | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
     643host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     644host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     645host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    639646echo "$ac_t""$host" 1>&6
    640647
    641648echo $ac_n "checking target system type""... $ac_c" 1>&6
     649echo "configure:650: checking target system type" >&5
    642650
    643651target_alias=$target
     
    651659
    652660target=`$ac_config_sub $target_alias`
    653 target_cpu=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
    654 target_vendor=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
    655 target_os=`echo $target | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
     661target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     662target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     663target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    656664echo "$ac_t""$target" 1>&6
    657665
    658666echo $ac_n "checking build system type""... $ac_c" 1>&6
     667echo "configure:668: checking build system type" >&5
    659668
    660669build_alias=$build
     
    668677
    669678build=`$ac_config_sub $build_alias`
    670 build_cpu=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\1/'`
    671 build_vendor=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\2/'`
    672 build_os=`echo $build | sed 's/^\(.*\)-\(.*\)-\(.*\)$/\3/'`
     679build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
     680build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
     681build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
    673682echo "$ac_t""$build" 1>&6
    674683
     
    682691
    683692
    684 echo $ac_n "checking for architecture identifier""... $ac_c" 1>&6 
     693echo $ac_n "checking for architecture identifier""... $ac_c" 1>&6
     694echo "configure:695: checking for architecture identifier" >&5 
    685695if eval "test \"`echo '$''{'ac_cv_arch'+set}'`\" = set"; then
    686696  echo $ac_n "(cached) $ac_c" 1>&6
     
    702712set dummy ranlib; ac_word=$2
    703713echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     714echo "configure:715: checking for $ac_word" >&5
    704715if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
    705716  echo $ac_n "(cached) $ac_c" 1>&6
     
    730741set dummy ar; ac_word=$2
    731742echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     743echo "configure:744: checking for $ac_word" >&5
    732744if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
    733745  echo $ac_n "(cached) $ac_c" 1>&6
     
    783795set dummy gcc; ac_word=$2
    784796echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     797echo "configure:798: checking for $ac_word" >&5
    785798if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    786799  echo $ac_n "(cached) $ac_c" 1>&6
     
    811824set dummy cc; ac_word=$2
    812825echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     826echo "configure:827: checking for $ac_word" >&5
    813827if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
    814828  echo $ac_n "(cached) $ac_c" 1>&6
     
    857871fi
    858872
     873echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
     874echo "configure:875: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
     875
     876ac_ext=c
     877# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     878ac_cpp='$CPP $CPPFLAGS'
     879ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     880ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     881cross_compiling=$ac_cv_prog_cc_cross
     882
     883cat > conftest.$ac_ext <<EOF
     884#line 885 "configure"
     885#include "confdefs.h"
     886main(){return(0);}
     887EOF
     888if { (eval echo configure:889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
     889  ac_cv_prog_cc_works=yes
     890  # If we can't run a trivial program, we are probably using a cross compiler.
     891  if (./conftest; exit) 2>/dev/null; then
     892    ac_cv_prog_cc_cross=no
     893  else
     894    ac_cv_prog_cc_cross=yes
     895  fi
     896else
     897  echo "configure: failed program was:" >&5
     898  cat conftest.$ac_ext >&5
     899  ac_cv_prog_cc_works=no
     900fi
     901rm -fr conftest*
     902
     903echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
     904if test $ac_cv_prog_cc_works = no; then
     905  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
     906fi
     907echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
     908echo "configure:909: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
     909echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
     910cross_compiling=$ac_cv_prog_cc_cross
     911
    859912echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
     913echo "configure:914: checking whether we are using GNU C" >&5
    860914if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
    861915  echo $ac_n "(cached) $ac_c" 1>&6
     
    866920#endif
    867921EOF
    868 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
     922if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
    869923  ac_cv_prog_gcc=yes
    870924else
     
    874928
    875929echo "$ac_t""$ac_cv_prog_gcc" 1>&6
     930
    876931if test $ac_cv_prog_gcc = yes; then
    877932  GCC=yes
    878   if test "${CFLAGS+set}" != set; then
    879     echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
    880 if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
     933  ac_test_CFLAGS="${CFLAGS+set}"
     934  ac_save_CFLAGS="$CFLAGS"
     935  CFLAGS=
     936  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
     937echo "configure:938: checking whether ${CC-cc} accepts -g" >&5
     938if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
    881939  echo $ac_n "(cached) $ac_c" 1>&6
    882940else
    883941  echo 'void f(){}' > conftest.c
    884942if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
    885   ac_cv_prog_gcc_g=yes
    886 else
    887   ac_cv_prog_gcc_g=no
    888 fi
    889 rm -f conftest*
    890 
    891 fi
    892 
    893 echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
    894     if test $ac_cv_prog_gcc_g = yes; then
    895       CFLAGS="-g -O"
    896     else
    897       CFLAGS="-O"
    898     fi
     943  ac_cv_prog_cc_g=yes
     944else
     945  ac_cv_prog_cc_g=no
     946fi
     947rm -f conftest*
     948
     949fi
     950
     951echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
     952  if test "$ac_test_CFLAGS" = set; then
     953    CFLAGS="$ac_save_CFLAGS"
     954  elif test $ac_cv_prog_cc_g = yes; then
     955    CFLAGS="-g -O2"
     956  else
     957    CFLAGS="-O2"
    899958  fi
    900959else
     
    904963
    905964echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
     965echo "configure:966: checking how to run the C preprocessor" >&5
    906966# On Suns, sometimes $CPP names a directory.
    907967if test -n "$CPP" && test -d "$CPP"; then
     
    918978  # not just through cpp.
    919979  cat > conftest.$ac_ext <<EOF
    920 #line 921 "configure"
     980#line 981 "configure"
    921981#include "confdefs.h"
    922982#include <assert.h>
     
    924984EOF
    925985ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    926 { (eval echo configure:927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     986{ (eval echo configure:987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    927987ac_err=`grep -v '^ *+' conftest.out`
    928988if test -z "$ac_err"; then
     
    930990else
    931991  echo "$ac_err" >&5
     992  echo "configure: failed program was:" >&5
     993  cat conftest.$ac_ext >&5
    932994  rm -rf conftest*
    933995  CPP="${CC-cc} -E -traditional-cpp"
    934996  cat > conftest.$ac_ext <<EOF
    935 #line 936 "configure"
     997#line 998 "configure"
    936998#include "confdefs.h"
    937999#include <assert.h>
     
    9391001EOF
    9401002ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    941 { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1003{ (eval echo configure:1004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    9421004ac_err=`grep -v '^ *+' conftest.out`
    9431005if test -z "$ac_err"; then
     
    9451007else
    9461008  echo "$ac_err" >&5
     1009  echo "configure: failed program was:" >&5
     1010  cat conftest.$ac_ext >&5
    9471011  rm -rf conftest*
    9481012  CPP=/lib/cpp
     
    9601024
    9611025echo $ac_n "checking for AIX""... $ac_c" 1>&6
     1026echo "configure:1027: checking for AIX" >&5
    9621027cat > conftest.$ac_ext <<EOF
    963 #line 964 "configure"
     1028#line 1029 "configure"
    9641029#include "confdefs.h"
    9651030#ifdef _AIX
     
    10351100
    10361101echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
    1037 set dummy ${MAKE-make}; ac_make=$2
     1102echo "configure:1103: checking whether ${MAKE-make} sets \${MAKE}" >&5
     1103set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
    10381104if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
    10391105  echo $ac_n "(cached) $ac_c" 1>&6
     
    10601126fi
    10611127
    1062 # If we cannot run a trivial program, we must be cross compiling.
    1063 echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
    1064 if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
    1065   echo $ac_n "(cached) $ac_c" 1>&6
    1066 else
    1067   if test "$cross_compiling" = yes; then
    1068   ac_cv_c_cross=yes
    1069 else
    1070 cat > conftest.$ac_ext <<EOF
    1071 #line 1072 "configure"
    1072 #include "confdefs.h"
    1073 main(){return(0);}
    1074 EOF
    1075 { (eval echo configure:1076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    1076 if test -s conftest && (./conftest; exit) 2>/dev/null; then
    1077   ac_cv_c_cross=no
    1078 else
    1079   ac_cv_c_cross=yes
    1080 fi
    1081 fi
    1082 rm -fr conftest*
    1083 fi
    1084 
    1085 echo "$ac_t""$ac_cv_c_cross" 1>&6
    1086 cross_compiling=$ac_cv_c_cross
    1087 
    10881128echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
     1129echo "configure:1130: checking for ANSI C header files" >&5
    10891130if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    10901131  echo $ac_n "(cached) $ac_c" 1>&6
    10911132else
    10921133  cat > conftest.$ac_ext <<EOF
    1093 #line 1094 "configure"
     1134#line 1135 "configure"
    10941135#include "confdefs.h"
    10951136#include <stdlib.h>
     
    10991140EOF
    11001141ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1101 { (eval echo configure:1102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1142{ (eval echo configure:1143: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    11021143ac_err=`grep -v '^ *+' conftest.out`
    11031144if test -z "$ac_err"; then
     
    11061147else
    11071148  echo "$ac_err" >&5
     1149  echo "configure: failed program was:" >&5
     1150  cat conftest.$ac_ext >&5
    11081151  rm -rf conftest*
    11091152  ac_cv_header_stdc=no
     
    11141157  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    11151158cat > conftest.$ac_ext <<EOF
    1116 #line 1117 "configure"
     1159#line 1160 "configure"
    11171160#include "confdefs.h"
    11181161#include <string.h>
     
    11321175  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    11331176cat > conftest.$ac_ext <<EOF
    1134 #line 1135 "configure"
     1177#line 1178 "configure"
    11351178#include "confdefs.h"
    11361179#include <stdlib.h>
     
    11521195  :
    11531196else
    1154 cat > conftest.$ac_ext <<EOF
    1155 #line 1156 "configure"
     1197  cat > conftest.$ac_ext <<EOF
     1198#line 1199 "configure"
    11561199#include "confdefs.h"
    11571200#include <ctype.h>
     
    11641207
    11651208EOF
    1166 { (eval echo configure:1167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    1167 if test -s conftest && (./conftest; exit) 2>/dev/null; then
    1168   :
    1169 else
     1209if { (eval echo configure:1210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     1210then
     1211  :
     1212else
     1213  echo "configure: failed program was:" >&5
     1214  cat conftest.$ac_ext >&5
     1215  rm -fr conftest*
    11701216  ac_cv_header_stdc=no
    11711217fi
    1172 fi
    11731218rm -fr conftest*
     1219fi
     1220
    11741221fi
    11751222fi
     
    11841231
    11851232echo $ac_n "checking for pid_t""... $ac_c" 1>&6
     1233echo "configure:1234: checking for pid_t" >&5
    11861234if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
    11871235  echo $ac_n "(cached) $ac_c" 1>&6
    11881236else
    11891237  cat > conftest.$ac_ext <<EOF
    1190 #line 1191 "configure"
     1238#line 1239 "configure"
    11911239#include "confdefs.h"
    11921240#include <sys/types.h>
    11931241#if STDC_HEADERS
    11941242#include <stdlib.h>
     1243#include <stddef.h>
    11951244#endif
    11961245EOF
    11971246if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    1198   egrep "pid_t" >/dev/null 2>&1; then
     1247  egrep "pid_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    11991248  rm -rf conftest*
    12001249  ac_cv_type_pid_t=yes
     
    12141263fi
    12151264
    1216 ac_safe=`echo "vfork.h" | tr './\055' '___'`
     1265ac_safe=`echo "vfork.h" | sed 'y%./+-%__p_%'`
    12171266echo $ac_n "checking for vfork.h""... $ac_c" 1>&6
     1267echo "configure:1268: checking for vfork.h" >&5
    12181268if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    12191269  echo $ac_n "(cached) $ac_c" 1>&6
    12201270else
    12211271  cat > conftest.$ac_ext <<EOF
    1222 #line 1223 "configure"
     1272#line 1273 "configure"
    12231273#include "confdefs.h"
    12241274#include <vfork.h>
    12251275EOF
    12261276ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1227 { (eval echo configure:1228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1277{ (eval echo configure:1278: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    12281278ac_err=`grep -v '^ *+' conftest.out`
    12291279if test -z "$ac_err"; then
     
    12321282else
    12331283  echo "$ac_err" >&5
     1284  echo "configure: failed program was:" >&5
     1285  cat conftest.$ac_ext >&5
    12341286  rm -rf conftest*
    12351287  eval "ac_cv_header_$ac_safe=no"
     
    12481300
    12491301echo $ac_n "checking for working vfork""... $ac_c" 1>&6
    1250 if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
     1302echo "configure:1303: checking for working vfork" >&5
     1303if eval "test \"`echo '$''{'ac_cv_func_vfork_works'+set}'`\" = set"; then
    12511304  echo $ac_n "(cached) $ac_c" 1>&6
    12521305else
    12531306  if test "$cross_compiling" = yes; then
    12541307  echo $ac_n "checking for vfork""... $ac_c" 1>&6
     1308echo "configure:1309: checking for vfork" >&5
    12551309if eval "test \"`echo '$''{'ac_cv_func_vfork'+set}'`\" = set"; then
    12561310  echo $ac_n "(cached) $ac_c" 1>&6
    12571311else
    12581312  cat > conftest.$ac_ext <<EOF
    1259 #line 1260 "configure"
     1313#line 1314 "configure"
    12601314#include "confdefs.h"
    12611315/* System header to define __stub macros and hopefully few prototypes,
     
    12631317#include <assert.h>
    12641318/* Override any gcc2 internal prototype to avoid an error.  */
     1319/* We use char because int might match the return type of a gcc2
     1320    builtin and then its argument prototype would still apply.  */
    12651321char vfork();
    12661322
    1267 int main() { return 0; }
    1268 int t() {
     1323int main() {
    12691324
    12701325/* The GNU C library defines this for functions which it implements
     
    12791334; return 0; }
    12801335EOF
    1281 if { (eval echo configure:1282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1336if { (eval echo configure:1337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    12821337  rm -rf conftest*
    12831338  eval "ac_cv_func_vfork=yes"
    12841339else
     1340  echo "configure: failed program was:" >&5
     1341  cat conftest.$ac_ext >&5
    12851342  rm -rf conftest*
    12861343  eval "ac_cv_func_vfork=no"
    12871344fi
    12881345rm -f conftest*
    1289 
    1290 fi
     1346fi
     1347
    12911348if eval "test \"`echo '$ac_cv_func_'vfork`\" = yes"; then
    12921349  echo "$ac_t""yes" 1>&6
     
    12971354
    12981355else
    1299 cat > conftest.$ac_ext <<EOF
    1300 #line 1301 "configure"
     1356  cat > conftest.$ac_ext <<EOF
     1357#line 1358 "configure"
    13011358#include "confdefs.h"
    13021359/* Thanks to Paul Eggert for this test.  */
     
    13261383  if (!child) {
    13271384    child = vfork ();
    1328     if (child < 0)
     1385    if (child < 0) {
    13291386      perror ("vfork");
     1387      _exit(2);
     1388    }
    13301389    if (!child) {
    13311390      arg = getpid();
     
    13911450}
    13921451EOF
    1393 { (eval echo configure:1394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    1394 if test -s conftest && (./conftest; exit) 2>/dev/null; then
    1395   ac_cv_func_vfork=yes
    1396 else
    1397   ac_cv_func_vfork=no
    1398 fi
     1452if { (eval echo configure:1453: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     1453then
     1454  ac_cv_func_vfork_works=yes
     1455else
     1456  echo "configure: failed program was:" >&5
     1457  cat conftest.$ac_ext >&5
     1458  rm -fr conftest*
     1459  ac_cv_func_vfork_works=no
    13991460fi
    14001461rm -fr conftest*
    14011462fi
    14021463
    1403 echo "$ac_t""$ac_cv_func_vfork" 1>&6
    1404 if test $ac_cv_func_vfork = no; then
     1464fi
     1465
     1466echo "$ac_t""$ac_cv_func_vfork_works" 1>&6
     1467if test $ac_cv_func_vfork_works = no; then
    14051468  cat >> confdefs.h <<\EOF
    14061469#define vfork fork
     
    14751538
    14761539if test "$ac_check_prog" = yes; then
    1477   echo $ac_n "checking for -lm""... $ac_c" 1>&6
    1478 ac_lib_var=`echo m_atof | tr '.-/+' '___p'`
     1540  echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6
     1541echo "configure:1542: checking for atof in -lm" >&5
     1542ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'`
    14791543if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    14801544  echo $ac_n "(cached) $ac_c" 1>&6
     
    14831547LIBS="-lm  $LIBS"
    14841548cat > conftest.$ac_ext <<EOF
    1485 #line 1486 "configure"
     1549#line 1550 "configure"
    14861550#include "confdefs.h"
    14871551/* Override any gcc2 internal prototype to avoid an error.  */
     1552/* We use char because int might match the return type of a gcc2
     1553    builtin and then its argument prototype would still apply.  */
    14881554char atof();
    14891555
    1490 int main() { return 0; }
    1491 int t() {
     1556int main() {
    14921557atof()
    14931558; return 0; }
    14941559EOF
    1495 if { (eval echo configure:1496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1560if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    14961561  rm -rf conftest*
    14971562  eval "ac_cv_lib_$ac_lib_var=yes"
    14981563else
     1564  echo "configure: failed program was:" >&5
     1565  cat conftest.$ac_ext >&5
    14991566  rm -rf conftest*
    15001567  eval "ac_cv_lib_$ac_lib_var=no"
     
    15061573if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    15071574  echo "$ac_t""yes" 1>&6
    1508     ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1575    ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1576    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    15091577  cat >> confdefs.h <<EOF
    15101578#define $ac_tr_lib 1
     
    15171585fi
    15181586
    1519   echo $ac_n "checking for -lbsd""... $ac_c" 1>&6
    1520 ac_lib_var=`echo bsd_socket | tr '.-/+' '___p'`
     1587  echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6
     1588echo "configure:1589: checking for socket in -lbsd" >&5
     1589ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'`
    15211590if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    15221591  echo $ac_n "(cached) $ac_c" 1>&6
     
    15251594LIBS="-lbsd  $LIBS"
    15261595cat > conftest.$ac_ext <<EOF
    1527 #line 1528 "configure"
     1596#line 1597 "configure"
    15281597#include "confdefs.h"
    15291598/* Override any gcc2 internal prototype to avoid an error.  */
     1599/* We use char because int might match the return type of a gcc2
     1600    builtin and then its argument prototype would still apply.  */
    15301601char socket();
    15311602
    1532 int main() { return 0; }
    1533 int t() {
     1603int main() {
    15341604socket()
    15351605; return 0; }
    15361606EOF
    1537 if { (eval echo configure:1538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1607if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    15381608  rm -rf conftest*
    15391609  eval "ac_cv_lib_$ac_lib_var=yes"
    15401610else
     1611  echo "configure: failed program was:" >&5
     1612  cat conftest.$ac_ext >&5
    15411613  rm -rf conftest*
    15421614  eval "ac_cv_lib_$ac_lib_var=no"
     
    15481620if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    15491621  echo "$ac_t""yes" 1>&6
    1550     ac_tr_lib=HAVE_LIB`echo bsd | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1622    ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1623    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    15511624  cat >> confdefs.h <<EOF
    15521625#define $ac_tr_lib 1
     
    15591632fi
    15601633
    1561   echo $ac_n "checking for -lgmp""... $ac_c" 1>&6
    1562 ac_lib_var=`echo gmp_mpz_init | tr '.-/+' '___p'`
     1634  echo $ac_n "checking for mpz_init in -lgmp""... $ac_c" 1>&6
     1635echo "configure:1636: checking for mpz_init in -lgmp" >&5
     1636ac_lib_var=`echo gmp'_'mpz_init | sed 'y%./+-%__p_%'`
    15631637if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    15641638  echo $ac_n "(cached) $ac_c" 1>&6
     
    15671641LIBS="-lgmp  $LIBS"
    15681642cat > conftest.$ac_ext <<EOF
    1569 #line 1570 "configure"
     1643#line 1644 "configure"
    15701644#include "confdefs.h"
    15711645/* Override any gcc2 internal prototype to avoid an error.  */
     1646/* We use char because int might match the return type of a gcc2
     1647    builtin and then its argument prototype would still apply.  */
    15721648char mpz_init();
    15731649
    1574 int main() { return 0; }
    1575 int t() {
     1650int main() {
    15761651mpz_init()
    15771652; return 0; }
    15781653EOF
    1579 if { (eval echo configure:1580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1654if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    15801655  rm -rf conftest*
    15811656  eval "ac_cv_lib_$ac_lib_var=yes"
    15821657else
     1658  echo "configure: failed program was:" >&5
     1659  cat conftest.$ac_ext >&5
    15831660  rm -rf conftest*
    15841661  eval "ac_cv_lib_$ac_lib_var=no"
     
    15901667if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    15911668  echo "$ac_t""yes" 1>&6
    1592     ac_tr_lib=HAVE_LIB`echo gmp | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1669    ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1670    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    15931671  cat >> confdefs.h <<EOF
    15941672#define $ac_tr_lib 1
     
    16091687  fi
    16101688 
    1611   for ac_func in select socket gethostname gethostbyname strtol
     1689  for ac_func in select socket gethostname gethostbyname strtol strstr
    16121690do
    16131691echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
     1692echo "configure:1693: checking for $ac_func" >&5
    16141693if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
    16151694  echo $ac_n "(cached) $ac_c" 1>&6
    16161695else
    16171696  cat > conftest.$ac_ext <<EOF
    1618 #line 1619 "configure"
     1697#line 1698 "configure"
    16191698#include "confdefs.h"
    16201699/* System header to define __stub macros and hopefully few prototypes,
     
    16221701#include <assert.h>
    16231702/* Override any gcc2 internal prototype to avoid an error.  */
     1703/* We use char because int might match the return type of a gcc2
     1704    builtin and then its argument prototype would still apply.  */
    16241705char $ac_func();
    16251706
    1626 int main() { return 0; }
    1627 int t() {
     1707int main() {
    16281708
    16291709/* The GNU C library defines this for functions which it implements
     
    16381718; return 0; }
    16391719EOF
    1640 if { (eval echo configure:1641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1720if { (eval echo configure:1721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16411721  rm -rf conftest*
    16421722  eval "ac_cv_func_$ac_func=yes"
    16431723else
     1724  echo "configure: failed program was:" >&5
     1725  cat conftest.$ac_ext >&5
    16441726  rm -rf conftest*
    16451727  eval "ac_cv_func_$ac_func=no"
    16461728fi
    16471729rm -f conftest*
    1648 
    1649 fi
     1730fi
     1731
    16501732if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
    16511733  echo "$ac_t""yes" 1>&6
     
    16701752
    16711753  if test "$ac_cv_func_gethostbyname" != yes; then
    1672     echo $ac_n "checking for -lnsl""... $ac_c" 1>&6
    1673 ac_lib_var=`echo nsl_gethostbyname | tr '.-/+' '___p'`
     1754    echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
     1755echo "configure:1756: checking for gethostbyname in -lnsl" >&5
     1756ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
    16741757if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    16751758  echo $ac_n "(cached) $ac_c" 1>&6
     
    16781761LIBS="-lnsl  $LIBS"
    16791762cat > conftest.$ac_ext <<EOF
    1680 #line 1681 "configure"
     1763#line 1764 "configure"
    16811764#include "confdefs.h"
    16821765/* Override any gcc2 internal prototype to avoid an error.  */
     1766/* We use char because int might match the return type of a gcc2
     1767    builtin and then its argument prototype would still apply.  */
    16831768char gethostbyname();
    16841769
    1685 int main() { return 0; }
    1686 int t() {
     1770int main() {
    16871771gethostbyname()
    16881772; return 0; }
    16891773EOF
    1690 if { (eval echo configure:1691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1774if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    16911775  rm -rf conftest*
    16921776  eval "ac_cv_lib_$ac_lib_var=yes"
    16931777else
     1778  echo "configure: failed program was:" >&5
     1779  cat conftest.$ac_ext >&5
    16941780  rm -rf conftest*
    16951781  eval "ac_cv_lib_$ac_lib_var=no"
     
    17011787if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    17021788  echo "$ac_t""yes" 1>&6
    1703     ac_tr_lib=HAVE_LIB`echo nsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1789    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1790    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    17041791  cat >> confdefs.h <<EOF
    17051792#define $ac_tr_lib 1
     
    17191806
    17201807  if test "$ac_cv_func_socket" != yes; then
    1721     echo $ac_n "checking for -lsocket""... $ac_c" 1>&6
    1722 ac_lib_var=`echo socket_socket | tr '.-/+' '___p'`
     1808    echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
     1809echo "configure:1810: checking for socket in -lsocket" >&5
     1810ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
    17231811if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    17241812  echo $ac_n "(cached) $ac_c" 1>&6
     
    17271815LIBS="-lsocket  $LIBS"
    17281816cat > conftest.$ac_ext <<EOF
    1729 #line 1730 "configure"
     1817#line 1818 "configure"
    17301818#include "confdefs.h"
    17311819/* Override any gcc2 internal prototype to avoid an error.  */
     1820/* We use char because int might match the return type of a gcc2
     1821    builtin and then its argument prototype would still apply.  */
    17321822char socket();
    17331823
    1734 int main() { return 0; }
    1735 int t() {
     1824int main() {
    17361825socket()
    17371826; return 0; }
    17381827EOF
    1739 if { (eval echo configure:1740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
     1828if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
    17401829  rm -rf conftest*
    17411830  eval "ac_cv_lib_$ac_lib_var=yes"
    17421831else
     1832  echo "configure: failed program was:" >&5
     1833  cat conftest.$ac_ext >&5
    17431834  rm -rf conftest*
    17441835  eval "ac_cv_lib_$ac_lib_var=no"
     
    17501841if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
    17511842  echo "$ac_t""yes" 1>&6
    1752     ac_tr_lib=HAVE_LIB`echo socket | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
     1843    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
     1844    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
    17531845  cat >> confdefs.h <<EOF
    17541846#define $ac_tr_lib 1
     
    17701862
    17711863echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
     1864echo "configure:1865: checking for ANSI C header files" >&5
    17721865if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
    17731866  echo $ac_n "(cached) $ac_c" 1>&6
    17741867else
    17751868  cat > conftest.$ac_ext <<EOF
    1776 #line 1777 "configure"
     1869#line 1870 "configure"
    17771870#include "confdefs.h"
    17781871#include <stdlib.h>
     
    17821875EOF
    17831876ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1784 { (eval echo configure:1785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1877{ (eval echo configure:1878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    17851878ac_err=`grep -v '^ *+' conftest.out`
    17861879if test -z "$ac_err"; then
     
    17891882else
    17901883  echo "$ac_err" >&5
     1884  echo "configure: failed program was:" >&5
     1885  cat conftest.$ac_ext >&5
    17911886  rm -rf conftest*
    17921887  ac_cv_header_stdc=no
     
    17971892  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    17981893cat > conftest.$ac_ext <<EOF
    1799 #line 1800 "configure"
     1894#line 1895 "configure"
    18001895#include "confdefs.h"
    18011896#include <string.h>
     
    18151910  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    18161911cat > conftest.$ac_ext <<EOF
    1817 #line 1818 "configure"
     1912#line 1913 "configure"
    18181913#include "confdefs.h"
    18191914#include <stdlib.h>
     
    18351930  :
    18361931else
    1837 cat > conftest.$ac_ext <<EOF
    1838 #line 1839 "configure"
     1932  cat > conftest.$ac_ext <<EOF
     1933#line 1934 "configure"
    18391934#include "confdefs.h"
    18401935#include <ctype.h>
     
    18471942
    18481943EOF
    1849 { (eval echo configure:1850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    1850 if test -s conftest && (./conftest; exit) 2>/dev/null; then
    1851   :
    1852 else
     1944if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     1945then
     1946  :
     1947else
     1948  echo "configure: failed program was:" >&5
     1949  cat conftest.$ac_ext >&5
     1950  rm -fr conftest*
    18531951  ac_cv_header_stdc=no
    18541952fi
    1855 fi
    18561953rm -fr conftest*
     1954fi
     1955
    18571956fi
    18581957fi
     
    18661965fi
    18671966
    1868 ac_safe=`echo "arpa/inet.h" | tr './\055' '___'`
     1967ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
    18691968echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
     1969echo "configure:1970: checking for arpa/inet.h" >&5
    18701970if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    18711971  echo $ac_n "(cached) $ac_c" 1>&6
    18721972else
    18731973  cat > conftest.$ac_ext <<EOF
    1874 #line 1875 "configure"
     1974#line 1975 "configure"
    18751975#include "confdefs.h"
    18761976#include <arpa/inet.h>
    18771977EOF
    18781978ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1879 { (eval echo configure:1880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     1979{ (eval echo configure:1980: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    18801980ac_err=`grep -v '^ *+' conftest.out`
    18811981if test -z "$ac_err"; then
     
    18841984else
    18851985  echo "$ac_err" >&5
     1986  echo "configure: failed program was:" >&5
     1987  cat conftest.$ac_ext >&5
    18861988  rm -rf conftest*
    18871989  eval "ac_cv_header_$ac_safe=no"
     
    18971999fi
    18982000
    1899 ac_safe=`echo "assert.h" | tr './\055' '___'`
     2001ac_safe=`echo "assert.h" | sed 'y%./+-%__p_%'`
    19002002echo $ac_n "checking for assert.h""... $ac_c" 1>&6
     2003echo "configure:2004: checking for assert.h" >&5
    19012004if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19022005  echo $ac_n "(cached) $ac_c" 1>&6
    19032006else
    19042007  cat > conftest.$ac_ext <<EOF
    1905 #line 1906 "configure"
     2008#line 2009 "configure"
    19062009#include "confdefs.h"
    19072010#include <assert.h>
    19082011EOF
    19092012ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1910 { (eval echo configure:1911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2013{ (eval echo configure:2014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19112014ac_err=`grep -v '^ *+' conftest.out`
    19122015if test -z "$ac_err"; then
     
    19152018else
    19162019  echo "$ac_err" >&5
     2020  echo "configure: failed program was:" >&5
     2021  cat conftest.$ac_ext >&5
    19172022  rm -rf conftest*
    19182023  eval "ac_cv_header_$ac_safe=no"
     
    19282033fi
    19292034
    1930 ac_safe=`echo "ctype.h" | tr './\055' '___'`
     2035ac_safe=`echo "ctype.h" | sed 'y%./+-%__p_%'`
    19312036echo $ac_n "checking for ctype.h""... $ac_c" 1>&6
     2037echo "configure:2038: checking for ctype.h" >&5
    19322038if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19332039  echo $ac_n "(cached) $ac_c" 1>&6
    19342040else
    19352041  cat > conftest.$ac_ext <<EOF
    1936 #line 1937 "configure"
     2042#line 2043 "configure"
    19372043#include "confdefs.h"
    19382044#include <ctype.h>
    19392045EOF
    19402046ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1941 { (eval echo configure:1942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2047{ (eval echo configure:2048: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19422048ac_err=`grep -v '^ *+' conftest.out`
    19432049if test -z "$ac_err"; then
     
    19462052else
    19472053  echo "$ac_err" >&5
     2054  echo "configure: failed program was:" >&5
     2055  cat conftest.$ac_ext >&5
    19482056  rm -rf conftest*
    19492057  eval "ac_cv_header_$ac_safe=no"
     
    19592067fi
    19602068
    1961 ac_safe=`echo "errno.h" | tr './\055' '___'`
     2069ac_safe=`echo "errno.h" | sed 'y%./+-%__p_%'`
    19622070echo $ac_n "checking for errno.h""... $ac_c" 1>&6
     2071echo "configure:2072: checking for errno.h" >&5
    19632072if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19642073  echo $ac_n "(cached) $ac_c" 1>&6
    19652074else
    19662075  cat > conftest.$ac_ext <<EOF
    1967 #line 1968 "configure"
     2076#line 2077 "configure"
    19682077#include "confdefs.h"
    19692078#include <errno.h>
    19702079EOF
    19712080ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    1972 { (eval echo configure:1973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2081{ (eval echo configure:2082: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    19732082ac_err=`grep -v '^ *+' conftest.out`
    19742083if test -z "$ac_err"; then
     
    19772086else
    19782087  echo "$ac_err" >&5
     2088  echo "configure: failed program was:" >&5
     2089  cat conftest.$ac_ext >&5
    19792090  rm -rf conftest*
    19802091  eval "ac_cv_header_$ac_safe=no"
     
    19902101fi
    19912102
    1992 ac_safe=`echo "netdb.h" | tr './\055' '___'`
     2103ac_safe=`echo "netdb.h" | sed 'y%./+-%__p_%'`
    19932104echo $ac_n "checking for netdb.h""... $ac_c" 1>&6
     2105echo "configure:2106: checking for netdb.h" >&5
    19942106if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    19952107  echo $ac_n "(cached) $ac_c" 1>&6
    19962108else
    19972109  cat > conftest.$ac_ext <<EOF
    1998 #line 1999 "configure"
     2110#line 2111 "configure"
    19992111#include "confdefs.h"
    20002112#include <netdb.h>
    20012113EOF
    20022114ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2003 { (eval echo configure:2004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2115{ (eval echo configure:2116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20042116ac_err=`grep -v '^ *+' conftest.out`
    20052117if test -z "$ac_err"; then
     
    20082120else
    20092121  echo "$ac_err" >&5
     2122  echo "configure: failed program was:" >&5
     2123  cat conftest.$ac_ext >&5
    20102124  rm -rf conftest*
    20112125  eval "ac_cv_header_$ac_safe=no"
     
    20212135fi
    20222136
    2023 ac_safe=`echo "netinet/in.h" | tr './\055' '___'`
     2137ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
    20242138echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
     2139echo "configure:2140: checking for netinet/in.h" >&5
    20252140if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20262141  echo $ac_n "(cached) $ac_c" 1>&6
    20272142else
    20282143  cat > conftest.$ac_ext <<EOF
    2029 #line 2030 "configure"
     2144#line 2145 "configure"
    20302145#include "confdefs.h"
    20312146#include <netinet/in.h>
    20322147EOF
    20332148ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2034 { (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2149{ (eval echo configure:2150: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20352150ac_err=`grep -v '^ *+' conftest.out`
    20362151if test -z "$ac_err"; then
     
    20392154else
    20402155  echo "$ac_err" >&5
     2156  echo "configure: failed program was:" >&5
     2157  cat conftest.$ac_ext >&5
    20412158  rm -rf conftest*
    20422159  eval "ac_cv_header_$ac_safe=no"
     
    20522169fi
    20532170
    2054 ac_safe=`echo "netinet/tcp.h" | tr './\055' '___'`
     2171ac_safe=`echo "netinet/tcp.h" | sed 'y%./+-%__p_%'`
    20552172echo $ac_n "checking for netinet/tcp.h""... $ac_c" 1>&6
     2173echo "configure:2174: checking for netinet/tcp.h" >&5
    20562174if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20572175  echo $ac_n "(cached) $ac_c" 1>&6
    20582176else
    20592177  cat > conftest.$ac_ext <<EOF
    2060 #line 2061 "configure"
     2178#line 2179 "configure"
    20612179#include "confdefs.h"
    20622180#include <netinet/tcp.h>
    20632181EOF
    20642182ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2065 { (eval echo configure:2066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2183{ (eval echo configure:2184: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20662184ac_err=`grep -v '^ *+' conftest.out`
    20672185if test -z "$ac_err"; then
     
    20702188else
    20712189  echo "$ac_err" >&5
     2190  echo "configure: failed program was:" >&5
     2191  cat conftest.$ac_ext >&5
    20722192  rm -rf conftest*
    20732193  eval "ac_cv_header_$ac_safe=no"
     
    20832203fi
    20842204
    2085 ac_safe=`echo "signal.h" | tr './\055' '___'`
     2205ac_safe=`echo "signal.h" | sed 'y%./+-%__p_%'`
    20862206echo $ac_n "checking for signal.h""... $ac_c" 1>&6
     2207echo "configure:2208: checking for signal.h" >&5
    20872208if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    20882209  echo $ac_n "(cached) $ac_c" 1>&6
    20892210else
    20902211  cat > conftest.$ac_ext <<EOF
    2091 #line 2092 "configure"
     2212#line 2213 "configure"
    20922213#include "confdefs.h"
    20932214#include <signal.h>
    20942215EOF
    20952216ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2096 { (eval echo configure:2097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2217{ (eval echo configure:2218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    20972218ac_err=`grep -v '^ *+' conftest.out`
    20982219if test -z "$ac_err"; then
     
    21012222else
    21022223  echo "$ac_err" >&5
     2224  echo "configure: failed program was:" >&5
     2225  cat conftest.$ac_ext >&5
    21032226  rm -rf conftest*
    21042227  eval "ac_cv_header_$ac_safe=no"
     
    21142237fi
    21152238
    2116 ac_safe=`echo "stdarg.h" | tr './\055' '___'`
     2239ac_safe=`echo "stdarg.h" | sed 'y%./+-%__p_%'`
    21172240echo $ac_n "checking for stdarg.h""... $ac_c" 1>&6
     2241echo "configure:2242: checking for stdarg.h" >&5
    21182242if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    21192243  echo $ac_n "(cached) $ac_c" 1>&6
    21202244else
    21212245  cat > conftest.$ac_ext <<EOF
    2122 #line 2123 "configure"
     2246#line 2247 "configure"
    21232247#include "confdefs.h"
    21242248#include <stdarg.h>
    2125 EOF
    2126 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2127 { (eval echo configure:2128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2128 ac_err=`grep -v '^ *+' conftest.out`
    2129 if test -z "$ac_err"; then
    2130   rm -rf conftest*
    2131   eval "ac_cv_header_$ac_safe=yes"
    2132 else
    2133   echo "$ac_err" >&5
    2134   rm -rf conftest*
    2135   eval "ac_cv_header_$ac_safe=no"
    2136 fi
    2137 rm -f conftest*
    2138 fi
    2139 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2140   echo "$ac_t""yes" 1>&6
    2141   :
    2142 else
    2143   echo "$ac_t""no" 1>&6
    2144 echo "*** no stdarg.h";exit
    2145 fi
    2146 
    2147 ac_safe=`echo "stdio.h" | tr './\055' '___'`
    2148 echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
    2149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2150   echo $ac_n "(cached) $ac_c" 1>&6
    2151 else
    2152   cat > conftest.$ac_ext <<EOF
    2153 #line 2154 "configure"
    2154 #include "confdefs.h"
    2155 #include <stdio.h>
    2156 EOF
    2157 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2158 { (eval echo configure:2159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2159 ac_err=`grep -v '^ *+' conftest.out`
    2160 if test -z "$ac_err"; then
    2161   rm -rf conftest*
    2162   eval "ac_cv_header_$ac_safe=yes"
    2163 else
    2164   echo "$ac_err" >&5
    2165   rm -rf conftest*
    2166   eval "ac_cv_header_$ac_safe=no"
    2167 fi
    2168 rm -f conftest*
    2169 fi
    2170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2171   echo "$ac_t""yes" 1>&6
    2172   :
    2173 else
    2174   echo "$ac_t""no" 1>&6
    2175 echo "*** no stdio.h";exit
    2176 fi
    2177 
    2178 ac_safe=`echo "stdlib.h" | tr './\055' '___'`
    2179 echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6
    2180 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2181   echo $ac_n "(cached) $ac_c" 1>&6
    2182 else
    2183   cat > conftest.$ac_ext <<EOF
    2184 #line 2185 "configure"
    2185 #include "confdefs.h"
    2186 #include <stdlib.h>
    2187 EOF
    2188 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2189 { (eval echo configure:2190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2190 ac_err=`grep -v '^ *+' conftest.out`
    2191 if test -z "$ac_err"; then
    2192   rm -rf conftest*
    2193   eval "ac_cv_header_$ac_safe=yes"
    2194 else
    2195   echo "$ac_err" >&5
    2196   rm -rf conftest*
    2197   eval "ac_cv_header_$ac_safe=no"
    2198 fi
    2199 rm -f conftest*
    2200 fi
    2201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2202   echo "$ac_t""yes" 1>&6
    2203   :
    2204 else
    2205   echo "$ac_t""no" 1>&6
    2206 echo "*** no stdlib.h";exit
    2207 fi
    2208 
    2209 ac_safe=`echo "string.h" | tr './\055' '___'`
    2210 echo $ac_n "checking for string.h""... $ac_c" 1>&6
    2211 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2212   echo $ac_n "(cached) $ac_c" 1>&6
    2213 else
    2214   cat > conftest.$ac_ext <<EOF
    2215 #line 2216 "configure"
    2216 #include "confdefs.h"
    2217 #include <string.h>
    2218 EOF
    2219 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2220 { (eval echo configure:2221: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    2221 ac_err=`grep -v '^ *+' conftest.out`
    2222 if test -z "$ac_err"; then
    2223   rm -rf conftest*
    2224   eval "ac_cv_header_$ac_safe=yes"
    2225 else
    2226   echo "$ac_err" >&5
    2227   rm -rf conftest*
    2228   eval "ac_cv_header_$ac_safe=no"
    2229 fi
    2230 rm -f conftest*
    2231 fi
    2232 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    2233   echo "$ac_t""yes" 1>&6
    2234   :
    2235 else
    2236   echo "$ac_t""no" 1>&6
    2237 echo "*** no string.h";exit
    2238 fi
    2239 
    2240 ac_safe=`echo "stddef.h" | tr './\055' '___'`
    2241 echo $ac_n "checking for stddef.h""... $ac_c" 1>&6
    2242 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    2243   echo $ac_n "(cached) $ac_c" 1>&6
    2244 else
    2245   cat > conftest.$ac_ext <<EOF
    2246 #line 2247 "configure"
    2247 #include "confdefs.h"
    2248 #include <stddef.h>
    22492249EOF
    22502250ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     
    22562256else
    22572257  echo "$ac_err" >&5
     2258  echo "configure: failed program was:" >&5
     2259  cat conftest.$ac_ext >&5
    22582260  rm -rf conftest*
    22592261  eval "ac_cv_header_$ac_safe=no"
     
    22662268else
    22672269  echo "$ac_t""no" 1>&6
    2268 echo "*** no stddef.h";exit
    2269 fi
    2270 
    2271 ac_safe=`echo "values.h" | tr './\055' '___'`
    2272 echo $ac_n "checking for values.h""... $ac_c" 1>&6
     2270echo "*** no stdarg.h";exit
     2271fi
     2272
     2273ac_safe=`echo "stdio.h" | sed 'y%./+-%__p_%'`
     2274echo $ac_n "checking for stdio.h""... $ac_c" 1>&6
     2275echo "configure:2276: checking for stdio.h" >&5
    22732276if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    22742277  echo $ac_n "(cached) $ac_c" 1>&6
    22752278else
    22762279  cat > conftest.$ac_ext <<EOF
    2277 #line 2278 "configure"
    2278 #include "confdefs.h"
    2279 #include <values.h>
     2280#line 2281 "configure"
     2281#include "confdefs.h"
     2282#include <stdio.h>
    22802283EOF
    22812284ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2282 { (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2285{ (eval echo configure:2286: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    22832286ac_err=`grep -v '^ *+' conftest.out`
    22842287if test -z "$ac_err"; then
     
    22872290else
    22882291  echo "$ac_err" >&5
     2292  echo "configure: failed program was:" >&5
     2293  cat conftest.$ac_ext >&5
    22892294  rm -rf conftest*
    22902295  eval "ac_cv_header_$ac_safe=no"
     
    22972302else
    22982303  echo "$ac_t""no" 1>&6
    2299 echo "*** no values.h";exit
    2300 fi
    2301 
    2302 
    2303 ac_safe=`echo "fcntl.h" | tr './\055' '___'`
    2304 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6
     2304echo "*** no stdio.h";exit
     2305fi
     2306
     2307ac_safe=`echo "stdlib.h" | sed 'y%./+-%__p_%'`
     2308echo $ac_n "checking for stdlib.h""... $ac_c" 1>&6
     2309echo "configure:2310: checking for stdlib.h" >&5
    23052310if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23062311  echo $ac_n "(cached) $ac_c" 1>&6
    23072312else
    23082313  cat > conftest.$ac_ext <<EOF
    2309 #line 2310 "configure"
    2310 #include "confdefs.h"
    2311 #include <fcntl.h>
     2314#line 2315 "configure"
     2315#include "confdefs.h"
     2316#include <stdlib.h>
    23122317EOF
    23132318ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2314 { (eval echo configure:2315: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2319{ (eval echo configure:2320: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23152320ac_err=`grep -v '^ *+' conftest.out`
    23162321if test -z "$ac_err"; then
     
    23192324else
    23202325  echo "$ac_err" >&5
     2326  echo "configure: failed program was:" >&5
     2327  cat conftest.$ac_ext >&5
    23212328  rm -rf conftest*
    23222329  eval "ac_cv_header_$ac_safe=no"
     
    23292336else
    23302337  echo "$ac_t""no" 1>&6
    2331 echo "*** no fcntl.h";exit
    2332 fi
    2333 
    2334 ac_safe=`echo "sys/ioctl.h" | tr './\055' '___'`
    2335 echo $ac_n "checking for sys/ioctl.h""... $ac_c" 1>&6
     2338echo "*** no stdlib.h";exit
     2339fi
     2340
     2341ac_safe=`echo "string.h" | sed 'y%./+-%__p_%'`
     2342echo $ac_n "checking for string.h""... $ac_c" 1>&6
     2343echo "configure:2344: checking for string.h" >&5
    23362344if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23372345  echo $ac_n "(cached) $ac_c" 1>&6
    23382346else
    23392347  cat > conftest.$ac_ext <<EOF
    2340 #line 2341 "configure"
    2341 #include "confdefs.h"
    2342 #include <sys/ioctl.h>
     2348#line 2349 "configure"
     2349#include "confdefs.h"
     2350#include <string.h>
    23432351EOF
    23442352ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2345 { (eval echo configure:2346: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2353{ (eval echo configure:2354: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23462354ac_err=`grep -v '^ *+' conftest.out`
    23472355if test -z "$ac_err"; then
     
    23502358else
    23512359  echo "$ac_err" >&5
     2360  echo "configure: failed program was:" >&5
     2361  cat conftest.$ac_ext >&5
    23522362  rm -rf conftest*
    23532363  eval "ac_cv_header_$ac_safe=no"
     
    23602370else
    23612371  echo "$ac_t""no" 1>&6
    2362 echo "*** no sys/ioctl.h";exit
    2363 fi
    2364 
    2365 ac_safe=`echo "sys/param.h" | tr './\055' '___'`
    2366 echo $ac_n "checking for sys/param.h""... $ac_c" 1>&6
     2372echo "*** no string.h";exit
     2373fi
     2374
     2375ac_safe=`echo "stddef.h" | sed 'y%./+-%__p_%'`
     2376echo $ac_n "checking for stddef.h""... $ac_c" 1>&6
     2377echo "configure:2378: checking for stddef.h" >&5
    23672378if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23682379  echo $ac_n "(cached) $ac_c" 1>&6
    23692380else
    23702381  cat > conftest.$ac_ext <<EOF
    2371 #line 2372 "configure"
    2372 #include "confdefs.h"
    2373 #include <sys/param.h>
     2382#line 2383 "configure"
     2383#include "confdefs.h"
     2384#include <stddef.h>
    23742385EOF
    23752386ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2376 { (eval echo configure:2377: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2387{ (eval echo configure:2388: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    23772388ac_err=`grep -v '^ *+' conftest.out`
    23782389if test -z "$ac_err"; then
     
    23812392else
    23822393  echo "$ac_err" >&5
     2394  echo "configure: failed program was:" >&5
     2395  cat conftest.$ac_ext >&5
    23832396  rm -rf conftest*
    23842397  eval "ac_cv_header_$ac_safe=no"
     
    23912404else
    23922405  echo "$ac_t""no" 1>&6
    2393 echo "*** no sys/param.h";exit
    2394 fi
    2395 
    2396 ac_safe=`echo "sys/socket.h" | tr './\055' '___'`
    2397 echo $ac_n "checking for sys/socket.h""... $ac_c" 1>&6
     2406echo "*** no stddef.h";exit
     2407fi
     2408
     2409ac_safe=`echo "values.h" | sed 'y%./+-%__p_%'`
     2410echo $ac_n "checking for values.h""... $ac_c" 1>&6
     2411echo "configure:2412: checking for values.h" >&5
    23982412if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    23992413  echo $ac_n "(cached) $ac_c" 1>&6
    24002414else
    24012415  cat > conftest.$ac_ext <<EOF
    2402 #line 2403 "configure"
    2403 #include "confdefs.h"
    2404 #include <sys/socket.h>
     2416#line 2417 "configure"
     2417#include "confdefs.h"
     2418#include <values.h>
    24052419EOF
    24062420ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2407 { (eval echo configure:2408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2421{ (eval echo configure:2422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24082422ac_err=`grep -v '^ *+' conftest.out`
    24092423if test -z "$ac_err"; then
     
    24122426else
    24132427  echo "$ac_err" >&5
     2428  echo "configure: failed program was:" >&5
     2429  cat conftest.$ac_ext >&5
    24142430  rm -rf conftest*
    24152431  eval "ac_cv_header_$ac_safe=no"
     
    24222438else
    24232439  echo "$ac_t""no" 1>&6
    2424 echo "*** no sys/socket.h";exit
    2425 fi
    2426 
    2427 ac_safe=`echo "sys/stat.h" | tr './\055' '___'`
    2428 echo $ac_n "checking for sys/stat.h""... $ac_c" 1>&6
     2440echo "*** no values.h";exit
     2441fi
     2442
     2443
     2444ac_safe=`echo "fcntl.h" | sed 'y%./+-%__p_%'`
     2445echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6
     2446echo "configure:2447: checking for fcntl.h" >&5
    24292447if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24302448  echo $ac_n "(cached) $ac_c" 1>&6
    24312449else
    24322450  cat > conftest.$ac_ext <<EOF
    2433 #line 2434 "configure"
    2434 #include "confdefs.h"
    2435 #include <sys/stat.h>
     2451#line 2452 "configure"
     2452#include "confdefs.h"
     2453#include <fcntl.h>
    24362454EOF
    24372455ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2438 { (eval echo configure:2439: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2456{ (eval echo configure:2457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24392457ac_err=`grep -v '^ *+' conftest.out`
    24402458if test -z "$ac_err"; then
     
    24432461else
    24442462  echo "$ac_err" >&5
     2463  echo "configure: failed program was:" >&5
     2464  cat conftest.$ac_ext >&5
    24452465  rm -rf conftest*
    24462466  eval "ac_cv_header_$ac_safe=no"
     
    24532473else
    24542474  echo "$ac_t""no" 1>&6
    2455 echo "*** no sys/stat.h";exit
    2456 fi
    2457 
    2458 ac_safe=`echo "sys/time.h" | tr './\055' '___'`
    2459 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
     2475echo "*** no fcntl.h";exit
     2476fi
     2477
     2478ac_safe=`echo "sys/ioctl.h" | sed 'y%./+-%__p_%'`
     2479echo $ac_n "checking for sys/ioctl.h""... $ac_c" 1>&6
     2480echo "configure:2481: checking for sys/ioctl.h" >&5
    24602481if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24612482  echo $ac_n "(cached) $ac_c" 1>&6
    24622483else
    24632484  cat > conftest.$ac_ext <<EOF
    2464 #line 2465 "configure"
    2465 #include "confdefs.h"
    2466 #include <sys/time.h>
     2485#line 2486 "configure"
     2486#include "confdefs.h"
     2487#include <sys/ioctl.h>
    24672488EOF
    24682489ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2469 { (eval echo configure:2470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2490{ (eval echo configure:2491: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    24702491ac_err=`grep -v '^ *+' conftest.out`
    24712492if test -z "$ac_err"; then
     
    24742495else
    24752496  echo "$ac_err" >&5
     2497  echo "configure: failed program was:" >&5
     2498  cat conftest.$ac_ext >&5
    24762499  rm -rf conftest*
    24772500  eval "ac_cv_header_$ac_safe=no"
     
    24842507else
    24852508  echo "$ac_t""no" 1>&6
    2486 echo "*** no sys/time.h";exit
    2487 fi
    2488 
    2489 ac_safe=`echo "sys/types.h" | tr './\055' '___'`
    2490 echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6
     2509echo "*** no sys/ioctl.h";exit
     2510fi
     2511
     2512ac_safe=`echo "sys/param.h" | sed 'y%./+-%__p_%'`
     2513echo $ac_n "checking for sys/param.h""... $ac_c" 1>&6
     2514echo "configure:2515: checking for sys/param.h" >&5
    24912515if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    24922516  echo $ac_n "(cached) $ac_c" 1>&6
    24932517else
    24942518  cat > conftest.$ac_ext <<EOF
    2495 #line 2496 "configure"
    2496 #include "confdefs.h"
    2497 #include <sys/types.h>
     2519#line 2520 "configure"
     2520#include "confdefs.h"
     2521#include <sys/param.h>
    24982522EOF
    24992523ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2500 { (eval echo configure:2501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2524{ (eval echo configure:2525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25012525ac_err=`grep -v '^ *+' conftest.out`
    25022526if test -z "$ac_err"; then
     
    25052529else
    25062530  echo "$ac_err" >&5
     2531  echo "configure: failed program was:" >&5
     2532  cat conftest.$ac_ext >&5
    25072533  rm -rf conftest*
    25082534  eval "ac_cv_header_$ac_safe=no"
     
    25152541else
    25162542  echo "$ac_t""no" 1>&6
    2517 echo "*** no sys/types.h";exit
    2518 fi
    2519 
    2520 ac_safe=`echo "sys/uio.h" | tr './\055' '___'`
    2521 echo $ac_n "checking for sys/uio.h""... $ac_c" 1>&6
     2543echo "*** no sys/param.h";exit
     2544fi
     2545
     2546ac_safe=`echo "sys/socket.h" | sed 'y%./+-%__p_%'`
     2547echo $ac_n "checking for sys/socket.h""... $ac_c" 1>&6
     2548echo "configure:2549: checking for sys/socket.h" >&5
    25222549if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25232550  echo $ac_n "(cached) $ac_c" 1>&6
    25242551else
    25252552  cat > conftest.$ac_ext <<EOF
    2526 #line 2527 "configure"
    2527 #include "confdefs.h"
    2528 #include <sys/uio.h>
     2553#line 2554 "configure"
     2554#include "confdefs.h"
     2555#include <sys/socket.h>
    25292556EOF
    25302557ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2531 { (eval echo configure:2532: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2558{ (eval echo configure:2559: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25322559ac_err=`grep -v '^ *+' conftest.out`
    25332560if test -z "$ac_err"; then
     
    25362563else
    25372564  echo "$ac_err" >&5
     2565  echo "configure: failed program was:" >&5
     2566  cat conftest.$ac_ext >&5
    25382567  rm -rf conftest*
    25392568  eval "ac_cv_header_$ac_safe=no"
     
    25462575else
    25472576  echo "$ac_t""no" 1>&6
    2548 echo "*** no sys/uio.h";exit
    2549 fi
    2550 
    2551 ac_safe=`echo "sys/un.h" | tr './\055' '___'`
    2552 echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6
     2577echo "*** no sys/socket.h";exit
     2578fi
     2579
     2580ac_safe=`echo "sys/stat.h" | sed 'y%./+-%__p_%'`
     2581echo $ac_n "checking for sys/stat.h""... $ac_c" 1>&6
     2582echo "configure:2583: checking for sys/stat.h" >&5
    25532583if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25542584  echo $ac_n "(cached) $ac_c" 1>&6
    25552585else
    25562586  cat > conftest.$ac_ext <<EOF
    2557 #line 2558 "configure"
    2558 #include "confdefs.h"
    2559 #include <sys/un.h>
     2587#line 2588 "configure"
     2588#include "confdefs.h"
     2589#include <sys/stat.h>
    25602590EOF
    25612591ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2562 { (eval echo configure:2563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2592{ (eval echo configure:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25632593ac_err=`grep -v '^ *+' conftest.out`
    25642594if test -z "$ac_err"; then
     
    25672597else
    25682598  echo "$ac_err" >&5
     2599  echo "configure: failed program was:" >&5
     2600  cat conftest.$ac_ext >&5
    25692601  rm -rf conftest*
    25702602  eval "ac_cv_header_$ac_safe=no"
     
    25772609else
    25782610  echo "$ac_t""no" 1>&6
    2579 echo "*** no sys/un.h";exit
    2580 fi
    2581 
    2582 ac_safe=`echo "unistd.h" | tr './\055' '___'`
    2583 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
     2611echo "*** no sys/stat.h";exit
     2612fi
     2613
     2614ac_safe=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
     2615echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
     2616echo "configure:2617: checking for sys/time.h" >&5
    25842617if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    25852618  echo $ac_n "(cached) $ac_c" 1>&6
    25862619else
    25872620  cat > conftest.$ac_ext <<EOF
    2588 #line 2589 "configure"
    2589 #include "confdefs.h"
    2590 #include <unistd.h>
     2621#line 2622 "configure"
     2622#include "confdefs.h"
     2623#include <sys/time.h>
    25912624EOF
    25922625ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2593 { (eval echo configure:2594: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2626{ (eval echo configure:2627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    25942627ac_err=`grep -v '^ *+' conftest.out`
    25952628if test -z "$ac_err"; then
     
    25982631else
    25992632  echo "$ac_err" >&5
     2633  echo "configure: failed program was:" >&5
     2634  cat conftest.$ac_ext >&5
    26002635  rm -rf conftest*
    26012636  eval "ac_cv_header_$ac_safe=no"
     
    26082643else
    26092644  echo "$ac_t""no" 1>&6
    2610 echo "*** no unistd.h";exit
    2611 fi
    2612 
    2613 ac_safe=`echo "math.h" | tr './\055' '___'`
    2614 echo $ac_n "checking for math.h""... $ac_c" 1>&6
     2645echo "*** no sys/time.h";exit
     2646fi
     2647
     2648ac_safe=`echo "sys/types.h" | sed 'y%./+-%__p_%'`
     2649echo $ac_n "checking for sys/types.h""... $ac_c" 1>&6
     2650echo "configure:2651: checking for sys/types.h" >&5
    26152651if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    26162652  echo $ac_n "(cached) $ac_c" 1>&6
    26172653else
    26182654  cat > conftest.$ac_ext <<EOF
    2619 #line 2620 "configure"
    2620 #include "confdefs.h"
    2621 #include <math.h>
     2655#line 2656 "configure"
     2656#include "confdefs.h"
     2657#include <sys/types.h>
    26222658EOF
    26232659ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2624 { (eval echo configure:2625: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2660{ (eval echo configure:2661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26252661ac_err=`grep -v '^ *+' conftest.out`
    26262662if test -z "$ac_err"; then
     
    26292665else
    26302666  echo "$ac_err" >&5
     2667  echo "configure: failed program was:" >&5
     2668  cat conftest.$ac_ext >&5
    26312669  rm -rf conftest*
    26322670  eval "ac_cv_header_$ac_safe=no"
     
    26392677else
    26402678  echo "$ac_t""no" 1>&6
     2679echo "*** no sys/types.h";exit
     2680fi
     2681
     2682ac_safe=`echo "sys/uio.h" | sed 'y%./+-%__p_%'`
     2683echo $ac_n "checking for sys/uio.h""... $ac_c" 1>&6
     2684echo "configure:2685: checking for sys/uio.h" >&5
     2685if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2686  echo $ac_n "(cached) $ac_c" 1>&6
     2687else
     2688  cat > conftest.$ac_ext <<EOF
     2689#line 2690 "configure"
     2690#include "confdefs.h"
     2691#include <sys/uio.h>
     2692EOF
     2693ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2694{ (eval echo configure:2695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2695ac_err=`grep -v '^ *+' conftest.out`
     2696if test -z "$ac_err"; then
     2697  rm -rf conftest*
     2698  eval "ac_cv_header_$ac_safe=yes"
     2699else
     2700  echo "$ac_err" >&5
     2701  echo "configure: failed program was:" >&5
     2702  cat conftest.$ac_ext >&5
     2703  rm -rf conftest*
     2704  eval "ac_cv_header_$ac_safe=no"
     2705fi
     2706rm -f conftest*
     2707fi
     2708if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2709  echo "$ac_t""yes" 1>&6
     2710  :
     2711else
     2712  echo "$ac_t""no" 1>&6
     2713echo "*** no sys/uio.h";exit
     2714fi
     2715
     2716ac_safe=`echo "sys/un.h" | sed 'y%./+-%__p_%'`
     2717echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6
     2718echo "configure:2719: checking for sys/un.h" >&5
     2719if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2720  echo $ac_n "(cached) $ac_c" 1>&6
     2721else
     2722  cat > conftest.$ac_ext <<EOF
     2723#line 2724 "configure"
     2724#include "confdefs.h"
     2725#include <sys/un.h>
     2726EOF
     2727ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2728{ (eval echo configure:2729: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2729ac_err=`grep -v '^ *+' conftest.out`
     2730if test -z "$ac_err"; then
     2731  rm -rf conftest*
     2732  eval "ac_cv_header_$ac_safe=yes"
     2733else
     2734  echo "$ac_err" >&5
     2735  echo "configure: failed program was:" >&5
     2736  cat conftest.$ac_ext >&5
     2737  rm -rf conftest*
     2738  eval "ac_cv_header_$ac_safe=no"
     2739fi
     2740rm -f conftest*
     2741fi
     2742if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2743  echo "$ac_t""yes" 1>&6
     2744  :
     2745else
     2746  echo "$ac_t""no" 1>&6
     2747echo "*** no sys/un.h";exit
     2748fi
     2749
     2750ac_safe=`echo "unistd.h" | sed 'y%./+-%__p_%'`
     2751echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
     2752echo "configure:2753: checking for unistd.h" >&5
     2753if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2754  echo $ac_n "(cached) $ac_c" 1>&6
     2755else
     2756  cat > conftest.$ac_ext <<EOF
     2757#line 2758 "configure"
     2758#include "confdefs.h"
     2759#include <unistd.h>
     2760EOF
     2761ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2762{ (eval echo configure:2763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2763ac_err=`grep -v '^ *+' conftest.out`
     2764if test -z "$ac_err"; then
     2765  rm -rf conftest*
     2766  eval "ac_cv_header_$ac_safe=yes"
     2767else
     2768  echo "$ac_err" >&5
     2769  echo "configure: failed program was:" >&5
     2770  cat conftest.$ac_ext >&5
     2771  rm -rf conftest*
     2772  eval "ac_cv_header_$ac_safe=no"
     2773fi
     2774rm -f conftest*
     2775fi
     2776if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2777  echo "$ac_t""yes" 1>&6
     2778  :
     2779else
     2780  echo "$ac_t""no" 1>&6
     2781echo "*** no unistd.h";exit
     2782fi
     2783
     2784ac_safe=`echo "math.h" | sed 'y%./+-%__p_%'`
     2785echo $ac_n "checking for math.h""... $ac_c" 1>&6
     2786echo "configure:2787: checking for math.h" >&5
     2787if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
     2788  echo $ac_n "(cached) $ac_c" 1>&6
     2789else
     2790  cat > conftest.$ac_ext <<EOF
     2791#line 2792 "configure"
     2792#include "confdefs.h"
     2793#include <math.h>
     2794EOF
     2795ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
     2796{ (eval echo configure:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2797ac_err=`grep -v '^ *+' conftest.out`
     2798if test -z "$ac_err"; then
     2799  rm -rf conftest*
     2800  eval "ac_cv_header_$ac_safe=yes"
     2801else
     2802  echo "$ac_err" >&5
     2803  echo "configure: failed program was:" >&5
     2804  cat conftest.$ac_ext >&5
     2805  rm -rf conftest*
     2806  eval "ac_cv_header_$ac_safe=no"
     2807fi
     2808rm -f conftest*
     2809fi
     2810if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
     2811  echo "$ac_t""yes" 1>&6
     2812  :
     2813else
     2814  echo "$ac_t""no" 1>&6
    26412815echo "*** no math.h";exit
    26422816fi
     
    26462820for ac_hdr in sys/select.h gmp.h genpari.h saclib.h
    26472821do
    2648 ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
     2822ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
    26492823echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
     2824echo "configure:2825: checking for $ac_hdr" >&5
    26502825if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    26512826  echo $ac_n "(cached) $ac_c" 1>&6
    26522827else
    26532828  cat > conftest.$ac_ext <<EOF
    2654 #line 2655 "configure"
     2829#line 2830 "configure"
    26552830#include "confdefs.h"
    26562831#include <$ac_hdr>
    26572832EOF
    26582833ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    2659 { (eval echo configure:2660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     2834{ (eval echo configure:2835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    26602835ac_err=`grep -v '^ *+' conftest.out`
    26612836if test -z "$ac_err"; then
     
    26642839else
    26652840  echo "$ac_err" >&5
     2841  echo "configure: failed program was:" >&5
     2842  cat conftest.$ac_ext >&5
    26662843  rm -rf conftest*
    26672844  eval "ac_cv_header_$ac_safe=no"
     
    26712848if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
    26722849  echo "$ac_t""yes" 1>&6
    2673     ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
     2850    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
    26742851  cat >> confdefs.h <<EOF
    26752852#define $ac_tr_hdr 1
     
    26842861if test "$ac_cv_header_gmp_h" = yes; then
    26852862  cat > conftest.$ac_ext <<EOF
    2686 #line 2687 "configure"
     2863#line 2864 "configure"
    26872864#include "confdefs.h"
    26882865#include <gmp.h>
     
    26972874  if test ! "$MPZ_PTR" = mpz_ptr; then
    26982875    cat > conftest.$ac_ext <<EOF
    2699 #line 2700 "configure"
     2876#line 2877 "configure"
    27002877#include "confdefs.h"
    27012878#include <gmp.h>
     
    27262903  fi
    27272904  cat > conftest.$ac_ext <<EOF
    2728 #line 2729 "configure"
     2905#line 2906 "configure"
    27292906#include "confdefs.h"
    27302907#include <gmp.h>
     
    29713148
    29723149    echo $ac_n "checking for ulong""... $ac_c" 1>&6
     3150echo "configure:3151: checking for ulong" >&5
    29733151if eval "test \"`echo '$''{'ac_cv_type_ulong'+set}'`\" = set"; then
    29743152  echo $ac_n "(cached) $ac_c" 1>&6
    29753153else
    29763154  cat > conftest.$ac_ext <<EOF
    2977 #line 2978 "configure"
     3155#line 3156 "configure"
    29783156#include "confdefs.h"
    29793157#include <sys/types.h>
    29803158#if STDC_HEADERS
    29813159#include <stdlib.h>
     3160#include <stddef.h>
    29823161#endif
    29833162EOF
    29843163if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    2985   egrep "ulong" >/dev/null 2>&1; then
     3164  egrep "ulong[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    29863165  rm -rf conftest*
    29873166  ac_cv_type_ulong=yes
     
    30133192
    30143193if test "$with_tb" = yes; then
    3015   ac_safe=`echo "TB.h" | tr './\055' '___'`
     3194  ac_safe=`echo "TB.h" | sed 'y%./+-%__p_%'`
    30163195echo $ac_n "checking for TB.h""... $ac_c" 1>&6
     3196echo "configure:3197: checking for TB.h" >&5
    30173197if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    30183198  echo $ac_n "(cached) $ac_c" 1>&6
    30193199else
    30203200  cat > conftest.$ac_ext <<EOF
    3021 #line 3022 "configure"
     3201#line 3202 "configure"
    30223202#include "confdefs.h"
    30233203#include <TB.h>
    30243204EOF
    30253205ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3026 { (eval echo configure:3027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3206{ (eval echo configure:3207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    30273207ac_err=`grep -v '^ *+' conftest.out`
    30283208if test -z "$ac_err"; then
     
    30313211else
    30323212  echo "$ac_err" >&5
     3213  echo "configure: failed program was:" >&5
     3214  cat conftest.$ac_ext >&5
    30333215  rm -rf conftest*
    30343216  eval "ac_cv_header_$ac_safe=no"
     
    30543236
    30553237if test "$with_pvm" = yes; then
    3056  ac_safe=`echo "pvm3.h" | tr './\055' '___'`
     3238 ac_safe=`echo "pvm3.h" | sed 'y%./+-%__p_%'`
    30573239echo $ac_n "checking for pvm3.h""... $ac_c" 1>&6
     3240echo "configure:3241: checking for pvm3.h" >&5
    30583241if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
    30593242  echo $ac_n "(cached) $ac_c" 1>&6
    30603243else
    30613244  cat > conftest.$ac_ext <<EOF
    3062 #line 3063 "configure"
     3245#line 3246 "configure"
    30633246#include "confdefs.h"
    30643247#include <pvm3.h>
    30653248EOF
    30663249ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
    3067 { (eval echo configure:3068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
     3250{ (eval echo configure:3251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
    30683251ac_err=`grep -v '^ *+' conftest.out`
    30693252if test -z "$ac_err"; then
     
    30723255else
    30733256  echo "$ac_err" >&5
     3257  echo "configure: failed program was:" >&5
     3258  cat conftest.$ac_ext >&5
    30743259  rm -rf conftest*
    30753260  eval "ac_cv_header_$ac_safe=no"
     
    31063291set dummy $ac_prog; ac_word=$2
    31073292echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
     3293echo "configure:3294: checking for $ac_word" >&5
    31083294if eval "test \"`echo '$''{'ac_cv_prog_ac_cv_rsh_program'+set}'`\" = set"; then
    31093295  echo $ac_n "(cached) $ac_c" 1>&6
     
    31363322fi
    31373323echo $ac_n "checking which remote shell command to use""... $ac_c" 1>&6
     3324echo "configure:3325: checking which remote shell command to use" >&5
    31383325cat >> confdefs.h <<EOF
    31393326#define MP_RSH_COMMAND "$ac_cv_rsh_program"
     
    31433330
    31443331echo $ac_n "checking whether remote shell command works""... $ac_c" 1>&6
     3332echo "configure:3333: checking whether remote shell command works" >&5
    31453333if $ac_cv_rsh_program `hostname` -n uname \>\& /dev/null; then
    31463334  echo "$ac_t""yes" 1>&6
     
    31513339
    31523340echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
     3341echo "configure:3342: checking whether byte ordering is bigendian" >&5
    31533342if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    31543343  echo $ac_n "(cached) $ac_c" 1>&6
     
    31573346# See if sys/param.h defines the BYTE_ORDER macro.
    31583347cat > conftest.$ac_ext <<EOF
    3159 #line 3160 "configure"
     3348#line 3349 "configure"
    31603349#include "confdefs.h"
    31613350#include <sys/types.h>
    31623351#include <sys/param.h>
    3163 int main() { return 0; }
    3164 int t() {
     3352int main() {
    31653353
    31663354#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
     
    31693357; return 0; }
    31703358EOF
    3171 if { (eval echo configure:3172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3359if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31723360  rm -rf conftest*
    31733361  # It does; now see whether it defined to BIG_ENDIAN or not.
    31743362cat > conftest.$ac_ext <<EOF
    3175 #line 3176 "configure"
     3363#line 3364 "configure"
    31763364#include "confdefs.h"
    31773365#include <sys/types.h>
    31783366#include <sys/param.h>
    3179 int main() { return 0; }
    3180 int t() {
     3367int main() {
    31813368
    31823369#if BYTE_ORDER != BIG_ENDIAN
     
    31853372; return 0; }
    31863373EOF
    3187 if { (eval echo configure:3188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3374if { (eval echo configure:3375: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    31883375  rm -rf conftest*
    31893376  ac_cv_c_bigendian=yes
    31903377else
     3378  echo "configure: failed program was:" >&5
     3379  cat conftest.$ac_ext >&5
    31913380  rm -rf conftest*
    31923381  ac_cv_c_bigendian=no
    31933382fi
    31943383rm -f conftest*
    3195 
    3196 fi
    3197 rm -f conftest*
    3198 
     3384else
     3385  echo "configure: failed program was:" >&5
     3386  cat conftest.$ac_ext >&5
     3387fi
     3388rm -f conftest*
    31993389if test $ac_cv_c_bigendian = unknown; then
    32003390if test "$cross_compiling" = yes; then
    32013391    { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
    32023392else
    3203 cat > conftest.$ac_ext <<EOF
    3204 #line 3205 "configure"
     3393  cat > conftest.$ac_ext <<EOF
     3394#line 3395 "configure"
    32053395#include "confdefs.h"
    32063396main () {
     
    32153405}
    32163406EOF
    3217 { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    3218 if test -s conftest && (./conftest; exit) 2>/dev/null; then
     3407if { (eval echo configure:3408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3408then
    32193409  ac_cv_c_bigendian=no
    32203410else
     3411  echo "configure: failed program was:" >&5
     3412  cat conftest.$ac_ext >&5
     3413  rm -fr conftest*
    32213414  ac_cv_c_bigendian=yes
    32223415fi
    3223 fi
    32243416rm -fr conftest*
     3417fi
     3418
    32253419fi
    32263420fi
     
    32353429
    32363430echo $ac_n "checking for working const""... $ac_c" 1>&6
     3431echo "configure:3432: checking for working const" >&5
    32373432if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
    32383433  echo $ac_n "(cached) $ac_c" 1>&6
    32393434else
    32403435  cat > conftest.$ac_ext <<EOF
    3241 #line 3242 "configure"
    3242 #include "confdefs.h"
    3243 
    3244 int main() { return 0; }
    3245 int t() {
     3436#line 3437 "configure"
     3437#include "confdefs.h"
     3438
     3439int main() {
    32463440
    32473441/* Ultrix mips cc rejects this.  */
     
    32893483; return 0; }
    32903484EOF
    3291 if { (eval echo configure:3292: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3485if { (eval echo configure:3486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    32923486  rm -rf conftest*
    32933487  ac_cv_c_const=yes
    32943488else
     3489  echo "configure: failed program was:" >&5
     3490  cat conftest.$ac_ext >&5
    32953491  rm -rf conftest*
    32963492  ac_cv_c_const=no
    32973493fi
    32983494rm -f conftest*
    3299 
    33003495fi
    33013496
     
    33093504
    33103505echo $ac_n "checking for size_t""... $ac_c" 1>&6
     3506echo "configure:3507: checking for size_t" >&5
    33113507if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
    33123508  echo $ac_n "(cached) $ac_c" 1>&6
    33133509else
    33143510  cat > conftest.$ac_ext <<EOF
    3315 #line 3316 "configure"
     3511#line 3512 "configure"
    33163512#include "confdefs.h"
    33173513#include <sys/types.h>
    33183514#if STDC_HEADERS
    33193515#include <stdlib.h>
     3516#include <stddef.h>
    33203517#endif
    33213518EOF
    33223519if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3323   egrep "size_t" >/dev/null 2>&1; then
     3520  egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
    33243521  rm -rf conftest*
    33253522  ac_cv_type_size_t=yes
     
    33403537
    33413538echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
     3539echo "configure:3540: checking whether time.h and sys/time.h may both be included" >&5
    33423540if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
    33433541  echo $ac_n "(cached) $ac_c" 1>&6
    33443542else
    33453543  cat > conftest.$ac_ext <<EOF
    3346 #line 3347 "configure"
     3544#line 3545 "configure"
    33473545#include "confdefs.h"
    33483546#include <sys/types.h>
    33493547#include <sys/time.h>
    33503548#include <time.h>
    3351 int main() { return 0; }
    3352 int t() {
     3549int main() {
    33533550struct tm *tp;
    33543551; return 0; }
    33553552EOF
    3356 if { (eval echo configure:3357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     3553if { (eval echo configure:3554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    33573554  rm -rf conftest*
    33583555  ac_cv_header_time=yes
    33593556else
     3557  echo "configure: failed program was:" >&5
     3558  cat conftest.$ac_ext >&5
    33603559  rm -rf conftest*
    33613560  ac_cv_header_time=no
    33623561fi
    33633562rm -f conftest*
    3364 
    33653563fi
    33663564
     
    33753573
    33763574echo $ac_n "checking size of long""... $ac_c" 1>&6
     3575echo "configure:3576: checking size of long" >&5
    33773576if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    33783577  echo $ac_n "(cached) $ac_c" 1>&6
     
    33813580  ac_cv_sizeof_long=4
    33823581else
    3383 cat > conftest.$ac_ext <<EOF
    3384 #line 3385 "configure"
     3582  cat > conftest.$ac_ext <<EOF
     3583#line 3584 "configure"
    33853584#include "confdefs.h"
    33863585#include <stdio.h>
     
    33933592}
    33943593EOF
    3395 { (eval echo configure:3396: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
    3396 if test -s conftest && (./conftest; exit) 2>/dev/null; then
     3594if { (eval echo configure:3595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
     3595then
    33973596  ac_cv_sizeof_long=`cat conftestval`
    33983597else
     3598  echo "configure: failed program was:" >&5
     3599  cat conftest.$ac_ext >&5
     3600  rm -fr conftest*
    33993601  ac_cv_sizeof_long=0
    34003602fi
    3401 fi
    34023603rm -fr conftest*
     3604fi
     3605
    34033606fi
    34043607echo "$ac_t""$ac_cv_sizeof_long" 1>&6
     
    34483651#
    34493652EOF
     3653# The following way of writing the cache mishandles newlines in values,
     3654# but we know of no workaround that is simple, portable, and efficient.
     3655# So, don't put newlines in cache variables' values.
    34503656# Ultrix sh set writes to stderr and can't be redirected directly,
    34513657# and sets the high bit in the cache file unless we assign to the vars.
    34523658(set) 2>&1 |
    3453   sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
    3454   >> confcache
     3659  case `(ac_space=' '; set) 2>&1` in
     3660  *ac_space=\ *)
     3661    # `set' does not quote correctly, so add quotes (double-quote substitution
     3662    # turns \\\\ into \\, and sed turns \\ into \).
     3663    sed -n \
     3664      -e "s/'/'\\\\''/g" \
     3665      -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
     3666    ;;
     3667  *)
     3668    # `set' quotes correctly as required by POSIX, so do not add quotes.
     3669    sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
     3670    ;;
     3671  esac >> confcache
    34553672if cmp -s $cache_file confcache; then
    34563673  :
     
    35073724    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
    35083725  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
    3509     echo "$CONFIG_STATUS generated by autoconf version 2.9"
     3726    echo "$CONFIG_STATUS generated by autoconf version 2.12"
    35103727    exit 0 ;;
    35113728  -help | --help | --hel | --he | --h)
     
    35793796CEOF
    35803797EOF
     3798
     3799cat >> $CONFIG_STATUS <<\EOF
     3800
     3801# Split the substitutions into bite-sized pieces for seds with
     3802# small command number limits, like on Digital OSF/1 and HP-UX.
     3803ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     3804ac_file=1 # Number of current file.
     3805ac_beg=1 # First line for current file.
     3806ac_end=$ac_max_sed_cmds # Line after last line for current file.
     3807ac_more_lines=:
     3808ac_sed_cmds=""
     3809while $ac_more_lines; do
     3810  if test $ac_beg -gt 1; then
     3811    sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
     3812  else
     3813    sed "${ac_end}q" conftest.subs > conftest.s$ac_file
     3814  fi
     3815  if test ! -s conftest.s$ac_file; then
     3816    ac_more_lines=false
     3817    rm -f conftest.s$ac_file
     3818  else
     3819    if test -z "$ac_sed_cmds"; then
     3820      ac_sed_cmds="sed -f conftest.s$ac_file"
     3821    else
     3822      ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
     3823    fi
     3824    ac_file=`expr $ac_file + 1`
     3825    ac_beg=$ac_end
     3826    ac_end=`expr $ac_end + $ac_max_sed_cmds`
     3827  fi
     3828done
     3829if test -z "$ac_sed_cmds"; then
     3830  ac_sed_cmds=cat
     3831fi
     3832EOF
     3833
    35813834cat >> $CONFIG_STATUS <<EOF
    35823835
     
    35863839cat >> $CONFIG_STATUS <<\EOF
    35873840for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
    3588   # Support "outfile[:infile]", defaulting infile="outfile.in".
     3841  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    35893842  case "$ac_file" in
    3590   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
     3843  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    35913844       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    35923845  *) ac_file_in="${ac_file}.in" ;;
    35933846  esac
    35943847
    3595   # Adjust relative srcdir, etc. for subdirectories.
     3848  # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
    35963849
    35973850  # Remove last slash and all that follows it.  Not all systems have dirname.
     
    36173870  esac
    36183871
     3872
    36193873  echo creating "$ac_file"
    36203874  rm -f "$ac_file"
     
    36253879  *) ac_comsub= ;;
    36263880  esac
     3881
     3882  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
    36273883  sed -e "$ac_comsub
    36283884s%@configure_input@%$configure_input%g
    36293885s%@srcdir@%$srcdir%g
    36303886s%@top_srcdir@%$top_srcdir%g
    3631 " -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
     3887" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
    36323888fi; done
    3633 rm -f conftest.subs
     3889rm -f conftest.s*
    36343890
    36353891# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
     
    36523908ac_eD='%g'
    36533909
    3654 CONFIG_HEADERS=${CONFIG_HEADERS-"MP/MP_Config.h:MP/h/MP_Config.h.in"}
     3910if test "${CONFIG_HEADERS+set}" != set; then
     3911EOF
     3912cat >> $CONFIG_STATUS <<EOF
     3913  CONFIG_HEADERS="MP/MP_Config.h:MP/h/MP_Config.h.in"
     3914EOF
     3915cat >> $CONFIG_STATUS <<\EOF
     3916fi
    36553917for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
    3656   # Support "outfile[:infile]", defaulting infile="outfile.in".
     3918  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
    36573919  case "$ac_file" in
    3658   *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
     3920  *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
    36593921       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
    36603922  *) ac_file_in="${ac_file}.in" ;;
     
    36643926
    36653927  rm -f conftest.frag conftest.in conftest.out
    3666   cp $ac_given_srcdir/$ac_file_in conftest.in
     3928  ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
     3929  cat $ac_file_inputs > conftest.in
    36673930
    36683931EOF
     
    36923955# Break up conftest.vals because some shells have a limit on
    36933956# the size of here documents, and old seds have small limits too.
    3694 # Maximum number of lines to put in a single here document.
    3695 ac_max_here_lines=12
    36963957
    36973958rm -f conftest.tail
     
    37243985    rm -f conftest.h
    37253986  else
     3987    # Remove last slash and all that follows it.  Not all systems have dirname.
     3988      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
     3989      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
     3990      # The file is in a subdirectory.
     3991      test ! -d "$ac_dir" && mkdir "$ac_dir"
     3992    fi
    37263993    rm -f $ac_file
    37273994    mv conftest.h $ac_file
     
    37293996fi; done
    37303997
    3731 
     3998EOF
     3999cat >> $CONFIG_STATUS <<EOF
     4000
     4001EOF
     4002cat >> $CONFIG_STATUS <<\EOF
    37324003\
    37334004        if test "$CONFIG_HEADERS"; then echo timestamp > MP/stamp-h; fi
     
    37864057    cd $ac_config_dir
    37874058
     4059      # A "../" for each directory in /$ac_config_dir.
     4060      ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
     4061
    37884062    case "$srcdir" in
    37894063    .) # No --srcdir option.  We are building in place.
     
    37924066      ac_sub_srcdir=$srcdir/$ac_config_dir ;;
    37934067    *) # Relative path.
    3794       ac_sub_srcdir=../$srcdir/$ac_config_dir ;;
     4068      ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
    37954069    esac
    37964070
     
    38094083
    38104084      # Make the cache file name correct relative to the subdirectory.
    3811       # A "../" for each directory in /$ac_config_dir.
    3812       ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
    38134085      case "$cache_file" in
    38144086      /*) ac_sub_cache_file=$cache_file ;;
Note: See TracChangeset for help on using the changeset viewer.