Changeset 1389 for TI05-delivery
- Timestamp:
- 14/08/06 11:59:20 (13 years ago)
- Location:
- TI05-delivery/trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TI05-delivery/trunk/src/bbftp-client-3.2.0/bbftpc/bbftp_private.c
r1388 r1389 91 91 92 92 { 93 #if defined(HAVE_SOCKLEN_T) 94 socklen_t addrlen; 95 #else 93 96 #if defined(SUNOS) || defined(_HPUX_SOURCE) || defined(IRIX) 94 97 int addrlen ; 95 98 #else 96 99 size_t addrlen ; 100 #endif 97 101 #endif 98 102 char logmessage[1024] ; -
TI05-delivery/trunk/src/bbftp-client-3.2.0/bbftpc/bbftp_socket.c
r1265 r1389 79 79 int on = 1 ; 80 80 int tcpwinsize ; 81 #if defined(HAVE_SOCKLEN_T) 82 socklen_t addrlen; 83 #else 81 84 #if defined(SUNOS) || defined(_HPUX_SOURCE) || defined(IRIX) 82 85 int addrlen ; 83 86 #else 84 87 size_t addrlen ; 88 #endif 85 89 #endif 86 90 int retcode ; -
TI05-delivery/trunk/src/bbftp-client-3.2.0/bbftpc/bbftpstatus.c
r1265 r1389 333 333 struct mess_integer *msg_integer ; 334 334 335 #if defined(HAVE_SOCKLEN_T) 336 socklen_t addrlen; 337 #else 335 338 #if defined(SUNOS) || defined(_HPUX_SOURCE) || defined(IRIX) 336 339 int addrlen ; 337 340 #else 338 341 size_t addrlen ; 342 #endif 339 343 #endif 340 344 int tmpctrlsock ; -
TI05-delivery/trunk/src/bbftp-client-3.2.0/bbftpc/configure
r773 r1389 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by Autoconf 2.52.3 # Generated by GNU Autoconf 2.59. 4 4 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 6 # Free Software Foundation, Inc. 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. 9 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 10 79 # Avoid depending upon Character Ranges. 11 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' … … 15 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 16 85 17 # Sed expression to map a string onto a valid variable name. 18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 19 20 # Sed expression to map a string onto a valid CPP name. 21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 22 23 # Be Bourne compatible 24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 25 emulate sh 26 NULLCMD=: 27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 28 set -o posix 29 fi 30 31 # Name of the executable. 32 as_me=`echo "$0" |sed 's,.*[\\/],,'` 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 33 193 34 194 if expr a : '\(a\)' >/dev/null 2>&1; then … … 56 216 rm -f conf$$ conf$$.exe conf$$.file 57 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223 fi 224 58 225 as_executable_p="test -f" 59 226 60 # Support unset when possible. 61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 62 as_unset=unset 63 else 64 as_unset=false 65 fi 66 67 # NLS nuisances. 68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } 69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } 70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } 71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } 72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } 73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } 74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } 75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 76 233 77 234 # IFS … … 82 239 83 240 # CDPATH. 84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 241 $as_unset CDPATH 242 85 243 86 244 # Name of the host. … … 95 253 # 96 254 ac_default_prefix=/usr/local 255 ac_config_libobj_dir=. 97 256 cross_compiling=no 98 257 subdirs= 99 MFLAGS= MAKEFLAGS= 258 MFLAGS= 259 MAKEFLAGS= 100 260 SHELL=${CONFIG_SHELL-/bin/sh} 101 261 … … 104 264 # only ac_max_sed_lines should be used. 105 265 : ${ac_max_here_lines=38} 266 267 # Identity of this package. 268 PACKAGE_NAME= 269 PACKAGE_TARNAME= 270 PACKAGE_VERSION= 271 PACKAGE_STRING= 272 PACKAGE_BUGREPORT= 106 273 107 274 ac_unique_file="bbftp.c" … … 142 309 # include <unistd.h> 143 310 #endif" 311 312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP EGREP CERTOBJS PRIVOBJS RFIOOBJS GFWLIB LIBOBJS LTLIBOBJS' 313 ac_subst_files='' 144 314 145 315 # Initialize some variables set by options. … … 181 351 mandir='${prefix}/man' 182 352 183 # Identity of this package.184 PACKAGE_NAME=185 PACKAGE_TARNAME=186 PACKAGE_VERSION=187 PACKAGE_STRING=188 PACKAGE_BUGREPORT=189 190 353 ac_prev= 191 354 for ac_option … … 320 483 321 484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 322 | --no-cr | --no-c )485 | --no-cr | --no-c | -n) 323 486 no_create=yes ;; 324 487 … … 499 662 case $ac_val in 500 663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 501 *) { echo "$as_me: error: expected an absolute pathfor --$ac_var: $ac_val" >&2664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 502 665 { (exit 1); exit 1; }; };; 503 666 esac … … 506 669 # Be sure to have absolute paths. 507 670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 508 671 localstatedir libdir includedir oldincludedir infodir mandir 509 672 do 510 673 eval ac_val=$`echo $ac_var` 511 674 case $ac_val in 512 675 [\\/$]* | ?:[\\/]* ) ;; 513 *) { echo "$as_me: error: expected an absolute pathfor --$ac_var: $ac_val" >&2676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 514 677 { (exit 1); exit 1; }; };; 515 678 esac … … 518 681 # There might be people who depend on the old broken behavior: `$host' 519 682 # used to hold the argument of --host etc. 683 # FIXME: To remove some day. 520 684 build=$build_alias 521 685 host=$host_alias 522 686 target=$target_alias 523 687 524 # FIXME: should be removed in autoconf 3.0.688 # FIXME: To remove some day. 525 689 if test "x$host_alias" != x; then 526 690 if test "x$build_alias" = x; then … … 538 702 test "$silent" = yes && exec 6>/dev/null 539 703 704 540 705 # Find the source files, if location was not specified. 541 706 if test -z "$srcdir"; then 542 707 ac_srcdir_defaulted=yes 543 708 # Try the directory containing this script, then its parent. 544 ac_prog=$0 545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` 546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 709 ac_confdir=`(dirname "$0") 2>/dev/null || 710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 711 X"$0" : 'X\(//\)[^/]' \| \ 712 X"$0" : 'X\(//\)$' \| \ 713 X"$0" : 'X\(/\)' \| \ 714 . : '\(.\)' 2>/dev/null || 715 echo X"$0" | 716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 717 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 718 /^X\(\/\/\)$/{ s//\1/; q; } 719 /^X\(\/\).*/{ s//\1/; q; } 720 s/.*/./; q'` 547 721 srcdir=$ac_confdir 548 722 if test ! -r $srcdir/$ac_unique_file; then … … 554 728 if test ! -r $srcdir/$ac_unique_file; then 555 729 if test "$ac_srcdir_defaulted" = yes; then 556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 557 731 { (exit 1); exit 1; }; } 558 732 else 559 { echo "$as_me: error: cannot find sources in $srcdir" >&2733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 560 734 { (exit 1); exit 1; }; } 561 735 fi 562 736 fi 737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 739 { (exit 1); exit 1; }; } 563 740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 564 741 ac_env_build_alias_set=${build_alias+set} … … 601 778 # Omit some internal or obsolete options to make the list less imposing. 602 779 # This message is too long to be a string in the A/UX 3.1 sh. 603 cat << EOF780 cat <<_ACEOF 604 781 \`configure' configures this package to adapt to many kinds of systems. 605 782 … … 622 799 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 623 800 624 EOF625 626 cat << EOF801 _ACEOF 802 803 cat <<_ACEOF 627 804 Installation directories: 628 805 --prefix=PREFIX install architecture-independent files in PREFIX 629 806 [$ac_default_prefix] 630 807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 631 808 [PREFIX] 632 809 633 810 By default, \`make install' will install all the files in … … 651 828 --infodir=DIR info documentation [PREFIX/info] 652 829 --mandir=DIR man documentation [PREFIX/man] 653 EOF654 655 cat <<\ EOF830 _ACEOF 831 832 cat <<\_ACEOF 656 833 657 834 System types: 658 835 --build=BUILD configure for building on BUILD [guessed] 659 --host=HOST build programs to run on HOST [BUILD]660 EOF836 --host=HOST cross-compile to build programs to run on HOST [BUILD] 837 _ACEOF 661 838 fi 662 839 663 840 if test -n "$ac_init_help"; then 664 841 665 cat <<\ EOF842 cat <<\_ACEOF 666 843 667 844 Optional Features: … … 686 863 --with-afs=DIR Enable AFS interface: search AFS libs in DIR/lib 687 864 --without-afs Disable AFS (DEFAULT) 688 689 --with-rfio Enable RFIO interface: automatic search (DEFAULT) in /usr/local690 --with-rfio=DIR Enable RFIO interface: search libshift in DIR/lib and .h in DIR/include691 --without-rfio Disable RFIO interface692 693 --with-hpss Enable HPSS interface: automatic search (DEFAULT) in /usr/local694 --with-hpss=DIR Enable HPSS interface: search libhpss in DIR/lib695 --without-hpss Disable HPSS interface696 865 697 866 --with-ssl Enable encoding: automatic search (DEFAULT) … … 715 884 it to find libraries and programs with nonstandard names/locations. 716 885 717 EOF886 _ACEOF 718 887 fi 719 888 … … 721 890 # If there are subdirs, report their specific --help. 722 891 ac_popdir=`pwd` 723 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 724 cd $ac_subdir 725 # A "../" for each directory in /$ac_subdir. 726 ac_dots=`echo $ac_subdir | 727 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 728 729 case $srcdir in 730 .) # No --srcdir option. We are building in place. 731 ac_sub_srcdir=$srcdir ;; 732 [\\/]* | ?:[\\/]* ) # Absolute path. 733 ac_sub_srcdir=$srcdir/$ac_subdir ;; 734 *) # Relative path. 735 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 736 esac 737 892 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 893 test -d $ac_dir || continue 894 ac_builddir=. 895 896 if test "$ac_dir" != .; then 897 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 898 # A "../" for each directory in $ac_dir_suffix. 899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 900 else 901 ac_dir_suffix= ac_top_builddir= 902 fi 903 904 case $srcdir in 905 .) # No --srcdir option. We are building in place. 906 ac_srcdir=. 907 if test -z "$ac_top_builddir"; then 908 ac_top_srcdir=. 909 else 910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 911 fi ;; 912 [\\/]* | ?:[\\/]* ) # Absolute path. 913 ac_srcdir=$srcdir$ac_dir_suffix; 914 ac_top_srcdir=$srcdir ;; 915 *) # Relative path. 916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 917 ac_top_srcdir=$ac_top_builddir$srcdir ;; 918 esac 919 920 # Do not use `cd foo && pwd` to compute absolute paths, because 921 # the directories may not exist. 922 case `pwd` in 923 .) ac_abs_builddir="$ac_dir";; 924 *) 925 case "$ac_dir" in 926 .) ac_abs_builddir=`pwd`;; 927 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 928 *) ac_abs_builddir=`pwd`/"$ac_dir";; 929 esac;; 930 esac 931 case $ac_abs_builddir in 932 .) ac_abs_top_builddir=${ac_top_builddir}.;; 933 *) 934 case ${ac_top_builddir}. in 935 .) ac_abs_top_builddir=$ac_abs_builddir;; 936 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 937 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 938 esac;; 939 esac 940 case $ac_abs_builddir in 941 .) ac_abs_srcdir=$ac_srcdir;; 942 *) 943 case $ac_srcdir in 944 .) ac_abs_srcdir=$ac_abs_builddir;; 945 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 946 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 947 esac;; 948 esac 949 case $ac_abs_builddir in 950 .) ac_abs_top_srcdir=$ac_top_srcdir;; 951 *) 952 case $ac_top_srcdir in 953 .) ac_abs_top_srcdir=$ac_abs_builddir;; 954 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 955 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 956 esac;; 957 esac 958 959 cd $ac_dir 738 960 # Check for guested configure; otherwise get Cygnus style configure. 739 if test -f $ac_s ub_srcdir/configure.gnu; then961 if test -f $ac_srcdir/configure.gnu; then 740 962 echo 741 $SHELL $ac_s ub_srcdir/configure.gnu --help=recursive742 elif test -f $ac_s ub_srcdir/configure; then963 $SHELL $ac_srcdir/configure.gnu --help=recursive 964 elif test -f $ac_srcdir/configure; then 743 965 echo 744 $SHELL $ac_s ub_srcdir/configure --help=recursive745 elif test -f $ac_s ub_srcdir/configure.ac ||746 test -f $ac_sub_srcdir/configure.in; then966 $SHELL $ac_srcdir/configure --help=recursive 967 elif test -f $ac_srcdir/configure.ac || 968 test -f $ac_srcdir/configure.in; then 747 969 echo 748 970 $ac_configure --help 749 971 else 750 echo "$as_me: WARNING: no configuration information is in $ac_ subdir" >&2972 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 751 973 fi 752 974 cd $ac_popdir … … 756 978 test -n "$ac_init_help" && exit 0 757 979 if $ac_init_version; then 758 cat <<\EOF 759 760 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 761 Free Software Foundation, Inc. 980 cat <<\_ACEOF 981 982 Copyright (C) 2003 Free Software Foundation, Inc. 762 983 This configure script is free software; the Free Software Foundation 763 984 gives unlimited permission to copy, distribute and modify it. 764 EOF985 _ACEOF 765 986 exit 0 766 987 fi 767 988 exec 5>config.log 768 cat >&5 << EOF989 cat >&5 <<_ACEOF 769 990 This file contains any messages produced by compilers while 770 991 running configure, to aid debugging if configure makes a mistake. 771 992 772 993 It was created by $as_me, which was 773 generated by GNU Autoconf 2.5 2. Invocation command line was994 generated by GNU Autoconf 2.59. Invocation command line was 774 995 775 996 $ $0 $@ 776 997 777 EOF998 _ACEOF 778 999 { 779 1000 cat <<_ASUNAME 780 ## --------- -##781 ## Platform. 782 ## --------- -##1001 ## --------- ## 1002 ## Platform. ## 1003 ## --------- ## 783 1004 784 1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` … … 799 1020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 800 1021 801 PATH = $PATH802 803 1022 _ASUNAME 1023 1024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1025 for as_dir in $PATH 1026 do 1027 IFS=$as_save_IFS 1028 test -z "$as_dir" && as_dir=. 1029 echo "PATH: $as_dir" 1030 done 1031 804 1032 } >&5 805 1033 806 cat >&5 <<EOF 807 ## ------------ ## 808 ## Core tests. ## 809 ## ------------ ## 810 811 EOF 1034 cat >&5 <<_ACEOF 1035 1036 1037 ## ----------- ## 1038 ## Core tests. ## 1039 ## ----------- ## 1040 1041 _ACEOF 1042 812 1043 813 1044 # Keep a trace of the command line. 814 1045 # Strip out --no-create and --no-recursion so they do not pile up. 1046 # Strip out --silent because we don't want to record it for future runs. 815 1047 # Also quote any args containing shell meta-characters. 1048 # Make two passes to allow for proper duplicate-argument suppression. 816 1049 ac_configure_args= 1050 ac_configure_args0= 1051 ac_configure_args1= 817 1052 ac_sep= 818 for ac_arg 1053 ac_must_keep_next=false 1054 for ac_pass in 1 2 819 1055 do 820 case $ac_arg in 821 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 822 | --no-cr | --no-c) ;; 823 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 824 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 825 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 826 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 827 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 828 ac_sep=" " ;; 829 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 830 ac_sep=" " ;; 831 esac 832 # Get rid of the leading space. 1056 for ac_arg 1057 do 1058 case $ac_arg in 1059 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1061 | -silent | --silent | --silen | --sile | --sil) 1062 continue ;; 1063 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1064 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1065 esac 1066 case $ac_pass in 1067 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1068 2) 1069 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1070 if test $ac_must_keep_next = true; then 1071 ac_must_keep_next=false # Got value, back to normal. 1072 else 1073 case $ac_arg in 1074 *=* | --config-cache | -C | -disable-* | --disable-* \ 1075 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1076 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1077 | -with-* | --with-* | -without-* | --without-* | --x) 1078 case "$ac_configure_args0 " in 1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1080 esac 1081 ;; 1082 -* ) ac_must_keep_next=true ;; 1083 esac 1084 fi 1085 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1086 # Get rid of the leading space. 1087 ac_sep=" " 1088 ;; 1089 esac 1090 done 833 1091 done 1092 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1093 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 834 1094 835 1095 # When interrupted or exit'd, cleanup temporary files, and complete 836 1096 # config.log. We remove comments because anyway the quotes in there 837 1097 # would cause problems or look ugly. 1098 # WARNING: Be sure not to use single quotes in there, as some shells, 1099 # such as our DU 5.0 friend, will then `close' the trap. 838 1100 trap 'exit_status=$? 839 1101 # Save into config.log some information that might help in debugging. 840 echo >&5 841 echo "## ----------------- ##" >&5 842 echo "## Cache variables. ##" >&5 843 echo "## ----------------- ##" >&5 844 echo >&5 845 # The following way of writing the cache mishandles newlines in values, 1102 { 1103 echo 1104 1105 cat <<\_ASBOX 1106 ## ---------------- ## 1107 ## Cache variables. ## 1108 ## ---------------- ## 1109 _ASBOX 1110 echo 1111 # The following way of writing the cache mishandles newlines in values, 846 1112 { 847 1113 (set) 2>&1 | … … 849 1115 *ac_space=\ *) 850 1116 sed -n \ 851 852 1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 853 1119 ;; 854 1120 *) 855 1121 sed -n \ 856 1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 857 1123 ;; 858 1124 esac; 859 } >&5 860 sed "/^$/d" confdefs.h >conftest.log 861 if test -s conftest.log; then 862 echo >&5 863 echo "## ------------ ##" >&5 864 echo "## confdefs.h. ##" >&5 865 echo "## ------------ ##" >&5 866 echo >&5 867 cat conftest.log >&5 868 fi 869 (echo; echo) >&5 870 test "$ac_signal" != 0 && 871 echo "$as_me: caught signal $ac_signal" >&5 872 echo "$as_me: exit $exit_status" >&5 873 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 1125 } 1126 echo 1127 1128 cat <<\_ASBOX 1129 ## ----------------- ## 1130 ## Output variables. ## 1131 ## ----------------- ## 1132 _ASBOX 1133 echo 1134 for ac_var in $ac_subst_vars 1135 do 1136 eval ac_val=$`echo $ac_var` 1137 echo "$ac_var='"'"'$ac_val'"'"'" 1138 done | sort 1139 echo 1140 1141 if test -n "$ac_subst_files"; then 1142 cat <<\_ASBOX 1143 ## ------------- ## 1144 ## Output files. ## 1145 ## ------------- ## 1146 _ASBOX 1147 echo 1148 for ac_var in $ac_subst_files 1149 do 1150 eval ac_val=$`echo $ac_var` 1151 echo "$ac_var='"'"'$ac_val'"'"'" 1152 done | sort 1153 echo 1154 fi 1155 1156 if test -s confdefs.h; then 1157 cat <<\_ASBOX 1158 ## ----------- ## 1159 ## confdefs.h. ## 1160 ## ----------- ## 1161 _ASBOX 1162 echo 1163 sed "/^$/d" confdefs.h | sort 1164 echo 1165 fi 1166 test "$ac_signal" != 0 && 1167 echo "$as_me: caught signal $ac_signal" 1168 echo "$as_me: exit $exit_status" 1169 } >&5 1170 rm -f core *.core && 1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 874 1172 exit $exit_status 875 1173 ' 0 … … 883 1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 884 1182 echo >confdefs.h 1183 1184 # Predefined preprocessor variables. 1185 1186 cat >>confdefs.h <<_ACEOF 1187 #define PACKAGE_NAME "$PACKAGE_NAME" 1188 _ACEOF 1189 1190 1191 cat >>confdefs.h <<_ACEOF 1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1193 _ACEOF 1194 1195 1196 cat >>confdefs.h <<_ACEOF 1197 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1198 _ACEOF 1199 1200 1201 cat >>confdefs.h <<_ACEOF 1202 #define PACKAGE_STRING "$PACKAGE_STRING" 1203 _ACEOF 1204 1205 1206 cat >>confdefs.h <<_ACEOF 1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1208 _ACEOF 1209 885 1210 886 1211 # Let the site file select an alternate cache file if it wants to. … … 895 1220 for ac_site_file in $CONFIG_SITE; do 896 1221 if test -r "$ac_site_file"; then 897 { echo "$as_me: 897: loading site script $ac_site_file" >&51222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 898 1223 echo "$as_me: loading site script $ac_site_file" >&6;} 899 cat"$ac_site_file" >&51224 sed 's/^/| /' "$ac_site_file" >&5 900 1225 . "$ac_site_file" 901 1226 fi … … 906 1231 # files actually), so we avoid doing that. 907 1232 if test -f "$cache_file"; then 908 { echo "$as_me: 908: loading cache $cache_file" >&51233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 909 1234 echo "$as_me: loading cache $cache_file" >&6;} 910 1235 case $cache_file in … … 914 1239 fi 915 1240 else 916 { echo "$as_me: 916: creating cache $cache_file" >&51241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 917 1242 echo "$as_me: creating cache $cache_file" >&6;} 918 1243 >$cache_file … … 923 1248 ac_cache_corrupted=false 924 1249 for ac_var in `(set) 2>&1 | 925 1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 926 1251 eval ac_old_set=\$ac_cv_env_${ac_var}_set 927 1252 eval ac_new_set=\$ac_env_${ac_var}_set … … 930 1255 case $ac_old_set,$ac_new_set in 931 1256 set,) 932 { echo "$as_me: 932: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 933 1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 934 1259 ac_cache_corrupted=: ;; 935 1260 ,set) 936 { echo "$as_me: 936: error: \`$ac_var' was not set in the previous run" >&51261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 937 1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 938 1263 ac_cache_corrupted=: ;; … … 940 1265 *) 941 1266 if test "x$ac_old_val" != "x$ac_new_val"; then 942 { echo "$as_me:942: error: \`$ac_var' has changed since the previous run:" >&51267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 943 1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 944 { echo "$as_me:944: former value: $ac_old_val" >&51269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 945 1270 echo "$as_me: former value: $ac_old_val" >&2;} 946 { echo "$as_me:946: current value: $ac_new_val" >&51271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 947 1272 echo "$as_me: current value: $ac_new_val" >&2;} 948 1273 ac_cache_corrupted=: 949 1274 fi;; 950 1275 esac 951 # Pass precious variables to config.status. It doesn't matter if 952 # we pass some twice (in addition to the command line arguments). 1276 # Pass precious variables to config.status. 953 1277 if test "$ac_new_set" = set; then 954 1278 case $ac_new_val in 955 1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 956 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 957 ac_configure_args="$ac_configure_args '$ac_arg'" 958 ;; 959 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 960 ;; 1280 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1281 *) ac_arg=$ac_var=$ac_new_val ;; 1282 esac 1283 case " $ac_configure_args " in 1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1285 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 961 1286 esac 962 1287 fi 963 1288 done 964 1289 if $ac_cache_corrupted; then 965 { echo "$as_me: 965: error: changes in the environment can compromise the build" >&51290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 966 1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 967 { { echo "$as_me: 967: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&51292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 968 1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 969 1294 { (exit 1); exit 1; }; } … … 976 1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu 977 1302 978 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 979 *c*,-n*) ECHO_N= ECHO_C=' 980 ' ECHO_T=' ' ;; 981 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 982 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 983 esac 984 echo "#! $SHELL" >conftest.sh 985 echo "exit 0" >>conftest.sh 986 chmod +x conftest.sh 987 if { (echo "$as_me:987: PATH=\".;.\"; conftest.sh") >&5 988 (PATH=".;."; conftest.sh) 2>&5 989 ac_status=$? 990 echo "$as_me:990: \$? = $ac_status" >&5 991 (exit $ac_status); }; then 992 ac_path_separator=';' 993 else 994 ac_path_separator=: 995 fi 996 PATH_SEPARATOR="$ac_path_separator" 997 rm -f conftest.sh 998 999 ac_config_headers="$ac_config_headers bbftp.h:../includes/bbftp.h.in" 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 ac_config_headers="$ac_config_headers bbftp.h:../includes/bbftp.h.in" 1322 1000 1323 1001 1324 ac_ext=c … … 1009 1332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1010 1333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1011 echo "$as_me: 1011: checking for $ac_word" >&51334 echo "$as_me:$LINENO: checking for $ac_word" >&5 1012 1335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1013 1336 if test "${ac_cv_prog_CC+set}" = set; then … … 1017 1340 ac_cv_prog_CC="$CC" # Let the user override the test. 1018 1341 else 1019 ac_save_IFS=$IFS; IFS=$ac_path_separator 1020 ac_dummy="$PATH" 1021 for ac_dir in $ac_dummy; do 1022 IFS=$ac_save_IFS 1023 test -z "$ac_dir" && ac_dir=. 1024 $as_executable_p "$ac_dir/$ac_word" || continue 1025 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1026 echo "$as_me:1026: found $ac_dir/$ac_word" >&5 1027 break 1342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1343 for as_dir in $PATH 1344 do 1345 IFS=$as_save_IFS 1346 test -z "$as_dir" && as_dir=. 1347 for ac_exec_ext in '' $ac_executable_extensions; do 1348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1349 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1351 break 2 1352 fi 1353 done 1028 1354 done 1029 1355 … … 1032 1358 CC=$ac_cv_prog_CC 1033 1359 if test -n "$CC"; then 1034 echo "$as_me: 1034: result: $CC" >&51360 echo "$as_me:$LINENO: result: $CC" >&5 1035 1361 echo "${ECHO_T}$CC" >&6 1036 1362 else 1037 echo "$as_me: 1037: result: no" >&51363 echo "$as_me:$LINENO: result: no" >&5 1038 1364 echo "${ECHO_T}no" >&6 1039 1365 fi … … 1048 1374 # Extract the first word of "$ac_prog", so it can be a program name with args. 1049 1375 set dummy $ac_prog; ac_word=$2 1050 echo "$as_me: 1050: checking for $ac_word" >&51376 echo "$as_me:$LINENO: checking for $ac_word" >&5 1051 1377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1052 1378 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then … … 1056 1382 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1057 1383 else 1058 ac_save_IFS=$IFS; IFS=$ac_path_separator 1059 ac_dummy="$PATH" 1060 for ac_dir in $ac_dummy; do 1061 IFS=$ac_save_IFS 1062 test -z "$ac_dir" && ac_dir=. 1063 $as_executable_p "$ac_dir/$ac_word" || continue 1064 ac_cv_prog_ac_ct_CC="$ac_prog" 1065 echo "$as_me:1065: found $ac_dir/$ac_word" >&5 1066 break 1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1385 for as_dir in $PATH 1386 do 1387 IFS=$as_save_IFS 1388 test -z "$as_dir" && as_dir=. 1389 for ac_exec_ext in '' $ac_executable_extensions; do 1390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1391 ac_cv_prog_ac_ct_CC="$ac_prog" 1392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1393 break 2 1394 fi 1395 done 1067 1396 done 1068 1397 … … 1071 1400 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1072 1401 if test -n "$ac_ct_CC"; then 1073 echo "$as_me: 1073: result: $ac_ct_CC" >&51402 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1074 1403 echo "${ECHO_T}$ac_ct_CC" >&6 1075 1404 else 1076 echo "$as_me: 1076: result: no" >&51405 echo "$as_me:$LINENO: result: no" >&5 1077 1406 echo "${ECHO_T}no" >&6 1078 1407 fi … … 1084 1413 fi 1085 1414 1086 test -z "$CC" && { { echo "$as_me:1086: error: no acceptable cc found in \$PATH" >&5 1087 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 1415 1416 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1417 See \`config.log' for more details." >&5 1418 echo "$as_me: error: no acceptable C compiler found in \$PATH 1419 See \`config.log' for more details." >&2;} 1088 1420 { (exit 1); exit 1; }; } 1089 1421 1090 1422 # Provide some information about the compiler. 1091 echo "$as_me: 1091:" \1423 echo "$as_me:$LINENO:" \ 1092 1424 "checking for C compiler version" >&5 1093 1425 ac_compiler=`set X $ac_compile; echo $2` 1094 { (eval echo "$as_me: 1094: \"$ac_compiler --version </dev/null >&5\"") >&51426 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1095 1427 (eval $ac_compiler --version </dev/null >&5) 2>&5 1096 1428 ac_status=$? 1097 echo "$as_me: 1097: \$? = $ac_status" >&51429 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1098 1430 (exit $ac_status); } 1099 { (eval echo "$as_me: 1099: \"$ac_compiler -v </dev/null >&5\"") >&51431 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1100 1432 (eval $ac_compiler -v </dev/null >&5) 2>&5 1101 1433 ac_status=$? 1102 echo "$as_me: 1102: \$? = $ac_status" >&51434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1103 1435 (exit $ac_status); } 1104 { (eval echo "$as_me: 1104: \"$ac_compiler -V </dev/null >&5\"") >&51436 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1105 1437 (eval $ac_compiler -V </dev/null >&5) 2>&5 1106 1438 ac_status=$? 1107 echo "$as_me: 1107: \$? = $ac_status" >&51439 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1108 1440 (exit $ac_status); } 1109 1441 1110 1442 cat >conftest.$ac_ext <<_ACEOF 1111 #line 1111 "configure" 1112 #include "confdefs.h" 1443 /* confdefs.h. */ 1444 _ACEOF 1445 cat confdefs.h >>conftest.$ac_ext 1446 cat >>conftest.$ac_ext <<_ACEOF 1447 /* end confdefs.h. */ 1113 1448 1114 1449 int … … 1121 1456 _ACEOF 1122 1457 ac_clean_files_save=$ac_clean_files 1123 ac_clean_files="$ac_clean_files a.out a.exe "1458 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1124 1459 # Try to create an executable without -o first, disregard a.out. 1125 1460 # It will help us diagnose broken compilers, and finding out an intuition 1126 1461 # of exeext. 1127 echo "$as_me: 1127: checking for C compiler default output" >&51128 echo $ECHO_N "checking for C compiler default output ... $ECHO_C" >&61462 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1463 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1129 1464 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1130 if { (eval echo "$as_me: 1130: \"$ac_link_default\"") >&51465 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1131 1466 (eval $ac_link_default) 2>&5 1132 1467 ac_status=$? 1133 echo "$as_me: 1133: \$? = $ac_status" >&51468 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1134 1469 (exit $ac_status); }; then 1135 1470 # Find the output, starting from the most likely. This scheme is 1136 1471 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1137 1472 # resort. 1138 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 1139 ls a.out conftest 2>/dev/null; 1140 ls a.* conftest.* 2>/dev/null`; do 1473 1474 # Be careful to initialize this variable, since it used to be cached. 1475 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1476 ac_cv_exeext= 1477 # b.out is created by i960 compilers. 1478 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1479 do 1480 test -f "$ac_file" || continue 1141 1481 case $ac_file in 1142 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1143 a.out ) # We found the default executable, but exeext='' is most 1144 # certainly right. 1145 break;; 1146 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1147 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1148 export ac_cv_exeext 1149 break;; 1150 * ) break;; 1482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1483 ;; 1484 conftest.$ac_ext ) 1485 # This is the source file. 1486 ;; 1487 [ab].out ) 1488 # We found the default executable, but exeext='' is most 1489 # certainly right. 1490 break;; 1491 *.* ) 1492 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1493 # FIXME: I believe we export ac_cv_exeext for Libtool, 1494 # but it would be cool to find out if it's true. Does anybody 1495 # maintain Libtool? --akim. 1496 export ac_cv_exeext 1497 break;; 1498 * ) 1499 break;; 1151 1500 esac 1152 1501 done 1153 1502 else 1154 1503 echo "$as_me: failed program was:" >&5 1155 cat conftest.$ac_ext >&5 1156 { { echo "$as_me:1156: error: C compiler cannot create executables" >&5 1157 echo "$as_me: error: C compiler cannot create executables" >&2;} 1504 sed 's/^/| /' conftest.$ac_ext >&5 1505 1506 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1507 See \`config.log' for more details." >&5 1508 echo "$as_me: error: C compiler cannot create executables 1509 See \`config.log' for more details." >&2;} 1158 1510 { (exit 77); exit 77; }; } 1159 1511 fi 1160 1512 1161 1513 ac_exeext=$ac_cv_exeext 1162 echo "$as_me: 1162: result: $ac_file" >&51514 echo "$as_me:$LINENO: result: $ac_file" >&5 1163 1515 echo "${ECHO_T}$ac_file" >&6 1164 1516 1165 1517 # Check the compiler produces executables we can run. If not, either 1166 1518 # the compiler is broken, or we cross compile. 1167 echo "$as_me: 1167: checking whether the C compiler works" >&51519 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1168 1520 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1169 1521 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 … … 1171 1523 if test "$cross_compiling" != yes; then 1172 1524 if { ac_try='./$ac_file' 1173 { (eval echo "$as_me: 1173: \"$ac_try\"") >&51174 (eval $ac_try) 2>&5 1175 ac_status=$? 1176 echo "$as_me: 1176: \$? = $ac_status" >&51525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1526 (eval $ac_try) 2>&5 1527 ac_status=$? 1528 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1177 1529 (exit $ac_status); }; }; then 1178 1530 cross_compiling=no … … 1181 1533 cross_compiling=yes 1182 1534 else 1183 { { echo "$as_me:1183: error: cannot run C compiled programs. 1184 If you meant to cross compile, use \`--host'." >&5 1535 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1536 If you meant to cross compile, use \`--host'. 1537 See \`config.log' for more details." >&5 1185 1538 echo "$as_me: error: cannot run C compiled programs. 1186 If you meant to cross compile, use \`--host'." >&2;} 1539 If you meant to cross compile, use \`--host'. 1540 See \`config.log' for more details." >&2;} 1187 1541 { (exit 1); exit 1; }; } 1188 1542 fi 1189 1543 fi 1190 1544 fi 1191 echo "$as_me: 1191: result: yes" >&51545 echo "$as_me:$LINENO: result: yes" >&5 1192 1546 echo "${ECHO_T}yes" >&6 1193 1547 1194 rm -f a.out a.exe conftest$ac_cv_exeext 1548 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1195 1549 ac_clean_files=$ac_clean_files_save 1196 1550 # Check the compiler produces executables we can run. If not, either 1197 1551 # the compiler is broken, or we cross compile. 1198 echo "$as_me: 1198: checking whether we are cross compiling" >&51552 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1199 1553 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1200 echo "$as_me: 1200: result: $cross_compiling" >&51554 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1201 1555 echo "${ECHO_T}$cross_compiling" >&6 1202 1556 1203 echo "$as_me: 1203: checking for executable suffix" >&51204 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&61205 if { (eval echo "$as_me: 1205: \"$ac_link\"") >&51557 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1558 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1206 1560 (eval $ac_link) 2>&5 1207 1561 ac_status=$? 1208 echo "$as_me: 1208: \$? = $ac_status" >&51562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1209 1563 (exit $ac_status); }; then 1210 1564 # If both `conftest.exe' and `conftest' are `present' (well, observable) … … 1212 1566 # work properly (i.e., refer to `conftest.exe'), while it won't with 1213 1567 # `rm'. 1214 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1568 for ac_file in conftest.exe conftest conftest.*; do 1569 test -f "$ac_file" || continue 1215 1570 case $ac_file in 1216 *.$ac_ext | *. o | *.obj | *.xcoff | *.tds | *.d | *.pdb) ;;1571 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1217 1572 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1218 1219 1573 export ac_cv_exeext 1574 break;; 1220 1575 * ) break;; 1221 1576 esac 1222 1577 done 1223 1578 else 1224 { { echo "$as_me:1224: error: cannot compute EXEEXT: cannot compile and link" >&5 1225 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 1579 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1580 See \`config.log' for more details." >&5 1581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1582 See \`config.log' for more details." >&2;} 1226 1583 { (exit 1); exit 1; }; } 1227 1584 fi 1228 1585 1229 1586 rm -f conftest$ac_cv_exeext 1230 echo "$as_me: 1230: result: $ac_cv_exeext" >&51587 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1231 1588 echo "${ECHO_T}$ac_cv_exeext" >&6 1232 1589 … … 1234 1591 EXEEXT=$ac_cv_exeext 1235 1592 ac_exeext=$EXEEXT 1236 echo "$as_me: 1236: checking for object suffix" >&51237 echo $ECHO_N "checking for object suffix... $ECHO_C" >&61593 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1238 1595 if test "${ac_cv_objext+set}" = set; then 1239 1596 echo $ECHO_N "(cached) $ECHO_C" >&6 1240 1597 else 1241 1598 cat >conftest.$ac_ext <<_ACEOF 1242 #line 1242 "configure" 1243 #include "confdefs.h" 1599 /* confdefs.h. */ 1600 _ACEOF 1601 cat confdefs.h >>conftest.$ac_ext 1602 cat >>conftest.$ac_ext <<_ACEOF 1603 /* end confdefs.h. */ 1244 1604 1245 1605 int … … 1252 1612 _ACEOF 1253 1613 rm -f conftest.o conftest.obj 1254 if { (eval echo "$as_me: 1254: \"$ac_compile\"") >&51614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1255 1615 (eval $ac_compile) 2>&5 1256 1616 ac_status=$? 1257 echo "$as_me: 1257: \$? = $ac_status" >&51617 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1258 1618 (exit $ac_status); }; then 1259 1619 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1260 1620 case $ac_file in 1261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;1621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1262 1622 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1263 1623 break;; … … 1266 1626 else 1267 1627 echo "$as_me: failed program was:" >&5 1268 cat conftest.$ac_ext >&5 1269 { { echo "$as_me:1269: error: cannot compute OBJEXT: cannot compile" >&5 1270 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 1628 sed 's/^/| /' conftest.$ac_ext >&5 1629 1630 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1631 See \`config.log' for more details." >&5 1632 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1633 See \`config.log' for more details." >&2;} 1271 1634 { (exit 1); exit 1; }; } 1272 1635 fi … … 1274 1637 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1275 1638 fi 1276 echo "$as_me: 1276: result: $ac_cv_objext" >&51639 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1277 1640 echo "${ECHO_T}$ac_cv_objext" >&6 1278 1641 OBJEXT=$ac_cv_objext 1279 1642 ac_objext=$OBJEXT 1280 echo "$as_me: 1280: checking whether we are using the GNU C compiler" >&51643 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1281 1644 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1282 1645 if test "${ac_cv_c_compiler_gnu+set}" = set; then … … 1284 1647 else 1285 1648 cat >conftest.$ac_ext <<_ACEOF 1286 #line 1286 "configure" 1287 #include "confdefs.h" 1649 /* confdefs.h. */ 1650 _ACEOF 1651 cat confdefs.h >>conftest.$ac_ext 1652 cat >>conftest.$ac_ext <<_ACEOF 1653 /* end confdefs.h. */ 1288 1654 1289 1655 int … … 1299 1665 _ACEOF 1300 1666 rm -f conftest.$ac_objext 1301 if { (eval echo "$as_me:1301: \"$ac_compile\"") >&5 1302 (eval $ac_compile) 2>&5 1303 ac_status=$? 1304 echo "$as_me:1304: \$? = $ac_status" >&5 1667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1668 (eval $ac_compile) 2>conftest.er1 1669 ac_status=$? 1670 grep -v '^ *+' conftest.er1 >conftest.err 1671 rm -f conftest.er1 1672 cat conftest.err >&5 1673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1305 1674 (exit $ac_status); } && 1306 { ac_try='test -s conftest.$ac_objext' 1307 { (eval echo "$as_me:1307: \"$ac_try\"") >&5 1308 (eval $ac_try) 2>&5 1309 ac_status=$? 1310 echo "$as_me:1310: \$? = $ac_status" >&5 1675 { ac_try='test -z "$ac_c_werror_flag" 1676 || test ! -s conftest.err' 1677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1678 (eval $ac_try) 2>&5 1679 ac_status=$? 1680 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1681 (exit $ac_status); }; } && 1682 { ac_try='test -s conftest.$ac_objext' 1683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1684 (eval $ac_try) 2>&5 1685 ac_status=$? 1686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1311 1687 (exit $ac_status); }; }; then 1312 1688 ac_compiler_gnu=yes 1313 1689 else 1314 1690 echo "$as_me: failed program was:" >&5 1315 cat conftest.$ac_ext >&5 1691 sed 's/^/| /' conftest.$ac_ext >&5 1692 1316 1693 ac_compiler_gnu=no 1317 1694 fi 1318 rm -f conftest. $ac_objext conftest.$ac_ext1695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1319 1696 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1320 1697 1321 1698 fi 1322 echo "$as_me: 1322: result: $ac_cv_c_compiler_gnu" >&51699 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1323 1700 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1324 1701 GCC=`test $ac_compiler_gnu = yes && echo yes` … … 1326 1703 ac_save_CFLAGS=$CFLAGS 1327 1704 CFLAGS="-g" 1328 echo "$as_me: 1328: checking whether $CC accepts -g" >&51705 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1329 1706 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1330 1707 if test "${ac_cv_prog_cc_g+set}" = set; then … … 1332 1709 else 1333 1710 cat >conftest.$ac_ext <<_ACEOF 1334 #line 1334 "configure" 1335 #include "confdefs.h" 1711 /* confdefs.h. */ 1712 _ACEOF 1713 cat confdefs.h >>conftest.$ac_ext 1714 cat >>conftest.$ac_ext <<_ACEOF 1715 /* end confdefs.h. */ 1336 1716 1337 1717 int … … 1344 1724 _ACEOF 1345 1725 rm -f conftest.$ac_objext 1346 if { (eval echo "$as_me:1346: \"$ac_compile\"") >&5 1347 (eval $ac_compile) 2>&5 1348 ac_status=$? 1349 echo "$as_me:1349: \$? = $ac_status" >&5 1726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1727 (eval $ac_compile) 2>conftest.er1 1728 ac_status=$? 1729 grep -v '^ *+' conftest.er1 >conftest.err 1730 rm -f conftest.er1 1731 cat conftest.err >&5 1732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1350 1733 (exit $ac_status); } && 1351 { ac_try='test -s conftest.$ac_objext' 1352 { (eval echo "$as_me:1352: \"$ac_try\"") >&5 1353 (eval $ac_try) 2>&5 1354 ac_status=$? 1355 echo "$as_me:1355: \$? = $ac_status" >&5 1734 { ac_try='test -z "$ac_c_werror_flag" 1735 || test ! -s conftest.err' 1736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1737 (eval $ac_try) 2>&5 1738 ac_status=$? 1739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1740 (exit $ac_status); }; } && 1741 { ac_try='test -s conftest.$ac_objext' 1742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1743 (eval $ac_try) 2>&5 1744 ac_status=$? 1745 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1356 1746 (exit $ac_status); }; }; then 1357 1747 ac_cv_prog_cc_g=yes 1358 1748 else 1359 1749 echo "$as_me: failed program was:" >&5 1360 cat conftest.$ac_ext >&5 1750 sed 's/^/| /' conftest.$ac_ext >&5 1751 1361 1752 ac_cv_prog_cc_g=no 1362 1753 fi 1363 rm -f conftest. $ac_objext conftest.$ac_ext1364 fi 1365 echo "$as_me: 1365: result: $ac_cv_prog_cc_g" >&51754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1755 fi 1756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1366 1757 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 1367 1758 if test "$ac_test_CFLAGS" = set; then … … 1380 1771 fi 1381 1772 fi 1773 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 1774 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 1775 if test "${ac_cv_prog_cc_stdc+set}" = set; then 1776 echo $ECHO_N "(cached) $ECHO_C" >&6 1777 else 1778 ac_cv_prog_cc_stdc=no 1779 ac_save_CC=$CC 1780 cat >conftest.$ac_ext <<_ACEOF 1781 /* confdefs.h. */ 1782 _ACEOF 1783 cat confdefs.h >>conftest.$ac_ext 1784 cat >>conftest.$ac_ext <<_ACEOF 1785 /* end confdefs.h. */ 1786 #include <stdarg.h> 1787 #include <stdio.h> 1788 #include <sys/types.h> 1789 #include <sys/stat.h> 1790 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 1791 struct buf { int x; }; 1792 FILE * (*rcsopen) (struct buf *, struct stat *, int); 1793 static char *e (p, i) 1794 char **p; 1795 int i; 1796 { 1797 return p[i]; 1798 } 1799 static char *f (char * (*g) (char **, int), char **p, ...) 1800 { 1801 char *s; 1802 va_list v; 1803 va_start (v,p); 1804 s = g (p, va_arg (v,int)); 1805 va_end (v); 1806 return s; 1807 } 1808 1809 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 1810 function prototypes and stuff, but not '\xHH' hex character constants. 1811 These don't provoke an error unfortunately, instead are silently treated 1812 as 'x'. The following induces an error, until -std1 is added to get 1813 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 1814 array size at least. It's necessary to write '\x00'==0 to get something 1815 that's true only with -std1. */ 1816 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 1817 1818 int test (int i, double x); 1819 struct s1 {int (*f) (int a);}; 1820 struct s2 {int (*f) (double a);}; 1821 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 1822 int argc; 1823 char **argv; 1824 int 1825 main () 1826 { 1827 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 1828 ; 1829 return 0; 1830 } 1831 _ACEOF 1832 # Don't try gcc -ansi; that turns off useful extensions and 1833 # breaks some systems' header files. 1834 # AIX -qlanglvl=ansi 1835 # Ultrix and OSF/1 -std1 1836 # HP-UX 10.20 and later -Ae 1837 # HP-UX older versions -Aa -D_HPUX_SOURCE 1838 # SVR4 -Xc -D__EXTENSIONS__ 1839 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 1840 do 1841 CC="$ac_save_CC $ac_arg" 1842 rm -f conftest.$ac_objext 1843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1844 (eval $ac_compile) 2>conftest.er1 1845 ac_status=$? 1846 grep -v '^ *+' conftest.er1 >conftest.err 1847 rm -f conftest.er1 1848 cat conftest.err >&5 1849 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1850 (exit $ac_status); } && 1851 { ac_try='test -z "$ac_c_werror_flag" 1852 || test ! -s conftest.err' 1853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1854 (eval $ac_try) 2>&5 1855 ac_status=$? 1856 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1857 (exit $ac_status); }; } && 1858 { ac_try='test -s conftest.$ac_objext' 1859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1860 (eval $ac_try) 2>&5 1861 ac_status=$? 1862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1863 (exit $ac_status); }; }; then 1864 ac_cv_prog_cc_stdc=$ac_arg 1865 break 1866 else 1867 echo "$as_me: failed program was:" >&5 1868 sed 's/^/| /' conftest.$ac_ext >&5 1869 1870 fi 1871 rm -f conftest.err conftest.$ac_objext 1872 done 1873 rm -f conftest.$ac_ext conftest.$ac_objext 1874 CC=$ac_save_CC 1875 1876 fi 1877 1878 case "x$ac_cv_prog_cc_stdc" in 1879 x|xno) 1880 echo "$as_me:$LINENO: result: none needed" >&5 1881 echo "${ECHO_T}none needed" >&6 ;; 1882 *) 1883 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 1884 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 1885 CC="$CC $ac_cv_prog_cc_stdc" ;; 1886 esac 1887 1382 1888 # Some people use a C++ compiler to compile C. Since we use `exit', 1383 1889 # in C++ we need to declare it. In case someone uses the same compiler … … 1390 1896 _ACEOF 1391 1897 rm -f conftest.$ac_objext 1392 if { (eval echo "$as_me:1392: \"$ac_compile\"") >&5 1393 (eval $ac_compile) 2>&5 1394 ac_status=$? 1395 echo "$as_me:1395: \$? = $ac_status" >&5 1898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1899 (eval $ac_compile) 2>conftest.er1 1900 ac_status=$? 1901 grep -v '^ *+' conftest.er1 >conftest.err 1902 rm -f conftest.er1 1903 cat conftest.err >&5 1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1396 1905 (exit $ac_status); } && 1397 { ac_try='test -s conftest.$ac_objext' 1398 { (eval echo "$as_me:1398: \"$ac_try\"") >&5 1399 (eval $ac_try) 2>&5 1400 ac_status=$? 1401 echo "$as_me:1401: \$? = $ac_status" >&5 1906 { ac_try='test -z "$ac_c_werror_flag" 1907 || test ! -s conftest.err' 1908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1909 (eval $ac_try) 2>&5 1910 ac_status=$? 1911 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1912 (exit $ac_status); }; } && 1913 { ac_try='test -s conftest.$ac_objext' 1914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1915 (eval $ac_try) 2>&5 1916 ac_status=$? 1917 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1402 1918 (exit $ac_status); }; }; then 1403 1919 for ac_declaration in \ 1404 ''\ 1405 '#include <stdlib.h>' \ 1920 '' \ 1406 1921 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1407 1922 'extern "C" void std::exit (int); using std::exit;' \ … … 1411 1926 do 1412 1927 cat >conftest.$ac_ext <<_ACEOF 1413 #line 1413 "configure" 1414 #include "confdefs.h" 1928 /* confdefs.h. */ 1929 _ACEOF 1930 cat confdefs.h >>conftest.$ac_ext 1931 cat >>conftest.$ac_ext <<_ACEOF 1932 /* end confdefs.h. */ 1933 $ac_declaration 1415 1934 #include <stdlib.h> 1935 int 1936 main () 1937 { 1938 exit (42); 1939 ; 1940 return 0; 1941 } 1942 _ACEOF 1943 rm -f conftest.$ac_objext 1944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1945 (eval $ac_compile) 2>conftest.er1 1946 ac_status=$? 1947 grep -v '^ *+' conftest.er1 >conftest.err 1948 rm -f conftest.er1 1949 cat conftest.err >&5 1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1951 (exit $ac_status); } && 1952 { ac_try='test -z "$ac_c_werror_flag" 1953 || test ! -s conftest.err' 1954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1955 (eval $ac_try) 2>&5 1956 ac_status=$? 1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1958 (exit $ac_status); }; } && 1959 { ac_try='test -s conftest.$ac_objext' 1960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1961 (eval $ac_try) 2>&5 1962 ac_status=$? 1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1964 (exit $ac_status); }; }; then 1965 : 1966 else 1967 echo "$as_me: failed program was:" >&5 1968 sed 's/^/| /' conftest.$ac_ext >&5 1969 1970 continue 1971 fi 1972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1973 cat >conftest.$ac_ext <<_ACEOF 1974 /* confdefs.h. */ 1975 _ACEOF 1976 cat confdefs.h >>conftest.$ac_ext 1977 cat >>conftest.$ac_ext <<_ACEOF 1978 /* end confdefs.h. */ 1416 1979 $ac_declaration 1417 1980 int … … 1424 1987 _ACEOF 1425 1988 rm -f conftest.$ac_objext 1426 if { (eval echo "$as_me:1426: \"$ac_compile\"") >&5 1427 (eval $ac_compile) 2>&5 1428 ac_status=$? 1429 echo "$as_me:1429: \$? = $ac_status" >&5 1989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1990 (eval $ac_compile) 2>conftest.er1 1991 ac_status=$? 1992 grep -v '^ *+' conftest.er1 >conftest.err 1993 rm -f conftest.er1 1994 cat conftest.err >&5 1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1430 1996 (exit $ac_status); } && 1431 { ac_try='test -s conftest.$ac_objext' 1432 { (eval echo "$as_me:1432: \"$ac_try\"") >&5 1433 (eval $ac_try) 2>&5 1434 ac_status=$? 1435 echo "$as_me:1435: \$? = $ac_status" >&5 1436 (exit $ac_status); }; }; then 1437 : 1438 else 1439 echo "$as_me: failed program was:" >&5 1440 cat conftest.$ac_ext >&5 1441 continue 1442 fi 1443 rm -f conftest.$ac_objext conftest.$ac_ext 1444 cat >conftest.$ac_ext <<_ACEOF 1445 #line 1445 "configure" 1446 #include "confdefs.h" 1447 $ac_declaration 1448 int 1449 main () 1450 { 1451 exit (42); 1452 ; 1453 return 0; 1454 } 1455 _ACEOF 1456 rm -f conftest.$ac_objext 1457 if { (eval echo "$as_me:1457: \"$ac_compile\"") >&5 1458 (eval $ac_compile) 2>&5 1459 ac_status=$? 1460 echo "$as_me:1460: \$? = $ac_status" >&5 1461 (exit $ac_status); } && 1462 { ac_try='test -s conftest.$ac_objext' 1463 { (eval echo "$as_me:1463: \"$ac_try\"") >&5 1464 (eval $ac_try) 2>&5 1465 ac_status=$? 1466 echo "$as_me:1466: \$? = $ac_status" >&5 1997 { ac_try='test -z "$ac_c_werror_flag" 1998 || test ! -s conftest.err' 1999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2000 (eval $ac_try) 2>&5 2001 ac_status=$? 2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2003 (exit $ac_status); }; } && 2004 { ac_try='test -s conftest.$ac_objext' 2005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2006 (eval $ac_try) 2>&5 2007 ac_status=$? 2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1467 2009 (exit $ac_status); }; }; then 1468 2010 break 1469 2011 else 1470 2012 echo "$as_me: failed program was:" >&5 1471 cat conftest.$ac_ext >&5 1472 fi 1473 rm -f conftest.$ac_objext conftest.$ac_ext 2013 sed 's/^/| /' conftest.$ac_ext >&5 2014 2015 fi 2016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1474 2017 done 1475 2018 rm -f conftest* … … 1482 2025 else 1483 2026 echo "$as_me: failed program was:" >&5 1484 cat conftest.$ac_ext >&5 1485 fi 1486 rm -f conftest.$ac_objext conftest.$ac_ext 2027 sed 's/^/| /' conftest.$ac_ext >&5 2028 2029 fi 2030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 1487 2031 ac_ext=c 1488 2032 ac_cpp='$CPP $CPPFLAGS' … … 1508 2052 done 1509 2053 if test -z "$ac_aux_dir"; then 1510 { { echo "$as_me: 1510: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&52054 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 1511 2055 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 1512 2056 { (exit 1); exit 1; }; } … … 1527 2071 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1528 2072 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2073 # OS/2's system install, which has a completely different semantic 1529 2074 # ./install, which can be erroneously created by make from ./install.sh. 1530 echo "$as_me: 1530: checking for a BSDcompatible install" >&51531 echo $ECHO_N "checking for a BSD 2075 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2076 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1532 2077 if test -z "$INSTALL"; then 1533 2078 if test "${ac_cv_path_install+set}" = set; then 1534 2079 echo $ECHO_N "(cached) $ECHO_C" >&6 1535 2080 else 1536 ac_save_IFS=$IFS; IFS=$ac_path_separator 1537 for ac_dir in $PATH; do 1538 IFS=$ac_save_IFS 1539 # Account for people who put trailing slashes in PATH elements. 1540 case $ac_dir/ in 1541 / | ./ | .// | /cC/* \ 1542 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 1543 | /usr/ucb/* ) ;; 1544 *) 1545 # OSF1 and SCO ODT 3.0 have their own names for install. 1546 # Don't use installbsd from OSF since it installs stuff as root 1547 # by default. 1548 for ac_prog in ginstall scoinst install; do 1549 if $as_executable_p "$ac_dir/$ac_prog"; then 2081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2082 for as_dir in $PATH 2083 do 2084 IFS=$as_save_IFS 2085 test -z "$as_dir" && as_dir=. 2086 # Account for people who put trailing slashes in PATH elements. 2087 case $as_dir/ in 2088 ./ | .// | /cC/* | \ 2089 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2090 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2091 /usr/ucb/* ) ;; 2092 *) 2093 # OSF1 and SCO ODT 3.0 have their own names for install. 2094 # Don't use installbsd from OSF since it installs stuff as root 2095 # by default. 2096 for ac_prog in ginstall scoinst install; do 2097 for ac_exec_ext in '' $ac_executable_extensions; do 2098 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1550 2099 if test $ac_prog = install && 1551 grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then2100 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1552 2101 # AIX install. It has an incompatible calling convention. 1553 2102 : 1554 2103 elif test $ac_prog = install && 1555 grep pwplus "$a c_dir/$ac_prog" >/dev/null 2>&1; then2104 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1556 2105 # program-specific install script used by HP pwplus--don't use. 1557 2106 : 1558 2107 else 1559 ac_cv_path_install="$a c_dir/$ac_prog-c"1560 break 22108 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2109 break 3 1561 2110 fi 1562 2111 fi 1563 2112 done 1564 ;; 1565 esac 1566 done 2113 done 2114 ;; 2115 esac 2116 done 2117 1567 2118 1568 2119 fi … … 1577 2128 fi 1578 2129 fi 1579 echo "$as_me: 1579: result: $INSTALL" >&52130 echo "$as_me:$LINENO: result: $INSTALL" >&5 1580 2131 echo "${ECHO_T}$INSTALL" >&6 1581 2132 … … 1590 2141 # Make sure we can run config.sub. 1591 2142 $ac_config_sub sun4 >/dev/null 2>&1 || 1592 { { echo "$as_me: 1592: error: cannot run $ac_config_sub" >&52143 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 1593 2144 echo "$as_me: error: cannot run $ac_config_sub" >&2;} 1594 2145 { (exit 1); exit 1; }; } 1595 2146 1596 echo "$as_me: 1596: checking build system type" >&52147 echo "$as_me:$LINENO: checking build system type" >&5 1597 2148 echo $ECHO_N "checking build system type... $ECHO_C" >&6 1598 2149 if test "${ac_cv_build+set}" = set; then … … 1603 2154 ac_cv_build_alias=`$ac_config_guess` 1604 2155 test -z "$ac_cv_build_alias" && 1605 { { echo "$as_me: 1605: error: cannot guess build type; you must specify one" >&52156 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 1606 2157 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 1607 2158 { (exit 1); exit 1; }; } 1608 2159 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 1609 { { echo "$as_me: 1609: error: $ac_config_sub $ac_cv_build_alias failed." >&51610 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed ." >&2;}2160 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 2161 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 1611 2162 { (exit 1); exit 1; }; } 1612 2163 1613 2164 fi 1614 echo "$as_me: 1614: result: $ac_cv_build" >&52165 echo "$as_me:$LINENO: result: $ac_cv_build" >&5 1615 2166 echo "${ECHO_T}$ac_cv_build" >&6 1616 2167 build=$ac_cv_build … … 1619 2170 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1620 2171 1621 echo "$as_me:1621: checking host system type" >&5 2172 2173 echo "$as_me:$LINENO: checking host system type" >&5 1622 2174 echo $ECHO_N "checking host system type... $ECHO_C" >&6 1623 2175 if test "${ac_cv_host+set}" = set; then … … 1628 2180 ac_cv_host_alias=$ac_cv_build_alias 1629 2181 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 1630 { { echo "$as_me: 1630: error: $ac_config_sub $ac_cv_host_alias failed" >&52182 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 1631 2183 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 1632 2184 { (exit 1); exit 1; }; } 1633 2185 1634 2186 fi 1635 echo "$as_me: 1635: result: $ac_cv_host" >&52187 echo "$as_me:$LINENO: result: $ac_cv_host" >&5 1636 2188 echo "${ECHO_T}$ac_cv_host" >&6 1637 2189 host=$ac_cv_host … … 1640 2192 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 1641 2193 2194 2195 2196 2197 2198 1642 2199 ac_ext=c 1643 2200 ac_cpp='$CPP $CPPFLAGS' … … 1645 2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1646 2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1647 echo "$as_me: 1647: checking how to run the C preprocessor" >&52204 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 1648 2205 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 1649 2206 # On Suns, sometimes $CPP names a directory. … … 1663 2220 # Use a header file that comes with gcc, so configuring glibc 1664 2221 # with a fresh cross-compiler works. 2222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2223 # <limits.h> exists even on freestanding compilers. 1665 2224 # On the NeXT, cc -E runs the code through the compiler's parser, 1666 2225 # not just through cpp. "Syntax error" is here to catch this case. 1667 2226 cat >conftest.$ac_ext <<_ACEOF 1668 #line 1668 "configure" 1669 #include "confdefs.h" 1670 #include <assert.h> 1671 Syntax error 1672 _ACEOF 1673 if { (eval echo "$as_me:1673: \"$ac_cpp conftest.$ac_ext\"") >&5 2227 /* confdefs.h. */ 2228 _ACEOF 2229 cat confdefs.h >>conftest.$ac_ext 2230 cat >>conftest.$ac_ext <<_ACEOF 2231 /* end confdefs.h. */ 2232 #ifdef __STDC__ 2233 # include <limits.h> 2234 #else 2235 # include <assert.h> 2236 #endif 2237 Syntax error 2238 _ACEOF 2239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 1674 2240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1675 2241 ac_status=$? 1676 egrep -v '^ *\+' conftest.er1 >conftest.err2242 grep -v '^ *+' conftest.er1 >conftest.err 1677 2243 rm -f conftest.er1 1678 2244 cat conftest.err >&5 1679 echo "$as_me: 1679: \$? = $ac_status" >&52245 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1680 2246 (exit $ac_status); } >/dev/null; then 1681 2247 if test -s conftest.err; then 1682 2248 ac_cpp_err=$ac_c_preproc_warn_flag 2249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 1683 2250 else 1684 2251 ac_cpp_err= … … 1691 2258 else 1692 2259 echo "$as_me: failed program was:" >&5 1693 cat conftest.$ac_ext >&5 2260 sed 's/^/| /' conftest.$ac_ext >&5 2261 1694 2262 # Broken: fails on valid input. 1695 2263 continue … … 1700 2268 # can be detected and how. 1701 2269 cat >conftest.$ac_ext <<_ACEOF 1702 #line 1702 "configure" 1703 #include "confdefs.h" 2270 /* confdefs.h. */ 2271 _ACEOF 2272 cat confdefs.h >>conftest.$ac_ext 2273 cat >>conftest.$ac_ext <<_ACEOF 2274 /* end confdefs.h. */ 1704 2275 #include <ac_nonexistent.h> 1705 2276 _ACEOF 1706 if { (eval echo "$as_me: 1706: \"$ac_cpp conftest.$ac_ext\"") >&52277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 1707 2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1708 2279 ac_status=$? 1709 egrep -v '^ *\+' conftest.er1 >conftest.err2280 grep -v '^ *+' conftest.er1 >conftest.err 1710 2281 rm -f conftest.er1 1711 2282 cat conftest.err >&5 1712 echo "$as_me: 1712: \$? = $ac_status" >&52283 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1713 2284 (exit $ac_status); } >/dev/null; then 1714 2285 if test -s conftest.err; then 1715 2286 ac_cpp_err=$ac_c_preproc_warn_flag 2287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 1716 2288 else 1717 2289 ac_cpp_err= … … 1725 2297 else 1726 2298 echo "$as_me: failed program was:" >&5 1727 cat conftest.$ac_ext >&5 2299 sed 's/^/| /' conftest.$ac_ext >&5 2300 1728 2301 # Passes both tests. 1729 2302 ac_preproc_ok=: … … 1747 2320 ac_cv_prog_CPP=$CPP 1748 2321 fi 1749 echo "$as_me: 1749: result: $CPP" >&52322 echo "$as_me:$LINENO: result: $CPP" >&5 1750 2323 echo "${ECHO_T}$CPP" >&6 1751 2324 ac_preproc_ok=false … … 1754 2327 # Use a header file that comes with gcc, so configuring glibc 1755 2328 # with a fresh cross-compiler works. 2329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2330 # <limits.h> exists even on freestanding compilers. 1756 2331 # On the NeXT, cc -E runs the code through the compiler's parser, 1757 2332 # not just through cpp. "Syntax error" is here to catch this case. 1758 2333 cat >conftest.$ac_ext <<_ACEOF 1759 #line 1759 "configure" 1760 #include "confdefs.h" 1761 #include <assert.h> 1762 Syntax error 1763 _ACEOF 1764 if { (eval echo "$as_me:1764: \"$ac_cpp conftest.$ac_ext\"") >&5 2334 /* confdefs.h. */ 2335 _ACEOF 2336 cat confdefs.h >>conftest.$ac_ext 2337 cat >>conftest.$ac_ext <<_ACEOF 2338 /* end confdefs.h. */ 2339 #ifdef __STDC__ 2340 # include <limits.h> 2341 #else 2342 # include <assert.h> 2343 #endif 2344 Syntax error 2345 _ACEOF 2346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 1765 2347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1766 2348 ac_status=$? 1767 egrep -v '^ *\+' conftest.er1 >conftest.err2349 grep -v '^ *+' conftest.er1 >conftest.err 1768 2350 rm -f conftest.er1 1769 2351 cat conftest.err >&5 1770 echo "$as_me: 1770: \$? = $ac_status" >&52352 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1771 2353 (exit $ac_status); } >/dev/null; then 1772 2354 if test -s conftest.err; then 1773 2355 ac_cpp_err=$ac_c_preproc_warn_flag 2356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 1774 2357 else 1775 2358 ac_cpp_err= … … 1782 2365 else 1783 2366 echo "$as_me: failed program was:" >&5 1784 cat conftest.$ac_ext >&5 2367 sed 's/^/| /' conftest.$ac_ext >&5 2368 1785 2369 # Broken: fails on valid input. 1786 2370 continue … … 1791 2375 # can be detected and how. 1792 2376 cat >conftest.$ac_ext <<_ACEOF 1793 #line 1793 "configure" 1794 #include "confdefs.h" 2377 /* confdefs.h. */ 2378 _ACEOF 2379 cat confdefs.h >>conftest.$ac_ext 2380 cat >>conftest.$ac_ext <<_ACEOF 2381 /* end confdefs.h. */ 1795 2382 #include <ac_nonexistent.h> 1796 2383 _ACEOF 1797 if { (eval echo "$as_me: 1797: \"$ac_cpp conftest.$ac_ext\"") >&52384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 1798 2385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1799 2386 ac_status=$? 1800 egrep -v '^ *\+' conftest.er1 >conftest.err2387 grep -v '^ *+' conftest.er1 >conftest.err 1801 2388 rm -f conftest.er1 1802 2389 cat conftest.err >&5 1803 echo "$as_me: 1803: \$? = $ac_status" >&52390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1804 2391 (exit $ac_status); } >/dev/null; then 1805 2392 if test -s conftest.err; then 1806 2393 ac_cpp_err=$ac_c_preproc_warn_flag 2394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 1807 2395 else 1808 2396 ac_cpp_err= … … 1816 2404 else 1817 2405 echo "$as_me: failed program was:" >&5 1818 cat conftest.$ac_ext >&5 2406 sed 's/^/| /' conftest.$ac_ext >&5 2407 1819 2408 # Passes both tests. 1820 2409 ac_preproc_ok=: … … 1829 2418 : 1830 2419 else 1831 { { echo "$as_me:1831: error: C preprocessor \"$CPP\" fails sanity check" >&5 1832 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2420 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2421 See \`config.log' for more details." >&5 2422 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2423 See \`config.log' for more details." >&2;} 1833 2424 { (exit 1); exit 1; }; } 1834 2425 fi … … 1839 2430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1840 2431 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2432 2433 2434 echo "$as_me:$LINENO: checking for egrep" >&5 2435 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2436 if test "${ac_cv_prog_egrep+set}" = set; then 2437 echo $ECHO_N "(cached) $ECHO_C" >&6 2438 else 2439 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2440 then ac_cv_prog_egrep='grep -E' 2441 else ac_cv_prog_egrep='egrep' 2442 fi 2443 fi 2444 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2445 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2446 EGREP=$ac_cv_prog_egrep 2447 2448 2449 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 2450 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 2451 if test "${ac_cv_header_stdc+set}" = set; then 2452 echo $ECHO_N "(cached) $ECHO_C" >&6 2453 else 2454 cat >conftest.$ac_ext <<_ACEOF 2455 /* confdefs.h. */ 2456 _ACEOF 2457 cat confdefs.h >>conftest.$ac_ext 2458 cat >>conftest.$ac_ext <<_ACEOF 2459 /* end confdefs.h. */ 2460 #include <stdlib.h> 2461 #include <stdarg.h> 2462 #include <string.h> 2463 #include <float.h> 2464 2465 int 2466 main () 2467 { 2468 2469 ; 2470 return 0; 2471 } 2472 _ACEOF 2473 rm -f conftest.$ac_objext 2474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2475 (eval $ac_compile) 2>conftest.er1 2476 ac_status=$? 2477 grep -v '^ *+' conftest.er1 >conftest.err 2478 rm -f conftest.er1 2479 cat conftest.err >&5 2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2481 (exit $ac_status); } && 2482 { ac_try='test -z "$ac_c_werror_flag" 2483 || test ! -s conftest.err' 2484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2485 (eval $ac_try) 2>&5 2486 ac_status=$? 2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2488 (exit $ac_status); }; } && 2489 { ac_try='test -s conftest.$ac_objext' 2490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2491 (eval $ac_try) 2>&5 2492 ac_status=$? 2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2494 (exit $ac_status); }; }; then 2495 ac_cv_header_stdc=yes 2496 else 2497 echo "$as_me: failed program was:" >&5 2498 sed 's/^/| /' conftest.$ac_ext >&5 2499 2500 ac_cv_header_stdc=no 2501 fi 2502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2503 2504 if test $ac_cv_header_stdc = yes; then 2505 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2506 cat >conftest.$ac_ext <<_ACEOF 2507 /* confdefs.h. */ 2508 _ACEOF 2509 cat confdefs.h >>conftest.$ac_ext 2510 cat >>conftest.$ac_ext <<_ACEOF 2511 /* end confdefs.h. */ 2512 #include <string.h> 2513 2514 _ACEOF 2515 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2516 $EGREP "memchr" >/dev/null 2>&1; then 2517 : 2518 else 2519 ac_cv_header_stdc=no 2520 fi 2521 rm -f conftest* 2522 2523 fi 2524 2525 if test $ac_cv_header_stdc = yes; then 2526 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2527 cat >conftest.$ac_ext <<_ACEOF 2528 /* confdefs.h. */ 2529 _ACEOF 2530 cat confdefs.h >>conftest.$ac_ext 2531 cat >>conftest.$ac_ext <<_ACEOF 2532 /* end confdefs.h. */ 2533 #include <stdlib.h> 2534 2535 _ACEOF 2536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2537 $EGREP "free" >/dev/null 2>&1; then 2538 : 2539 else 2540 ac_cv_header_stdc=no 2541 fi 2542 rm -f conftest* 2543 2544 fi 2545 2546 if test $ac_cv_header_stdc = yes; then 2547 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2548 if test "$cross_compiling" = yes; then 2549 : 2550 else 2551 cat >conftest.$ac_ext <<_ACEOF 2552 /* confdefs.h. */ 2553 _ACEOF 2554 cat confdefs.h >>conftest.$ac_ext 2555 cat >>conftest.$ac_ext <<_ACEOF 2556 /* end confdefs.h. */ 2557 #include <ctype.h> 2558 #if ((' ' & 0x0FF) == 0x020) 2559 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2560 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2561 #else 2562 # define ISLOWER(c) \ 2563 (('a' <= (c) && (c) <= 'i') \ 2564 || ('j' <= (c) && (c) <= 'r') \ 2565 || ('s' <= (c) && (c) <= 'z')) 2566 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2567 #endif 2568 2569 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2570 int 2571 main () 2572 { 2573 int i; 2574 for (i = 0; i < 256; i++) 2575 if (XOR (islower (i), ISLOWER (i)) 2576 || toupper (i) != TOUPPER (i)) 2577 exit(2); 2578 exit (0); 2579 } 2580 _ACEOF 2581 rm -f conftest$ac_exeext 2582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2583 (eval $ac_link) 2>&5 2584 ac_status=$? 2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2588 (eval $ac_try) 2>&5 2589 ac_status=$? 2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2591 (exit $ac_status); }; }; then 2592 : 2593 else 2594 echo "$as_me: program exited with status $ac_status" >&5 2595 echo "$as_me: failed program was:" >&5 2596 sed 's/^/| /' conftest.$ac_ext >&5 2597 2598 ( exit $ac_status ) 2599 ac_cv_header_stdc=no 2600 fi 2601 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2602 fi 2603 fi 2604 fi 2605 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 2606 echo "${ECHO_T}$ac_cv_header_stdc" >&6 2607 if test $ac_cv_header_stdc = yes; then 2608 2609 cat >>confdefs.h <<\_ACEOF 2610 #define STDC_HEADERS 1 2611 _ACEOF 2612 2613 fi 2614 2615 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 2626 inttypes.h stdint.h unistd.h 2627 do 2628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2629 echo "$as_me:$LINENO: checking for $ac_header" >&5 2630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2631 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2632 echo $ECHO_N "(cached) $ECHO_C" >&6 2633 else 2634 cat >conftest.$ac_ext <<_ACEOF 2635 /* confdefs.h. */ 2636 _ACEOF 2637 cat confdefs.h >>conftest.$ac_ext 2638 cat >>conftest.$ac_ext <<_ACEOF 2639 /* end confdefs.h. */ 2640 $ac_includes_default 2641 2642 #include <$ac_header> 2643 _ACEOF 2644 rm -f conftest.$ac_objext 2645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2646 (eval $ac_compile) 2>conftest.er1 2647 ac_status=$? 2648 grep -v '^ *+' conftest.er1 >conftest.err 2649 rm -f conftest.er1 2650 cat conftest.err >&5 2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2652 (exit $ac_status); } && 2653 { ac_try='test -z "$ac_c_werror_flag" 2654 || test ! -s conftest.err' 2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2656 (eval $ac_try) 2>&5 2657 ac_status=$? 2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2659 (exit $ac_status); }; } && 2660 { ac_try='test -s conftest.$ac_objext' 2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2662 (eval $ac_try) 2>&5 2663 ac_status=$? 2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2665 (exit $ac_status); }; }; then 2666 eval "$as_ac_Header=yes" 2667 else 2668 echo "$as_me: failed program was:" >&5 2669 sed 's/^/| /' conftest.$ac_ext >&5 2670 2671 eval "$as_ac_Header=no" 2672 fi 2673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2674 fi 2675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2677 if test `eval echo '${'$as_ac_Header'}'` = yes; then 2678 cat >>confdefs.h <<_ACEOF 2679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2680 _ACEOF 2681 2682 fi 2683 2684 done 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 1841 2708 1842 2709 for ac_header in dirent.h errno.h fcntl.h fnmatch.h netdb.h netinet/in.h \ … … 1846 2713 do 1847 2714 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 1848 echo "$as_me:1848: checking for $ac_header" >&5 2715 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2716 echo "$as_me:$LINENO: checking for $ac_header" >&5 1849 2717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 1850 2718 if eval "test \"\${$as_ac_Header+set}\" = set"; then 1851 2719 echo $ECHO_N "(cached) $ECHO_C" >&6 1852 else 1853 cat >conftest.$ac_ext <<_ACEOF 1854 #line 1854 "configure" 1855 #include "confdefs.h" 2720 fi 2721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 2722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2723 else 2724 # Is the header compilable? 2725 echo "$as_me:$LINENO: checking $ac_header usability" >&5 2726 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 2727 cat >conftest.$ac_ext <<_ACEOF 2728 /* confdefs.h. */ 2729 _ACEOF 2730 cat confdefs.h >>conftest.$ac_ext 2731 cat >>conftest.$ac_ext <<_ACEOF 2732 /* end confdefs.h. */ 2733 $ac_includes_default 1856 2734 #include <$ac_header> 1857 2735 _ACEOF 1858 if { (eval echo "$as_me:1858: \"$ac_cpp conftest.$ac_ext\"") >&5 1859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 1860 ac_status=$? 1861 egrep -v '^ *\+' conftest.er1 >conftest.err 2736 rm -f conftest.$ac_objext 2737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2738 (eval $ac_compile) 2>conftest.er1 2739 ac_status=$? 2740 grep -v '^ *+' conftest.er1 >conftest.err 1862 2741 rm -f conftest.er1 1863 2742 cat conftest.err >&5 1864 echo "$as_me:1864: \$? = $ac_status" >&5 2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2744 (exit $ac_status); } && 2745 { ac_try='test -z "$ac_c_werror_flag" 2746 || test ! -s conftest.err' 2747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2748 (eval $ac_try) 2>&5 2749 ac_status=$? 2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2751 (exit $ac_status); }; } && 2752 { ac_try='test -s conftest.$ac_objext' 2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2754 (eval $ac_try) 2>&5 2755 ac_status=$? 2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2757 (exit $ac_status); }; }; then 2758 ac_header_compiler=yes 2759 else 2760 echo "$as_me: failed program was:" >&5 2761 sed 's/^/| /' conftest.$ac_ext >&5 2762 2763 ac_header_compiler=no 2764 fi 2765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2766 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 2767 echo "${ECHO_T}$ac_header_compiler" >&6 2768 2769 # Is the header present? 2770 echo "$as_me:$LINENO: checking $ac_header presence" >&5 2771 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 2772 cat >conftest.$ac_ext <<_ACEOF 2773 /* confdefs.h. */ 2774 _ACEOF 2775 cat confdefs.h >>conftest.$ac_ext 2776 cat >>conftest.$ac_ext <<_ACEOF 2777 /* end confdefs.h. */ 2778 #include <$ac_header> 2779 _ACEOF 2780 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2782 ac_status=$? 2783 grep -v '^ *+' conftest.er1 >conftest.err 2784 rm -f conftest.er1 2785 cat conftest.err >&5 2786 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1865 2787 (exit $ac_status); } >/dev/null; then 1866 2788 if test -s conftest.err; then 1867 2789 ac_cpp_err=$ac_c_preproc_warn_flag 2790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 1868 2791 else 1869 2792 ac_cpp_err= … … 1873 2796 fi 1874 2797 if test -z "$ac_cpp_err"; then 1875 eval "$as_ac_Header=yes"2798 ac_header_preproc=yes 1876 2799 else 1877 2800 echo "$as_me: failed program was:" >&5 1878 cat conftest.$ac_ext >&5 1879 eval "$as_ac_Header=no" 2801 sed 's/^/| /' conftest.$ac_ext >&5 2802 2803 ac_header_preproc=no 1880 2804 fi 1881 2805 rm -f conftest.err conftest.$ac_ext 1882 fi 1883 echo "$as_me:1883: result: `eval echo '${'$as_ac_Header'}'`" >&5 2806 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 2807 echo "${ECHO_T}$ac_header_preproc" >&6 2808 2809 # So? What about this header? 2810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 2811 yes:no: ) 2812 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 2813 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 2814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 2815 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 2816 ac_header_preproc=yes 2817 ;; 2818 no:yes:* ) 2819 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 2820 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 2821 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 2822 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 2823 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 2824 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 2825 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 2826 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 2827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 2828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 2829 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 2830 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 2831 ( 2832 cat <<\_ASBOX 2833 ## ------------------------------------------ ## 2834 ## Report this to the AC_PACKAGE_NAME lists. ## 2835 ## ------------------------------------------ ## 2836 _ASBOX 2837 ) | 2838 sed "s/^/$as_me: WARNING: /" >&2 2839 ;; 2840 esac 2841 echo "$as_me:$LINENO: checking for $ac_header" >&5 2842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2843 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2844 echo $ECHO_N "(cached) $ECHO_C" >&6 2845 else 2846 eval "$as_ac_Header=\$ac_header_preproc" 2847 fi 2848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 1884 2849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2850 2851 fi 1885 2852 if test `eval echo '${'$as_ac_Header'}'` = yes; then 1886 cat >>confdefs.h << EOF2853 cat >>confdefs.h <<_ACEOF 1887 2854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 1888 EOF 1889 1890 fi 2855 _ACEOF 2856 2857 fi 2858 1891 2859 done 1892 2860 1893 echo "$as_me: 1893: checking whether time.h and sys/time.h may both be included" >&52861 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 1894 2862 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 1895 2863 if test "${ac_cv_header_time+set}" = set; then … … 1897 2865 else 1898 2866 cat >conftest.$ac_ext <<_ACEOF 1899 #line 1899 "configure" 1900 #include "confdefs.h" 2867 /* confdefs.h. */ 2868 _ACEOF 2869 cat confdefs.h >>conftest.$ac_ext 2870 cat >>conftest.$ac_ext <<_ACEOF 2871 /* end confdefs.h. */ 1901 2872 #include <sys/types.h> 1902 2873 #include <sys/time.h> … … 1913 2884 _ACEOF 1914 2885 rm -f conftest.$ac_objext 1915 if { (eval echo "$as_me:1915: \"$ac_compile\"") >&5 1916 (eval $ac_compile) 2>&5 1917 ac_status=$? 1918 echo "$as_me:1918: \$? = $ac_status" >&5 2886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2887 (eval $ac_compile) 2>conftest.er1 2888 ac_status=$? 2889 grep -v '^ *+' conftest.er1 >conftest.err 2890 rm -f conftest.er1 2891 cat conftest.err >&5 2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1919 2893 (exit $ac_status); } && 1920 { ac_try='test -s conftest.$ac_objext' 1921 { (eval echo "$as_me:1921: \"$ac_try\"") >&5 1922 (eval $ac_try) 2>&5 1923 ac_status=$? 1924 echo "$as_me:1924: \$? = $ac_status" >&5 2894 { ac_try='test -z "$ac_c_werror_flag" 2895 || test ! -s conftest.err' 2896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2897 (eval $ac_try) 2>&5 2898 ac_status=$? 2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2900 (exit $ac_status); }; } && 2901 { ac_try='test -s conftest.$ac_objext' 2902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2903 (eval $ac_try) 2>&5 2904 ac_status=$? 2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1925 2906 (exit $ac_status); }; }; then 1926 2907 ac_cv_header_time=yes 1927 2908 else 1928 2909 echo "$as_me: failed program was:" >&5 1929 cat conftest.$ac_ext >&5 2910 sed 's/^/| /' conftest.$ac_ext >&5 2911 1930 2912 ac_cv_header_time=no 1931 2913 fi 1932 rm -f conftest. $ac_objext conftest.$ac_ext1933 fi 1934 echo "$as_me: 1934: result: $ac_cv_header_time" >&52914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2915 fi 2916 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 1935 2917 echo "${ECHO_T}$ac_cv_header_time" >&6 1936 2918 if test $ac_cv_header_time = yes; then 1937 2919 1938 cat >>confdefs.h <<\ EOF2920 cat >>confdefs.h <<\_ACEOF 1939 2921 #define TIME_WITH_SYS_TIME 1 1940 EOF 1941 1942 fi 1943 1944 echo "$as_me:1944: checking for socket in -lc" >&5 2922 _ACEOF 2923 2924 fi 2925 2926 2927 2928 echo "$as_me:$LINENO: checking for socket in -lc" >&5 1945 2929 echo $ECHO_N "checking for socket in -lc... $ECHO_C" >&6 1946 2930 if test "${ac_cv_lib_c_socket+set}" = set; then … … 1950 2934 LIBS="-lc $LIBS" 1951 2935 cat >conftest.$ac_ext <<_ACEOF 1952 #line 1952 "configure" 1953 #include "confdefs.h" 2936 /* confdefs.h. */ 2937 _ACEOF 2938 cat confdefs.h >>conftest.$ac_ext 2939 cat >>conftest.$ac_ext <<_ACEOF 2940 /* end confdefs.h. */ 1954 2941 1955 2942 /* Override any gcc2 internal prototype to avoid an error. */ … … 1969 2956 _ACEOF 1970 2957 rm -f conftest.$ac_objext conftest$ac_exeext 1971 if { (eval echo "$as_me:1971: \"$ac_link\"") >&5 1972 (eval $ac_link) 2>&5 1973 ac_status=$? 1974 echo "$as_me:1974: \$? = $ac_status" >&5 2958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 2959 (eval $ac_link) 2>conftest.er1 2960 ac_status=$? 2961 grep -v '^ *+' conftest.er1 >conftest.err 2962 rm -f conftest.er1 2963 cat conftest.err >&5 2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1975 2965 (exit $ac_status); } && 1976 { ac_try='test -s conftest$ac_exeext' 1977 { (eval echo "$as_me:1977: \"$ac_try\"") >&5 1978 (eval $ac_try) 2>&5 1979 ac_status=$? 1980 echo "$as_me:1980: \$? = $ac_status" >&5 2966 { ac_try='test -z "$ac_c_werror_flag" 2967 || test ! -s conftest.err' 2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2969 (eval $ac_try) 2>&5 2970 ac_status=$? 2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2972 (exit $ac_status); }; } && 2973 { ac_try='test -s conftest$ac_exeext' 2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2975 (eval $ac_try) 2>&5 2976 ac_status=$? 2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1981 2978 (exit $ac_status); }; }; then 1982 2979 ac_cv_lib_c_socket=yes 1983 2980 else 1984 2981 echo "$as_me: failed program was:" >&5 1985 cat conftest.$ac_ext >&5 2982 sed 's/^/| /' conftest.$ac_ext >&5 2983 1986 2984 ac_cv_lib_c_socket=no 1987 2985 fi 1988 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2986 rm -f conftest.err conftest.$ac_objext \ 2987 conftest$ac_exeext conftest.$ac_ext 1989 2988 LIBS=$ac_check_lib_save_LIBS 1990 2989 fi 1991 echo "$as_me: 1991: result: $ac_cv_lib_c_socket" >&52990 echo "$as_me:$LINENO: result: $ac_cv_lib_c_socket" >&5 1992 2991 echo "${ECHO_T}$ac_cv_lib_c_socket" >&6 1993 2992 if test $ac_cv_lib_c_socket = yes; then … … 1998 2997 1999 2998 if test $result = no ; then 2000 echo "$as_me: 2000: checking for socket in -lxnet" >&52999 echo "$as_me:$LINENO: checking for socket in -lxnet" >&5 2001 3000 echo $ECHO_N "checking for socket in -lxnet... $ECHO_C" >&6 2002 3001 if test "${ac_cv_lib_xnet_socket+set}" = set; then … … 2006 3005 LIBS="-lxnet $LIBS" 2007 3006 cat >conftest.$ac_ext <<_ACEOF 2008 #line 2008 "configure" 2009 #include "confdefs.h" 3007 /* confdefs.h. */ 3008 _ACEOF 3009 cat confdefs.h >>conftest.$ac_ext 3010 cat >>conftest.$ac_ext <<_ACEOF 3011 /* end confdefs.h. */ 2010 3012 2011 3013 /* Override any gcc2 internal prototype to avoid an error. */ … … 2025 3027 _ACEOF 2026 3028 rm -f conftest.$ac_objext conftest$ac_exeext 2027 if { (eval echo "$as_me:2027: \"$ac_link\"") >&5 2028 (eval $ac_link) 2>&5 2029 ac_status=$? 2030 echo "$as_me:2030: \$? = $ac_status" >&5 3029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3030 (eval $ac_link) 2>conftest.er1 3031 ac_status=$? 3032 grep -v '^ *+' conftest.er1 >conftest.err 3033 rm -f conftest.er1 3034 cat conftest.err >&5 3035 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2031 3036 (exit $ac_status); } && 2032 { ac_try='test -s conftest$ac_exeext' 2033 { (eval echo "$as_me:2033: \"$ac_try\"") >&5 2034 (eval $ac_try) 2>&5 2035 ac_status=$? 2036 echo "$as_me:2036: \$? = $ac_status" >&5 3037 { ac_try='test -z "$ac_c_werror_flag" 3038 || test ! -s conftest.err' 3039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3040 (eval $ac_try) 2>&5 3041 ac_status=$? 3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3043 (exit $ac_status); }; } && 3044 { ac_try='test -s conftest$ac_exeext' 3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3046 (eval $ac_try) 2>&5 3047 ac_status=$? 3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2037 3049 (exit $ac_status); }; }; then 2038 3050 ac_cv_lib_xnet_socket=yes 2039 3051 else 2040 3052 echo "$as_me: failed program was:" >&5 2041 cat conftest.$ac_ext >&5 3053 sed 's/^/| /' conftest.$ac_ext >&5 3054 2042 3055 ac_cv_lib_xnet_socket=no 2043 3056 fi 2044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3057 rm -f conftest.err conftest.$ac_objext \ 3058 conftest$ac_exeext conftest.$ac_ext 2045 3059 LIBS=$ac_check_lib_save_LIBS 2046 3060 fi 2047 echo "$as_me: 2047: result: $ac_cv_lib_xnet_socket" >&53061 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5 2048 3062 echo "${ECHO_T}$ac_cv_lib_xnet_socket" >&6 2049 3063 if test $ac_cv_lib_xnet_socket = yes; then … … 2056 3070 LIBS="$LIBS -lxnet" 2057 3071 else 2058 echo "$as_me: 2058: checking for socket in -lsocket" >&53072 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 2059 3073 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 2060 3074 if test "${ac_cv_lib_socket_socket+set}" = set; then … … 2064 3078 LIBS="-lsocket $LIBS" 2065 3079 cat >conftest.$ac_ext <<_ACEOF 2066 #line 2066 "configure" 2067 #include "confdefs.h" 3080 /* confdefs.h. */ 3081 _ACEOF 3082 cat confdefs.h >>conftest.$ac_ext 3083 cat >>conftest.$ac_ext <<_ACEOF 3084 /* end confdefs.h. */ 2068 3085 2069 3086 /* Override any gcc2 internal prototype to avoid an error. */ … … 2083 3100 _ACEOF 2084 3101 rm -f conftest.$ac_objext conftest$ac_exeext 2085 if { (eval echo "$as_me:2085: \"$ac_link\"") >&5 2086 (eval $ac_link) 2>&5 2087 ac_status=$? 2088 echo "$as_me:2088: \$? = $ac_status" >&5 3102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3103 (eval $ac_link) 2>conftest.er1 3104 ac_status=$? 3105 grep -v '^ *+' conftest.er1 >conftest.err 3106 rm -f conftest.er1 3107 cat conftest.err >&5 3108 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2089 3109 (exit $ac_status); } && 2090 { ac_try='test -s conftest$ac_exeext' 2091 { (eval echo "$as_me:2091: \"$ac_try\"") >&5 2092 (eval $ac_try) 2>&5 2093 ac_status=$? 2094 echo "$as_me:2094: \$? = $ac_status" >&5 3110 { ac_try='test -z "$ac_c_werror_flag" 3111 || test ! -s conftest.err' 3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3113 (eval $ac_try) 2>&5 3114 ac_status=$? 3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3116 (exit $ac_status); }; } && 3117 { ac_try='test -s conftest$ac_exeext' 3118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3119 (eval $ac_try) 2>&5 3120 ac_status=$? 3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2095 3122 (exit $ac_status); }; }; then 2096 3123 ac_cv_lib_socket_socket=yes 2097 3124 else 2098 3125 echo "$as_me: failed program was:" >&5 2099 cat conftest.$ac_ext >&5 3126 sed 's/^/| /' conftest.$ac_ext >&5 3127 2100 3128 ac_cv_lib_socket_socket=no 2101 3129 fi 2102 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3130 rm -f conftest.err conftest.$ac_objext \ 3131 conftest$ac_exeext conftest.$ac_ext 2103 3132 LIBS=$ac_check_lib_save_LIBS 2104 3133 fi 2105 echo "$as_me: 2105: result: $ac_cv_lib_socket_socket" >&53134 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 2106 3135 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 2107 3136 if test $ac_cv_lib_socket_socket = yes; then … … 2114 3143 LIBS="$LIBS -lsocket" 2115 3144 else 2116 { { echo "$as_me: 2116: error: socket function not found" >&53145 { { echo "$as_me:$LINENO: error: socket function not found" >&5 2117 3146 echo "$as_me: error: socket function not found" >&2;} 2118 3147 { (exit 1); exit 1; }; } … … 2121 3150 fi 2122 3151 2123 echo "$as_me: 2123: checking for ANSI C header files" >&52124 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&62125 if test "${ac_cv_ header_stdc+set}" = set; then3152 echo "$as_me:$LINENO: checking for socklen_t" >&5 3153 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6 3154 if test "${ac_cv_type_socklen_t+set}" = set; then 2126 3155 echo $ECHO_N "(cached) $ECHO_C" >&6 2127 3156 else 2128 3157 cat >conftest.$ac_ext <<_ACEOF 2129 #line 2129 "configure" 2130 #include "confdefs.h" 2131 #include <stdlib.h> 2132 #include <stdarg.h> 2133 #include <string.h> 2134 #include <float.h> 2135 2136 _ACEOF 2137 if { (eval echo "$as_me:2137: \"$ac_cpp conftest.$ac_ext\"") >&5 2138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2139 ac_status=$? 2140 egrep -v '^ *\+' conftest.er1 >conftest.err 3158 /* confdefs.h. */ 3159 _ACEOF 3160 cat confdefs.h >>conftest.$ac_ext 3161 cat >>conftest.$ac_ext <<_ACEOF 3162 /* end confdefs.h. */ 3163 $ac_includes_default 3164 int 3165 main () 3166 { 3167 if ((socklen_t *) 0) 3168 return 0; 3169 if (sizeof (socklen_t)) 3170 return 0; 3171 ; 3172 return 0; 3173 } 3174 _ACEOF 3175 rm -f conftest.$ac_objext 3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3177 (eval $ac_compile) 2>conftest.er1 3178 ac_status=$? 3179 grep -v '^ *+' conftest.er1 >conftest.err 2141 3180 rm -f conftest.er1 2142 3181 cat conftest.err >&5 2143 echo "$as_me:2143: \$? = $ac_status" >&5 2144 (exit $ac_status); } >/dev/null; then 2145 if test -s conftest.err; then 2146 ac_cpp_err=$ac_c_preproc_warn_flag 2147 else 2148 ac_cpp_err= 2149 fi 2150 else 2151 ac_cpp_err=yes 2152 fi 2153 if test -z "$ac_cpp_err"; then 2154 ac_cv_header_stdc=yes 3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3183 (exit $ac_status); } && 3184 { ac_try='test -z "$ac_c_werror_flag" 3185 || test ! -s conftest.err' 3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3187 (eval $ac_try) 2>&5 3188 ac_status=$? 3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3190 (exit $ac_status); }; } && 3191 { ac_try='test -s conftest.$ac_objext' 3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3193 (eval $ac_try) 2>&5 3194 ac_status=$? 3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3196 (exit $ac_status); }; }; then 3197 ac_cv_type_socklen_t=yes 2155 3198 else 2156 3199 echo "$as_me: failed program was:" >&5 2157 cat conftest.$ac_ext >&5 2158 ac_cv_header_stdc=no 2159 fi 2160 rm -f conftest.err conftest.$ac_ext 2161 2162 if test $ac_cv_header_stdc = yes; then 2163 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 2164 cat >conftest.$ac_ext <<_ACEOF 2165 #line 2165 "configure" 2166 #include "confdefs.h" 2167 #include <string.h> 2168 2169 _ACEOF 2170 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2171 egrep "memchr" >/dev/null 2>&1; then 2172 : 2173 else 2174 ac_cv_header_stdc=no 2175 fi 2176 rm -f conftest* 2177 2178 fi 2179 2180 if test $ac_cv_header_stdc = yes; then 2181 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 2182 cat >conftest.$ac_ext <<_ACEOF 2183 #line 2183 "configure" 2184 #include "confdefs.h" 2185 #include <stdlib.h> 2186 2187 _ACEOF 2188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2189 egrep "free" >/dev/null 2>&1; then 2190 : 2191 else 2192 ac_cv_header_stdc=no 2193 fi 2194 rm -f conftest* 2195 2196 fi 2197 2198 if test $ac_cv_header_stdc = yes; then 2199 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 2200 if test "$cross_compiling" = yes; then 2201 : 2202 else 2203 cat >conftest.$ac_ext <<_ACEOF 2204 #line 2204 "configure" 2205 #include "confdefs.h" 2206 #include <ctype.h> 2207 #if ((' ' & 0x0FF) == 0x020) 2208 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 2209 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 2210 #else 2211 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 2212 || ('j' <= (c) && (c) <= 'r') \ 2213 || ('s' <= (c) && (c) <= 'z')) 2214 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 2215 #endif 2216 2217 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 2218 int 2219 main () 2220 { 2221 int i; 2222 for (i = 0; i < 256; i++) 2223 if (XOR (islower (i), ISLOWER (i)) 2224 || toupper (i) != TOUPPER (i)) 2225 exit(2); 2226 exit (0); 2227 } 2228 _ACEOF 2229 rm -f conftest$ac_exeext 2230 if { (eval echo "$as_me:2230: \"$ac_link\"") >&5 2231 (eval $ac_link) 2>&5 2232 ac_status=$? 2233 echo "$as_me:2233: \$? = $ac_status" >&5 2234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 2235 { (eval echo "$as_me:2235: \"$ac_try\"") >&5 2236 (eval $ac_try) 2>&5 2237 ac_status=$? 2238 echo "$as_me:2238: \$? = $ac_status" >&5 2239 (exit $ac_status); }; }; then 2240 : 2241 else 2242 echo "$as_me: program exited with status $ac_status" >&5 2243 echo "$as_me: failed program was:" >&5 2244 cat conftest.$ac_ext >&5 2245 ac_cv_header_stdc=no 2246 fi 2247 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 2248 fi 2249 fi 2250 fi 2251 echo "$as_me:2251: result: $ac_cv_header_stdc" >&5 2252 echo "${ECHO_T}$ac_cv_header_stdc" >&6 2253 if test $ac_cv_header_stdc = yes; then 2254 2255 cat >>confdefs.h <<\EOF 2256 #define STDC_HEADERS 1 2257 EOF 2258 2259 fi 2260 2261 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 2262 2263 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 2264 inttypes.h stdint.h unistd.h 2265 do 2266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 2267 echo "$as_me:2267: checking for $ac_header" >&5 2268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 2269 if eval "test \"\${$as_ac_Header+set}\" = set"; then 2270 echo $ECHO_N "(cached) $ECHO_C" >&6 2271 else 2272 cat >conftest.$ac_ext <<_ACEOF 2273 #line 2273 "configure" 2274 #include "confdefs.h" 2275 $ac_includes_default 2276 #include <$ac_header> 2277 _ACEOF 2278 rm -f conftest.$ac_objext 2279 if { (eval echo "$as_me:2279: \"$ac_compile\"") >&5 2280 (eval $ac_compile) 2>&5 2281 ac_status=$? 2282 echo "$as_me:2282: \$? = $ac_status" >&5 2283 (exit $ac_status); } && 2284 { ac_try='test -s conftest.$ac_objext' 2285 { (eval echo "$as_me:2285: \"$ac_try\"") >&5 2286 (eval $ac_try) 2>&5 2287 ac_status=$? 2288 echo "$as_me:2288: \$? = $ac_status" >&5 2289 (exit $ac_status); }; }; then 2290 eval "$as_ac_Header=yes" 2291 else 2292 echo "$as_me: failed program was:" >&5 2293 cat conftest.$ac_ext >&5 2294 eval "$as_ac_Header=no" 2295 fi 2296 rm -f conftest.$ac_objext conftest.$ac_ext 2297 fi 2298 echo "$as_me:2298: result: `eval echo '${'$as_ac_Header'}'`" >&5 2299 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 2300 if test `eval echo '${'$as_ac_Header'}'` = yes; then 2301 cat >>confdefs.h <<EOF 2302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 2303 EOF 2304 2305 fi 2306 done 2307 2308 echo "$as_me:2308: checking for size_t" >&5 3200 sed 's/^/| /' conftest.$ac_ext >&5 3201 3202 ac_cv_type_socklen_t=no 3203 fi 3204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3205 fi 3206 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5 3207 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6 3208 if test $ac_cv_type_socklen_t = yes; then 3209 3210 cat >>confdefs.h <<_ACEOF 3211 #define HAVE_SOCKLEN_T 1 3212 _ACEOF 3213 3214 3215 fi 3216 3217 3218 3219 3220 echo "$as_me:$LINENO: checking for size_t" >&5 2309 3221 echo $ECHO_N "checking for size_t... $ECHO_C" >&6 2310 3222 if test "${ac_cv_type_size_t+set}" = set; then … … 2312 3224 else 2313 3225 cat >conftest.$ac_ext <<_ACEOF 2314 #line 2314 "configure" 2315 #include "confdefs.h" 3226 /* confdefs.h. */ 3227 _ACEOF 3228 cat confdefs.h >>conftest.$ac_ext 3229 cat >>conftest.$ac_ext <<_ACEOF 3230 /* end confdefs.h. */ 2316 3231 $ac_includes_default 2317 3232 int … … 2327 3242 _ACEOF 2328 3243 rm -f conftest.$ac_objext 2329 if { (eval echo "$as_me:2329: \"$ac_compile\"") >&5 2330 (eval $ac_compile) 2>&5 2331 ac_status=$? 2332 echo "$as_me:2332: \$? = $ac_status" >&5 3244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3245 (eval $ac_compile) 2>conftest.er1 3246 ac_status=$? 3247 grep -v '^ *+' conftest.er1 >conftest.err 3248 rm -f conftest.er1 3249 cat conftest.err >&5 3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2333 3251 (exit $ac_status); } && 2334 { ac_try='test -s conftest.$ac_objext' 2335 { (eval echo "$as_me:2335: \"$ac_try\"") >&5 2336 (eval $ac_try) 2>&5 2337 ac_status=$? 2338 echo "$as_me:2338: \$? = $ac_status" >&5 3252 { ac_try='test -z "$ac_c_werror_flag" 3253 || test ! -s conftest.err' 3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3255 (eval $ac_try) 2>&5 3256 ac_status=$? 3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3258 (exit $ac_status); }; } && 3259 { ac_try='test -s conftest.$ac_objext' 3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3261 (eval $ac_try) 2>&5 3262 ac_status=$? 3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2339 3264 (exit $ac_status); }; }; then 2340 3265 ac_cv_type_size_t=yes 2341 3266 else 2342 3267 echo "$as_me: failed program was:" >&5 2343 cat conftest.$ac_ext >&5 3268 sed 's/^/| /' conftest.$ac_ext >&5 3269 2344 3270 ac_cv_type_size_t=no 2345 3271 fi 2346 rm -f conftest. $ac_objext conftest.$ac_ext2347 fi 2348 echo "$as_me: 2348: result: $ac_cv_type_size_t" >&53272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3273 fi 3274 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 2349 3275 echo "${ECHO_T}$ac_cv_type_size_t" >&6 2350 3276 if test $ac_cv_type_size_t = yes; then … … 2352 3278 else 2353 3279 2354 cat >>confdefs.h << EOF3280 cat >>confdefs.h <<_ACEOF 2355 3281 #define size_t unsigned 2356 EOF 2357 2358 fi 2359 2360 echo "$as_me:2360: checking for chdir" >&5 3282 _ACEOF 3283 3284 fi 3285 3286 3287 3288 3289 3290 echo "$as_me:$LINENO: checking for chdir" >&5 2361 3291 echo $ECHO_N "checking for chdir... $ECHO_C" >&6 2362 3292 if test "${ac_cv_func_chdir+set}" = set; then … … 2364 3294 else 2365 3295 cat >conftest.$ac_ext <<_ACEOF 2366 #line 2366 "configure" 2367 #include "confdefs.h" 3296 /* confdefs.h. */ 3297 _ACEOF 3298 cat confdefs.h >>conftest.$ac_ext 3299 cat >>conftest.$ac_ext <<_ACEOF 3300 /* end confdefs.h. */ 3301 /* Define chdir to an innocuous variant, in case <limits.h> declares chdir. 3302 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3303 #define chdir innocuous_chdir 3304 2368 3305 /* System header to define __stub macros and hopefully few prototypes, 2369 which can conflict with char chdir (); below. */ 2370 #include <assert.h> 3306 which can conflict with char chdir (); below. 3307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3308 <limits.h> exists even on freestanding compilers. */ 3309 3310 #ifdef __STDC__ 3311 # include <limits.h> 3312 #else 3313 # include <assert.h> 3314 #endif 3315 3316 #undef chdir 3317 2371 3318 /* Override any gcc2 internal prototype to avoid an error. */ 2372 3319 #ifdef __cplusplus 2373 3320 extern "C" 3321 { 2374 3322 #endif 2375 3323 /* We use char because int might match the return type of a gcc2 2376 3324 builtin and then its argument prototype would still apply. */ 2377 3325 char chdir (); 2378 char (*f) ();2379 2380 int2381 main ()2382 {2383 3326 /* The GNU C library defines this for functions which it implements 2384 3327 to always fail with ENOSYS. Some functions are actually named … … 2387 3330 choke me 2388 3331 #else 2389 f = chdir; 2390 #endif 2391 3332 char (*f) () = chdir; 3333 #endif 3334 #ifdef __cplusplus 3335 } 3336 #endif 3337 3338 int 3339 main () 3340 { 3341 return f != chdir; 2392 3342 ; 2393 3343 return 0; … … 2395 3345 _ACEOF 2396 3346 rm -f conftest.$ac_objext conftest$ac_exeext 2397 if { (eval echo "$as_me:2397: \"$ac_link\"") >&5 2398 (eval $ac_link) 2>&5 2399 ac_status=$? 2400 echo "$as_me:2400: \$? = $ac_status" >&5 3347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3348 (eval $ac_link) 2>conftest.er1 3349 ac_status=$? 3350 grep -v '^ *+' conftest.er1 >conftest.err 3351 rm -f conftest.er1 3352 cat conftest.err >&5 3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2401 3354 (exit $ac_status); } && 2402 { ac_try='test -s conftest$ac_exeext' 2403 { (eval echo "$as_me:2403: \"$ac_try\"") >&5 2404 (eval $ac_try) 2>&5 2405 ac_status=$? 2406 echo "$as_me:2406: \$? = $ac_status" >&5 3355 { ac_try='test -z "$ac_c_werror_flag" 3356 || test ! -s conftest.err' 3357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3358 (eval $ac_try) 2>&5 3359 ac_status=$? 3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3361 (exit $ac_status); }; } && 3362 { ac_try='test -s conftest$ac_exeext' 3363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3364 (eval $ac_try) 2>&5 3365 ac_status=$? 3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2407 3367 (exit $ac_status); }; }; then 2408 3368 ac_cv_func_chdir=yes 2409 3369 else 2410 3370 echo "$as_me: failed program was:" >&5 2411 cat conftest.$ac_ext >&5 3371 sed 's/^/| /' conftest.$ac_ext >&5 3372 2412 3373 ac_cv_func_chdir=no 2413 3374 fi 2414 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2415 fi 2416 echo "$as_me:2416: result: $ac_cv_func_chdir" >&5 3375 rm -f conftest.err conftest.$ac_objext \ 3376 conftest$ac_exeext conftest.$ac_ext 3377 fi 3378 echo "$as_me:$LINENO: result: $ac_cv_func_chdir" >&5 2417 3379 echo "${ECHO_T}$ac_cv_func_chdir" >&6 2418 3380 if test $ac_cv_func_chdir = yes; then … … 2423 3385 2424 3386 if test $result = no ; then 2425 { { echo "$as_me: 2425: error: chdir funtion not found" >&53387 { { echo "$as_me:$LINENO: error: chdir funtion not found" >&5 2426 3388 echo "$as_me: error: chdir funtion not found" >&2;} 2427 3389 { (exit 1); exit 1; }; } 2428 3390 fi 2429 echo "$as_me: 2429: checking for fcntl" >&53391 echo "$as_me:$LINENO: checking for fcntl" >&5 2430 3392 echo $ECHO_N "checking for fcntl... $ECHO_C" >&6 2431 3393 if test "${ac_cv_func_fcntl+set}" = set; then … … 2433 3395 else 2434 3396 cat >conftest.$ac_ext <<_ACEOF 2435 #line 2435 "configure" 2436 #include "confdefs.h" 3397 /* confdefs.h. */ 3398 _ACEOF 3399 cat confdefs.h >>conftest.$ac_ext 3400 cat >>conftest.$ac_ext <<_ACEOF 3401 /* end confdefs.h. */ 3402 /* Define fcntl to an innocuous variant, in case <limits.h> declares fcntl. 3403 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3404 #define fcntl innocuous_fcntl 3405 2437 3406 /* System header to define __stub macros and hopefully few prototypes, 2438 which can conflict with char fcntl (); below. */ 2439 #include <assert.h> 3407 which can conflict with char fcntl (); below. 3408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3409 <limits.h> exists even on freestanding compilers. */ 3410 3411 #ifdef __STDC__ 3412 # include <limits.h> 3413 #else 3414 # include <assert.h> 3415 #endif 3416 3417 #undef fcntl 3418 2440 3419 /* Override any gcc2 internal prototype to avoid an error. */ 2441 3420 #ifdef __cplusplus 2442 3421 extern "C" 3422 { 2443 3423 #endif 2444 3424 /* We use char because int might match the return type of a gcc2 2445 3425 builtin and then its argument prototype would still apply. */ 2446 3426 char fcntl (); 2447 char (*f) ();2448 2449 int2450 main ()2451 {2452 3427 /* The GNU C library defines this for functions which it implements 2453 3428 to always fail with ENOSYS. Some functions are actually named … … 2456 3431 choke me 2457 3432 #else 2458 f = fcntl; 2459 #endif 2460 3433 char (*f) () = fcntl; 3434 #endif 3435 #ifdef __cplusplus 3436 } 3437 #endif 3438 3439 int 3440 main () 3441 { 3442 return f != fcntl; 2461 3443 ; 2462 3444 return 0; … … 2464 3446 _ACEOF 2465 3447 rm -f conftest.$ac_objext conftest$ac_exeext 2466 if { (eval echo "$as_me:2466: \"$ac_link\"") >&5 2467 (eval $ac_link) 2>&5 2468 ac_status=$? 2469 echo "$as_me:2469: \$? = $ac_status" >&5 3448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3449 (eval $ac_link) 2>conftest.er1 3450 ac_status=$? 3451 grep -v '^ *+' conftest.er1 >conftest.err 3452 rm -f conftest.er1 3453 cat conftest.err >&5 3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2470 3455 (exit $ac_status); } && 2471 { ac_try='test -s conftest$ac_exeext' 2472 { (eval echo "$as_me:2472: \"$ac_try\"") >&5 2473 (eval $ac_try) 2>&5 2474 ac_status=$? 2475 echo "$as_me:2475: \$? = $ac_status" >&5 3456 { ac_try='test -z "$ac_c_werror_flag" 3457 || test ! -s conftest.err' 3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3459 (eval $ac_try) 2>&5 3460 ac_status=$? 3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3462 (exit $ac_status); }; } && 3463 { ac_try='test -s conftest$ac_exeext' 3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3465 (eval $ac_try) 2>&5 3466 ac_status=$? 3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2476 3468 (exit $ac_status); }; }; then 2477 3469 ac_cv_func_fcntl=yes 2478 3470 else 2479 3471 echo "$as_me: failed program was:" >&5 2480 cat conftest.$ac_ext >&5 3472 sed 's/^/| /' conftest.$ac_ext >&5 3473 2481 3474 ac_cv_func_fcntl=no 2482 3475 fi 2483 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2484 fi 2485 echo "$as_me:2485: result: $ac_cv_func_fcntl" >&5 3476 rm -f conftest.err conftest.$ac_objext \ 3477 conftest$ac_exeext conftest.$ac_ext 3478 fi 3479 echo "$as_me:$LINENO: result: $ac_cv_func_fcntl" >&5 2486 3480 echo "${ECHO_T}$ac_cv_func_fcntl" >&6 2487 3481 if test $ac_cv_func_fcntl = yes; then … … 2492 3486 2493 3487 if test $result = no ; then 2494 { { echo "$as_me: 2494: error: fcntl funtion not found" >&53488 { { echo "$as_me:$LINENO: error: fcntl funtion not found" >&5 2495 3489 echo "$as_me: error: fcntl funtion not found" >&2;} 2496 3490 { (exit 1); exit 1; }; } 2497 3491 fi 2498 echo "$as_me: 2498: checking for fnmatch" >&53492 echo "$as_me:$LINENO: checking for fnmatch" >&5 2499 3493 echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6 2500 3494 if test "${ac_cv_func_fnmatch+set}" = set; then … … 2502 3496 else 2503 3497 cat >conftest.$ac_ext <<_ACEOF 2504 #line 2504 "configure" 2505 #include "confdefs.h" 3498 /* confdefs.h. */ 3499 _ACEOF 3500 cat confdefs.h >>conftest.$ac_ext 3501 cat >>conftest.$ac_ext <<_ACEOF 3502 /* end confdefs.h. */ 3503 /* Define fnmatch to an innocuous variant, in case <limits.h> declares fnmatch. 3504 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3505 #define fnmatch innocuous_fnmatch 3506 2506 3507 /* System header to define __stub macros and hopefully few prototypes, 2507 which can conflict with char fnmatch (); below. */ 2508 #include <assert.h> 3508 which can conflict with char fnmatch (); below. 3509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3510 <limits.h> exists even on freestanding compilers. */ 3511 3512 #ifdef __STDC__ 3513 # include <limits.h> 3514 #else 3515 # include <assert.h> 3516 #endif 3517 3518 #undef fnmatch 3519 2509 3520 /* Override any gcc2 internal prototype to avoid an error. */ 2510 3521 #ifdef __cplusplus 2511 3522 extern "C" 3523 { 2512 3524 #endif 2513 3525 /* We use char because int might match the return type of a gcc2 2514 3526 builtin and then its argument prototype would still apply. */ 2515 3527 char fnmatch (); 2516 char (*f) ();2517 2518 int2519 main ()2520 {2521 3528 /* The GNU C library defines this for functions which it implements 2522 3529 to always fail with ENOSYS. Some functions are actually named … … 2525 3532 choke me 2526 3533 #else 2527 f = fnmatch; 2528 #endif 2529 3534 char (*f) () = fnmatch; 3535 #endif 3536 #ifdef __cplusplus 3537 } 3538 #endif 3539 3540 int 3541 main () 3542 { 3543 return f != fnmatch; 2530 3544 ; 2531 3545 return 0; … … 2533 3547 _ACEOF 2534 3548 rm -f conftest.$ac_objext conftest$ac_exeext 2535 if { (eval echo "$as_me:2535: \"$ac_link\"") >&5 2536 (eval $ac_link) 2>&5 2537 ac_status=$? 2538 echo "$as_me:2538: \$? = $ac_status" >&5 3549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3550 (eval $ac_link) 2>conftest.er1 3551 ac_status=$? 3552 grep -v '^ *+' conftest.er1 >conftest.err 3553 rm -f conftest.er1 3554 cat conftest.err >&5 3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2539 3556 (exit $ac_status); } && 2540 { ac_try='test -s conftest$ac_exeext' 2541 { (eval echo "$as_me:2541: \"$ac_try\"") >&5 2542 (eval $ac_try) 2>&5 2543 ac_status=$? 2544 echo "$as_me:2544: \$? = $ac_status" >&5 3557 { ac_try='test -z "$ac_c_werror_flag" 3558 || test ! -s conftest.err' 3559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3560 (eval $ac_try) 2>&5 3561 ac_status=$? 3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3563 (exit $ac_status); }; } && 3564 { ac_try='test -s conftest$ac_exeext' 3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3566 (eval $ac_try) 2>&5 3567 ac_status=$? 3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2545 3569 (exit $ac_status); }; }; then 2546 3570 ac_cv_func_fnmatch=yes 2547 3571 else 2548 3572 echo "$as_me: failed program was:" >&5 2549 cat conftest.$ac_ext >&5 3573 sed 's/^/| /' conftest.$ac_ext >&5 3574 2550 3575 ac_cv_func_fnmatch=no 2551 3576 fi 2552 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2553 fi 2554 echo "$as_me:2554: result: $ac_cv_func_fnmatch" >&5 3577 rm -f conftest.err conftest.$ac_objext \ 3578 conftest$ac_exeext conftest.$ac_ext 3579 fi 3580 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5 2555 3581 echo "${ECHO_T}$ac_cv_func_fnmatch" >&6 2556 3582 if test $ac_cv_func_fnmatch = yes; then … … 2561 3587 2562 3588 if test $result = no ; then 2563 { { echo "$as_me: 2563: error: fnmatch funtion not found" >&53589 { { echo "$as_me:$LINENO: error: fnmatch funtion not found" >&5 2564 3590 echo "$as_me: error: fnmatch funtion not found" >&2;} 2565 3591 { (exit 1); exit 1; }; } 2566 3592 fi 2567 echo "$as_me: 2567: checking for fork" >&53593 echo "$as_me:$LINENO: checking for fork" >&5 2568 3594 echo $ECHO_N "checking for fork... $ECHO_C" >&6 2569 3595 if test "${ac_cv_func_fork+set}" = set; then … … 2571 3597 else 2572 3598 cat >conftest.$ac_ext <<_ACEOF 2573 #line 2573 "configure" 2574 #include "confdefs.h" 3599 /* confdefs.h. */ 3600 _ACEOF 3601 cat confdefs.h >>conftest.$ac_ext 3602 cat >>conftest.$ac_ext <<_ACEOF 3603 /* end confdefs.h. */ 3604 /* Define fork to an innocuous variant, in case <limits.h> declares fork. 3605 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3606 #define fork innocuous_fork 3607 2575 3608 /* System header to define __stub macros and hopefully few prototypes, 2576 which can conflict with char fork (); below. */ 2577 #include <assert.h> 3609 which can conflict with char fork (); below. 3610 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3611 <limits.h> exists even on freestanding compilers. */ 3612 3613 #ifdef __STDC__ 3614 # include <limits.h> 3615 #else 3616 # include <assert.h> 3617 #endif 3618 3619 #undef fork 3620 2578 3621 /* Override any gcc2 internal prototype to avoid an error. */ 2579 3622 #ifdef __cplusplus 2580 3623 extern "C" 3624 { 2581 3625 #endif 2582 3626 /* We use char because int might match the return type of a gcc2 2583 3627 builtin and then its argument prototype would still apply. */ 2584 3628 char fork (); 2585 char (*f) ();2586 2587 int2588 main ()2589 {2590 3629 /* The GNU C library defines this for functions which it implements 2591 3630 to always fail with ENOSYS. Some functions are actually named … … 2594 3633 choke me 2595 3634 #else 2596 f = fork; 2597 #endif 2598 3635 char (*f) () = fork; 3636 #endif 3637 #ifdef __cplusplus 3638 } 3639 #endif 3640 3641 int 3642 main () 3643 { 3644 return f != fork; 2599 3645 ; 2600 3646 return 0; … … 2602 3648 _ACEOF 2603 3649 rm -f conftest.$ac_objext conftest$ac_exeext 2604 if { (eval echo "$as_me:2604: \"$ac_link\"") >&5 2605 (eval $ac_link) 2>&5 2606 ac_status=$? 2607 echo "$as_me:2607: \$? = $ac_status" >&5 3650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3651 (eval $ac_link) 2>conftest.er1 3652 ac_status=$? 3653 grep -v '^ *+' conftest.er1 >conftest.err 3654 rm -f conftest.er1 3655 cat conftest.err >&5 3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2608 3657 (exit $ac_status); } && 2609 { ac_try='test -s conftest$ac_exeext' 2610 { (eval echo "$as_me:2610: \"$ac_try\"") >&5 2611 (eval $ac_try) 2>&5 2612 ac_status=$? 2613 echo "$as_me:2613: \$? = $ac_status" >&5 3658 { ac_try='test -z "$ac_c_werror_flag" 3659 || test ! -s conftest.err' 3660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3661 (eval $ac_try) 2>&5 3662 ac_status=$? 3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3664 (exit $ac_status); }; } && 3665 { ac_try='test -s conftest$ac_exeext' 3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3667 (eval $ac_try) 2>&5 3668 ac_status=$? 3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2614 3670 (exit $ac_status); }; }; then 2615 3671 ac_cv_func_fork=yes 2616 3672 else 2617 3673 echo "$as_me: failed program was:" >&5 2618 cat conftest.$ac_ext >&5 3674 sed 's/^/| /' conftest.$ac_ext >&5 3675 2619 3676 ac_cv_func_fork=no 2620 3677 fi 2621 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2622 fi 2623 echo "$as_me:2623: result: $ac_cv_func_fork" >&5 3678 rm -f conftest.err conftest.$ac_objext \ 3679 conftest$ac_exeext conftest.$ac_ext 3680 fi 3681 echo "$as_me:$LINENO: result: $ac_cv_func_fork" >&5 2624 3682 echo "${ECHO_T}$ac_cv_func_fork" >&6 2625 3683 if test $ac_cv_func_fork = yes; then … … 2630 3688 2631 3689 if test $result = no ; then 2632 { { echo "$as_me: 2632: error: fork funtion not found" >&53690 { { echo "$as_me:$LINENO: error: fork funtion not found" >&5 2633 3691 echo "$as_me: error: fork funtion not found" >&2;} 2634 3692 { (exit 1); exit 1; }; } 2635 3693 fi 2636 echo "$as_me: 2636: checking for fprintf" >&53694 echo "$as_me:$LINENO: checking for fprintf" >&5 2637 3695 echo $ECHO_N "checking for fprintf... $ECHO_C" >&6 2638 3696 if test "${ac_cv_func_fprintf+set}" = set; then … … 2640 3698 else 2641 3699 cat >conftest.$ac_ext <<_ACEOF 2642 #line 2642 "configure" 2643 #include "confdefs.h" 3700 /* confdefs.h. */ 3701 _ACEOF 3702 cat confdefs.h >>conftest.$ac_ext 3703 cat >>conftest.$ac_ext <<_ACEOF 3704 /* end confdefs.h. */ 3705 /* Define fprintf to an innocuous variant, in case <limits.h> declares fprintf. 3706 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3707 #define fprintf innocuous_fprintf 3708 2644 3709 /* System header to define __stub macros and hopefully few prototypes, 2645 which can conflict with char fprintf (); below. */ 2646 #include <assert.h> 3710 which can conflict with char fprintf (); below. 3711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3712 <limits.h> exists even on freestanding compilers. */ 3713 3714 #ifdef __STDC__ 3715 # include <limits.h> 3716 #else 3717 # include <assert.h> 3718 #endif 3719 3720 #undef fprintf 3721 2647 3722 /* Override any gcc2 internal prototype to avoid an error. */ 2648 3723 #ifdef __cplusplus 2649 3724 extern "C" 3725 { 2650 3726 #endif 2651 3727 /* We use char because int might match the return type of a gcc2 2652 3728 builtin and then its argument prototype would still apply. */ 2653 3729 char fprintf (); 2654 char (*f) ();2655 2656 int2657 main ()2658 {2659 3730 /* The GNU C library defines this for functions which it implements 2660 3731 to always fail with ENOSYS. Some functions are actually named … … 2663 3734 choke me 2664 3735 #else 2665 f = fprintf; 2666 #endif 2667 3736 char (*f) () = fprintf; 3737 #endif 3738 #ifdef __cplusplus 3739 } 3740 #endif 3741 3742 int 3743 main () 3744 { 3745 return f != fprintf; 2668 3746 ; 2669 3747 return 0; … … 2671 3749 _ACEOF 2672 3750 rm -f conftest.$ac_objext conftest$ac_exeext 2673 if { (eval echo "$as_me:2673: \"$ac_link\"") >&5 2674 (eval $ac_link) 2>&5 2675 ac_status=$? 2676 echo "$as_me:2676: \$? = $ac_status" >&5 3751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3752 (eval $ac_link) 2>conftest.er1 3753 ac_status=$? 3754 grep -v '^ *+' conftest.er1 >conftest.err 3755 rm -f conftest.er1 3756 cat conftest.err >&5 3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2677 3758 (exit $ac_status); } && 2678 { ac_try='test -s conftest$ac_exeext' 2679 { (eval echo "$as_me:2679: \"$ac_try\"") >&5 2680 (eval $ac_try) 2>&5 2681 ac_status=$? 2682 echo "$as_me:2682: \$? = $ac_status" >&5 3759 { ac_try='test -z "$ac_c_werror_flag" 3760 || test ! -s conftest.err' 3761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3762 (eval $ac_try) 2>&5 3763 ac_status=$? 3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3765 (exit $ac_status); }; } && 3766 { ac_try='test -s conftest$ac_exeext' 3767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3768 (eval $ac_try) 2>&5 3769 ac_status=$? 3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2683 3771 (exit $ac_status); }; }; then 2684 3772 ac_cv_func_fprintf=yes 2685 3773 else 2686 3774 echo "$as_me: failed program was:" >&5 2687 cat conftest.$ac_ext >&5 3775 sed 's/^/| /' conftest.$ac_ext >&5 3776 2688 3777 ac_cv_func_fprintf=no 2689 3778 fi 2690 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2691 fi 2692 echo "$as_me:2692: result: $ac_cv_func_fprintf" >&5 3779 rm -f conftest.err conftest.$ac_objext \ 3780 conftest$ac_exeext conftest.$ac_ext 3781 fi 3782 echo "$as_me:$LINENO: result: $ac_cv_func_fprintf" >&5 2693 3783 echo "${ECHO_T}$ac_cv_func_fprintf" >&6 2694 3784 if test $ac_cv_func_fprintf = yes; then … … 2699 3789 2700 3790 if test $result = no ; then 2701 { { echo "$as_me: 2701: error: fprintf funtion not found" >&53791 { { echo "$as_me:$LINENO: error: fprintf funtion not found" >&5 2702 3792 echo "$as_me: error: fprintf funtion not found" >&2;} 2703 3793 { (exit 1); exit 1; }; } 2704 3794 fi 2705 echo "$as_me: 2705: checking for free" >&53795 echo "$as_me:$LINENO: checking for free" >&5 2706 3796 echo $ECHO_N "checking for free... $ECHO_C" >&6 2707 3797 if test "${ac_cv_func_free+set}" = set; then … … 2709 3799 else 2710 3800 cat >conftest.$ac_ext <<_ACEOF 2711 #line 2711 "configure" 2712 #include "confdefs.h" 3801 /* confdefs.h. */ 3802 _ACEOF 3803 cat confdefs.h >>conftest.$ac_ext 3804 cat >>conftest.$ac_ext <<_ACEOF 3805 /* end confdefs.h. */ 3806 /* Define free to an innocuous variant, in case <limits.h> declares free. 3807 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3808 #define free innocuous_free 3809 2713 3810 /* System header to define __stub macros and hopefully few prototypes, 2714 which can conflict with char free (); below. */ 2715 #include <assert.h> 3811 which can conflict with char free (); below. 3812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3813 <limits.h> exists even on freestanding compilers. */ 3814 3815 #ifdef __STDC__ 3816 # include <limits.h> 3817 #else 3818 # include <assert.h> 3819 #endif 3820 3821 #undef free 3822 2716 3823 /* Override any gcc2 internal prototype to avoid an error. */ 2717 3824 #ifdef __cplusplus 2718 3825 extern "C" 3826 { 2719 3827 #endif 2720 3828 /* We use char because int might match the return type of a gcc2 2721 3829 builtin and then its argument prototype would still apply. */ 2722 3830 char free (); 2723 char (*f) ();2724 2725 int2726 main ()2727 {2728 3831 /* The GNU C library defines this for functions which it implements 2729 3832 to always fail with ENOSYS. Some functions are actually named … … 2732 3835 choke me 2733 3836 #else 2734 f = free; 2735 #endif 2736 3837 char (*f) () = free; 3838 #endif 3839 #ifdef __cplusplus 3840 } 3841 #endif 3842 3843 int 3844 main () 3845 { 3846 return f != free; 2737 3847 ; 2738 3848 return 0; … … 2740 3850 _ACEOF 2741 3851 rm -f conftest.$ac_objext conftest$ac_exeext 2742 if { (eval echo "$as_me:2742: \"$ac_link\"") >&5 2743 (eval $ac_link) 2>&5 2744 ac_status=$? 2745 echo "$as_me:2745: \$? = $ac_status" >&5 3852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3853 (eval $ac_link) 2>conftest.er1 3854 ac_status=$? 3855 grep -v '^ *+' conftest.er1 >conftest.err 3856 rm -f conftest.er1 3857 cat conftest.err >&5 3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2746 3859 (exit $ac_status); } && 2747 { ac_try='test -s conftest$ac_exeext' 2748 { (eval echo "$as_me:2748: \"$ac_try\"") >&5 2749 (eval $ac_try) 2>&5 2750 ac_status=$? 2751 echo "$as_me:2751: \$? = $ac_status" >&5 3860 { ac_try='test -z "$ac_c_werror_flag" 3861 || test ! -s conftest.err' 3862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3863 (eval $ac_try) 2>&5 3864 ac_status=$? 3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3866 (exit $ac_status); }; } && 3867 { ac_try='test -s conftest$ac_exeext' 3868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3869 (eval $ac_try) 2>&5 3870 ac_status=$? 3871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2752 3872 (exit $ac_status); }; }; then 2753 3873 ac_cv_func_free=yes 2754 3874 else 2755 3875 echo "$as_me: failed program was:" >&5 2756 cat conftest.$ac_ext >&5 3876 sed 's/^/| /' conftest.$ac_ext >&5 3877 2757 3878 ac_cv_func_free=no 2758 3879 fi 2759 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2760 fi 2761 echo "$as_me:2761: result: $ac_cv_func_free" >&5 3880 rm -f conftest.err conftest.$ac_objext \ 3881 conftest$ac_exeext conftest.$ac_ext 3882 fi 3883 echo "$as_me:$LINENO: result: $ac_cv_func_free" >&5 2762 3884 echo "${ECHO_T}$ac_cv_func_free" >&6 2763 3885 if test $ac_cv_func_free = yes; then … … 2768 3890 2769 3891 if test $result = no ; then 2770 { { echo "$as_me: 2770: error: free funtion not found" >&53892 { { echo "$as_me:$LINENO: error: free funtion not found" >&5 2771 3893 echo "$as_me: error: free funtion not found" >&2;} 2772 3894 { (exit 1); exit 1; }; } 2773 3895 fi 2774 echo "$as_me: 2774: checking for getopt" >&53896 echo "$as_me:$LINENO: checking for getopt" >&5 2775 3897 echo $ECHO_N "checking for getopt... $ECHO_C" >&6 2776 3898 if test "${ac_cv_func_getopt+set}" = set; then … … 2778 3900 else 2779 3901 cat >conftest.$ac_ext <<_ACEOF 2780 #line 2780 "configure" 2781 #include "confdefs.h" 3902 /* confdefs.h. */ 3903 _ACEOF 3904 cat confdefs.h >>conftest.$ac_ext 3905 cat >>conftest.$ac_ext <<_ACEOF 3906 /* end confdefs.h. */ 3907 /* Define getopt to an innocuous variant, in case <limits.h> declares getopt. 3908 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 3909 #define getopt innocuous_getopt 3910 2782 3911 /* System header to define __stub macros and hopefully few prototypes, 2783 which can conflict with char getopt (); below. */ 2784 #include <assert.h> 3912 which can conflict with char getopt (); below. 3913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3914 <limits.h> exists even on freestanding compilers. */ 3915 3916 #ifdef __STDC__ 3917 # include <limits.h> 3918 #else 3919 # include <assert.h> 3920 #endif 3921 3922 #undef getopt 3923 2785 3924 /* Override any gcc2 internal prototype to avoid an error. */ 2786 3925 #ifdef __cplusplus 2787 3926 extern "C" 3927 { 2788 3928 #endif 2789 3929 /* We use char because int might match the return type of a gcc2 2790 3930 builtin and then its argument prototype would still apply. */ 2791 3931 char getopt (); 2792 char (*f) ();2793 2794 int2795 main ()2796 {2797 3932 /* The GNU C library defines this for functions which it implements 2798 3933 to always fail with ENOSYS. Some functions are actually named … … 2801 3936 choke me 2802 3937 #else 2803 f = getopt; 2804 #endif 2805 3938 char (*f) () = getopt; 3939 #endif 3940 #ifdef __cplusplus 3941 } 3942 #endif 3943 3944 int 3945 main () 3946 { 3947 return f != getopt; 2806 3948 ; 2807 3949 return 0; … … 2809 3951 _ACEOF 2810 3952 rm -f conftest.$ac_objext conftest$ac_exeext 2811 if { (eval echo "$as_me:2811: \"$ac_link\"") >&5 2812 (eval $ac_link) 2>&5 2813 ac_status=$? 2814 echo "$as_me:2814: \$? = $ac_status" >&5 3953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3954 (eval $ac_link) 2>conftest.er1 3955 ac_status=$? 3956 grep -v '^ *+' conftest.er1 >conftest.err 3957 rm -f conftest.er1 3958 cat conftest.err >&5 3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2815 3960 (exit $ac_status); } && 2816 { ac_try='test -s conftest$ac_exeext' 2817 { (eval echo "$as_me:2817: \"$ac_try\"") >&5 2818 (eval $ac_try) 2>&5 2819 ac_status=$? 2820 echo "$as_me:2820: \$? = $ac_status" >&5 3961 { ac_try='test -z "$ac_c_werror_flag" 3962 || test ! -s conftest.err' 3963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3964 (eval $ac_try) 2>&5 3965 ac_status=$? 3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3967 (exit $ac_status); }; } && 3968 { ac_try='test -s conftest$ac_exeext' 3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3970 (eval $ac_try) 2>&5 3971 ac_status=$? 3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2821 3973 (exit $ac_status); }; }; then 2822 3974 ac_cv_func_getopt=yes 2823 3975 else 2824 3976 echo "$as_me: failed program was:" >&5 2825 cat conftest.$ac_ext >&5 3977 sed 's/^/| /' conftest.$ac_ext >&5 3978 2826 3979 ac_cv_func_getopt=no 2827 3980 fi 2828 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2829 fi 2830 echo "$as_me:2830: result: $ac_cv_func_getopt" >&5 3981 rm -f conftest.err conftest.$ac_objext \ 3982 conftest$ac_exeext conftest.$ac_ext 3983 fi 3984 echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5 2831 3985 echo "${ECHO_T}$ac_cv_func_getopt" >&6 2832 3986 if test $ac_cv_func_getopt = yes; then … … 2837 3991 2838 3992 if test $result = no ; then 2839 { { echo "$as_me: 2839: error: getopt funtion not found" >&53993 { { echo "$as_me:$LINENO: error: getopt funtion not found" >&5 2840 3994 echo "$as_me: error: getopt funtion not found" >&2;} 2841 3995 { (exit 1); exit 1; }; } 2842 3996 fi 2843 echo "$as_me: 2843: checking for getpid" >&53997 echo "$as_me:$LINENO: checking for getpid" >&5 2844 3998 echo $ECHO_N "checking for getpid... $ECHO_C" >&6 2845 3999 if test "${ac_cv_func_getpid+set}" = set; then … … 2847 4001 else 2848 4002 cat >conftest.$ac_ext <<_ACEOF 2849 #line 2849 "configure" 2850 #include "confdefs.h" 4003 /* confdefs.h. */ 4004 _ACEOF 4005 cat confdefs.h >>conftest.$ac_ext 4006 cat >>conftest.$ac_ext <<_ACEOF 4007 /* end confdefs.h. */ 4008 /* Define getpid to an innocuous variant, in case <limits.h> declares getpid. 4009 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4010 #define getpid innocuous_getpid 4011 2851 4012 /* System header to define __stub macros and hopefully few prototypes, 2852 which can conflict with char getpid (); below. */ 2853 #include <assert.h> 4013 which can conflict with char getpid (); below. 4014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4015 <limits.h> exists even on freestanding compilers. */ 4016 4017 #ifdef __STDC__ 4018 # include <limits.h> 4019 #else 4020 # include <assert.h> 4021 #endif 4022 4023 #undef getpid 4024 2854 4025 /* Override any gcc2 internal prototype to avoid an error. */ 2855 4026 #ifdef __cplusplus 2856 4027 extern "C" 4028 { 2857 4029 #endif 2858 4030 /* We use char because int might match the return type of a gcc2 2859 4031 builtin and then its argument prototype would still apply. */ 2860 4032 char getpid (); 2861 char (*f) ();2862 2863 int2864 main ()2865 {2866 4033 /* The GNU C library defines this for functions which it implements 2867 4034 to always fail with ENOSYS. Some functions are actually named … … 2870 4037 choke me 2871 4038 #else 2872 f = getpid; 2873 #endif 2874 4039 char (*f) () = getpid; 4040 #endif 4041 #ifdef __cplusplus 4042 } 4043 #endif 4044 4045 int 4046 main () 4047 { 4048 return f != getpid; 2875 4049 ; 2876 4050 return 0; … … 2878 4052 _ACEOF 2879 4053 rm -f conftest.$ac_objext conftest$ac_exeext 2880 if { (eval echo "$as_me:2880: \"$ac_link\"") >&5 2881 (eval $ac_link) 2>&5 2882 ac_status=$? 2883 echo "$as_me:2883: \$? = $ac_status" >&5 4054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4055 (eval $ac_link) 2>conftest.er1 4056 ac_status=$? 4057 grep -v '^ *+' conftest.er1 >conftest.err 4058 rm -f conftest.er1 4059 cat conftest.err >&5 4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2884 4061 (exit $ac_status); } && 2885 { ac_try='test -s conftest$ac_exeext' 2886 { (eval echo "$as_me:2886: \"$ac_try\"") >&5 2887 (eval $ac_try) 2>&5 2888 ac_status=$? 2889 echo "$as_me:2889: \$? = $ac_status" >&5 4062 { ac_try='test -z "$ac_c_werror_flag" 4063 || test ! -s conftest.err' 4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4065 (eval $ac_try) 2>&5 4066 ac_status=$? 4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4068 (exit $ac_status); }; } && 4069 { ac_try='test -s conftest$ac_exeext' 4070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4071 (eval $ac_try) 2>&5 4072 ac_status=$? 4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2890 4074 (exit $ac_status); }; }; then 2891 4075 ac_cv_func_getpid=yes 2892 4076 else 2893 4077 echo "$as_me: failed program was:" >&5 2894 cat conftest.$ac_ext >&5 4078 sed 's/^/| /' conftest.$ac_ext >&5 4079 2895 4080 ac_cv_func_getpid=no 2896 4081 fi 2897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2898 fi 2899 echo "$as_me:2899: result: $ac_cv_func_getpid" >&5 4082 rm -f conftest.err conftest.$ac_objext \ 4083 conftest$ac_exeext conftest.$ac_ext 4084 fi 4085 echo "$as_me:$LINENO: result: $ac_cv_func_getpid" >&5 2900 4086 echo "${ECHO_T}$ac_cv_func_getpid" >&6 2901 4087 if test $ac_cv_func_getpid = yes; then … … 2906 4092 2907 4093 if test $result = no ; then 2908 { { echo "$as_me: 2908: error: getpid funtion not found" >&54094 { { echo "$as_me:$LINENO: error: getpid funtion not found" >&5 2909 4095 echo "$as_me: error: getpid funtion not found" >&2;} 2910 4096 { (exit 1); exit 1; }; } 2911 4097 fi 2912 echo "$as_me: 2912: checking for gettimeofday" >&54098 echo "$as_me:$LINENO: checking for gettimeofday" >&5 2913 4099 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 2914 4100 if test "${ac_cv_func_gettimeofday+set}" = set; then … … 2916 4102 else 2917 4103 cat >conftest.$ac_ext <<_ACEOF 2918 #line 2918 "configure" 2919 #include "confdefs.h" 4104 /* confdefs.h. */ 4105 _ACEOF 4106 cat confdefs.h >>conftest.$ac_ext 4107 cat >>conftest.$ac_ext <<_ACEOF 4108 /* end confdefs.h. */ 4109 /* Define gettimeofday to an innocuous variant, in case <limits.h> declares gettimeofday. 4110 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4111 #define gettimeofday innocuous_gettimeofday 4112 2920 4113 /* System header to define __stub macros and hopefully few prototypes, 2921 which can conflict with char gettimeofday (); below. */ 2922 #include <assert.h> 4114 which can conflict with char gettimeofday (); below. 4115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4116 <limits.h> exists even on freestanding compilers. */ 4117 4118 #ifdef __STDC__ 4119 # include <limits.h> 4120 #else 4121 # include <assert.h> 4122 #endif 4123 4124 #undef gettimeofday 4125 2923 4126 /* Override any gcc2 internal prototype to avoid an error. */ 2924 4127 #ifdef __cplusplus 2925 4128 extern "C" 4129 { 2926 4130 #endif 2927 4131 /* We use char because int might match the return type of a gcc2 2928 4132 builtin and then its argument prototype would still apply. */ 2929 4133 char gettimeofday (); 2930 char (*f) ();2931 2932 int2933 main ()2934 {2935 4134 /* The GNU C library defines this for functions which it implements 2936 4135 to always fail with ENOSYS. Some functions are actually named … … 2939 4138 choke me 2940 4139 #else 2941 f = gettimeofday; 2942 #endif 2943 4140 char (*f) () = gettimeofday; 4141 #endif 4142 #ifdef __cplusplus 4143 } 4144 #endif 4145 4146 int 4147 main () 4148 { 4149 return f != gettimeofday; 2944 4150 ; 2945 4151 return 0; … … 2947 4153 _ACEOF 2948 4154 rm -f conftest.$ac_objext conftest$ac_exeext 2949 if { (eval echo "$as_me:2949: \"$ac_link\"") >&5 2950 (eval $ac_link) 2>&5 2951 ac_status=$? 2952 echo "$as_me:2952: \$? = $ac_status" >&5 4155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4156 (eval $ac_link) 2>conftest.er1 4157 ac_status=$? 4158 grep -v '^ *+' conftest.er1 >conftest.err 4159 rm -f conftest.er1 4160 cat conftest.err >&5 4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2953 4162 (exit $ac_status); } && 2954 { ac_try='test -s conftest$ac_exeext' 2955 { (eval echo "$as_me:2955: \"$ac_try\"") >&5 2956 (eval $ac_try) 2>&5 2957 ac_status=$? 2958 echo "$as_me:2958: \$? = $ac_status" >&5 4163 { ac_try='test -z "$ac_c_werror_flag" 4164 || test ! -s conftest.err' 4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4166 (eval $ac_try) 2>&5 4167 ac_status=$? 4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4169 (exit $ac_status); }; } && 4170 { ac_try='test -s conftest$ac_exeext' 4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4172 (eval $ac_try) 2>&5 4173 ac_status=$? 4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2959 4175 (exit $ac_status); }; }; then 2960 4176 ac_cv_func_gettimeofday=yes 2961 4177 else 2962 4178 echo "$as_me: failed program was:" >&5 2963 cat conftest.$ac_ext >&5 4179 sed 's/^/| /' conftest.$ac_ext >&5 4180 2964 4181 ac_cv_func_gettimeofday=no 2965 4182 fi 2966 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 2967 fi 2968 echo "$as_me:2968: result: $ac_cv_func_gettimeofday" >&5 4183 rm -f conftest.err conftest.$ac_objext \ 4184 conftest$ac_exeext conftest.$ac_ext 4185 fi 4186 echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5 2969 4187 echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 2970 4188 if test $ac_cv_func_gettimeofday = yes; then … … 2975 4193 2976 4194 if test $result = no ; then 2977 { { echo "$as_me: 2977: error: gettimeofday funtion not found" >&54195 { { echo "$as_me:$LINENO: error: gettimeofday funtion not found" >&5 2978 4196 echo "$as_me: error: gettimeofday funtion not found" >&2;} 2979 4197 { (exit 1); exit 1; }; } 2980 4198 fi 2981 echo "$as_me: 2981: checking for kill" >&54199 echo "$as_me:$LINENO: checking for kill" >&5 2982 4200 echo $ECHO_N "checking for kill... $ECHO_C" >&6 2983 4201 if test "${ac_cv_func_kill+set}" = set; then … … 2985 4203 else 2986 4204 cat >conftest.$ac_ext <<_ACEOF 2987 #line 2987 "configure" 2988 #include "confdefs.h" 4205 /* confdefs.h. */ 4206 _ACEOF 4207 cat confdefs.h >>conftest.$ac_ext 4208 cat >>conftest.$ac_ext <<_ACEOF 4209 /* end confdefs.h. */ 4210 /* Define kill to an innocuous variant, in case <limits.h> declares kill. 4211 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4212 #define kill innocuous_kill 4213 2989 4214 /* System header to define __stub macros and hopefully few prototypes, 2990 which can conflict with char kill (); below. */ 2991 #include <assert.h> 4215 which can conflict with char kill (); below. 4216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4217 <limits.h> exists even on freestanding compilers. */ 4218 4219 #ifdef __STDC__ 4220 # include <limits.h> 4221 #else 4222 # include <assert.h> 4223 #endif 4224 4225 #undef kill 4226 2992 4227 /* Override any gcc2 internal prototype to avoid an error. */ 2993 4228 #ifdef __cplusplus 2994 4229 extern "C" 4230 { 2995 4231 #endif 2996 4232 /* We use char because int might match the return type of a gcc2 2997 4233 builtin and then its argument prototype would still apply. */ 2998 4234 char kill (); 2999 char (*f) ();3000 3001 int3002 main ()3003 {3004 4235 /* The GNU C library defines this for functions which it implements 3005 4236 to always fail with ENOSYS. Some functions are actually named … … 3008 4239 choke me 3009 4240 #else 3010 f = kill; 3011 #endif 3012 4241 char (*f) () = kill; 4242 #endif 4243 #ifdef __cplusplus 4244 } 4245 #endif 4246 4247 int 4248 main () 4249 { 4250 return f != kill; 3013 4251 ; 3014 4252 return 0; … … 3016 4254 _ACEOF 3017 4255 rm -f conftest.$ac_objext conftest$ac_exeext 3018 if { (eval echo "$as_me:3018: \"$ac_link\"") >&5 3019 (eval $ac_link) 2>&5 3020 ac_status=$? 3021 echo "$as_me:3021: \$? = $ac_status" >&5 4256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4257 (eval $ac_link) 2>conftest.er1 4258 ac_status=$? 4259 grep -v '^ *+' conftest.er1 >conftest.err 4260 rm -f conftest.er1 4261 cat conftest.err >&5 4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3022 4263 (exit $ac_status); } && 3023 { ac_try='test -s conftest$ac_exeext' 3024 { (eval echo "$as_me:3024: \"$ac_try\"") >&5 3025 (eval $ac_try) 2>&5 3026 ac_status=$? 3027 echo "$as_me:3027: \$? = $ac_status" >&5 4264 { ac_try='test -z "$ac_c_werror_flag" 4265 || test ! -s conftest.err' 4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4267 (eval $ac_try) 2>&5 4268 ac_status=$? 4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4270 (exit $ac_status); }; } && 4271 { ac_try='test -s conftest$ac_exeext' 4272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4273 (eval $ac_try) 2>&5 4274 ac_status=$? 4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3028 4276 (exit $ac_status); }; }; then 3029 4277 ac_cv_func_kill=yes 3030 4278 else 3031 4279 echo "$as_me: failed program was:" >&5 3032 cat conftest.$ac_ext >&5 4280 sed 's/^/| /' conftest.$ac_ext >&5 4281 3033 4282 ac_cv_func_kill=no 3034 4283 fi 3035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3036 fi 3037 echo "$as_me:3037: result: $ac_cv_func_kill" >&5 4284 rm -f conftest.err conftest.$ac_objext \ 4285 conftest$ac_exeext conftest.$ac_ext 4286 fi 4287 echo "$as_me:$LINENO: result: $ac_cv_func_kill" >&5 3038 4288 echo "${ECHO_T}$ac_cv_func_kill" >&6 3039 4289 if test $ac_cv_func_kill = yes; then … … 3044 4294 3045 4295 if test $result = no ; then 3046 { { echo "$as_me: 3046: error: kill funtion not found" >&54296 { { echo "$as_me:$LINENO: error: kill funtion not found" >&5 3047 4297 echo "$as_me: error: kill funtion not found" >&2;} 3048 4298 { (exit 1); exit 1; }; } 3049 4299 fi 3050 echo "$as_me: 3050: checking for localtime" >&54300 echo "$as_me:$LINENO: checking for localtime" >&5 3051 4301 echo $ECHO_N "checking for localtime... $ECHO_C" >&6 3052 4302 if test "${ac_cv_func_localtime+set}" = set; then … … 3054 4304 else 3055 4305 cat >conftest.$ac_ext <<_ACEOF 3056 #line 3056 "configure" 3057 #include "confdefs.h" 4306 /* confdefs.h. */ 4307 _ACEOF 4308 cat confdefs.h >>conftest.$ac_ext 4309 cat >>conftest.$ac_ext <<_ACEOF 4310 /* end confdefs.h. */ 4311 /* Define localtime to an innocuous variant, in case <limits.h> declares localtime. 4312 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4313 #define localtime innocuous_localtime 4314 3058 4315 /* System header to define __stub macros and hopefully few prototypes, 3059 which can conflict with char localtime (); below. */ 3060 #include <assert.h> 4316 which can conflict with char localtime (); below. 4317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4318 <limits.h> exists even on freestanding compilers. */ 4319 4320 #ifdef __STDC__ 4321 # include <limits.h> 4322 #else 4323 # include <assert.h> 4324 #endif 4325 4326 #undef localtime 4327 3061 4328 /* Override any gcc2 internal prototype to avoid an error. */ 3062 4329 #ifdef __cplusplus 3063 4330 extern "C" 4331 { 3064 4332 #endif 3065 4333 /* We use char because int might match the return type of a gcc2 3066 4334 builtin and then its argument prototype would still apply. */ 3067 4335 char localtime (); 3068 char (*f) ();3069 3070 int3071 main ()3072 {3073 4336 /* The GNU C library defines this for functions which it implements 3074 4337 to always fail with ENOSYS. Some functions are actually named … … 3077 4340 choke me 3078 4341 #else 3079 f = localtime; 3080 #endif 3081 4342 char (*f) () = localtime; 4343 #endif 4344 #ifdef __cplusplus 4345 } 4346 #endif 4347 4348 int 4349 main () 4350 { 4351 return f != localtime; 3082 4352 ; 3083 4353 return 0; … … 3085 4355 _ACEOF 3086 4356 rm -f conftest.$ac_objext conftest$ac_exeext 3087 if { (eval echo "$as_me:3087: \"$ac_link\"") >&5 3088 (eval $ac_link) 2>&5 3089 ac_status=$? 3090 echo "$as_me:3090: \$? = $ac_status" >&5 4357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4358 (eval $ac_link) 2>conftest.er1 4359 ac_status=$? 4360 grep -v '^ *+' conftest.er1 >conftest.err 4361 rm -f conftest.er1 4362 cat conftest.err >&5 4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3091 4364 (exit $ac_status); } && 3092 { ac_try='test -s conftest$ac_exeext' 3093 { (eval echo "$as_me:3093: \"$ac_try\"") >&5 3094 (eval $ac_try) 2>&5 3095 ac_status=$? 3096 echo "$as_me:3096: \$? = $ac_status" >&5 4365 { ac_try='test -z "$ac_c_werror_flag" 4366 || test ! -s conftest.err' 4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4368 (eval $ac_try) 2>&5 4369 ac_status=$? 4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4371 (exit $ac_status); }; } && 4372 { ac_try='test -s conftest$ac_exeext' 4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4374 (eval $ac_try) 2>&5 4375 ac_status=$? 4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3097 4377 (exit $ac_status); }; }; then 3098 4378 ac_cv_func_localtime=yes 3099 4379 else 3100 4380 echo "$as_me: failed program was:" >&5 3101 cat conftest.$ac_ext >&5 4381 sed 's/^/| /' conftest.$ac_ext >&5 4382 3102 4383 ac_cv_func_localtime=no 3103 4384 fi 3104 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3105 fi 3106 echo "$as_me:3106: result: $ac_cv_func_localtime" >&5 4385 rm -f conftest.err conftest.$ac_objext \ 4386 conftest$ac_exeext conftest.$ac_ext 4387 fi 4388 echo "$as_me:$LINENO: result: $ac_cv_func_localtime" >&5 3107 4389 echo "${ECHO_T}$ac_cv_func_localtime" >&6 3108 4390 if test $ac_cv_func_localtime = yes; then … … 3113 4395 3114 4396 if test $result = no ; then 3115 { { echo "$as_me: 3115: error: localtime funtion not found" >&54397 { { echo "$as_me:$LINENO: error: localtime funtion not found" >&5 3116 4398 echo "$as_me: error: localtime funtion not found" >&2;} 3117 4399 { (exit 1); exit 1; }; } 3118 4400 fi 3119 echo "$as_me: 3119: checking for openlog" >&54401 echo "$as_me:$LINENO: checking for openlog" >&5 3120 4402 echo $ECHO_N "checking for openlog... $ECHO_C" >&6 3121 4403 if test "${ac_cv_func_openlog+set}" = set; then … … 3123 4405 else 3124 4406 cat >conftest.$ac_ext <<_ACEOF 3125 #line 3125 "configure" 3126 #include "confdefs.h" 4407 /* confdefs.h. */ 4408 _ACEOF 4409 cat confdefs.h >>conftest.$ac_ext 4410 cat >>conftest.$ac_ext <<_ACEOF 4411 /* end confdefs.h. */ 4412 /* Define openlog to an innocuous variant, in case <limits.h> declares openlog. 4413 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4414 #define openlog innocuous_openlog 4415 3127 4416 /* System header to define __stub macros and hopefully few prototypes, 3128 which can conflict with char openlog (); below. */ 3129 #include <assert.h> 4417 which can conflict with char openlog (); below. 4418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4419 <limits.h> exists even on freestanding compilers. */ 4420 4421 #ifdef __STDC__ 4422 # include <limits.h> 4423 #else 4424 # include <assert.h> 4425 #endif 4426 4427 #undef openlog 4428 3130 4429 /* Override any gcc2 internal prototype to avoid an error. */ 3131 4430 #ifdef __cplusplus 3132 4431 extern "C" 4432 { 3133 4433 #endif 3134 4434 /* We use char because int might match the return type of a gcc2 3135 4435 builtin and then its argument prototype would still apply. */ 3136 4436 char openlog (); 3137 char (*f) ();3138 3139 int3140 main ()3141 {3142 4437 /* The GNU C library defines this for functions which it implements 3143 4438 to always fail with ENOSYS. Some functions are actually named … … 3146 4441 choke me 3147 4442 #else 3148 f = openlog; 3149 #endif 3150 4443 char (*f) () = openlog; 4444 #endif 4445 #ifdef __cplusplus 4446 } 4447 #endif 4448 4449 int 4450 main () 4451 { 4452 return f != openlog; 3151 4453 ; 3152 4454 return 0; … … 3154 4456 _ACEOF 3155 4457 rm -f conftest.$ac_objext conftest$ac_exeext 3156 if { (eval echo "$as_me:3156: \"$ac_link\"") >&5 3157 (eval $ac_link) 2>&5 3158 ac_status=$? 3159 echo "$as_me:3159: \$? = $ac_status" >&5 4458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4459 (eval $ac_link) 2>conftest.er1 4460 ac_status=$? 4461 grep -v '^ *+' conftest.er1 >conftest.err 4462 rm -f conftest.er1 4463 cat conftest.err >&5 4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3160 4465 (exit $ac_status); } && 3161 { ac_try='test -s conftest$ac_exeext' 3162 { (eval echo "$as_me:3162: \"$ac_try\"") >&5 3163 (eval $ac_try) 2>&5 3164 ac_status=$? 3165 echo "$as_me:3165: \$? = $ac_status" >&5 4466 { ac_try='test -z "$ac_c_werror_flag" 4467 || test ! -s conftest.err' 4468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4469 (eval $ac_try) 2>&5 4470 ac_status=$? 4471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4472 (exit $ac_status); }; } && 4473 { ac_try='test -s conftest$ac_exeext' 4474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4475 (eval $ac_try) 2>&5 4476 ac_status=$? 4477 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3166 4478 (exit $ac_status); }; }; then 3167 4479 ac_cv_func_openlog=yes 3168 4480 else 3169 4481 echo "$as_me: failed program was:" >&5 3170 cat conftest.$ac_ext >&5 4482 sed 's/^/| /' conftest.$ac_ext >&5 4483 3171 4484 ac_cv_func_openlog=no 3172 4485 fi 3173 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3174 fi 3175 echo "$as_me:3175: result: $ac_cv_func_openlog" >&5 4486 rm -f conftest.err conftest.$ac_objext \ 4487 conftest$ac_exeext conftest.$ac_ext 4488 fi 4489 echo "$as_me:$LINENO: result: $ac_cv_func_openlog" >&5 3176 4490 echo "${ECHO_T}$ac_cv_func_openlog" >&6 3177 4491 if test $ac_cv_func_openlog = yes; then … … 3182 4496 3183 4497 if test $result = no ; then 3184 { { echo "$as_me: 3184: error: openlog funtion not found" >&54498 { { echo "$as_me:$LINENO: error: openlog funtion not found" >&5 3185 4499 echo "$as_me: error: openlog funtion not found" >&2;} 3186 4500 { (exit 1); exit 1; }; } 3187 4501 fi 3188 echo "$as_me: 3188: checking for opendir" >&54502 echo "$as_me:$LINENO: checking for opendir" >&5 3189 4503 echo $ECHO_N "checking for opendir... $ECHO_C" >&6 3190 4504 if test "${ac_cv_func_opendir+set}" = set; then … … 3192 4506 else 3193 4507 cat >conftest.$ac_ext <<_ACEOF 3194 #line 3194 "configure" 3195 #include "confdefs.h" 4508 /* confdefs.h. */ 4509 _ACEOF 4510 cat confdefs.h >>conftest.$ac_ext 4511 cat >>conftest.$ac_ext <<_ACEOF 4512 /* end confdefs.h. */ 4513 /* Define opendir to an innocuous variant, in case <limits.h> declares opendir. 4514 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4515 #define opendir innocuous_opendir 4516 3196 4517 /* System header to define __stub macros and hopefully few prototypes, 3197 which can conflict with char opendir (); below. */ 3198 #include <assert.h> 4518 which can conflict with char opendir (); below. 4519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4520 <limits.h> exists even on freestanding compilers. */ 4521 4522 #ifdef __STDC__ 4523 # include <limits.h> 4524 #else 4525 # include <assert.h> 4526 #endif 4527 4528 #undef opendir 4529 3199 4530 /* Override any gcc2 internal prototype to avoid an error. */ 3200 4531 #ifdef __cplusplus 3201 4532 extern "C" 4533 { 3202 4534 #endif 3203 4535 /* We use char because int might match the return type of a gcc2 3204 4536 builtin and then its argument prototype would still apply. */ 3205 4537 char opendir (); 3206 char (*f) ();3207 3208 int3209 main ()3210 {3211 4538 /* The GNU C library defines this for functions which it implements 3212 4539 to always fail with ENOSYS. Some functions are actually named … … 3215 4542 choke me 3216 4543 #else 3217 f = opendir; 3218 #endif 3219 4544 char (*f) () = opendir; 4545 #endif 4546 #ifdef __cplusplus 4547 } 4548 #endif 4549 4550 int 4551 main () 4552 { 4553 return f != opendir; 3220 4554 ; 3221 4555 return 0; … … 3223 4557 _ACEOF 3224 4558 rm -f conftest.$ac_objext conftest$ac_exeext 3225 if { (eval echo "$as_me:3225: \"$ac_link\"") >&5 3226 (eval $ac_link) 2>&5 3227 ac_status=$? 3228 echo "$as_me:3228: \$? = $ac_status" >&5 4559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4560 (eval $ac_link) 2>conftest.er1 4561 ac_status=$? 4562 grep -v '^ *+' conftest.er1 >conftest.err 4563 rm -f conftest.er1 4564 cat conftest.err >&5 4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3229 4566 (exit $ac_status); } && 3230 { ac_try='test -s conftest$ac_exeext' 3231 { (eval echo "$as_me:3231: \"$ac_try\"") >&5 3232 (eval $ac_try) 2>&5 3233 ac_status=$? 3234 echo "$as_me:3234: \$? = $ac_status" >&5 4567 { ac_try='test -z "$ac_c_werror_flag" 4568 || test ! -s conftest.err' 4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4570 (eval $ac_try) 2>&5 4571 ac_status=$? 4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4573 (exit $ac_status); }; } && 4574 { ac_try='test -s conftest$ac_exeext' 4575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4576 (eval $ac_try) 2>&5 4577 ac_status=$? 4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3235 4579 (exit $ac_status); }; }; then 3236 4580 ac_cv_func_opendir=yes 3237 4581 else 3238 4582 echo "$as_me: failed program was:" >&5 3239 cat conftest.$ac_ext >&5 4583 sed 's/^/| /' conftest.$ac_ext >&5 4584 3240 4585 ac_cv_func_opendir=no 3241 4586 fi 3242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3243 fi 3244 echo "$as_me:3244: result: $ac_cv_func_opendir" >&5 4587 rm -f conftest.err conftest.$ac_objext \ 4588 conftest$ac_exeext conftest.$ac_ext 4589 fi 4590 echo "$as_me:$LINENO: result: $ac_cv_func_opendir" >&5 3245 4591 echo "${ECHO_T}$ac_cv_func_opendir" >&6 3246 4592 if test $ac_cv_func_opendir = yes; then … … 3251 4597 3252 4598 if test $result = no ; then 3253 { { echo "$as_me: 3253: error: opendir funtion not found" >&54599 { { echo "$as_me:$LINENO: error: opendir funtion not found" >&5 3254 4600 echo "$as_me: error: opendir funtion not found" >&2;} 3255 4601 { (exit 1); exit 1; }; } 3256 4602 fi 3257 echo "$as_me: 3257: checking for random" >&54603 echo "$as_me:$LINENO: checking for random" >&5 3258 4604 echo $ECHO_N "checking for random... $ECHO_C" >&6 3259 4605 if test "${ac_cv_func_random+set}" = set; then … … 3261 4607 else 3262 4608 cat >conftest.$ac_ext <<_ACEOF 3263 #line 3263 "configure" 3264 #include "confdefs.h" 4609 /* confdefs.h. */ 4610 _ACEOF 4611 cat confdefs.h >>conftest.$ac_ext 4612 cat >>conftest.$ac_ext <<_ACEOF 4613 /* end confdefs.h. */ 4614 /* Define random to an innocuous variant, in case <limits.h> declares random. 4615 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4616 #define random innocuous_random 4617 3265 4618 /* System header to define __stub macros and hopefully few prototypes, 3266 which can conflict with char random (); below. */ 3267 #include <assert.h> 4619 which can conflict with char random (); below. 4620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4621 <limits.h> exists even on freestanding compilers. */ 4622 4623 #ifdef __STDC__ 4624 # include <limits.h> 4625 #else 4626 # include <assert.h> 4627 #endif 4628 4629 #undef random 4630 3268 4631 /* Override any gcc2 internal prototype to avoid an error. */ 3269 4632 #ifdef __cplusplus 3270 4633 extern "C" 4634 { 3271 4635 #endif 3272 4636 /* We use char because int might match the return type of a gcc2 3273 4637 builtin and then its argument prototype would still apply. */ 3274 4638 char random (); 3275 char (*f) ();3276 3277 int3278 main ()3279 {3280 4639 /* The GNU C library defines this for functions which it implements 3281 4640 to always fail with ENOSYS. Some functions are actually named … … 3284 4643 choke me 3285 4644 #else 3286 f = random; 3287 #endif 3288 4645 char (*f) () = random; 4646 #endif 4647 #ifdef __cplusplus 4648 } 4649 #endif 4650 4651 int 4652 main () 4653 { 4654 return f != random; 3289 4655 ; 3290 4656 return 0; … … 3292 4658 _ACEOF 3293 4659 rm -f conftest.$ac_objext conftest$ac_exeext 3294 if { (eval echo "$as_me:3294: \"$ac_link\"") >&5 3295 (eval $ac_link) 2>&5 3296 ac_status=$? 3297 echo "$as_me:3297: \$? = $ac_status" >&5 4660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4661 (eval $ac_link) 2>conftest.er1 4662 ac_status=$? 4663 grep -v '^ *+' conftest.er1 >conftest.err 4664 rm -f conftest.er1 4665 cat conftest.err >&5 4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3298 4667 (exit $ac_status); } && 3299 { ac_try='test -s conftest$ac_exeext' 3300 { (eval echo "$as_me:3300: \"$ac_try\"") >&5 3301 (eval $ac_try) 2>&5 3302 ac_status=$? 3303 echo "$as_me:3303: \$? = $ac_status" >&5 4668 { ac_try='test -z "$ac_c_werror_flag" 4669 || test ! -s conftest.err' 4670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4671 (eval $ac_try) 2>&5 4672 ac_status=$? 4673 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4674 (exit $ac_status); }; } && 4675 { ac_try='test -s conftest$ac_exeext' 4676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4677 (eval $ac_try) 2>&5 4678 ac_status=$? 4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3304 4680 (exit $ac_status); }; }; then 3305 4681 ac_cv_func_random=yes 3306 4682 else 3307 4683 echo "$as_me: failed program was:" >&5 3308 cat conftest.$ac_ext >&5 4684 sed 's/^/| /' conftest.$ac_ext >&5 4685 3309 4686 ac_cv_func_random=no 3310 4687 fi 3311 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3312 fi 3313 echo "$as_me:3313: result: $ac_cv_func_random" >&5 4688 rm -f conftest.err conftest.$ac_objext \ 4689 conftest$ac_exeext conftest.$ac_ext 4690 fi 4691 echo "$as_me:$LINENO: result: $ac_cv_func_random" >&5 3314 4692 echo "${ECHO_T}$ac_cv_func_random" >&6 3315 4693 if test $ac_cv_func_random = yes; then … … 3320 4698 3321 4699 if test $result = no ; then 3322 echo "$as_me: 3322: checking for rand" >&54700 echo "$as_me:$LINENO: checking for rand" >&5 3323 4701 echo $ECHO_N "checking for rand... $ECHO_C" >&6 3324 4702 if test "${ac_cv_func_rand+set}" = set; then … … 3326 4704 else 3327 4705 cat >conftest.$ac_ext <<_ACEOF 3328 #line 3328 "configure" 3329 #include "confdefs.h" 4706 /* confdefs.h. */ 4707 _ACEOF 4708 cat confdefs.h >>conftest.$ac_ext 4709 cat >>conftest.$ac_ext <<_ACEOF 4710 /* end confdefs.h. */ 4711 /* Define rand to an innocuous variant, in case <limits.h> declares rand. 4712 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4713 #define rand innocuous_rand 4714 3330 4715 /* System header to define __stub macros and hopefully few prototypes, 3331 which can conflict with char rand (); below. */ 3332 #include <assert.h> 4716 which can conflict with char rand (); below. 4717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4718 <limits.h> exists even on freestanding compilers. */ 4719 4720 #ifdef __STDC__ 4721 # include <limits.h> 4722 #else 4723 # include <assert.h> 4724 #endif 4725 4726 #undef rand 4727 3333 4728 /* Override any gcc2 internal prototype to avoid an error. */ 3334 4729 #ifdef __cplusplus 3335 4730 extern "C" 4731 { 3336 4732 #endif 3337 4733 /* We use char because int might match the return type of a gcc2 3338 4734 builtin and then its argument prototype would still apply. */ 3339 4735 char rand (); 3340 char (*f) ();3341 3342 int3343 main ()3344 {3345 4736 /* The GNU C library defines this for functions which it implements 3346 4737 to always fail with ENOSYS. Some functions are actually named … … 3349 4740 choke me 3350 4741 #else 3351 f = rand; 3352 #endif 3353 4742 char (*f) () = rand; 4743 #endif 4744 #ifdef __cplusplus 4745 } 4746 #endif 4747 4748 int 4749 main () 4750 { 4751 return f != rand; 3354 4752 ; 3355 4753 return 0; … … 3357 4755 _ACEOF 3358 4756 rm -f conftest.$ac_objext conftest$ac_exeext 3359 if { (eval echo "$as_me:3359: \"$ac_link\"") >&5 3360 (eval $ac_link) 2>&5 3361 ac_status=$? 3362 echo "$as_me:3362: \$? = $ac_status" >&5 4757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4758 (eval $ac_link) 2>conftest.er1 4759 ac_status=$? 4760 grep -v '^ *+' conftest.er1 >conftest.err 4761 rm -f conftest.er1 4762 cat conftest.err >&5 4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3363 4764 (exit $ac_status); } && 3364 { ac_try='test -s conftest$ac_exeext' 3365 { (eval echo "$as_me:3365: \"$ac_try\"") >&5 3366 (eval $ac_try) 2>&5 3367 ac_status=$? 3368 echo "$as_me:3368: \$? = $ac_status" >&5 4765 { ac_try='test -z "$ac_c_werror_flag" 4766 || test ! -s conftest.err' 4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4768 (eval $ac_try) 2>&5 4769 ac_status=$? 4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4771 (exit $ac_status); }; } && 4772 { ac_try='test -s conftest$ac_exeext' 4773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4774 (eval $ac_try) 2>&5 4775 ac_status=$? 4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3369 4777 (exit $ac_status); }; }; then 3370 4778 ac_cv_func_rand=yes 3371 4779 else 3372 4780 echo "$as_me: failed program was:" >&5 3373 cat conftest.$ac_ext >&5 4781 sed 's/^/| /' conftest.$ac_ext >&5 4782 3374 4783 ac_cv_func_rand=no 3375 4784 fi 3376 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3377 fi 3378 echo "$as_me:3378: result: $ac_cv_func_rand" >&5 4785 rm -f conftest.err conftest.$ac_objext \ 4786 conftest$ac_exeext conftest.$ac_ext 4787 fi 4788 echo "$as_me:$LINENO: result: $ac_cv_func_rand" >&5 3379 4789 echo "${ECHO_T}$ac_cv_func_rand" >&6 3380 4790 if test $ac_cv_func_rand = yes; then 3381 cat >>confdefs.h <<\ EOF4791 cat >>confdefs.h <<\_ACEOF 3382 4792 #define random rand 3383 EOF3384 3385 else 3386 { { echo "$as_me: 3386: error: random" >&54793 _ACEOF 4794 4795 else 4796 { { echo "$as_me:$LINENO: error: random" >&5 3387 4797 echo "$as_me: error: random" >&2;} 3388 4798 { (exit rand funtions not found); exit rand funtions not found; }; } … … 3390 4800 3391 4801 fi 3392 echo "$as_me: 3392: checking for readdir" >&54802 echo "$as_me:$LINENO: checking for readdir" >&5 3393 4803 echo $ECHO_N "checking for readdir... $ECHO_C" >&6 3394 4804 if test "${ac_cv_func_readdir+set}" = set; then … … 3396 4806 else 3397 4807 cat >conftest.$ac_ext <<_ACEOF 3398 #line 3398 "configure" 3399 #include "confdefs.h" 4808 /* confdefs.h. */ 4809 _ACEOF 4810 cat confdefs.h >>conftest.$ac_ext 4811 cat >>conftest.$ac_ext <<_ACEOF 4812 /* end confdefs.h. */ 4813 /* Define readdir to an innocuous variant, in case <limits.h> declares readdir. 4814 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4815 #define readdir innocuous_readdir 4816 3400 4817 /* System header to define __stub macros and hopefully few prototypes, 3401 which can conflict with char readdir (); below. */ 3402 #include <assert.h> 4818 which can conflict with char readdir (); below. 4819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4820 <limits.h> exists even on freestanding compilers. */ 4821 4822 #ifdef __STDC__ 4823 # include <limits.h> 4824 #else 4825 # include <assert.h> 4826 #endif 4827 4828 #undef readdir 4829 3403 4830 /* Override any gcc2 internal prototype to avoid an error. */ 3404 4831 #ifdef __cplusplus 3405 4832 extern "C" 4833 { 3406 4834 #endif 3407 4835 /* We use char because int might match the return type of a gcc2 3408 4836 builtin and then its argument prototype would still apply. */ 3409 4837 char readdir (); 3410 char (*f) ();3411 3412 int3413 main ()3414 {3415 4838 /* The GNU C library defines this for functions which it implements 3416 4839 to always fail with ENOSYS. Some functions are actually named … … 3419 4842 choke me 3420 4843 #else 3421 f = readdir; 3422 #endif 3423 4844 char (*f) () = readdir; 4845 #endif 4846 #ifdef __cplusplus 4847 } 4848 #endif 4849 4850 int 4851 main () 4852 { 4853 return f != readdir; 3424 4854 ; 3425 4855 return 0; … … 3427 4857 _ACEOF 3428 4858 rm -f conftest.$ac_objext conftest$ac_exeext 3429 if { (eval echo "$as_me:3429: \"$ac_link\"") >&5 3430 (eval $ac_link) 2>&5 3431 ac_status=$? 3432 echo "$as_me:3432: \$? = $ac_status" >&5 4859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4860 (eval $ac_link) 2>conftest.er1 4861 ac_status=$? 4862 grep -v '^ *+' conftest.er1 >conftest.err 4863 rm -f conftest.er1 4864 cat conftest.err >&5 4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3433 4866 (exit $ac_status); } && 3434 { ac_try='test -s conftest$ac_exeext' 3435 { (eval echo "$as_me:3435: \"$ac_try\"") >&5 3436 (eval $ac_try) 2>&5 3437 ac_status=$? 3438 echo "$as_me:3438: \$? = $ac_status" >&5 4867 { ac_try='test -z "$ac_c_werror_flag" 4868 || test ! -s conftest.err' 4869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4870 (eval $ac_try) 2>&5 4871 ac_status=$? 4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4873 (exit $ac_status); }; } && 4874 { ac_try='test -s conftest$ac_exeext' 4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4876 (eval $ac_try) 2>&5 4877 ac_status=$? 4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3439 4879 (exit $ac_status); }; }; then 3440 4880 ac_cv_func_readdir=yes 3441 4881 else 3442 4882 echo "$as_me: failed program was:" >&5 3443 cat conftest.$ac_ext >&5 4883 sed 's/^/| /' conftest.$ac_ext >&5 4884 3444 4885 ac_cv_func_readdir=no 3445 4886 fi 3446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3447 fi 3448 echo "$as_me:3448: result: $ac_cv_func_readdir" >&5 4887 rm -f conftest.err conftest.$ac_objext \ 4888 conftest$ac_exeext conftest.$ac_ext 4889 fi 4890 echo "$as_me:$LINENO: result: $ac_cv_func_readdir" >&5 3449 4891 echo "${ECHO_T}$ac_cv_func_readdir" >&6 3450 4892 if test $ac_cv_func_readdir = yes; then … … 3455 4897 3456 4898 if test $result = no ; then 3457 { { echo "$as_me: 3457: error: readdir funtion not found" >&54899 { { echo "$as_me:$LINENO: error: readdir funtion not found" >&5 3458 4900 echo "$as_me: error: readdir funtion not found" >&2;} 3459 4901 { (exit 1); exit 1; }; } 3460 4902 fi 3461 echo "$as_me: 3461: checking for read" >&54903 echo "$as_me:$LINENO: checking for read" >&5 3462 4904 echo $ECHO_N "checking for read... $ECHO_C" >&6 3463 4905 if test "${ac_cv_func_read+set}" = set; then … … 3465 4907 else 3466 4908 cat >conftest.$ac_ext <<_ACEOF 3467 #line 3467 "configure" 3468 #include "confdefs.h" 4909 /* confdefs.h. */ 4910 _ACEOF 4911 cat confdefs.h >>conftest.$ac_ext 4912 cat >>conftest.$ac_ext <<_ACEOF 4913 /* end confdefs.h. */ 4914 /* Define read to an innocuous variant, in case <limits.h> declares read. 4915 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 4916 #define read innocuous_read 4917 3469 4918 /* System header to define __stub macros and hopefully few prototypes, 3470 which can conflict with char read (); below. */ 3471 #include <assert.h> 4919 which can conflict with char read (); below. 4920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4921 <limits.h> exists even on freestanding compilers. */ 4922 4923 #ifdef __STDC__ 4924 # include <limits.h> 4925 #else 4926 # include <assert.h> 4927 #endif 4928 4929 #undef read 4930 3472 4931 /* Override any gcc2 internal prototype to avoid an error. */ 3473 4932 #ifdef __cplusplus 3474 4933 extern "C" 4934 { 3475 4935 #endif 3476 4936 /* We use char because int might match the return type of a gcc2 3477 4937 builtin and then its argument prototype would still apply. */ 3478 4938 char read (); 3479 char (*f) ();3480 3481 int3482 main ()3483 {3484 4939 /* The GNU C library defines this for functions which it implements 3485 4940 to always fail with ENOSYS. Some functions are actually named … … 3488 4943 choke me 3489 4944 #else 3490 f = read; 3491 #endif 3492 4945 char (*f) () = read; 4946 #endif 4947 #ifdef __cplusplus 4948 } 4949 #endif 4950 4951 int 4952 main () 4953 { 4954 return f != read; 3493 4955 ; 3494 4956 return 0; … … 3496 4958 _ACEOF 3497 4959 rm -f conftest.$ac_objext conftest$ac_exeext 3498 if { (eval echo "$as_me:3498: \"$ac_link\"") >&5 3499 (eval $ac_link) 2>&5 3500 ac_status=$? 3501 echo "$as_me:3501: \$? = $ac_status" >&5 4960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4961 (eval $ac_link) 2>conftest.er1 4962 ac_status=$? 4963 grep -v '^ *+' conftest.er1 >conftest.err 4964 rm -f conftest.er1 4965 cat conftest.err >&5 4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3502 4967 (exit $ac_status); } && 3503 { ac_try='test -s conftest$ac_exeext' 3504 { (eval echo "$as_me:3504: \"$ac_try\"") >&5 3505 (eval $ac_try) 2>&5 3506 ac_status=$? 3507 echo "$as_me:3507: \$? = $ac_status" >&5 4968 { ac_try='test -z "$ac_c_werror_flag" 4969 || test ! -s conftest.err' 4970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4971 (eval $ac_try) 2>&5 4972 ac_status=$? 4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4974 (exit $ac_status); }; } && 4975 { ac_try='test -s conftest$ac_exeext' 4976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4977 (eval $ac_try) 2>&5 4978 ac_status=$? 4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3508 4980 (exit $ac_status); }; }; then 3509 4981 ac_cv_func_read=yes 3510 4982 else 3511 4983 echo "$as_me: failed program was:" >&5 3512 cat conftest.$ac_ext >&5 4984 sed 's/^/| /' conftest.$ac_ext >&5 4985 3513 4986 ac_cv_func_read=no 3514 4987 fi 3515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3516 fi 3517 echo "$as_me:3517: result: $ac_cv_func_read" >&5 4988 rm -f conftest.err conftest.$ac_objext \ 4989 conftest$ac_exeext conftest.$ac_ext 4990 fi 4991 echo "$as_me:$LINENO: result: $ac_cv_func_read" >&5 3518 4992 echo "${ECHO_T}$ac_cv_func_read" >&6 3519 4993 if test $ac_cv_func_read = yes; then … … 3524 4998 3525 4999 if test $result = no ; then 3526 { { echo "$as_me: 3526: error: read funtion not found" >&55000 { { echo "$as_me:$LINENO: error: read funtion not found" >&5 3527 5001 echo "$as_me: error: read funtion not found" >&2;} 3528 5002 { (exit 1); exit 1; }; } 3529 5003 fi 3530 echo "$as_me: 3530: checking for select" >&55004 echo "$as_me:$LINENO: checking for select" >&5 3531 5005 echo $ECHO_N "checking for select... $ECHO_C" >&6 3532 5006 if test "${ac_cv_func_select+set}" = set; then … … 3534 5008 else 3535 5009 cat >conftest.$ac_ext <<_ACEOF 3536 #line 3536 "configure" 3537 #include "confdefs.h" 5010 /* confdefs.h. */ 5011 _ACEOF 5012 cat confdefs.h >>conftest.$ac_ext 5013 cat >>conftest.$ac_ext <<_ACEOF 5014 /* end confdefs.h. */ 5015 /* Define select to an innocuous variant, in case <limits.h> declares select. 5016 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5017 #define select innocuous_select 5018 3538 5019 /* System header to define __stub macros and hopefully few prototypes, 3539 which can conflict with char select (); below. */ 3540 #include <assert.h> 5020 which can conflict with char select (); below. 5021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5022 <limits.h> exists even on freestanding compilers. */ 5023 5024 #ifdef __STDC__ 5025 # include <limits.h> 5026 #else 5027 # include <assert.h> 5028 #endif 5029 5030 #undef select 5031 3541 5032 /* Override any gcc2 internal prototype to avoid an error. */ 3542 5033 #ifdef __cplusplus 3543 5034 extern "C" 5035 { 3544 5036 #endif 3545 5037 /* We use char because int might match the return type of a gcc2 3546 5038 builtin and then its argument prototype would still apply. */ 3547 5039 char select (); 3548 char (*f) ();3549 3550 int3551 main ()3552 {3553 5040 /* The GNU C library defines this for functions which it implements 3554 5041 to always fail with ENOSYS. Some functions are actually named … … 3557 5044 choke me 3558 5045 #else 3559 f = select; 3560 #endif 3561 5046 char (*f) () = select; 5047 #endif 5048 #ifdef __cplusplus 5049 } 5050 #endif 5051 5052 int 5053 main () 5054 { 5055 return f != select; 3562 5056 ; 3563 5057 return 0; … … 3565 5059 _ACEOF 3566 5060 rm -f conftest.$ac_objext conftest$ac_exeext 3567 if { (eval echo "$as_me:3567: \"$ac_link\"") >&5 3568 (eval $ac_link) 2>&5 3569 ac_status=$? 3570 echo "$as_me:3570: \$? = $ac_status" >&5 5061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5062 (eval $ac_link) 2>conftest.er1 5063 ac_status=$? 5064 grep -v '^ *+' conftest.er1 >conftest.err 5065 rm -f conftest.er1 5066 cat conftest.err >&5 5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3571 5068 (exit $ac_status); } && 3572 { ac_try='test -s conftest$ac_exeext' 3573 { (eval echo "$as_me:3573: \"$ac_try\"") >&5 3574 (eval $ac_try) 2>&5 3575 ac_status=$? 3576 echo "$as_me:3576: \$? = $ac_status" >&5 5069 { ac_try='test -z "$ac_c_werror_flag" 5070 || test ! -s conftest.err' 5071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5072 (eval $ac_try) 2>&5 5073 ac_status=$? 5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5075 (exit $ac_status); }; } && 5076 { ac_try='test -s conftest$ac_exeext' 5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5078 (eval $ac_try) 2>&5 5079 ac_status=$? 5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3577 5081 (exit $ac_status); }; }; then 3578 5082 ac_cv_func_select=yes 3579 5083 else 3580 5084 echo "$as_me: failed program was:" >&5 3581 cat conftest.$ac_ext >&5 5085 sed 's/^/| /' conftest.$ac_ext >&5 5086 3582 5087 ac_cv_func_select=no 3583 5088 fi 3584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3585 fi 3586 echo "$as_me:3586: result: $ac_cv_func_select" >&5 5089 rm -f conftest.err conftest.$ac_objext \ 5090 conftest$ac_exeext conftest.$ac_ext 5091 fi 5092 echo "$as_me:$LINENO: result: $ac_cv_func_select" >&5 3587 5093 echo "${ECHO_T}$ac_cv_func_select" >&6 3588 5094 if test $ac_cv_func_select = yes; then … … 3593 5099 3594 5100 if test $result = no ; then 3595 { { echo "$as_me: 3595: error: select funtion not found" >&55101 { { echo "$as_me:$LINENO: error: select funtion not found" >&5 3596 5102 echo "$as_me: error: select funtion not found" >&2;} 3597 5103 { (exit 1); exit 1; }; } 3598 5104 fi 3599 echo "$as_me: 3599: checking for setsid" >&55105 echo "$as_me:$LINENO: checking for setsid" >&5 3600 5106 echo $ECHO_N "checking for setsid... $ECHO_C" >&6 3601 5107 if test "${ac_cv_func_setsid+set}" = set; then … … 3603 5109 else 3604 5110 cat >conftest.$ac_ext <<_ACEOF 3605 #line 3605 "configure" 3606 #include "confdefs.h" 5111 /* confdefs.h. */ 5112 _ACEOF 5113 cat confdefs.h >>conftest.$ac_ext 5114 cat >>conftest.$ac_ext <<_ACEOF 5115 /* end confdefs.h. */ 5116 /* Define setsid to an innocuous variant, in case <limits.h> declares setsid. 5117 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5118 #define setsid innocuous_setsid 5119 3607 5120 /* System header to define __stub macros and hopefully few prototypes, 3608 which can conflict with char setsid (); below. */ 3609 #include <assert.h> 5121 which can conflict with char setsid (); below. 5122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5123 <limits.h> exists even on freestanding compilers. */ 5124 5125 #ifdef __STDC__ 5126 # include <limits.h> 5127 #else 5128 # include <assert.h> 5129 #endif 5130 5131 #undef setsid 5132 3610 5133 /* Override any gcc2 internal prototype to avoid an error. */ 3611 5134 #ifdef __cplusplus 3612 5135 extern "C" 5136 { 3613 5137 #endif 3614 5138 /* We use char because int might match the return type of a gcc2 3615 5139 builtin and then its argument prototype would still apply. */ 3616 5140 char setsid (); 3617 char (*f) ();3618 3619 int3620 main ()3621 {3622 5141 /* The GNU C library defines this for functions which it implements 3623 5142 to always fail with ENOSYS. Some functions are actually named … … 3626 5145 choke me 3627 5146 #else 3628 f = setsid; 3629 #endif 3630 5147 char (*f) () = setsid; 5148 #endif 5149 #ifdef __cplusplus 5150 } 5151 #endif 5152 5153 int 5154 main () 5155 { 5156 return f != setsid; 3631 5157 ; 3632 5158 return 0; … … 3634 5160 _ACEOF 3635 5161 rm -f conftest.$ac_objext conftest$ac_exeext 3636 if { (eval echo "$as_me:3636: \"$ac_link\"") >&5 3637 (eval $ac_link) 2>&5 3638 ac_status=$? 3639 echo "$as_me:3639: \$? = $ac_status" >&5 5162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5163 (eval $ac_link) 2>conftest.er1 5164 ac_status=$? 5165 grep -v '^ *+' conftest.er1 >conftest.err 5166 rm -f conftest.er1 5167 cat conftest.err >&5 5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3640 5169 (exit $ac_status); } && 3641 { ac_try='test -s conftest$ac_exeext' 3642 { (eval echo "$as_me:3642: \"$ac_try\"") >&5 3643 (eval $ac_try) 2>&5 3644 ac_status=$? 3645 echo "$as_me:3645: \$? = $ac_status" >&5 5170 { ac_try='test -z "$ac_c_werror_flag" 5171 || test ! -s conftest.err' 5172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5173 (eval $ac_try) 2>&5 5174 ac_status=$? 5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5176 (exit $ac_status); }; } && 5177 { ac_try='test -s conftest$ac_exeext' 5178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5179 (eval $ac_try) 2>&5 5180 ac_status=$? 5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3646 5182 (exit $ac_status); }; }; then 3647 5183 ac_cv_func_setsid=yes 3648 5184 else 3649 5185 echo "$as_me: failed program was:" >&5 3650 cat conftest.$ac_ext >&5 5186 sed 's/^/| /' conftest.$ac_ext >&5 5187 3651 5188 ac_cv_func_setsid=no 3652 5189 fi 3653 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3654 fi 3655 echo "$as_me:3655: result: $ac_cv_func_setsid" >&5 5190 rm -f conftest.err conftest.$ac_objext \ 5191 conftest$ac_exeext conftest.$ac_ext 5192 fi 5193 echo "$as_me:$LINENO: result: $ac_cv_func_setsid" >&5 3656 5194 echo "${ECHO_T}$ac_cv_func_setsid" >&6 3657 5195 if test $ac_cv_func_setsid = yes; then … … 3662 5200 3663 5201 if test $result = no ; then 3664 { { echo "$as_me: 3664: error: setsid funtion not found" >&55202 { { echo "$as_me:$LINENO: error: setsid funtion not found" >&5 3665 5203 echo "$as_me: error: setsid funtion not found" >&2;} 3666 5204 { (exit 1); exit 1; }; } 3667 5205 fi 3668 echo "$as_me: 3668: checking for sigaction" >&55206 echo "$as_me:$LINENO: checking for sigaction" >&5 3669 5207 echo $ECHO_N "checking for sigaction... $ECHO_C" >&6 3670 5208 if test "${ac_cv_func_sigaction+set}" = set; then … … 3672 5210 else 3673 5211 cat >conftest.$ac_ext <<_ACEOF 3674 #line 3674 "configure" 3675 #include "confdefs.h" 5212 /* confdefs.h. */ 5213 _ACEOF 5214 cat confdefs.h >>conftest.$ac_ext 5215 cat >>conftest.$ac_ext <<_ACEOF 5216 /* end confdefs.h. */ 5217 /* Define sigaction to an innocuous variant, in case <limits.h> declares sigaction. 5218 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5219 #define sigaction innocuous_sigaction 5220 3676 5221 /* System header to define __stub macros and hopefully few prototypes, 3677 which can conflict with char sigaction (); below. */ 3678 #include <assert.h> 5222 which can conflict with char sigaction (); below. 5223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5224 <limits.h> exists even on freestanding compilers. */ 5225 5226 #ifdef __STDC__ 5227 # include <limits.h> 5228 #else 5229 # include <assert.h> 5230 #endif 5231 5232 #undef sigaction 5233 3679 5234 /* Override any gcc2 internal prototype to avoid an error. */ 3680 5235 #ifdef __cplusplus 3681 5236 extern "C" 5237 { 3682 5238 #endif 3683 5239 /* We use char because int might match the return type of a gcc2 3684 5240 builtin and then its argument prototype would still apply. */ 3685 5241 char sigaction (); 3686 char (*f) ();3687 3688 int3689 main ()3690 {3691 5242 /* The GNU C library defines this for functions which it implements 3692 5243 to always fail with ENOSYS. Some functions are actually named … … 3695 5246 choke me 3696 5247 #else 3697 f = sigaction; 3698 #endif 3699 5248 char (*f) () = sigaction; 5249 #endif 5250 #ifdef __cplusplus 5251 } 5252 #endif 5253 5254 int 5255 main () 5256 { 5257 return f != sigaction; 3700 5258 ; 3701 5259 return 0; … … 3703 5261 _ACEOF 3704 5262 rm -f conftest.$ac_objext conftest$ac_exeext 3705 if { (eval echo "$as_me:3705: \"$ac_link\"") >&5 3706 (eval $ac_link) 2>&5 3707 ac_status=$? 3708 echo "$as_me:3708: \$? = $ac_status" >&5 5263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5264 (eval $ac_link) 2>conftest.er1 5265 ac_status=$? 5266 grep -v '^ *+' conftest.er1 >conftest.err 5267 rm -f conftest.er1 5268 cat conftest.err >&5 5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3709 5270 (exit $ac_status); } && 3710 { ac_try='test -s conftest$ac_exeext' 3711 { (eval echo "$as_me:3711: \"$ac_try\"") >&5 3712 (eval $ac_try) 2>&5 3713 ac_status=$? 3714 echo "$as_me:3714: \$? = $ac_status" >&5 5271 { ac_try='test -z "$ac_c_werror_flag" 5272 || test ! -s conftest.err' 5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5274 (eval $ac_try) 2>&5 5275 ac_status=$? 5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5277 (exit $ac_status); }; } && 5278 { ac_try='test -s conftest$ac_exeext' 5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5280 (eval $ac_try) 2>&5 5281 ac_status=$? 5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 5283 (exit $ac_status); }; }; then 3716 5284 ac_cv_func_sigaction=yes 3717 5285 else 3718 5286 echo "$as_me: failed program was:" >&5 3719 cat conftest.$ac_ext >&5 5287 sed 's/^/| /' conftest.$ac_ext >&5 5288 3720 5289 ac_cv_func_sigaction=no 3721 5290 fi 3722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3723 fi 3724 echo "$as_me:3724: result: $ac_cv_func_sigaction" >&5 5291 rm -f conftest.err conftest.$ac_objext \ 5292 conftest$ac_exeext conftest.$ac_ext 5293 fi 5294 echo "$as_me:$LINENO: result: $ac_cv_func_sigaction" >&5 3725 5295 echo "${ECHO_T}$ac_cv_func_sigaction" >&6 3726 5296 if test $ac_cv_func_sigaction = yes; then … … 3731 5301 3732 5302 if test $result = no ; then 3733 { { echo "$as_me: 3733: error: sigaction funtion not found" >&55303 { { echo "$as_me:$LINENO: error: sigaction funtion not found" >&5 3734 5304 echo "$as_me: error: sigaction funtion not found" >&2;} 3735 5305 { (exit 1); exit 1; }; } 3736 5306 fi 3737 echo "$as_me: 3737: checking for sigemptyset" >&55307 echo "$as_me:$LINENO: checking for sigemptyset" >&5 3738 5308 echo $ECHO_N "checking for sigemptyset... $ECHO_C" >&6 3739 5309 if test "${ac_cv_func_sigemptyset+set}" = set; then … … 3741 5311 else 3742 5312 cat >conftest.$ac_ext <<_ACEOF 3743 #line 3743 "configure" 3744 #include "confdefs.h" 5313 /* confdefs.h. */ 5314 _ACEOF 5315 cat confdefs.h >>conftest.$ac_ext 5316 cat >>conftest.$ac_ext <<_ACEOF 5317 /* end confdefs.h. */ 5318 /* Define sigemptyset to an innocuous variant, in case <limits.h> declares sigemptyset. 5319 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5320 #define sigemptyset innocuous_sigemptyset 5321 3745 5322 /* System header to define __stub macros and hopefully few prototypes, 3746 which can conflict with char sigemptyset (); below. */ 3747 #include <assert.h> 5323 which can conflict with char sigemptyset (); below. 5324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5325 <limits.h> exists even on freestanding compilers. */ 5326 5327 #ifdef __STDC__ 5328 # include <limits.h> 5329 #else 5330 # include <assert.h> 5331 #endif 5332 5333 #undef sigemptyset 5334 3748 5335 /* Override any gcc2 internal prototype to avoid an error. */ 3749 5336 #ifdef __cplusplus 3750 5337 extern "C" 5338 { 3751 5339 #endif 3752 5340 /* We use char because int might match the return type of a gcc2 3753 5341 builtin and then its argument prototype would still apply. */ 3754 5342 char sigemptyset (); 3755 char (*f) ();3756 3757 int3758 main ()3759 {3760 5343 /* The GNU C library defines this for functions which it implements 3761 5344 to always fail with ENOSYS. Some functions are actually named … … 3764 5347 choke me 3765 5348 #else 3766 f = sigemptyset; 3767 #endif 3768 5349 char (*f) () = sigemptyset; 5350 #endif 5351 #ifdef __cplusplus 5352 } 5353 #endif 5354 5355 int 5356 main () 5357 { 5358 return f != sigemptyset; 3769 5359 ; 3770 5360 return 0; … … 3772 5362 _ACEOF 3773 5363 rm -f conftest.$ac_objext conftest$ac_exeext 3774 if { (eval echo "$as_me:3774: \"$ac_link\"") >&5 3775 (eval $ac_link) 2>&5 3776 ac_status=$? 3777 echo "$as_me:3777: \$? = $ac_status" >&5 5364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5365 (eval $ac_link) 2>conftest.er1 5366 ac_status=$? 5367 grep -v '^ *+' conftest.er1 >conftest.err 5368 rm -f conftest.er1 5369 cat conftest.err >&5 5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 5371 (exit $ac_status); } && 3779 { ac_try='test -s conftest$ac_exeext' 3780 { (eval echo "$as_me:3780: \"$ac_try\"") >&5 3781 (eval $ac_try) 2>&5 3782 ac_status=$? 3783 echo "$as_me:3783: \$? = $ac_status" >&5 5372 { ac_try='test -z "$ac_c_werror_flag" 5373 || test ! -s conftest.err' 5374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5375 (eval $ac_try) 2>&5 5376 ac_status=$? 5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5378 (exit $ac_status); }; } && 5379 { ac_try='test -s conftest$ac_exeext' 5380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5381 (eval $ac_try) 2>&5 5382 ac_status=$? 5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3784 5384 (exit $ac_status); }; }; then 3785 5385 ac_cv_func_sigemptyset=yes 3786 5386 else 3787 5387 echo "$as_me: failed program was:" >&5 3788 cat conftest.$ac_ext >&5 5388 sed 's/^/| /' conftest.$ac_ext >&5 5389 3789 5390 ac_cv_func_sigemptyset=no 3790 5391 fi 3791 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3792 fi 3793 echo "$as_me:3793: result: $ac_cv_func_sigemptyset" >&5 5392 rm -f conftest.err conftest.$ac_objext \ 5393 conftest$ac_exeext conftest.$ac_ext 5394 fi 5395 echo "$as_me:$LINENO: result: $ac_cv_func_sigemptyset" >&5 3794 5396 echo "${ECHO_T}$ac_cv_func_sigemptyset" >&6 3795 5397 if test $ac_cv_func_sigemptyset = yes; then … … 3800 5402 3801 5403 if test $result = no ; then 3802 { { echo "$as_me: 3802: error: sigemptyset funtion not found" >&55404 { { echo "$as_me:$LINENO: error: sigemptyset funtion not found" >&5 3803 5405 echo "$as_me: error: sigemptyset funtion not found" >&2;} 3804 5406 { (exit 1); exit 1; }; } 3805 5407 fi 3806 echo "$as_me: 3806: checking for sleep" >&55408 echo "$as_me:$LINENO: checking for sleep" >&5 3807 5409 echo $ECHO_N "checking for sleep... $ECHO_C" >&6 3808 5410 if test "${ac_cv_func_sleep+set}" = set; then … … 3810 5412 else 3811 5413 cat >conftest.$ac_ext <<_ACEOF 3812 #line 3812 "configure" 3813 #include "confdefs.h" 5414 /* confdefs.h. */ 5415 _ACEOF 5416 cat confdefs.h >>conftest.$ac_ext 5417 cat >>conftest.$ac_ext <<_ACEOF 5418 /* end confdefs.h. */ 5419 /* Define sleep to an innocuous variant, in case <limits.h> declares sleep. 5420 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 5421 #define sleep innocuous_sleep 5422 3814 5423 /* System header to define __stub macros and hopefully few prototypes, 3815 which can conflict with char sleep (); below. */ 3816 #include <assert.h> 5424 which can conflict with char sleep (); below. 5425 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5426 <limits.h> exists even on freestanding compilers. */ 5427 5428 #ifdef __STDC__ 5429 # include <limits.h> 5430 #else 5431 # include <assert.h> 5432 #endif 5433 5434 #undef sleep 5435 3817 5436 /* Override any gcc2 internal prototype to avoid an error. */ 3818 5437 #ifdef __cplusplus 3819 5438 extern "C" 5439 { 3820 5440 #endif 3821 5441 /* We use char because int might match the return type of a gcc2 3822 5442 builtin and then its argument prototype would still apply. */ 3823 5443 char sleep (); 3824 char (*f) ();3825 3826 int3827 main ()3828 {3829 5444 /* The GNU C library defines this for functions which it implements 3830 5445 to always fail with ENOSYS. Some functions are actually named … … 3833 5448 choke me 3834 5449 #else 3835 f = sleep; 3836 #endif 3837 5450 char (*f) () = sleep; 5451 #endif 5452 #ifdef __cplusplus 5453 } 5454 #endif 5455 5456 int 5457 main () 5458 { 5459 return f != sleep; 3838 5460 ; 3839 5461 return 0; … … 3841 5463 _ACEOF 3842 5464 rm -f conftest.$ac_objext conftest$ac_exeext 3843 if { (eval echo "$as_me:3843: \"$ac_link\"") >&5 3844 (eval $ac_link) 2>&5 3845 ac_status=$? 3846 echo "$as_me:3846: \$? = $ac_status" >&5 5465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 5466 (eval $ac_link) 2>conftest.er1 5467 ac_status=$? 5468 grep -v '^ *+' conftest.er1 >conftest.err 5469 rm -f conftest.er1 5470 cat conftest.err >&5 5471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3847 5472 (exit $ac_status); } && 3848 { ac_try='test -s conftest$ac_exeext' 3849 { (eval echo "$as_me:3849: \"$ac_try\"") >&5 3850 (eval $ac_try) 2>&5 3851 ac_status=$? 3852 echo "$as_me:3852: \$? = $ac_status" >&5 5473 { ac_try='test -z "$ac_c_werror_flag" 5474 || test ! -s conftest.err' 5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5476 (eval $ac_try) 2>&5 5477 ac_status=$? 5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5479 (exit $ac_status); }; } && 5480 { ac_try='test -s conftest$ac_exeext' 5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 5482 (eval $ac_try) 2>&5 5483 ac_status=$? 5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3853 5485 (exit $ac_status); }; }; then 3854 5486 ac_cv_func_sleep=yes 3855 5487 else 3856 5488 echo "$as_me: failed program was:" >&5 3857 cat conftest.$ac_ext >&5 5489 sed 's/^/| /' conftest.$ac_ext >&5 5490 3858 5491 ac_cv_func_sleep=no 3859 5492 fi 3860 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3861 fi 3862 echo "$as_me:3862: result: $ac_cv_func_sleep" >&5 5493 rm -f conftest.err conftest.$ac_objext \ 5494 conftest$ac_exeext conftest.$ac_ext 5495 fi 5496 echo "$as_me:$LINENO: result: $ac_cv_func_sleep" >&5