Changeset 1358 for TI05-delivery/trunk


Ignore:
Timestamp:
03/08/06 16:57:58 (13 years ago)
Author:
spascoe
Message:

Overhalled the logging facility, packaging it so that it is
simmilar to bbftpd_private_auth. When compiling non-embedded bbftp
you can activate what is called "private-logging" with the
--enable-private-logging switch. As a result both the test_embedded.py
and test_bbftpd.py test scripts can be run without access to syslog.

Location:
TI05-delivery/trunk
Files:
2 added
2 deleted
39 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/trunk/setup.py

    r1328 r1358  
    4141    'bbftpd_private.c', 
    4242    'bbftpd_private_user.c', 
    43     'bbftpd_log.c' 
     43    'bbftpd_private_log.c' 
    4444    ] 
    4545 
     
    122122                   define_macros = [('NDG_AUTH', 1), 
    123123                                    ('LOCAL_SYSLOG_FACILITY', 1), 
    124                                     ('NO_SYSLOG', 1), 
    125124                                    ('_LARGEFILE64_SOURCE', 1), 
    126125                                    ('NDG_PYTHON_EMBED', 1), 
     126                                    ('PRIVATE_LOGGING', 1), 
    127127                                    ('NDG_DELIVERY_VERSION', version)], 
    128128                   include_dirs = [bbftpd_home+'/includes', bbftpd_home+'/bbftpd'], 
  • TI05-delivery/trunk/src/Makefile

    r1281 r1358  
    99DEFS="-DNDG_AUTH -DLOCAL_SYSLOG_FACILITY -DNDG_DELIVERY_VERSION=$(VERSION) -g" 
    1010CONFIG_OPTS=--prefix=$(PREFIX) --without-gzip --without-rfio --enable-authentication=private \ 
     11                --enable-private-logging \ 
    1112                CFLAGS=$(DEFS) 
    1213 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/Makefile.in

    r773 r1358  
    3030                storeafile.o 
    3131 
    32 OBJS = $(STDOBJS) @RFIOOBJS@ @CERTOBJS@ @PRIVOBJS@ 
     32OBJS = $(STDOBJS) @RFIOOBJS@ @CERTOBJS@ @PRIVOBJS@ @NDG_OBJS@ 
    3333 
    3434HEAD =  ./bbftpd.h \ 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd.c

    r1328 r1358  
    7070#include <signal.h> 
    7171#include <stdio.h> 
    72 #include <bbftpd_log.h> 
     72#include <bbftpd_private_log.h> 
    7373#include <sys/socket.h> 
    7474#include <sys/wait.h> 
     
    430430     
    431431    sprintf(daemonchar,"bbftpd v%s",VERSION) ; 
    432 #ifdef NO_SYSLOG 
    433     bbftpd_openlogfile("bbftpd.log", daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    434 #else 
    435432    bbftpd_openlog(daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    436 #endif 
    437433    /* 
    438434    ** Set the log mask to BBFTPD_EMERG (0)  
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_cd.c

    r1328 r1358  
    3939#include <netinet/in.h> 
    4040#include <stdio.h> 
    41 #include <bbftpd_log.h> 
     41#include <bbftpd_private_log.h> 
    4242#include <sys/stat.h> 
    4343#include <sys/types.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_cert.c

    r1328 r1358  
    3333#include <pwd.h> 
    3434#include <stdio.h> 
    35 #include <bbftpd_log.h> 
     35#include <bbftpd_private_log.h> 
    3636#include <sys/socket.h> 
    3737#if TIME_WITH_SYS_TIME 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_check.c

    r1328 r1358  
    3636#include <errno.h> 
    3737 
    38 #include <bbftpd_log.h> 
     38#include <bbftpd_private_log.h> 
    3939 
    4040#if TIME_WITH_SYS_TIME 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_crypt.c

    r1328 r1358  
    4141#include <sys/socket.h> 
    4242#include <netinet/in.h> 
    43 #include <bbftpd_log.h> 
     43#include <bbftpd_private_log.h> 
    4444#if TIME_WITH_SYS_TIME 
    4545# include <sys/time.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_daemon.c

    r1328 r1358  
    4848#include <netinet/tcp.h> 
    4949#include <stdio.h> 
    50 #include <bbftpd_log.h> 
     50#include <bbftpd_private_log.h> 
    5151#include <sys/socket.h> 
    5252#if TIME_WITH_SYS_TIME 
     
    161161        if ( i != controlsock) close(i); 
    162162    } 
    163 #ifdef NO_SYSLOG 
    164     bbftpd_openlogfile("bbftpd.log", daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    165 #else 
    166163    bbftpd_openlog(daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    167 #endif 
    168164    /* log PID in /var/run/bbftpd.pid */ 
    169165    { 
     
    225221            if (controlsock != 0 && controlsock != 1) 
    226222                close(controlsock); 
    227 #ifdef NO_SYSLOG 
    228                 bbftpd_openlogfile("bbftpd.log", daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    229 #else 
    230                 openlog(daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    231 #endif 
     223                bbftpd_openlog(daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    232224                incontrolsock = msgsock ; 
    233225                outcontrolsock = msgsock ; 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_list.c

    r1328 r1358  
    3939#include <fnmatch.h> 
    4040#include <netinet/in.h> 
    41 #include <bbftpd_log.h> 
     41#include <bbftpd_private_log.h> 
    4242#include <sys/stat.h> 
    4343#include <sys/types.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_login.c

    r1357 r1358  
    8181#endif 
    8282 
    83 #include <bbftpd_log.h> 
     83#include <bbftpd_private_log.h> 
    8484 
    8585 
     
    307307    ** Reopen the lag as the pam functions close it 
    308308    */ 
    309 #ifdef NO_SYSLOG 
    310     bbftpd_openlogfile("bbftpd.log", LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    311 #else 
    312309    bbftpd_openlog(daemonchar, LOG_PID | LOG_NDELAY, BBFTPD_FACILITY); 
    313 #endif 
    314310#else 
    315311    /* 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_message.c

    r1328 r1358  
    4747#include <errno.h> 
    4848 
    49 #include <bbftpd_log.h> 
     49#include <bbftpd_private_log.h> 
    5050#if TIME_WITH_SYS_TIME 
    5151# include <sys/time.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_mkdir.c

    r1328 r1358  
    3737 
    3838#include <stdio.h> 
    39 #include <bbftpd_log.h> 
     39#include <bbftpd_private_log.h> 
    4040#include <utime.h> 
    4141 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_private.c

    r1328 r1358  
    3030#include <netinet/in.h> 
    3131#include <stdio.h> 
    32 #include <bbftpd_log.h> 
     32#include <bbftpd_private_log.h> 
    3333#include <sys/socket.h> 
    3434#if TIME_WITH_SYS_TIME 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_private_user.c

    r1328 r1358  
    3333#include <daemon_proto.h> 
    3434#include <structures.h> 
    35 #include <bbftpd_log.h> 
     35#include <bbftpd_private_log.h> 
    3636 
    3737#include <bbftpd_private_user.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_readcontrol.c

    r1328 r1358  
    4141 
    4242#include <stdio.h> 
    43 #include <bbftpd_log.h> 
     43#include <bbftpd_private_log.h> 
    4444#include <utime.h> 
    4545#include <sys/types.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_retr.c

    r1328 r1358  
    4040#include <netinet/in.h> 
    4141#include <signal.h> 
    42 #include <bbftpd_log.h> 
     42#include <bbftpd_private_log.h> 
    4343#include <sys/stat.h> 
    4444#include <sys/types.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_retr_rfio.c

    r1328 r1358  
    4040#include <netinet/in.h> 
    4141#include <signal.h> 
    42 #include <bbftpd_log.h> 
     42#include <bbftpd_private_log.h> 
    4343#include <sys/stat.h> 
    4444#if TIME_WITH_SYS_TIME 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_rm.c

    r1328 r1358  
    3232 
    3333#include <stdio.h> 
    34 #include <bbftpd_log.h> 
     34#include <bbftpd_private_log.h> 
    3535#include <utime.h> 
    3636 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_signals.c

    r1328 r1358  
    3838#include <signal.h> 
    3939#include <sys/wait.h> 
    40 #include <bbftpd_log.h> 
     40#include <bbftpd_private_log.h> 
    4141#include <netinet/in.h> 
    4242#include <sys/socket.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_socket.c

    r1328 r1358  
    3434 
    3535#include <netinet/tcp.h> 
    36 #include <bbftpd_log.h> 
     36#include <bbftpd_private_log.h> 
    3737#include <sys/socket.h> 
    3838#include <sys/types.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_stat.c

    r1328 r1358  
    3232 
    3333#include <stdio.h> 
    34 #include <bbftpd_log.h> 
     34#include <bbftpd_private_log.h> 
    3535#include <utime.h> 
    3636#if TIME_WITH_SYS_TIME 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_statfs.c

    r1328 r1358  
    3535 
    3636#include <stdio.h> 
    37 #include <bbftpd_log.h> 
     37#include <bbftpd_private_log.h> 
    3838#include <utime.h> 
    3939#include <errno.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_store.c

    r1328 r1358  
    3939#include <netinet/in.h> 
    4040#include <signal.h> 
    41 #include <bbftpd_log.h> 
     41#include <bbftpd_private_log.h> 
    4242#include <sys/stat.h> 
    4343#if TIME_WITH_SYS_TIME 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/bbftpd_store_rfio.c

    r1328 r1358  
    4242#include <netinet/in.h> 
    4343#include <signal.h> 
    44 #include <bbftpd_log.h> 
     44#include <bbftpd_private_log.h> 
    4545#include <sys/stat.h> 
    4646#if TIME_WITH_SYS_TIME 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/changetodir.c

    r1328 r1358  
    4242#include <netinet/in.h> 
    4343#include <stdio.h> 
    44 #include <bbftpd_log.h> 
     44#include <bbftpd_private_log.h> 
    4545#include <sys/stat.h> 
    4646#include <sys/types.h> 
  • TI05-delivery/trunk/src/bbftp-server-3.2.0/bbftpd/configure

    r773 r1358  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by Autoconf 2.52. 
     3# Generated by GNU Autoconf 2.57. 
    44# 
    5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
     5# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 
    66# Free Software Foundation, Inc. 
    77# This configure script is free software; the Free Software Foundation 
    88# gives unlimited permission to copy, distribute and modify it. 
    9  
     9## --------------------- ## 
     10## M4sh Initialization.  ## 
     11## --------------------- ## 
     12 
     13# Be Bourne compatible 
     14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 
     15  emulate sh 
     16  NULLCMD=: 
     17  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 
     18  # is contrary to our usage.  Disable this feature. 
     19  alias -g '${1+"$@"}'='"$@"' 
     20elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 
     21  set -o posix 
     22fi 
     23 
     24# Support unset when possible. 
     25if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 
     26  as_unset=unset 
     27else 
     28  as_unset=false 
     29fi 
     30 
     31 
     32# Work around bugs in pre-3.0 UWIN ksh. 
     33$as_unset ENV MAIL MAILPATH 
     34PS1='$ ' 
     35PS2='> ' 
     36PS4='+ ' 
     37 
     38# NLS nuisances. 
     39for 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 
     43do 
     44  if (set +x; test -n "`(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 
     49done 
     50 
     51# Required to use basename. 
     52if expr a : '\(a\)' >/dev/null 2>&1; then 
     53  as_expr=expr 
     54else 
     55  as_expr=false 
     56fi 
     57 
     58if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 
     59  as_basename=basename 
     60else 
     61  as_basename=false 
     62fi 
     63 
     64 
     65# Name of the executable. 
     66as_me=`$as_basename "$0" || 
     67$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 
     68         X"$0" : 'X\(//\)$' \| \ 
     69         X"$0" : 'X\(/\)$' \| \ 
     70         .     : '\(.\)' 2>/dev/null || 
     71echo 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. 
    1079# Avoid depending upon Character Ranges. 
    1180as_cr_letters='abcdefghijklmnopqrstuvwxyz' 
     
    1584as_cr_alnum=$as_cr_Letters$as_cr_digits 
    1685 
    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. 
     87if 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 
     97fi 
     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 
     110for as_dir in $PATH 
     111do 
     112  IFS=$as_save_IFS 
     113  test -z "$as_dir" && as_dir=. 
     114  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 
     115done 
     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 
     131for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 
     132do 
     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 
     152done 
     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 
     187case `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= ;; 
     192esac 
    33193 
    34194if expr a : '\(a\)' >/dev/null 2>&1; then 
     
    56216rm -f conf$$ conf$$.exe conf$$.file 
    57217 
     218if mkdir -p . 2>/dev/null; then 
     219  as_mkdir_p=: 
     220else 
     221  as_mkdir_p=false 
     222fi 
     223 
    58224as_executable_p="test -f" 
    59225 
    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; } 
     226# Sed expression to map a string onto a valid CPP name. 
     227as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 
     228 
     229# Sed expression to map a string onto a valid variable name. 
     230as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 
     231 
    76232 
    77233# IFS 
     
    82238 
    83239# CDPATH. 
    84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } 
     240$as_unset CDPATH 
     241 
    85242 
    86243# Name of the host. 
     
    95252# 
    96253ac_default_prefix=/usr/local 
     254ac_config_libobj_dir=. 
    97255cross_compiling=no 
    98256subdirs= 
    99 MFLAGS= MAKEFLAGS= 
     257MFLAGS= 
     258MAKEFLAGS= 
    100259SHELL=${CONFIG_SHELL-/bin/sh} 
    101260 
     
    104263# only ac_max_sed_lines should be used. 
    105264: ${ac_max_here_lines=38} 
     265 
     266# Identity of this package. 
     267PACKAGE_NAME= 
     268PACKAGE_TARNAME= 
     269PACKAGE_VERSION= 
     270PACKAGE_STRING= 
     271PACKAGE_BUGREPORT= 
    106272 
    107273ac_unique_file="bbftpd.c" 
     
    142308# include <unistd.h> 
    143309#endif" 
     310 
     311ac_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 LIBOBJS CERTOBJS GFWLIB PRIVOBJS RFIOOBJS with_x509_user_cert with_x509_user_key with_x509_cert_dir with_gridmap NDG_OBJS LTLIBOBJS' 
     312ac_subst_files='' 
    144313 
    145314# Initialize some variables set by options. 
     
    181350mandir='${prefix}/man' 
    182351 
    183 # Identity of this package. 
    184 PACKAGE_NAME= 
    185 PACKAGE_TARNAME= 
    186 PACKAGE_VERSION= 
    187 PACKAGE_STRING= 
    188 PACKAGE_BUGREPORT= 
    189  
    190352ac_prev= 
    191353for ac_option 
     
    320482 
    321483  -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    322   | --no-cr | --no-c) 
     484  | --no-cr | --no-c | -n) 
    323485    no_create=yes ;; 
    324486 
     
    499661  case $ac_val in 
    500662    [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 
    501     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
     663    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    502664   { (exit 1); exit 1; }; };; 
    503665  esac 
     
    511673  case $ac_val in 
    512674    [\\/$]* | ?:[\\/]* ) ;; 
    513     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 
     675    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 
    514676   { (exit 1); exit 1; }; };; 
    515677  esac 
     
    518680# There might be people who depend on the old broken behavior: `$host' 
    519681# used to hold the argument of --host etc. 
     682# FIXME: To remove some day. 
    520683build=$build_alias 
    521684host=$host_alias 
    522685target=$target_alias 
    523686 
    524 # FIXME: should be removed in autoconf 3.0. 
     687# FIXME: To remove some day. 
    525688if test "x$host_alias" != x; then 
    526689  if test "x$build_alias" = x; then 
     
    538701test "$silent" = yes && exec 6>/dev/null 
    539702 
     703 
    540704# Find the source files, if location was not specified. 
    541705if test -z "$srcdir"; then 
    542706  ac_srcdir_defaulted=yes 
    543707  # 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=. 
     708  ac_confdir=`(dirname "$0") 2>/dev/null || 
     709$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 
     710         X"$0" : 'X\(//\)[^/]' \| \ 
     711         X"$0" : 'X\(//\)$' \| \ 
     712         X"$0" : 'X\(/\)' \| \ 
     713         .     : '\(.\)' 2>/dev/null || 
     714echo X"$0" | 
     715    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 
     716          /^X\(\/\/\)[^/].*/{ s//\1/; q; } 
     717          /^X\(\/\/\)$/{ s//\1/; q; } 
     718          /^X\(\/\).*/{ s//\1/; q; } 
     719          s/.*/./; q'` 
    547720  srcdir=$ac_confdir 
    548721  if test ! -r $srcdir/$ac_unique_file; then 
     
    554727if test ! -r $srcdir/$ac_unique_file; then 
    555728  if test "$ac_srcdir_defaulted" = yes; then 
    556     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 
     729    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 
    557730   { (exit 1); exit 1; }; } 
    558731  else 
    559     { echo "$as_me: error: cannot find sources in $srcdir" >&2 
     732    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 
    560733   { (exit 1); exit 1; }; } 
    561734  fi 
    562735fi 
     736(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 
     737  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 
     738   { (exit 1); exit 1; }; } 
    563739srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 
    564740ac_env_build_alias_set=${build_alias+set} 
     
    601777  # Omit some internal or obsolete options to make the list less imposing. 
    602778  # This message is too long to be a string in the A/UX 3.1 sh. 
    603   cat <<EOF 
     779  cat <<_ACEOF 
    604780\`configure' configures this package to adapt to many kinds of systems. 
    605781 
     
    622798      --srcdir=DIR        find the sources in DIR [configure dir or \`..'] 
    623799 
    624 EOF 
    625  
    626   cat <<EOF 
     800_ACEOF 
     801 
     802  cat <<_ACEOF 
    627803Installation directories: 
    628804  --prefix=PREFIX         install architecture-independent files in PREFIX 
     
    651827  --infodir=DIR          info documentation [PREFIX/info] 
    652828  --mandir=DIR           man documentation [PREFIX/man] 
    653 EOF 
    654  
    655   cat <<\EOF 
     829_ACEOF 
     830 
     831  cat <<\_ACEOF 
    656832 
    657833System types: 
    658834  --build=BUILD     configure for building on BUILD [guessed] 
    659   --host=HOST       build programs to run on HOST [BUILD] 
    660 EOF 
     835  --host=HOST       cross-compile to build programs to run on HOST [BUILD] 
     836_ACEOF 
    661837fi 
    662838 
    663839if test -n "$ac_init_help"; then 
    664840 
    665   cat <<\EOF 
     841  cat <<\_ACEOF 
    666842 
    667843Optional Features: 
     
    673849  --disable-authentication                  Use ssh and password modules ONLY (DEFAULT) 
    674850 
     851  --enable-private-logging    Uses the bbftpd_private_log.c module to override syslog. 
     852 
     853 
    675854Optional Packages: 
    676855  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] 
     
    697876 
    698877        --with-gridmap             Location of the gridmap file (DEFAULT=/etc/grid-security/grid-mapfile) 
    699  
    700   --with-rfio             Enable RFIO interface: automatic search (DEFAULT) in /usr/local 
    701   --with-rfio=DIR         Enable RFIO interface: search libshift in DIR/lib and .h in DIR/include 
    702   --without-rfio          Disable RFIO interface 
    703  
    704   --with-hpss             Enable HPSS interface: automatic search (DEFAULT) in /usr/local 
    705   --with-hpss=DIR         Enable HPSS interface: search libhpss in DIR/lib 
    706   --without-hpss          Disable HPSS interface 
    707878 
    708879  --with-ssl              Enable encoding: automatic search (DEFAULT) 
     
    728899it to find libraries and programs with nonstandard names/locations. 
    729900 
    730 EOF 
     901_ACEOF 
    731902fi 
    732903 
     
    734905  # If there are subdirs, report their specific --help. 
    735906  ac_popdir=`pwd` 
    736   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue 
    737     cd $ac_subdir 
    738     # A "../" for each directory in /$ac_subdir. 
    739     ac_dots=`echo $ac_subdir | 
    740              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` 
    741  
    742     case $srcdir in 
    743     .) # No --srcdir option.  We are building in place. 
    744       ac_sub_srcdir=$srcdir ;; 
    745     [\\/]* | ?:[\\/]* ) # Absolute path. 
    746       ac_sub_srcdir=$srcdir/$ac_subdir ;; 
    747     *) # Relative path. 
    748       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; 
    749     esac 
    750  
     907  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 
     908    test -d $ac_dir || continue 
     909    ac_builddir=. 
     910 
     911if test "$ac_dir" != .; then 
     912  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 
     913  # A "../" for each directory in $ac_dir_suffix. 
     914  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 
     915else 
     916  ac_dir_suffix= ac_top_builddir= 
     917fi 
     918 
     919case $srcdir in 
     920  .)  # No --srcdir option.  We are building in place. 
     921    ac_srcdir=. 
     922    if test -z "$ac_top_builddir"; then 
     923       ac_top_srcdir=. 
     924    else 
     925       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 
     926    fi ;; 
     927  [\\/]* | ?:[\\/]* )  # Absolute path. 
     928    ac_srcdir=$srcdir$ac_dir_suffix; 
     929    ac_top_srcdir=$srcdir ;; 
     930  *) # Relative path. 
     931    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 
     932    ac_top_srcdir=$ac_top_builddir$srcdir ;; 
     933esac 
     934# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 
     935# absolute. 
     936ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 
     937ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` 
     938ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 
     939ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 
     940 
     941    cd $ac_dir 
    751942    # Check for guested configure; otherwise get Cygnus style configure. 
    752     if test -f $ac_sub_srcdir/configure.gnu; then 
     943    if test -f $ac_srcdir/configure.gnu; then 
    753944      echo 
    754       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive 
    755     elif test -f $ac_sub_srcdir/configure; then 
     945      $SHELL $ac_srcdir/configure.gnu  --help=recursive 
     946    elif test -f $ac_srcdir/configure; then 
    756947      echo 
    757       $SHELL $ac_sub_srcdir/configure  --help=recursive 
    758     elif test -f $ac_sub_srcdir/configure.ac || 
    759            test -f $ac_sub_srcdir/configure.in; then 
     948      $SHELL $ac_srcdir/configure  --help=recursive 
     949    elif test -f $ac_srcdir/configure.ac || 
     950           test -f $ac_srcdir/configure.in; then 
    760951      echo 
    761952      $ac_configure --help 
    762953    else 
    763       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 
     954      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 
    764955    fi 
    765956    cd $ac_popdir 
     
    769960test -n "$ac_init_help" && exit 0 
    770961if $ac_init_version; then 
    771   cat <<\EOF 
    772  
    773 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 
     962  cat <<\_ACEOF 
     963 
     964Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 
    774965Free Software Foundation, Inc. 
    775966This configure script is free software; the Free Software Foundation 
    776967gives unlimited permission to copy, distribute and modify it. 
    777 EOF 
     968_ACEOF 
    778969  exit 0 
    779970fi 
    780971exec 5>config.log 
    781 cat >&5 <<EOF 
     972cat >&5 <<_ACEOF 
    782973This file contains any messages produced by compilers while 
    783974running configure, to aid debugging if configure makes a mistake. 
    784975 
    785976It was created by $as_me, which was 
    786 generated by GNU Autoconf 2.52.  Invocation command line was 
     977generated by GNU Autoconf 2.57.  Invocation command line was 
    787978 
    788979  $ $0 $@ 
    789980 
    790 EOF 
     981_ACEOF 
    791982{ 
    792983cat <<_ASUNAME 
    793 ## ---------- ## 
    794 ## Platform.  ## 
    795 ## ---------- ## 
     984## --------- ## 
     985## Platform. ## 
     986## --------- ## 
    796987 
    797988hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 
     
    8121003/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` 
    8131004 
    814 PATH = $PATH 
    815  
    8161005_ASUNAME 
     1006 
     1007as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1008for as_dir in $PATH 
     1009do 
     1010  IFS=$as_save_IFS 
     1011  test -z "$as_dir" && as_dir=. 
     1012  echo "PATH: $as_dir" 
     1013done 
     1014 
    8171015} >&5 
    8181016 
    819 cat >&5 <<EOF 
    820 ## ------------ ## 
    821 ## Core tests.  ## 
    822 ## ------------ ## 
    823  
    824 EOF 
     1017cat >&5 <<_ACEOF 
     1018 
     1019 
     1020## ----------- ## 
     1021## Core tests. ## 
     1022## ----------- ## 
     1023 
     1024_ACEOF 
     1025 
    8251026 
    8261027# Keep a trace of the command line. 
    8271028# Strip out --no-create and --no-recursion so they do not pile up. 
     1029# Strip out --silent because we don't want to record it for future runs. 
    8281030# Also quote any args containing shell meta-characters. 
     1031# Make two passes to allow for proper duplicate-argument suppression. 
    8291032ac_configure_args= 
     1033ac_configure_args0= 
     1034ac_configure_args1= 
    8301035ac_sep= 
    831 for ac_arg 
     1036ac_must_keep_next=false 
     1037for ac_pass in 1 2 
    8321038do 
    833   case $ac_arg in 
    834   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 
    835   | --no-cr | --no-c) ;; 
    836   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 
    837   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 
    838   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    839     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` 
    840     ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
    841     ac_sep=" " ;; 
    842   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" 
    843      ac_sep=" " ;; 
    844   esac 
    845   # Get rid of the leading space. 
     1039  for ac_arg 
     1040  do 
     1041    case $ac_arg in 
     1042    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 
     1043    -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 
     1044    | -silent | --silent | --silen | --sile | --sil) 
     1045      continue ;; 
     1046    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
     1047      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1048    esac 
     1049    case $ac_pass in 
     1050    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 
     1051    2) 
     1052      ac_configure_args1="$ac_configure_args1 '$ac_arg'" 
     1053      if test $ac_must_keep_next = true; then 
     1054        ac_must_keep_next=false # Got value, back to normal. 
     1055      else 
     1056        case $ac_arg in 
     1057          *=* | --config-cache | -C | -disable-* | --disable-* \ 
     1058          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 
     1059          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 
     1060          | -with-* | --with-* | -without-* | --without-* | --x) 
     1061            case "$ac_configure_args0 " in 
     1062              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 
     1063            esac 
     1064            ;; 
     1065          -* ) ac_must_keep_next=true ;; 
     1066        esac 
     1067      fi 
     1068      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 
     1069      # Get rid of the leading space. 
     1070      ac_sep=" " 
     1071      ;; 
     1072    esac 
     1073  done 
    8461074done 
     1075$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 
     1076$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 
    8471077 
    8481078# When interrupted or exit'd, cleanup temporary files, and complete 
    8491079# config.log.  We remove comments because anyway the quotes in there 
    8501080# would cause problems or look ugly. 
     1081# WARNING: Be sure not to use single quotes in there, as some shells, 
     1082# such as our DU 5.0 friend, will then `close' the trap. 
    8511083trap 'exit_status=$? 
    8521084  # Save into config.log some information that might help in debugging. 
    853   echo >&5 
    854   echo "## ----------------- ##" >&5 
    855   echo "## Cache variables.  ##" >&5 
    856   echo "## ----------------- ##" >&5 
    857   echo >&5 
    858   # The following way of writing the cache mishandles newlines in values, 
     1085  { 
     1086    echo 
     1087 
     1088    cat <<\_ASBOX 
     1089## ---------------- ## 
     1090## Cache variables. ## 
     1091## ---------------- ## 
     1092_ASBOX 
     1093    echo 
     1094    # The following way of writing the cache mishandles newlines in values, 
    8591095{ 
    8601096  (set) 2>&1 | 
     
    8701106      ;; 
    8711107    esac; 
    872 } >&5 
    873   sed "/^$/d" confdefs.h >conftest.log 
    874   if test -s conftest.log; then 
    875     echo >&5 
    876     echo "## ------------ ##" >&5 
    877     echo "## confdefs.h.  ##" >&5 
    878     echo "## ------------ ##" >&5 
    879     echo >&5 
    880     cat conftest.log >&5 
    881   fi 
    882   (echo; echo) >&5 
    883   test "$ac_signal" != 0 && 
    884     echo "$as_me: caught signal $ac_signal" >&5 
    885   echo "$as_me: exit $exit_status" >&5 
    886   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && 
     1108} 
     1109    echo 
     1110 
     1111    cat <<\_ASBOX 
     1112## ----------------- ## 
     1113## Output variables. ## 
     1114## ----------------- ## 
     1115_ASBOX 
     1116    echo 
     1117    for ac_var in $ac_subst_vars 
     1118    do 
     1119      eval ac_val=$`echo $ac_var` 
     1120      echo "$ac_var='"'"'$ac_val'"'"'" 
     1121    done | sort 
     1122    echo 
     1123 
     1124    if test -n "$ac_subst_files"; then 
     1125      cat <<\_ASBOX 
     1126## ------------- ## 
     1127## Output files. ## 
     1128## ------------- ## 
     1129_ASBOX 
     1130      echo 
     1131      for ac_var in $ac_subst_files 
     1132      do 
     1133        eval ac_val=$`echo $ac_var` 
     1134        echo "$ac_var='"'"'$ac_val'"'"'" 
     1135      done | sort 
     1136      echo 
     1137    fi 
     1138 
     1139    if test -s confdefs.h; then 
     1140      cat <<\_ASBOX 
     1141## ----------- ## 
     1142## confdefs.h. ## 
     1143## ----------- ## 
     1144_ASBOX 
     1145      echo 
     1146      sed "/^$/d" confdefs.h | sort 
     1147      echo 
     1148    fi 
     1149    test "$ac_signal" != 0 && 
     1150      echo "$as_me: caught signal $ac_signal" 
     1151    echo "$as_me: exit $exit_status" 
     1152  } >&5 
     1153  rm -f core core.* *.core && 
     1154  rm -rf conftest* confdefs* conf$$* $ac_clean_files && 
    8871155    exit $exit_status 
    8881156     ' 0 
     
    8961164# AIX cpp loses on an empty file, so make sure it contains at least a newline. 
    8971165echo >confdefs.h 
     1166 
     1167# Predefined preprocessor variables. 
     1168 
     1169cat >>confdefs.h <<_ACEOF 
     1170#define PACKAGE_NAME "$PACKAGE_NAME" 
     1171_ACEOF 
     1172 
     1173 
     1174cat >>confdefs.h <<_ACEOF 
     1175#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 
     1176_ACEOF 
     1177 
     1178 
     1179cat >>confdefs.h <<_ACEOF 
     1180#define PACKAGE_VERSION "$PACKAGE_VERSION" 
     1181_ACEOF 
     1182 
     1183 
     1184cat >>confdefs.h <<_ACEOF 
     1185#define PACKAGE_STRING "$PACKAGE_STRING" 
     1186_ACEOF 
     1187 
     1188 
     1189cat >>confdefs.h <<_ACEOF 
     1190#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 
     1191_ACEOF 
     1192 
    8981193 
    8991194# Let the site file select an alternate cache file if it wants to. 
     
    9081203for ac_site_file in $CONFIG_SITE; do 
    9091204  if test -r "$ac_site_file"; then 
    910     { echo "$as_me:910: loading site script $ac_site_file" >&5 
     1205    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 
    9111206echo "$as_me: loading site script $ac_site_file" >&6;} 
    912     cat "$ac_site_file" >&5 
     1207    sed 's/^/| /' "$ac_site_file" >&5 
    9131208    . "$ac_site_file" 
    9141209  fi 
     
    9191214  # files actually), so we avoid doing that. 
    9201215  if test -f "$cache_file"; then 
    921     { echo "$as_me:921: loading cache $cache_file" >&5 
     1216    { echo "$as_me:$LINENO: loading cache $cache_file" >&5 
    9221217echo "$as_me: loading cache $cache_file" >&6;} 
    9231218    case $cache_file in 
     
    9271222  fi 
    9281223else 
    929   { echo "$as_me:929: creating cache $cache_file" >&5 
     1224  { echo "$as_me:$LINENO: creating cache $cache_file" >&5 
    9301225echo "$as_me: creating cache $cache_file" >&6;} 
    9311226  >$cache_file 
     
    9431238  case $ac_old_set,$ac_new_set in 
    9441239    set,) 
    945       { echo "$as_me:945: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
     1240      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 
    9461241echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 
    9471242      ac_cache_corrupted=: ;; 
    9481243    ,set) 
    949       { echo "$as_me:949: error: \`$ac_var' was not set in the previous run" >&5 
     1244      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 
    9501245echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 
    9511246      ac_cache_corrupted=: ;; 
     
    9531248    *) 
    9541249      if test "x$ac_old_val" != "x$ac_new_val"; then 
    955         { echo "$as_me:955: error: \`$ac_var' has changed since the previous run:" >&5 
     1250        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 
    9561251echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 
    957         { echo "$as_me:957:   former value:  $ac_old_val" >&5 
     1252        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 
    9581253echo "$as_me:   former value:  $ac_old_val" >&2;} 
    959         { echo "$as_me:959:   current value: $ac_new_val" >&5 
     1254        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 
    9601255echo "$as_me:   current value: $ac_new_val" >&2;} 
    9611256        ac_cache_corrupted=: 
    9621257      fi;; 
    9631258  esac 
    964   # Pass precious variables to config.status.  It doesn't matter if 
    965   # we pass some twice (in addition to the command line arguments). 
     1259  # Pass precious variables to config.status. 
    9661260  if test "$ac_new_set" = set; then 
    9671261    case $ac_new_val in 
    9681262    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 
    969       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` 
    970       ac_configure_args="$ac_configure_args '$ac_arg'" 
    971       ;; 
    972     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" 
    973        ;; 
     1263      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 
     1264    *) ac_arg=$ac_var=$ac_new_val ;; 
     1265    esac 
     1266    case " $ac_configure_args " in 
     1267      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. 
     1268      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 
    9741269    esac 
    9751270  fi 
    9761271done 
    9771272if $ac_cache_corrupted; then 
    978   { echo "$as_me:978: error: changes in the environment can compromise the build" >&5 
     1273  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 
    9791274echo "$as_me: error: changes in the environment can compromise the build" >&2;} 
    980   { { echo "$as_me:980: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
     1275  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 
    9811276echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 
    9821277   { (exit 1); exit 1; }; } 
     
    9891284ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    9901285 
    991 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 
    992   *c*,-n*) ECHO_N= ECHO_C=' 
    993 ' ECHO_T='      ' ;; 
    994   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; 
    995   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;; 
    996 esac 
    997 echo "#! $SHELL" >conftest.sh 
    998 echo  "exit 0"   >>conftest.sh 
    999 chmod +x conftest.sh 
    1000 if { (echo "$as_me:1000: PATH=\".;.\"; conftest.sh") >&5 
    1001   (PATH=".;."; conftest.sh) 2>&5 
    1002   ac_status=$? 
    1003   echo "$as_me:1003: \$? = $ac_status" >&5 
    1004   (exit $ac_status); }; then 
    1005   ac_path_separator=';' 
    1006 else 
    1007   ac_path_separator=: 
    1008 fi 
    1009 PATH_SEPARATOR="$ac_path_separator" 
    1010 rm -f conftest.sh 
    1011  
    1012 ac_config_headers="$ac_config_headers bbftpd.h:../includes/bbftp.h.in" 
     1286 
     1287 
     1288 
     1289 
     1290 
     1291 
     1292 
     1293 
     1294 
     1295 
     1296 
     1297 
     1298 
     1299 
     1300 
     1301 
     1302 
     1303 
     1304 
     1305          ac_config_headers="$ac_config_headers bbftpd.h:../includes/bbftp.h.in" 
     1306 
    10131307 
    10141308ac_ext=c 
     
    10221316    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 
    10231317set dummy $ac_tool_prefix$ac_prog; ac_word=$2 
    1024 echo "$as_me:1024: checking for $ac_word" >&5 
     1318echo "$as_me:$LINENO: checking for $ac_word" >&5 
    10251319echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    10261320if test "${ac_cv_prog_CC+set}" = set; then 
     
    10301324  ac_cv_prog_CC="$CC" # Let the user override the test. 
    10311325else 
    1032   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1033 ac_dummy="$PATH" 
    1034 for ac_dir in $ac_dummy; do 
    1035   IFS=$ac_save_IFS 
    1036   test -z "$ac_dir" && ac_dir=. 
    1037   $as_executable_p "$ac_dir/$ac_word" || continue 
    1038 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
    1039 echo "$as_me:1039: found $ac_dir/$ac_word" >&5 
    1040 break 
     1326as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1327for as_dir in $PATH 
     1328do 
     1329  IFS=$as_save_IFS 
     1330  test -z "$as_dir" && as_dir=. 
     1331  for ac_exec_ext in '' $ac_executable_extensions; do 
     1332  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1333    ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 
     1334    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1335    break 2 
     1336  fi 
     1337done 
    10411338done 
    10421339 
     
    10451342CC=$ac_cv_prog_CC 
    10461343if test -n "$CC"; then 
    1047   echo "$as_me:1047: result: $CC" >&5 
     1344  echo "$as_me:$LINENO: result: $CC" >&5 
    10481345echo "${ECHO_T}$CC" >&6 
    10491346else 
    1050   echo "$as_me:1050: result: no" >&5 
     1347  echo "$as_me:$LINENO: result: no" >&5 
    10511348echo "${ECHO_T}no" >&6 
    10521349fi 
     
    10611358  # Extract the first word of "$ac_prog", so it can be a program name with args. 
    10621359set dummy $ac_prog; ac_word=$2 
    1063 echo "$as_me:1063: checking for $ac_word" >&5 
     1360echo "$as_me:$LINENO: checking for $ac_word" >&5 
    10641361echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
    10651362if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 
     
    10691366  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 
    10701367else 
    1071   ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1072 ac_dummy="$PATH" 
    1073 for ac_dir in $ac_dummy; do 
    1074   IFS=$ac_save_IFS 
    1075   test -z "$ac_dir" && ac_dir=. 
    1076   $as_executable_p "$ac_dir/$ac_word" || continue 
    1077 ac_cv_prog_ac_ct_CC="$ac_prog" 
    1078 echo "$as_me:1078: found $ac_dir/$ac_word" >&5 
    1079 break 
     1368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     1369for as_dir in $PATH 
     1370do 
     1371  IFS=$as_save_IFS 
     1372  test -z "$as_dir" && as_dir=. 
     1373  for ac_exec_ext in '' $ac_executable_extensions; do 
     1374  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     1375    ac_cv_prog_ac_ct_CC="$ac_prog" 
     1376    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     1377    break 2 
     1378  fi 
     1379done 
    10801380done 
    10811381 
     
    10841384ac_ct_CC=$ac_cv_prog_ac_ct_CC 
    10851385if test -n "$ac_ct_CC"; then 
    1086   echo "$as_me:1086: result: $ac_ct_CC" >&5 
     1386  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 
    10871387echo "${ECHO_T}$ac_ct_CC" >&6 
    10881388else 
    1089   echo "$as_me:1089: result: no" >&5 
     1389  echo "$as_me:$LINENO: result: no" >&5 
    10901390echo "${ECHO_T}no" >&6 
    10911391fi 
     
    10971397fi 
    10981398 
    1099 test -z "$CC" && { { echo "$as_me:1099: error: no acceptable cc found in \$PATH" >&5 
    1100 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} 
     1399 
     1400test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 
     1401See \`config.log' for more details." >&5 
     1402echo "$as_me: error: no acceptable C compiler found in \$PATH 
     1403See \`config.log' for more details." >&2;} 
    11011404   { (exit 1); exit 1; }; } 
    11021405 
    11031406# Provide some information about the compiler. 
    1104 echo "$as_me:1104:" \ 
     1407echo "$as_me:$LINENO:" \ 
    11051408     "checking for C compiler version" >&5 
    11061409ac_compiler=`set X $ac_compile; echo $2` 
    1107 { (eval echo "$as_me:1107: \"$ac_compiler --version </dev/null >&5\"") >&5 
     1410{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 
    11081411  (eval $ac_compiler --version </dev/null >&5) 2>&5 
    11091412  ac_status=$? 
    1110   echo "$as_me:1110: \$? = $ac_status" >&5 
     1413  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11111414  (exit $ac_status); } 
    1112 { (eval echo "$as_me:1112: \"$ac_compiler -v </dev/null >&5\"") >&5 
     1415{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 
    11131416  (eval $ac_compiler -v </dev/null >&5) 2>&5 
    11141417  ac_status=$? 
    1115   echo "$as_me:1115: \$? = $ac_status" >&5 
     1418  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11161419  (exit $ac_status); } 
    1117 { (eval echo "$as_me:1117: \"$ac_compiler -V </dev/null >&5\"") >&5 
     1420{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 
    11181421  (eval $ac_compiler -V </dev/null >&5) 2>&5 
    11191422  ac_status=$? 
    1120   echo "$as_me:1120: \$? = $ac_status" >&5 
     1423  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11211424  (exit $ac_status); } 
    11221425 
    11231426cat >conftest.$ac_ext <<_ACEOF 
    1124 #line 1124 "configure" 
    1125 #include "confdefs.h" 
     1427#line $LINENO "configure" 
     1428/* confdefs.h.  */ 
     1429_ACEOF 
     1430cat confdefs.h >>conftest.$ac_ext 
     1431cat >>conftest.$ac_ext <<_ACEOF 
     1432/* end confdefs.h.  */ 
    11261433 
    11271434int 
     
    11341441_ACEOF 
    11351442ac_clean_files_save=$ac_clean_files 
    1136 ac_clean_files="$ac_clean_files a.out a.exe" 
     1443ac_clean_files="$ac_clean_files a.out a.exe b.out" 
    11371444# Try to create an executable without -o first, disregard a.out. 
    11381445# It will help us diagnose broken compilers, and finding out an intuition 
    11391446# of exeext. 
    1140 echo "$as_me:1140: checking for C compiler default output" >&5 
     1447echo "$as_me:$LINENO: checking for C compiler default output" >&5 
    11411448echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 
    11421449ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 
    1143 if { (eval echo "$as_me:1143: \"$ac_link_default\"") >&5 
     1450if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 
    11441451  (eval $ac_link_default) 2>&5 
    11451452  ac_status=$? 
    1146   echo "$as_me:1146: \$? = $ac_status" >&5 
     1453  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11471454  (exit $ac_status); }; then 
    11481455  # Find the output, starting from the most likely.  This scheme is 
    11491456# not robust to junk in `.', hence go to wildcards (a.*) only as a last 
    11501457# resort. 
    1151 for ac_file in `ls a.exe conftest.exe 2>/dev/null; 
    1152                 ls a.out conftest 2>/dev/null; 
    1153                 ls a.* conftest.* 2>/dev/null`; do 
     1458 
     1459# Be careful to initialize this variable, since it used to be cached. 
     1460# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 
     1461ac_cv_exeext= 
     1462# b.out is created by i960 compilers. 
     1463for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 
     1464do 
     1465  test -f "$ac_file" || continue 
    11541466  case $ac_file in 
    1155     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 
    1156     a.out ) # We found the default executable, but exeext='' is most 
    1157             # certainly right. 
    1158             break;; 
    1159     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    1160           # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 
    1161           export ac_cv_exeext 
    1162           break;; 
    1163     * ) break;; 
     1467    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 
     1468        ;; 
     1469    conftest.$ac_ext ) 
     1470        # This is the source file. 
     1471        ;; 
     1472    [ab].out ) 
     1473        # We found the default executable, but exeext='' is most 
     1474        # certainly right. 
     1475        break;; 
     1476    *.* ) 
     1477        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
     1478        # FIXME: I believe we export ac_cv_exeext for Libtool, 
     1479        # but it would be cool to find out if it's true.  Does anybody 
     1480        # maintain Libtool? --akim. 
     1481        export ac_cv_exeext 
     1482        break;; 
     1483    * ) 
     1484        break;; 
    11641485  esac 
    11651486done 
    11661487else 
    11671488  echo "$as_me: failed program was:" >&5 
    1168 cat conftest.$ac_ext >&5 
    1169 { { echo "$as_me:1169: error: C compiler cannot create executables" >&5 
    1170 echo "$as_me: error: C compiler cannot create executables" >&2;} 
     1489sed 's/^/| /' conftest.$ac_ext >&5 
     1490 
     1491{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 
     1492See \`config.log' for more details." >&5 
     1493echo "$as_me: error: C compiler cannot create executables 
     1494See \`config.log' for more details." >&2;} 
    11711495   { (exit 77); exit 77; }; } 
    11721496fi 
    11731497 
    11741498ac_exeext=$ac_cv_exeext 
    1175 echo "$as_me:1175: result: $ac_file" >&5 
     1499echo "$as_me:$LINENO: result: $ac_file" >&5 
    11761500echo "${ECHO_T}$ac_file" >&6 
    11771501 
    11781502# Check the compiler produces executables we can run.  If not, either 
    11791503# the compiler is broken, or we cross compile. 
    1180 echo "$as_me:1180: checking whether the C compiler works" >&5 
     1504echo "$as_me:$LINENO: checking whether the C compiler works" >&5 
    11811505echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 
    11821506# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 
     
    11841508if test "$cross_compiling" != yes; then 
    11851509  if { ac_try='./$ac_file' 
    1186   { (eval echo "$as_me:1186: \"$ac_try\"") >&5 
    1187   (eval $ac_try) 2>&5 
    1188   ac_status=$? 
    1189   echo "$as_me:1189: \$? = $ac_status" >&5 
     1510  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1511  (eval $ac_try) 2>&5 
     1512  ac_status=$? 
     1513  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    11901514  (exit $ac_status); }; }; then 
    11911515    cross_compiling=no 
     
    11941518        cross_compiling=yes 
    11951519    else 
    1196         { { echo "$as_me:1196: error: cannot run C compiled programs. 
    1197 If you meant to cross compile, use \`--host'." >&5 
     1520        { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 
     1521If you meant to cross compile, use \`--host'. 
     1522See \`config.log' for more details." >&5 
    11981523echo "$as_me: error: cannot run C compiled programs. 
    1199 If you meant to cross compile, use \`--host'." >&2;} 
     1524If you meant to cross compile, use \`--host'. 
     1525See \`config.log' for more details." >&2;} 
    12001526   { (exit 1); exit 1; }; } 
    12011527    fi 
    12021528  fi 
    12031529fi 
    1204 echo "$as_me:1204: result: yes" >&5 
     1530echo "$as_me:$LINENO: result: yes" >&5 
    12051531echo "${ECHO_T}yes" >&6 
    12061532 
    1207 rm -f a.out a.exe conftest$ac_cv_exeext 
     1533rm -f a.out a.exe conftest$ac_cv_exeext b.out 
    12081534ac_clean_files=$ac_clean_files_save 
    12091535# Check the compiler produces executables we can run.  If not, either 
    12101536# the compiler is broken, or we cross compile. 
    1211 echo "$as_me:1211: checking whether we are cross compiling" >&5 
     1537echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 
    12121538echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 
    1213 echo "$as_me:1213: result: $cross_compiling" >&5 
     1539echo "$as_me:$LINENO: result: $cross_compiling" >&5 
    12141540echo "${ECHO_T}$cross_compiling" >&6 
    12151541 
    1216 echo "$as_me:1216: checking for executable suffix" >&5 
    1217 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 
    1218 if { (eval echo "$as_me:1218: \"$ac_link\"") >&5 
     1542echo "$as_me:$LINENO: checking for suffix of executables" >&5 
     1543echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 
     1544if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    12191545  (eval $ac_link) 2>&5 
    12201546  ac_status=$? 
    1221   echo "$as_me:1221: \$? = $ac_status" >&5 
     1547  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12221548  (exit $ac_status); }; then 
    12231549  # If both `conftest.exe' and `conftest' are `present' (well, observable) 
     
    12251551# work properly (i.e., refer to `conftest.exe'), while it won't with 
    12261552# `rm'. 
    1227 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 
     1553for ac_file in conftest.exe conftest conftest.*; do 
     1554  test -f "$ac_file" || continue 
    12281555  case $ac_file in 
    1229     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 
     1556    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 
    12301557    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 
    12311558          export ac_cv_exeext 
     
    12351562done 
    12361563else 
    1237   { { echo "$as_me:1237: error: cannot compute EXEEXT: cannot compile and link" >&5 
    1238 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} 
     1564  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 
     1565See \`config.log' for more details." >&5 
     1566echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 
     1567See \`config.log' for more details." >&2;} 
    12391568   { (exit 1); exit 1; }; } 
    12401569fi 
    12411570 
    12421571rm -f conftest$ac_cv_exeext 
    1243 echo "$as_me:1243: result: $ac_cv_exeext" >&5 
     1572echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 
    12441573echo "${ECHO_T}$ac_cv_exeext" >&6 
    12451574 
     
    12471576EXEEXT=$ac_cv_exeext 
    12481577ac_exeext=$EXEEXT 
    1249 echo "$as_me:1249: checking for object suffix" >&5 
    1250 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 
     1578echo "$as_me:$LINENO: checking for suffix of object files" >&5 
     1579echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 
    12511580if test "${ac_cv_objext+set}" = set; then 
    12521581  echo $ECHO_N "(cached) $ECHO_C" >&6 
    12531582else 
    12541583  cat >conftest.$ac_ext <<_ACEOF 
    1255 #line 1255 "configure" 
    1256 #include "confdefs.h" 
     1584#line $LINENO "configure" 
     1585/* confdefs.h.  */ 
     1586_ACEOF 
     1587cat confdefs.h >>conftest.$ac_ext 
     1588cat >>conftest.$ac_ext <<_ACEOF 
     1589/* end confdefs.h.  */ 
    12571590 
    12581591int 
     
    12651598_ACEOF 
    12661599rm -f conftest.o conftest.obj 
    1267 if { (eval echo "$as_me:1267: \"$ac_compile\"") >&5 
     1600if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    12681601  (eval $ac_compile) 2>&5 
    12691602  ac_status=$? 
    1270   echo "$as_me:1270: \$? = $ac_status" >&5 
     1603  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    12711604  (exit $ac_status); }; then 
    12721605  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 
    12731606  case $ac_file in 
    1274     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 
     1607    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 
    12751608    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 
    12761609       break;; 
     
    12791612else 
    12801613  echo "$as_me: failed program was:" >&5 
    1281 cat conftest.$ac_ext >&5 
    1282 { { echo "$as_me:1282: error: cannot compute OBJEXT: cannot compile" >&5 
    1283 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} 
     1614sed 's/^/| /' conftest.$ac_ext >&5 
     1615 
     1616{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 
     1617See \`config.log' for more details." >&5 
     1618echo "$as_me: error: cannot compute suffix of object files: cannot compile 
     1619See \`config.log' for more details." >&2;} 
    12841620   { (exit 1); exit 1; }; } 
    12851621fi 
     
    12871623rm -f conftest.$ac_cv_objext conftest.$ac_ext 
    12881624fi 
    1289 echo "$as_me:1289: result: $ac_cv_objext" >&5 
     1625echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 
    12901626echo "${ECHO_T}$ac_cv_objext" >&6 
    12911627OBJEXT=$ac_cv_objext 
    12921628ac_objext=$OBJEXT 
    1293 echo "$as_me:1293: checking whether we are using the GNU C compiler" >&5 
     1629echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 
    12941630echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 
    12951631if test "${ac_cv_c_compiler_gnu+set}" = set; then 
     
    12971633else 
    12981634  cat >conftest.$ac_ext <<_ACEOF 
    1299 #line 1299 "configure" 
    1300 #include "confdefs.h" 
     1635#line $LINENO "configure" 
     1636/* confdefs.h.  */ 
     1637_ACEOF 
     1638cat confdefs.h >>conftest.$ac_ext 
     1639cat >>conftest.$ac_ext <<_ACEOF 
     1640/* end confdefs.h.  */ 
    13011641 
    13021642int 
     
    13121652_ACEOF 
    13131653rm -f conftest.$ac_objext 
    1314 if { (eval echo "$as_me:1314: \"$ac_compile\"") >&5 
     1654if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    13151655  (eval $ac_compile) 2>&5 
    13161656  ac_status=$? 
    1317   echo "$as_me:1317: \$? = $ac_status" >&5 
     1657  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13181658  (exit $ac_status); } && 
    13191659         { ac_try='test -s conftest.$ac_objext' 
    1320   { (eval echo "$as_me:1320: \"$ac_try\"") >&5 
    1321   (eval $ac_try) 2>&5 
    1322   ac_status=$? 
    1323   echo "$as_me:1323: \$? = $ac_status" >&5 
     1660  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1661  (eval $ac_try) 2>&5 
     1662  ac_status=$? 
     1663  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13241664  (exit $ac_status); }; }; then 
    13251665  ac_compiler_gnu=yes 
    13261666else 
    13271667  echo "$as_me: failed program was:" >&5 
    1328 cat conftest.$ac_ext >&5 
     1668sed 's/^/| /' conftest.$ac_ext >&5 
     1669 
    13291670ac_compiler_gnu=no 
    13301671fi 
     
    13331674 
    13341675fi 
    1335 echo "$as_me:1335: result: $ac_cv_c_compiler_gnu" >&5 
     1676echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 
    13361677echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 
    13371678GCC=`test $ac_compiler_gnu = yes && echo yes` 
     
    13391680ac_save_CFLAGS=$CFLAGS 
    13401681CFLAGS="-g" 
    1341 echo "$as_me:1341: checking whether $CC accepts -g" >&5 
     1682echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 
    13421683echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 
    13431684if test "${ac_cv_prog_cc_g+set}" = set; then 
     
    13451686else 
    13461687  cat >conftest.$ac_ext <<_ACEOF 
    1347 #line 1347 "configure" 
    1348 #include "confdefs.h" 
     1688#line $LINENO "configure" 
     1689/* confdefs.h.  */ 
     1690_ACEOF 
     1691cat confdefs.h >>conftest.$ac_ext 
     1692cat >>conftest.$ac_ext <<_ACEOF 
     1693/* end confdefs.h.  */ 
    13491694 
    13501695int 
     
    13571702_ACEOF 
    13581703rm -f conftest.$ac_objext 
    1359 if { (eval echo "$as_me:1359: \"$ac_compile\"") >&5 
     1704if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    13601705  (eval $ac_compile) 2>&5 
    13611706  ac_status=$? 
    1362   echo "$as_me:1362: \$? = $ac_status" >&5 
     1707  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13631708  (exit $ac_status); } && 
    13641709         { ac_try='test -s conftest.$ac_objext' 
    1365   { (eval echo "$as_me:1365: \"$ac_try\"") >&5 
    1366   (eval $ac_try) 2>&5 
    1367   ac_status=$? 
    1368   echo "$as_me:1368: \$? = $ac_status" >&5 
     1710  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1711  (eval $ac_try) 2>&5 
     1712  ac_status=$? 
     1713  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    13691714  (exit $ac_status); }; }; then 
    13701715  ac_cv_prog_cc_g=yes 
    13711716else 
    13721717  echo "$as_me: failed program was:" >&5 
    1373 cat conftest.$ac_ext >&5 
     1718sed 's/^/| /' conftest.$ac_ext >&5 
     1719 
    13741720ac_cv_prog_cc_g=no 
    13751721fi 
    13761722rm -f conftest.$ac_objext conftest.$ac_ext 
    13771723fi 
    1378 echo "$as_me:1378: result: $ac_cv_prog_cc_g" >&5 
     1724echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 
    13791725echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 
    13801726if test "$ac_test_CFLAGS" = set; then 
     
    13931739  fi 
    13941740fi 
     1741echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 
     1742echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 
     1743if test "${ac_cv_prog_cc_stdc+set}" = set; then 
     1744  echo $ECHO_N "(cached) $ECHO_C" >&6 
     1745else 
     1746  ac_cv_prog_cc_stdc=no 
     1747ac_save_CC=$CC 
     1748cat >conftest.$ac_ext <<_ACEOF 
     1749#line $LINENO "configure" 
     1750/* confdefs.h.  */ 
     1751_ACEOF 
     1752cat confdefs.h >>conftest.$ac_ext 
     1753cat >>conftest.$ac_ext <<_ACEOF 
     1754/* end confdefs.h.  */ 
     1755#include <stdarg.h> 
     1756#include <stdio.h> 
     1757#include <sys/types.h> 
     1758#include <sys/stat.h> 
     1759/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ 
     1760struct buf { int x; }; 
     1761FILE * (*rcsopen) (struct buf *, struct stat *, int); 
     1762static char *e (p, i) 
     1763     char **p; 
     1764     int i; 
     1765{ 
     1766  return p[i]; 
     1767} 
     1768static char *f (char * (*g) (char **, int), char **p, ...) 
     1769{ 
     1770  char *s; 
     1771  va_list v; 
     1772  va_start (v,p); 
     1773  s = g (p, va_arg (v,int)); 
     1774  va_end (v); 
     1775  return s; 
     1776} 
     1777int test (int i, double x); 
     1778struct s1 {int (*f) (int a);}; 
     1779struct s2 {int (*f) (double a);}; 
     1780int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 
     1781int argc; 
     1782char **argv; 
     1783int 
     1784main () 
     1785{ 
     1786return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; 
     1787  ; 
     1788  return 0; 
     1789} 
     1790_ACEOF 
     1791# Don't try gcc -ansi; that turns off useful extensions and 
     1792# breaks some systems' header files. 
     1793# AIX                   -qlanglvl=ansi 
     1794# Ultrix and OSF/1      -std1 
     1795# HP-UX 10.20 and later -Ae 
     1796# HP-UX older versions  -Aa -D_HPUX_SOURCE 
     1797# SVR4                  -Xc -D__EXTENSIONS__ 
     1798for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 
     1799do 
     1800  CC="$ac_save_CC $ac_arg" 
     1801  rm -f conftest.$ac_objext 
     1802if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     1803  (eval $ac_compile) 2>&5 
     1804  ac_status=$? 
     1805  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1806  (exit $ac_status); } && 
     1807         { ac_try='test -s conftest.$ac_objext' 
     1808  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1809  (eval $ac_try) 2>&5 
     1810  ac_status=$? 
     1811  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     1812  (exit $ac_status); }; }; then 
     1813  ac_cv_prog_cc_stdc=$ac_arg 
     1814break 
     1815else 
     1816  echo "$as_me: failed program was:" >&5 
     1817sed 's/^/| /' conftest.$ac_ext >&5 
     1818 
     1819fi 
     1820rm -f conftest.$ac_objext 
     1821done 
     1822rm -f conftest.$ac_ext conftest.$ac_objext 
     1823CC=$ac_save_CC 
     1824 
     1825fi 
     1826 
     1827case "x$ac_cv_prog_cc_stdc" in 
     1828  x|xno) 
     1829    echo "$as_me:$LINENO: result: none needed" >&5 
     1830echo "${ECHO_T}none needed" >&6 ;; 
     1831  *) 
     1832    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 
     1833echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 
     1834    CC="$CC $ac_cv_prog_cc_stdc" ;; 
     1835esac 
     1836 
    13951837# Some people use a C++ compiler to compile C.  Since we use `exit', 
    13961838# in C++ we need to declare it.  In case someone uses the same compiler 
     
    14031845_ACEOF 
    14041846rm -f conftest.$ac_objext 
    1405 if { (eval echo "$as_me:1405: \"$ac_compile\"") >&5 
     1847if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    14061848  (eval $ac_compile) 2>&5 
    14071849  ac_status=$? 
    1408   echo "$as_me:1408: \$? = $ac_status" >&5 
     1850  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14091851  (exit $ac_status); } && 
    14101852         { ac_try='test -s conftest.$ac_objext' 
    1411   { (eval echo "$as_me:1411: \"$ac_try\"") >&5 
    1412   (eval $ac_try) 2>&5 
    1413   ac_status=$? 
    1414   echo "$as_me:1414: \$? = $ac_status" >&5 
     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 
    14151857  (exit $ac_status); }; }; then 
    14161858  for ac_declaration in \ 
     
    14241866do 
    14251867  cat >conftest.$ac_ext <<_ACEOF 
    1426 #line 1426 "configure" 
    1427 #include "confdefs.h" 
     1868#line $LINENO "configure" 
     1869/* confdefs.h.  */ 
     1870_ACEOF 
     1871cat confdefs.h >>conftest.$ac_ext 
     1872cat >>conftest.$ac_ext <<_ACEOF 
     1873/* end confdefs.h.  */ 
    14281874#include <stdlib.h> 
    14291875$ac_declaration 
     
    14371883_ACEOF 
    14381884rm -f conftest.$ac_objext 
    1439 if { (eval echo "$as_me:1439: \"$ac_compile\"") >&5 
     1885if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    14401886  (eval $ac_compile) 2>&5 
    14411887  ac_status=$? 
    1442   echo "$as_me:1442: \$? = $ac_status" >&5 
     1888  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14431889  (exit $ac_status); } && 
    14441890         { ac_try='test -s conftest.$ac_objext' 
    1445   { (eval echo "$as_me:1445: \"$ac_try\"") >&5 
    1446   (eval $ac_try) 2>&5 
    1447   ac_status=$? 
    1448   echo "$as_me:1448: \$? = $ac_status" >&5 
     1891  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1892  (eval $ac_try) 2>&5 
     1893  ac_status=$? 
     1894  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14491895  (exit $ac_status); }; }; then 
    14501896  : 
    14511897else 
    14521898  echo "$as_me: failed program was:" >&5 
    1453 cat conftest.$ac_ext >&5 
     1899sed 's/^/| /' conftest.$ac_ext >&5 
     1900 
    14541901continue 
    14551902fi 
    14561903rm -f conftest.$ac_objext conftest.$ac_ext 
    14571904  cat >conftest.$ac_ext <<_ACEOF 
    1458 #line 1458 "configure" 
    1459 #include "confdefs.h" 
     1905#line $LINENO "configure" 
     1906/* confdefs.h.  */ 
     1907_ACEOF 
     1908cat confdefs.h >>conftest.$ac_ext 
     1909cat >>conftest.$ac_ext <<_ACEOF 
     1910/* end confdefs.h.  */ 
    14601911$ac_declaration 
    14611912int 
     
    14681919_ACEOF 
    14691920rm -f conftest.$ac_objext 
    1470 if { (eval echo "$as_me:1470: \"$ac_compile\"") >&5 
     1921if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    14711922  (eval $ac_compile) 2>&5 
    14721923  ac_status=$? 
    1473   echo "$as_me:1473: \$? = $ac_status" >&5 
     1924  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14741925  (exit $ac_status); } && 
    14751926         { ac_try='test -s conftest.$ac_objext' 
    1476   { (eval echo "$as_me:1476: \"$ac_try\"") >&5 
    1477   (eval $ac_try) 2>&5 
    1478   ac_status=$? 
    1479   echo "$as_me:1479: \$? = $ac_status" >&5 
     1927  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     1928  (eval $ac_try) 2>&5 
     1929  ac_status=$? 
     1930  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    14801931  (exit $ac_status); }; }; then 
    14811932  break 
    14821933else 
    14831934  echo "$as_me: failed program was:" >&5 
    1484 cat conftest.$ac_ext >&5 
     1935sed 's/^/| /' conftest.$ac_ext >&5 
     1936 
    14851937fi 
    14861938rm -f conftest.$ac_objext conftest.$ac_ext 
     
    14951947else 
    14961948  echo "$as_me: failed program was:" >&5 
    1497 cat conftest.$ac_ext >&5 
     1949sed 's/^/| /' conftest.$ac_ext >&5 
     1950 
    14981951fi 
    14991952rm -f conftest.$ac_objext conftest.$ac_ext 
     
    15211974done 
    15221975if test -z "$ac_aux_dir"; then 
    1523   { { echo "$as_me:1523: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
     1976  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 
    15241977echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 
    15251978   { (exit 1); exit 1; }; } 
     
    15411994# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 
    15421995# ./install, which can be erroneously created by make from ./install.sh. 
    1543 echo "$as_me:1543: checking for a BSD compatible install" >&5 
    1544 echo $ECHO_N "checking for a BSD compatible install... $ECHO_C" >&6 
     1996echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 
     1997echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 
    15451998if test -z "$INSTALL"; then 
    15461999if test "${ac_cv_path_install+set}" = set; then 
    15472000  echo $ECHO_N "(cached) $ECHO_C" >&6 
    15482001else 
    1549     ac_save_IFS=$IFS; IFS=$ac_path_separator 
    1550   for ac_dir in $PATH; do 
    1551     IFS=$ac_save_IFS 
    1552     # Account for people who put trailing slashes in PATH elements. 
    1553     case $ac_dir/ in 
    1554     / | ./ | .// | /cC/* \ 
    1555     | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* \ 
    1556     | /usr/ucb/* ) ;; 
    1557     *) 
    1558       # OSF1 and SCO ODT 3.0 have their own names for install. 
    1559       # Don't use installbsd from OSF since it installs stuff as root 
    1560       # by default. 
    1561       for ac_prog in ginstall scoinst install; do 
    1562         if $as_executable_p "$ac_dir/$ac_prog"; then 
    1563           if test $ac_prog = install && 
    1564             grep dspmsg "$ac_dir/$ac_prog" >/dev/null 2>&1; then 
    1565             # AIX install.  It has an incompatible calling convention. 
    1566             : 
    1567           elif test $ac_prog = install && 
    1568             grep pwplus "$ac_dir/$ac_prog" >/dev/null 2>&1; then 
    1569             # program-specific install script used by HP pwplus--don't use. 
    1570             : 
    1571           else 
    1572             ac_cv_path_install="$ac_dir/$ac_prog -c" 
    1573             break 2 
    1574           fi 
    1575         fi 
     2002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2003for as_dir in $PATH 
     2004do 
     2005  IFS=$as_save_IFS 
     2006  test -z "$as_dir" && as_dir=. 
     2007  # Account for people who put trailing slashes in PATH elements. 
     2008case $as_dir/ in 
     2009  ./ | .// | /cC/* | \ 
     2010  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 
     2011  /usr/ucb/* ) ;; 
     2012  *) 
     2013    # OSF1 and SCO ODT 3.0 have their own names for install. 
     2014    # Don't use installbsd from OSF since it installs stuff as root 
     2015    # by default. 
     2016    for ac_prog in ginstall scoinst install; do 
     2017      for ac_exec_ext in '' $ac_executable_extensions; do 
     2018        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 
     2019          if test $ac_prog = install && 
     2020            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
     2021            # AIX install.  It has an incompatible calling convention. 
     2022            : 
     2023          elif test $ac_prog = install && 
     2024            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 
     2025            # program-specific install script used by HP pwplus--don't use. 
     2026            : 
     2027          else 
     2028            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 
     2029            break 3 
     2030          fi 
     2031        fi 
    15762032      done 
    1577       ;; 
    1578     esac 
    1579   done 
     2033    done 
     2034    ;; 
     2035esac 
     2036done 
     2037 
    15802038 
    15812039fi 
     
    15902048  fi 
    15912049fi 
    1592 echo "$as_me:1592: result: $INSTALL" >&5 
     2050echo "$as_me:$LINENO: result: $INSTALL" >&5 
    15932051echo "${ECHO_T}$INSTALL" >&6 
    15942052 
     
    16032061# Make sure we can run config.sub. 
    16042062$ac_config_sub sun4 >/dev/null 2>&1 || 
    1605   { { echo "$as_me:1605: error: cannot run $ac_config_sub" >&5 
     2063  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 
    16062064echo "$as_me: error: cannot run $ac_config_sub" >&2;} 
    16072065   { (exit 1); exit 1; }; } 
    16082066 
    1609 echo "$as_me:1609: checking build system type" >&5 
     2067echo "$as_me:$LINENO: checking build system type" >&5 
    16102068echo $ECHO_N "checking build system type... $ECHO_C" >&6 
    16112069if test "${ac_cv_build+set}" = set; then 
     
    16162074  ac_cv_build_alias=`$ac_config_guess` 
    16172075test -z "$ac_cv_build_alias" && 
    1618   { { echo "$as_me:1618: error: cannot guess build type; you must specify one" >&5 
     2076  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 
    16192077echo "$as_me: error: cannot guess build type; you must specify one" >&2;} 
    16202078   { (exit 1); exit 1; }; } 
    16212079ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || 
    1622   { { echo "$as_me:1622: error: $ac_config_sub $ac_cv_build_alias failed." >&5 
    1623 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;} 
     2080  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 
     2081echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} 
    16242082   { (exit 1); exit 1; }; } 
    16252083 
    16262084fi 
    1627 echo "$as_me:1627: result: $ac_cv_build" >&5 
     2085echo "$as_me:$LINENO: result: $ac_cv_build" >&5 
    16282086echo "${ECHO_T}$ac_cv_build" >&6 
    16292087build=$ac_cv_build 
     
    16322090build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    16332091 
    1634 echo "$as_me:1634: checking host system type" >&5 
     2092 
     2093echo "$as_me:$LINENO: checking host system type" >&5 
    16352094echo $ECHO_N "checking host system type... $ECHO_C" >&6 
    16362095if test "${ac_cv_host+set}" = set; then 
     
    16412100  ac_cv_host_alias=$ac_cv_build_alias 
    16422101ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || 
    1643   { { echo "$as_me:1643: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
     2102  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 
    16442103echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} 
    16452104   { (exit 1); exit 1; }; } 
    16462105 
    16472106fi 
    1648 echo "$as_me:1648: result: $ac_cv_host" >&5 
     2107echo "$as_me:$LINENO: result: $ac_cv_host" >&5 
    16492108echo "${ECHO_T}$ac_cv_host" >&6 
    16502109host=$ac_cv_host 
     
    16532112host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` 
    16542113 
     2114 
     2115 
     2116 
     2117 
    16552118ac_ext=c 
    16562119ac_cpp='$CPP $CPPFLAGS' 
     
    16582121ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    16592122ac_compiler_gnu=$ac_cv_c_compiler_gnu 
    1660 echo "$as_me:1660: checking how to run the C preprocessor" >&5 
     2123echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 
    16612124echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 
    16622125# On Suns, sometimes $CPP names a directory. 
     
    16762139  # Use a header file that comes with gcc, so configuring glibc 
    16772140  # with a fresh cross-compiler works. 
     2141  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     2142  # <limits.h> exists even on freestanding compilers. 
    16782143  # On the NeXT, cc -E runs the code through the compiler's parser, 
    16792144  # not just through cpp. "Syntax error" is here to catch this case. 
    16802145  cat >conftest.$ac_ext <<_ACEOF 
    1681 #line 1681 "configure" 
    1682 #include "confdefs.h" 
    1683 #include <assert.h> 
     2146#line $LINENO "configure" 
     2147/* confdefs.h.  */ 
     2148_ACEOF 
     2149cat confdefs.h >>conftest.$ac_ext 
     2150cat >>conftest.$ac_ext <<_ACEOF 
     2151/* end confdefs.h.  */ 
     2152#ifdef __STDC__ 
     2153# include <limits.h> 
     2154#else 
     2155# include <assert.h> 
     2156#endif 
    16842157                     Syntax error 
    16852158_ACEOF 
    1686 if { (eval echo "$as_me:1686: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2159if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    16872160  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    16882161  ac_status=$? 
    1689   egrep -v '^ *\+' conftest.er1 >conftest.err 
     2162  grep -v '^ *+' conftest.er1 >conftest.err 
    16902163  rm -f conftest.er1 
    16912164  cat conftest.err >&5 
    1692   echo "$as_me:1692: \$? = $ac_status" >&5 
     2165  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    16932166  (exit $ac_status); } >/dev/null; then 
    16942167  if test -s conftest.err; then 
     
    17042177else 
    17052178  echo "$as_me: failed program was:" >&5 
    1706   cat conftest.$ac_ext >&5 
     2179sed 's/^/| /' conftest.$ac_ext >&5 
     2180 
    17072181  # Broken: fails on valid input. 
    17082182continue 
     
    17132187  # can be detected and how. 
    17142188  cat >conftest.$ac_ext <<_ACEOF 
    1715 #line 1715 "configure" 
    1716 #include "confdefs.h" 
     2189#line $LINENO "configure" 
     2190/* confdefs.h.  */ 
     2191_ACEOF 
     2192cat confdefs.h >>conftest.$ac_ext 
     2193cat >>conftest.$ac_ext <<_ACEOF 
     2194/* end confdefs.h.  */ 
    17172195#include <ac_nonexistent.h> 
    17182196_ACEOF 
    1719 if { (eval echo "$as_me:1719: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2197if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    17202198  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    17212199  ac_status=$? 
    1722   egrep -v '^ *\+' conftest.er1 >conftest.err 
     2200  grep -v '^ *+' conftest.er1 >conftest.err 
    17232201  rm -f conftest.er1 
    17242202  cat conftest.err >&5 
    1725   echo "$as_me:1725: \$? = $ac_status" >&5 
     2203  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    17262204  (exit $ac_status); } >/dev/null; then 
    17272205  if test -s conftest.err; then 
     
    17382216else 
    17392217  echo "$as_me: failed program was:" >&5 
    1740   cat conftest.$ac_ext >&5 
     2218sed 's/^/| /' conftest.$ac_ext >&5 
     2219 
    17412220  # Passes both tests. 
    17422221ac_preproc_ok=: 
     
    17602239  ac_cv_prog_CPP=$CPP 
    17612240fi 
    1762 echo "$as_me:1762: result: $CPP" >&5 
     2241echo "$as_me:$LINENO: result: $CPP" >&5 
    17632242echo "${ECHO_T}$CPP" >&6 
    17642243ac_preproc_ok=false 
     
    17672246  # Use a header file that comes with gcc, so configuring glibc 
    17682247  # with a fresh cross-compiler works. 
     2248  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     2249  # <limits.h> exists even on freestanding compilers. 
    17692250  # On the NeXT, cc -E runs the code through the compiler's parser, 
    17702251  # not just through cpp. "Syntax error" is here to catch this case. 
    17712252  cat >conftest.$ac_ext <<_ACEOF 
    1772 #line 1772 "configure" 
    1773 #include "confdefs.h" 
    1774 #include <assert.h> 
     2253#line $LINENO "configure" 
     2254/* confdefs.h.  */ 
     2255_ACEOF 
     2256cat confdefs.h >>conftest.$ac_ext 
     2257cat >>conftest.$ac_ext <<_ACEOF 
     2258/* end confdefs.h.  */ 
     2259#ifdef __STDC__ 
     2260# include <limits.h> 
     2261#else 
     2262# include <assert.h> 
     2263#endif 
    17752264                     Syntax error 
    17762265_ACEOF 
    1777 if { (eval echo "$as_me:1777: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2266if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    17782267  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    17792268  ac_status=$? 
    1780   egrep -v '^ *\+' conftest.er1 >conftest.err 
     2269  grep -v '^ *+' conftest.er1 >conftest.err 
    17812270  rm -f conftest.er1 
    17822271  cat conftest.err >&5 
    1783   echo "$as_me:1783: \$? = $ac_status" >&5 
     2272  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    17842273  (exit $ac_status); } >/dev/null; then 
    17852274  if test -s conftest.err; then 
     
    17952284else 
    17962285  echo "$as_me: failed program was:" >&5 
    1797   cat conftest.$ac_ext >&5 
     2286sed 's/^/| /' conftest.$ac_ext >&5 
     2287 
    17982288  # Broken: fails on valid input. 
    17992289continue 
     
    18042294  # can be detected and how. 
    18052295  cat >conftest.$ac_ext <<_ACEOF 
    1806 #line 1806 "configure" 
    1807 #include "confdefs.h" 
     2296#line $LINENO "configure" 
     2297/* confdefs.h.  */ 
     2298_ACEOF 
     2299cat confdefs.h >>conftest.$ac_ext 
     2300cat >>conftest.$ac_ext <<_ACEOF 
     2301/* end confdefs.h.  */ 
    18082302#include <ac_nonexistent.h> 
    18092303_ACEOF 
    1810 if { (eval echo "$as_me:1810: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2304if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    18112305  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    18122306  ac_status=$? 
    1813   egrep -v '^ *\+' conftest.er1 >conftest.err 
     2307  grep -v '^ *+' conftest.er1 >conftest.err 
    18142308  rm -f conftest.er1 
    18152309  cat conftest.err >&5 
    1816   echo "$as_me:1816: \$? = $ac_status" >&5 
     2310  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18172311  (exit $ac_status); } >/dev/null; then 
    18182312  if test -s conftest.err; then 
     
    18292323else 
    18302324  echo "$as_me: failed program was:" >&5 
    1831   cat conftest.$ac_ext >&5 
     2325sed 's/^/| /' conftest.$ac_ext >&5 
     2326 
    18322327  # Passes both tests. 
    18332328ac_preproc_ok=: 
     
    18422337  : 
    18432338else 
    1844   { { echo "$as_me:1844: error: C preprocessor \"$CPP\" fails sanity check" >&5 
    1845 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 
     2339  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 
     2340See \`config.log' for more details." >&5 
     2341echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 
     2342See \`config.log' for more details." >&2;} 
    18462343   { (exit 1); exit 1; }; } 
    18472344fi 
     
    18522349ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 
    18532350ac_compiler_gnu=$ac_cv_c_compiler_gnu 
     2351 
     2352 
     2353echo "$as_me:$LINENO: checking for egrep" >&5 
     2354echo $ECHO_N "checking for egrep... $ECHO_C" >&6 
     2355if test "${ac_cv_prog_egrep+set}" = set; then 
     2356  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2357else 
     2358  if echo a | (grep -E '(a|b)') >/dev/null 2>&1 
     2359    then ac_cv_prog_egrep='grep -E' 
     2360    else ac_cv_prog_egrep='egrep' 
     2361    fi 
     2362fi 
     2363echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 
     2364echo "${ECHO_T}$ac_cv_prog_egrep" >&6 
     2365 EGREP=$ac_cv_prog_egrep 
     2366 
     2367 
     2368echo "$as_me:$LINENO: checking for ANSI C header files" >&5 
     2369echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 
     2370if test "${ac_cv_header_stdc+set}" = set; then 
     2371  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2372else 
     2373  cat >conftest.$ac_ext <<_ACEOF 
     2374#line $LINENO "configure" 
     2375/* confdefs.h.  */ 
     2376_ACEOF 
     2377cat confdefs.h >>conftest.$ac_ext 
     2378cat >>conftest.$ac_ext <<_ACEOF 
     2379/* end confdefs.h.  */ 
     2380#include <stdlib.h> 
     2381#include <stdarg.h> 
     2382#include <string.h> 
     2383#include <float.h> 
     2384 
     2385int 
     2386main () 
     2387{ 
     2388 
     2389  ; 
     2390  return 0; 
     2391} 
     2392_ACEOF 
     2393rm -f conftest.$ac_objext 
     2394if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2395  (eval $ac_compile) 2>&5 
     2396  ac_status=$? 
     2397  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2398  (exit $ac_status); } && 
     2399         { ac_try='test -s conftest.$ac_objext' 
     2400  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2401  (eval $ac_try) 2>&5 
     2402  ac_status=$? 
     2403  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2404  (exit $ac_status); }; }; then 
     2405  ac_cv_header_stdc=yes 
     2406else 
     2407  echo "$as_me: failed program was:" >&5 
     2408sed 's/^/| /' conftest.$ac_ext >&5 
     2409 
     2410ac_cv_header_stdc=no 
     2411fi 
     2412rm -f conftest.$ac_objext conftest.$ac_ext 
     2413 
     2414if test $ac_cv_header_stdc = yes; then 
     2415  # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 
     2416  cat >conftest.$ac_ext <<_ACEOF 
     2417#line $LINENO "configure" 
     2418/* confdefs.h.  */ 
     2419_ACEOF 
     2420cat confdefs.h >>conftest.$ac_ext 
     2421cat >>conftest.$ac_ext <<_ACEOF 
     2422/* end confdefs.h.  */ 
     2423#include <string.h> 
     2424 
     2425_ACEOF 
     2426if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     2427  $EGREP "memchr" >/dev/null 2>&1; then 
     2428  : 
     2429else 
     2430  ac_cv_header_stdc=no 
     2431fi 
     2432rm -f conftest* 
     2433 
     2434fi 
     2435 
     2436if test $ac_cv_header_stdc = yes; then 
     2437  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 
     2438  cat >conftest.$ac_ext <<_ACEOF 
     2439#line $LINENO "configure" 
     2440/* confdefs.h.  */ 
     2441_ACEOF 
     2442cat confdefs.h >>conftest.$ac_ext 
     2443cat >>conftest.$ac_ext <<_ACEOF 
     2444/* end confdefs.h.  */ 
     2445#include <stdlib.h> 
     2446 
     2447_ACEOF 
     2448if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 
     2449  $EGREP "free" >/dev/null 2>&1; then 
     2450  : 
     2451else 
     2452  ac_cv_header_stdc=no 
     2453fi 
     2454rm -f conftest* 
     2455 
     2456fi 
     2457 
     2458if test $ac_cv_header_stdc = yes; then 
     2459  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 
     2460  if test "$cross_compiling" = yes; then 
     2461  : 
     2462else 
     2463  cat >conftest.$ac_ext <<_ACEOF 
     2464#line $LINENO "configure" 
     2465/* confdefs.h.  */ 
     2466_ACEOF 
     2467cat confdefs.h >>conftest.$ac_ext 
     2468cat >>conftest.$ac_ext <<_ACEOF 
     2469/* end confdefs.h.  */ 
     2470#include <ctype.h> 
     2471#if ((' ' & 0x0FF) == 0x020) 
     2472# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 
     2473# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 
     2474#else 
     2475# define ISLOWER(c) \ 
     2476                   (('a' <= (c) && (c) <= 'i') \ 
     2477                     || ('j' <= (c) && (c) <= 'r') \ 
     2478                     || ('s' <= (c) && (c) <= 'z')) 
     2479# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 
     2480#endif 
     2481 
     2482#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 
     2483int 
     2484main () 
     2485{ 
     2486  int i; 
     2487  for (i = 0; i < 256; i++) 
     2488    if (XOR (islower (i), ISLOWER (i)) 
     2489        || toupper (i) != TOUPPER (i)) 
     2490      exit(2); 
     2491  exit (0); 
     2492} 
     2493_ACEOF 
     2494rm -f conftest$ac_exeext 
     2495if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     2496  (eval $ac_link) 2>&5 
     2497  ac_status=$? 
     2498  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2499  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     2500  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2501  (eval $ac_try) 2>&5 
     2502  ac_status=$? 
     2503  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2504  (exit $ac_status); }; }; then 
     2505  : 
     2506else 
     2507  echo "$as_me: program exited with status $ac_status" >&5 
     2508echo "$as_me: failed program was:" >&5 
     2509sed 's/^/| /' conftest.$ac_ext >&5 
     2510 
     2511( exit $ac_status ) 
     2512ac_cv_header_stdc=no 
     2513fi 
     2514rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     2515fi 
     2516fi 
     2517fi 
     2518echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 
     2519echo "${ECHO_T}$ac_cv_header_stdc" >&6 
     2520if test $ac_cv_header_stdc = yes; then 
     2521 
     2522cat >>confdefs.h <<\_ACEOF 
     2523#define STDC_HEADERS 1 
     2524_ACEOF 
     2525 
     2526fi 
     2527 
     2528# On IRIX 5.3, sys/types and inttypes.h are conflicting. 
     2529 
     2530 
     2531 
     2532 
     2533 
     2534 
     2535 
     2536 
     2537 
     2538for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 
     2539                  inttypes.h stdint.h unistd.h 
     2540do 
     2541as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
     2542echo "$as_me:$LINENO: checking for $ac_header" >&5 
     2543echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     2544if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     2545  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2546else 
     2547  cat >conftest.$ac_ext <<_ACEOF 
     2548#line $LINENO "configure" 
     2549/* confdefs.h.  */ 
     2550_ACEOF 
     2551cat confdefs.h >>conftest.$ac_ext 
     2552cat >>conftest.$ac_ext <<_ACEOF 
     2553/* end confdefs.h.  */ 
     2554$ac_includes_default 
     2555 
     2556#include <$ac_header> 
     2557_ACEOF 
     2558rm -f conftest.$ac_objext 
     2559if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2560  (eval $ac_compile) 2>&5 
     2561  ac_status=$? 
     2562  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2563  (exit $ac_status); } && 
     2564         { ac_try='test -s conftest.$ac_objext' 
     2565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2566  (eval $ac_try) 2>&5 
     2567  ac_status=$? 
     2568  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2569  (exit $ac_status); }; }; then 
     2570  eval "$as_ac_Header=yes" 
     2571else 
     2572  echo "$as_me: failed program was:" >&5 
     2573sed 's/^/| /' conftest.$ac_ext >&5 
     2574 
     2575eval "$as_ac_Header=no" 
     2576fi 
     2577rm -f conftest.$ac_objext conftest.$ac_ext 
     2578fi 
     2579echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     2580echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     2581if test `eval echo '${'$as_ac_Header'}'` = yes; then 
     2582  cat >>confdefs.h <<_ACEOF 
     2583#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
     2584_ACEOF 
     2585 
     2586fi 
     2587 
     2588done 
     2589 
     2590 
     2591 
     2592 
     2593 
     2594 
     2595 
     2596 
     2597 
     2598 
     2599 
     2600 
     2601 
     2602 
     2603 
     2604 
     2605 
     2606 
     2607 
     2608 
     2609 
     2610 
     2611 
     2612 
     2613 
     2614 
     2615 
     2616 
     2617 
    18542618 
    18552619for ac_header in crypt.h dirent.h errno.h fcntl.h fnmatch.h glob.h\ 
     
    18622626do 
    18632627as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 
    1864 echo "$as_me:1864: checking for $ac_header" >&5 
     2628if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     2629  echo "$as_me:$LINENO: checking for $ac_header" >&5 
    18652630echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
    18662631if eval "test \"\${$as_ac_Header+set}\" = set"; then 
    18672632  echo $ECHO_N "(cached) $ECHO_C" >&6 
    1868 else 
    1869   cat >conftest.$ac_ext <<_ACEOF 
    1870 #line 1870 "configure" 
    1871 #include "confdefs.h" 
     2633fi 
     2634echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     2635echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     2636else 
     2637  # Is the header compilable? 
     2638echo "$as_me:$LINENO: checking $ac_header usability" >&5 
     2639echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 
     2640cat >conftest.$ac_ext <<_ACEOF 
     2641#line $LINENO "configure" 
     2642/* confdefs.h.  */ 
     2643_ACEOF 
     2644cat confdefs.h >>conftest.$ac_ext 
     2645cat >>conftest.$ac_ext <<_ACEOF 
     2646/* end confdefs.h.  */ 
     2647$ac_includes_default 
    18722648#include <$ac_header> 
    18732649_ACEOF 
    1874 if { (eval echo "$as_me:1874: \"$ac_cpp conftest.$ac_ext\"") >&5 
     2650rm -f conftest.$ac_objext 
     2651if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     2652  (eval $ac_compile) 2>&5 
     2653  ac_status=$? 
     2654  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2655  (exit $ac_status); } && 
     2656         { ac_try='test -s conftest.$ac_objext' 
     2657  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2658  (eval $ac_try) 2>&5 
     2659  ac_status=$? 
     2660  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     2661  (exit $ac_status); }; }; then 
     2662  ac_header_compiler=yes 
     2663else 
     2664  echo "$as_me: failed program was:" >&5 
     2665sed 's/^/| /' conftest.$ac_ext >&5 
     2666 
     2667ac_header_compiler=no 
     2668fi 
     2669rm -f conftest.$ac_objext conftest.$ac_ext 
     2670echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 
     2671echo "${ECHO_T}$ac_header_compiler" >&6 
     2672 
     2673# Is the header present? 
     2674echo "$as_me:$LINENO: checking $ac_header presence" >&5 
     2675echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 
     2676cat >conftest.$ac_ext <<_ACEOF 
     2677#line $LINENO "configure" 
     2678/* confdefs.h.  */ 
     2679_ACEOF 
     2680cat confdefs.h >>conftest.$ac_ext 
     2681cat >>conftest.$ac_ext <<_ACEOF 
     2682/* end confdefs.h.  */ 
     2683#include <$ac_header> 
     2684_ACEOF 
     2685if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 
    18752686  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 
    18762687  ac_status=$? 
    1877   egrep -v '^ *\+' conftest.er1 >conftest.err 
     2688  grep -v '^ *+' conftest.er1 >conftest.err 
    18782689  rm -f conftest.er1 
    18792690  cat conftest.err >&5 
    1880   echo "$as_me:1880: \$? = $ac_status" >&5 
     2691  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    18812692  (exit $ac_status); } >/dev/null; then 
    18822693  if test -s conftest.err; then 
     
    18892700fi 
    18902701if test -z "$ac_cpp_err"; then 
    1891   eval "$as_ac_Header=yes" 
    1892 else 
    1893   echo "$as_me: failed program was:" >&5 
    1894   cat conftest.$ac_ext >&5 
    1895   eval "$as_ac_Header=no" 
     2702  ac_header_preproc=yes 
     2703else 
     2704  echo "$as_me: failed program was:" >&5 
     2705sed 's/^/| /' conftest.$ac_ext >&5 
     2706 
     2707  ac_header_preproc=no 
    18962708fi 
    18972709rm -f conftest.err conftest.$ac_ext 
    1898 fi 
    1899 echo "$as_me:1899: result: `eval echo '${'$as_ac_Header'}'`" >&5 
     2710echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 
     2711echo "${ECHO_T}$ac_header_preproc" >&6 
     2712 
     2713# So?  What about this header? 
     2714case $ac_header_compiler:$ac_header_preproc in 
     2715  yes:no ) 
     2716    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 
     2717echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 
     2718    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
     2719echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
     2720    ( 
     2721      cat <<\_ASBOX 
     2722## ------------------------------------ ## 
     2723## Report this to bug-autoconf@gnu.org. ## 
     2724## ------------------------------------ ## 
     2725_ASBOX 
     2726    ) | 
     2727      sed "s/^/$as_me: WARNING:     /" >&2 
     2728    ;; 
     2729  no:yes ) 
     2730    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 
     2731echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 
     2732    { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 
     2733echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 
     2734    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 
     2735echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 
     2736    ( 
     2737      cat <<\_ASBOX 
     2738## ------------------------------------ ## 
     2739## Report this to bug-autoconf@gnu.org. ## 
     2740## ------------------------------------ ## 
     2741_ASBOX 
     2742    ) | 
     2743      sed "s/^/$as_me: WARNING:     /" >&2 
     2744    ;; 
     2745esac 
     2746echo "$as_me:$LINENO: checking for $ac_header" >&5 
     2747echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 
     2748if eval "test \"\${$as_ac_Header+set}\" = set"; then 
     2749  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2750else 
     2751  eval "$as_ac_Header=$ac_header_preproc" 
     2752fi 
     2753echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 
    19002754echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 
     2755 
     2756fi 
    19012757if test `eval echo '${'$as_ac_Header'}'` = yes; then 
    1902   cat >>confdefs.h <<EOF 
     2758  cat >>confdefs.h <<_ACEOF 
    19032759#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 
    1904 EOF 
    1905  
    1906 fi 
     2760_ACEOF 
     2761 
     2762fi 
     2763 
    19072764done 
    19082765 
    1909 echo "$as_me:1909: checking whether time.h and sys/time.h may both be included" >&5 
     2766echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 
    19102767echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 
    19112768if test "${ac_cv_header_time+set}" = set; then 
     
    19132770else 
    19142771  cat >conftest.$ac_ext <<_ACEOF 
    1915 #line 1915 "configure" 
    1916 #include "confdefs.h" 
     2772#line $LINENO "configure" 
     2773/* confdefs.h.  */ 
     2774_ACEOF 
     2775cat confdefs.h >>conftest.$ac_ext 
     2776cat >>conftest.$ac_ext <<_ACEOF 
     2777/* end confdefs.h.  */ 
    19172778#include <sys/types.h> 
    19182779#include <sys/time.h> 
     
    19292790_ACEOF 
    19302791rm -f conftest.$ac_objext 
    1931 if { (eval echo "$as_me:1931: \"$ac_compile\"") >&5 
     2792if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
    19322793  (eval $ac_compile) 2>&5 
    19332794  ac_status=$? 
    1934   echo "$as_me:1934: \$? = $ac_status" >&5 
     2795  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19352796  (exit $ac_status); } && 
    19362797         { ac_try='test -s conftest.$ac_objext' 
    1937   { (eval echo "$as_me:1937: \"$ac_try\"") >&5 
    1938   (eval $ac_try) 2>&5 
    1939   ac_status=$? 
    1940   echo "$as_me:1940: \$? = $ac_status" >&5 
     2798  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2799  (eval $ac_try) 2>&5 
     2800  ac_status=$? 
     2801  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19412802  (exit $ac_status); }; }; then 
    19422803  ac_cv_header_time=yes 
    19432804else 
    19442805  echo "$as_me: failed program was:" >&5 
    1945 cat conftest.$ac_ext >&5 
     2806sed 's/^/| /' conftest.$ac_ext >&5 
     2807 
    19462808ac_cv_header_time=no 
    19472809fi 
    19482810rm -f conftest.$ac_objext conftest.$ac_ext 
    19492811fi 
    1950 echo "$as_me:1950: result: $ac_cv_header_time" >&5 
     2812echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 
    19512813echo "${ECHO_T}$ac_cv_header_time" >&6 
    19522814if test $ac_cv_header_time = yes; then 
    19532815 
    1954 cat >>confdefs.h <<\EOF 
     2816cat >>confdefs.h <<\_ACEOF 
    19552817#define TIME_WITH_SYS_TIME 1 
    1956 EOF 
    1957  
    1958 fi 
    1959  
    1960 echo "$as_me:1960: checking for socket in -lc" >&5 
     2818_ACEOF 
     2819 
     2820fi 
     2821 
     2822 
     2823 
     2824echo "$as_me:$LINENO: checking for socket in -lc" >&5 
    19612825echo $ECHO_N "checking for socket in -lc... $ECHO_C" >&6 
    19622826if test "${ac_cv_lib_c_socket+set}" = set; then 
     
    19662830LIBS="-lc  $LIBS" 
    19672831cat >conftest.$ac_ext <<_ACEOF 
    1968 #line 1968 "configure" 
    1969 #include "confdefs.h" 
     2832#line $LINENO "configure" 
     2833/* confdefs.h.  */ 
     2834_ACEOF 
     2835cat confdefs.h >>conftest.$ac_ext 
     2836cat >>conftest.$ac_ext <<_ACEOF 
     2837/* end confdefs.h.  */ 
    19702838 
    19712839/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    19852853_ACEOF 
    19862854rm -f conftest.$ac_objext conftest$ac_exeext 
    1987 if { (eval echo "$as_me:1987: \"$ac_link\"") >&5 
     2855if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    19882856  (eval $ac_link) 2>&5 
    19892857  ac_status=$? 
    1990   echo "$as_me:1990: \$? = $ac_status" >&5 
     2858  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19912859  (exit $ac_status); } && 
    19922860         { ac_try='test -s conftest$ac_exeext' 
    1993   { (eval echo "$as_me:1993: \"$ac_try\"") >&5 
    1994   (eval $ac_try) 2>&5 
    1995   ac_status=$? 
    1996   echo "$as_me:1996: \$? = $ac_status" >&5 
     2861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2862  (eval $ac_try) 2>&5 
     2863  ac_status=$? 
     2864  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    19972865  (exit $ac_status); }; }; then 
    19982866  ac_cv_lib_c_socket=yes 
    19992867else 
    20002868  echo "$as_me: failed program was:" >&5 
    2001 cat conftest.$ac_ext >&5 
     2869sed 's/^/| /' conftest.$ac_ext >&5 
     2870 
    20022871ac_cv_lib_c_socket=no 
    20032872fi 
     
    20052874LIBS=$ac_check_lib_save_LIBS 
    20062875fi 
    2007 echo "$as_me:2007: result: $ac_cv_lib_c_socket" >&5 
     2876echo "$as_me:$LINENO: result: $ac_cv_lib_c_socket" >&5 
    20082877echo "${ECHO_T}$ac_cv_lib_c_socket" >&6 
    20092878if test $ac_cv_lib_c_socket = yes; then 
     
    20142883 
    20152884if test $result = no ; then 
    2016         echo "$as_me:2016: checking for socket in -lxnet" >&5 
     2885        echo "$as_me:$LINENO: checking for socket in -lxnet" >&5 
    20172886echo $ECHO_N "checking for socket in -lxnet... $ECHO_C" >&6 
    20182887if test "${ac_cv_lib_xnet_socket+set}" = set; then 
     
    20222891LIBS="-lxnet  $LIBS" 
    20232892cat >conftest.$ac_ext <<_ACEOF 
    2024 #line 2024 "configure" 
    2025 #include "confdefs.h" 
     2893#line $LINENO "configure" 
     2894/* confdefs.h.  */ 
     2895_ACEOF 
     2896cat confdefs.h >>conftest.$ac_ext 
     2897cat >>conftest.$ac_ext <<_ACEOF 
     2898/* end confdefs.h.  */ 
    20262899 
    20272900/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    20412914_ACEOF 
    20422915rm -f conftest.$ac_objext conftest$ac_exeext 
    2043 if { (eval echo "$as_me:2043: \"$ac_link\"") >&5 
     2916if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    20442917  (eval $ac_link) 2>&5 
    20452918  ac_status=$? 
    2046   echo "$as_me:2046: \$? = $ac_status" >&5 
     2919  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20472920  (exit $ac_status); } && 
    20482921         { ac_try='test -s conftest$ac_exeext' 
    2049   { (eval echo "$as_me:2049: \"$ac_try\"") >&5 
    2050   (eval $ac_try) 2>&5 
    2051   ac_status=$? 
    2052   echo "$as_me:2052: \$? = $ac_status" >&5 
     2922  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2923  (eval $ac_try) 2>&5 
     2924  ac_status=$? 
     2925  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    20532926  (exit $ac_status); }; }; then 
    20542927  ac_cv_lib_xnet_socket=yes 
    20552928else 
    20562929  echo "$as_me: failed program was:" >&5 
    2057 cat conftest.$ac_ext >&5 
     2930sed 's/^/| /' conftest.$ac_ext >&5 
     2931 
    20582932ac_cv_lib_xnet_socket=no 
    20592933fi 
     
    20612935LIBS=$ac_check_lib_save_LIBS 
    20622936fi 
    2063 echo "$as_me:2063: result: $ac_cv_lib_xnet_socket" >&5 
     2937echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5 
    20642938echo "${ECHO_T}$ac_cv_lib_xnet_socket" >&6 
    20652939if test $ac_cv_lib_xnet_socket = yes; then 
     
    20722946                LIBS="$LIBS -lxnet" 
    20732947        else 
    2074                 echo "$as_me:2074: checking for socket in -lsocket" >&5 
     2948                echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 
    20752949echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 
    20762950if test "${ac_cv_lib_socket_socket+set}" = set; then 
     
    20802954LIBS="-lsocket  $LIBS" 
    20812955cat >conftest.$ac_ext <<_ACEOF 
    2082 #line 2082 "configure" 
    2083 #include "confdefs.h" 
     2956#line $LINENO "configure" 
     2957/* confdefs.h.  */ 
     2958_ACEOF 
     2959cat confdefs.h >>conftest.$ac_ext 
     2960cat >>conftest.$ac_ext <<_ACEOF 
     2961/* end confdefs.h.  */ 
    20842962 
    20852963/* Override any gcc2 internal prototype to avoid an error.  */ 
     
    20992977_ACEOF 
    21002978rm -f conftest.$ac_objext conftest$ac_exeext 
    2101 if { (eval echo "$as_me:2101: \"$ac_link\"") >&5 
     2979if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    21022980  (eval $ac_link) 2>&5 
    21032981  ac_status=$? 
    2104   echo "$as_me:2104: \$? = $ac_status" >&5 
     2982  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21052983  (exit $ac_status); } && 
    21062984         { ac_try='test -s conftest$ac_exeext' 
    2107   { (eval echo "$as_me:2107: \"$ac_try\"") >&5 
    2108   (eval $ac_try) 2>&5 
    2109   ac_status=$? 
    2110   echo "$as_me:2110: \$? = $ac_status" >&5 
     2985  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     2986  (eval $ac_try) 2>&5 
     2987  ac_status=$? 
     2988  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21112989  (exit $ac_status); }; }; then 
    21122990  ac_cv_lib_socket_socket=yes 
    21132991else 
    21142992  echo "$as_me: failed program was:" >&5 
    2115 cat conftest.$ac_ext >&5 
     2993sed 's/^/| /' conftest.$ac_ext >&5 
     2994 
    21162995ac_cv_lib_socket_socket=no 
    21172996fi 
     
    21192998LIBS=$ac_check_lib_save_LIBS 
    21202999fi 
    2121 echo "$as_me:2121: result: $ac_cv_lib_socket_socket" >&5 
     3000echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 
    21223001echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 
    21233002if test $ac_cv_lib_socket_socket = yes; then 
     
    21303009                        LIBS="$LIBS -lsocket" 
    21313010                else 
    2132                         { { echo "$as_me:2132: error: socket funtion not found" >&5 
     3011                        { { echo "$as_me:$LINENO: error: socket funtion not found" >&5 
    21333012echo "$as_me: error: socket funtion not found" >&2;} 
    21343013   { (exit 1); exit 1; }; } 
     
    21373016fi 
    21383017 
    2139 echo "$as_me:2139: checking for chdir" >&5 
     3018echo "$as_me:$LINENO: checking for chdir" >&5 
    21403019echo $ECHO_N "checking for chdir... $ECHO_C" >&6 
    21413020if test "${ac_cv_func_chdir+set}" = set; then 
     
    21433022else 
    21443023  cat >conftest.$ac_ext <<_ACEOF 
    2145 #line 2145 "configure" 
    2146 #include "confdefs.h" 
     3024#line $LINENO "configure" 
     3025/* confdefs.h.  */ 
     3026_ACEOF 
     3027cat confdefs.h >>conftest.$ac_ext 
     3028cat >>conftest.$ac_ext <<_ACEOF 
     3029/* end confdefs.h.  */ 
    21473030/* System header to define __stub macros and hopefully few prototypes, 
    2148     which can conflict with char chdir (); below.  */ 
    2149 #include <assert.h> 
     3031    which can conflict with char chdir (); below. 
     3032    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3033    <limits.h> exists even on freestanding compilers.  */ 
     3034#ifdef __STDC__ 
     3035# include <limits.h> 
     3036#else 
     3037# include <assert.h> 
     3038#endif 
    21503039/* Override any gcc2 internal prototype to avoid an error.  */ 
    21513040#ifdef __cplusplus 
    21523041extern "C" 
     3042{ 
    21533043#endif 
    21543044/* We use char because int might match the return type of a gcc2 
    21553045   builtin and then its argument prototype would still apply.  */ 
    21563046char chdir (); 
    2157 char (*f) (); 
    2158  
    2159 int 
    2160 main () 
    2161 { 
    21623047/* The GNU C library defines this for functions which it implements 
    21633048    to always fail with ENOSYS.  Some functions are actually named 
     
    21663051choke me 
    21673052#else 
    2168 f = chdir; 
    2169 #endif 
    2170  
     3053char (*f) () = chdir; 
     3054#endif 
     3055#ifdef __cplusplus 
     3056} 
     3057#endif 
     3058 
     3059int 
     3060main () 
     3061{ 
     3062return f != chdir; 
    21713063  ; 
    21723064  return 0; 
     
    21743066_ACEOF 
    21753067rm -f conftest.$ac_objext conftest$ac_exeext 
    2176 if { (eval echo "$as_me:2176: \"$ac_link\"") >&5 
     3068if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    21773069  (eval $ac_link) 2>&5 
    21783070  ac_status=$? 
    2179   echo "$as_me:2179: \$? = $ac_status" >&5 
     3071  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21803072  (exit $ac_status); } && 
    21813073         { ac_try='test -s conftest$ac_exeext' 
    2182   { (eval echo "$as_me:2182: \"$ac_try\"") >&5 
    2183   (eval $ac_try) 2>&5 
    2184   ac_status=$? 
    2185   echo "$as_me:2185: \$? = $ac_status" >&5 
     3074  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3075  (eval $ac_try) 2>&5 
     3076  ac_status=$? 
     3077  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    21863078  (exit $ac_status); }; }; then 
    21873079  ac_cv_func_chdir=yes 
    21883080else 
    21893081  echo "$as_me: failed program was:" >&5 
    2190 cat conftest.$ac_ext >&5 
     3082sed 's/^/| /' conftest.$ac_ext >&5 
     3083 
    21913084ac_cv_func_chdir=no 
    21923085fi 
    21933086rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    21943087fi 
    2195 echo "$as_me:2195: result: $ac_cv_func_chdir" >&5 
     3088echo "$as_me:$LINENO: result: $ac_cv_func_chdir" >&5 
    21963089echo "${ECHO_T}$ac_cv_func_chdir" >&6 
    21973090if test $ac_cv_func_chdir = yes; then 
     
    22023095 
    22033096if test $result = no ; then 
    2204         { { echo "$as_me:2204: error: chdir funtion not found" >&5 
     3097        { { echo "$as_me:$LINENO: error: chdir funtion not found" >&5 
    22053098echo "$as_me: error: chdir funtion not found" >&2;} 
    22063099   { (exit 1); exit 1; }; } 
    22073100fi 
    2208 echo "$as_me:2208: checking for fcntl" >&5 
     3101echo "$as_me:$LINENO: checking for fcntl" >&5 
    22093102echo $ECHO_N "checking for fcntl... $ECHO_C" >&6 
    22103103if test "${ac_cv_func_fcntl+set}" = set; then 
     
    22123105else 
    22133106  cat >conftest.$ac_ext <<_ACEOF 
    2214 #line 2214 "configure" 
    2215 #include "confdefs.h" 
     3107#line $LINENO "configure" 
     3108/* confdefs.h.  */ 
     3109_ACEOF 
     3110cat confdefs.h >>conftest.$ac_ext 
     3111cat >>conftest.$ac_ext <<_ACEOF 
     3112/* end confdefs.h.  */ 
    22163113/* System header to define __stub macros and hopefully few prototypes, 
    2217     which can conflict with char fcntl (); below.  */ 
    2218 #include <assert.h> 
     3114    which can conflict with char fcntl (); below. 
     3115    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3116    <limits.h> exists even on freestanding compilers.  */ 
     3117#ifdef __STDC__ 
     3118# include <limits.h> 
     3119#else 
     3120# include <assert.h> 
     3121#endif 
    22193122/* Override any gcc2 internal prototype to avoid an error.  */ 
    22203123#ifdef __cplusplus 
    22213124extern "C" 
     3125{ 
    22223126#endif 
    22233127/* We use char because int might match the return type of a gcc2 
    22243128   builtin and then its argument prototype would still apply.  */ 
    22253129char fcntl (); 
    2226 char (*f) (); 
    2227  
    2228 int 
    2229 main () 
    2230 { 
    22313130/* The GNU C library defines this for functions which it implements 
    22323131    to always fail with ENOSYS.  Some functions are actually named 
     
    22353134choke me 
    22363135#else 
    2237 f = fcntl; 
    2238 #endif 
    2239  
     3136char (*f) () = fcntl; 
     3137#endif 
     3138#ifdef __cplusplus 
     3139} 
     3140#endif 
     3141 
     3142int 
     3143main () 
     3144{ 
     3145return f != fcntl; 
    22403146  ; 
    22413147  return 0; 
     
    22433149_ACEOF 
    22443150rm -f conftest.$ac_objext conftest$ac_exeext 
    2245 if { (eval echo "$as_me:2245: \"$ac_link\"") >&5 
     3151if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    22463152  (eval $ac_link) 2>&5 
    22473153  ac_status=$? 
    2248   echo "$as_me:2248: \$? = $ac_status" >&5 
     3154  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22493155  (exit $ac_status); } && 
    22503156         { ac_try='test -s conftest$ac_exeext' 
    2251   { (eval echo "$as_me:2251: \"$ac_try\"") >&5 
    2252   (eval $ac_try) 2>&5 
    2253   ac_status=$? 
    2254   echo "$as_me:2254: \$? = $ac_status" >&5 
     3157  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3158  (eval $ac_try) 2>&5 
     3159  ac_status=$? 
     3160  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    22553161  (exit $ac_status); }; }; then 
    22563162  ac_cv_func_fcntl=yes 
    22573163else 
    22583164  echo "$as_me: failed program was:" >&5 
    2259 cat conftest.$ac_ext >&5 
     3165sed 's/^/| /' conftest.$ac_ext >&5 
     3166 
    22603167ac_cv_func_fcntl=no 
    22613168fi 
    22623169rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    22633170fi 
    2264 echo "$as_me:2264: result: $ac_cv_func_fcntl" >&5 
     3171echo "$as_me:$LINENO: result: $ac_cv_func_fcntl" >&5 
    22653172echo "${ECHO_T}$ac_cv_func_fcntl" >&6 
    22663173if test $ac_cv_func_fcntl = yes; then 
     
    22713178 
    22723179if test $result = no ; then 
    2273         { { echo "$as_me:2273: error: fcntl funtion not found" >&5 
     3180        { { echo "$as_me:$LINENO: error: fcntl funtion not found" >&5 
    22743181echo "$as_me: error: fcntl funtion not found" >&2;} 
    22753182   { (exit 1); exit 1; }; } 
    22763183fi 
    2277 echo "$as_me:2277: checking for fnmatch" >&5 
     3184echo "$as_me:$LINENO: checking for fnmatch" >&5 
    22783185echo $ECHO_N "checking for fnmatch... $ECHO_C" >&6 
    22793186if test "${ac_cv_func_fnmatch+set}" = set; then 
     
    22813188else 
    22823189  cat >conftest.$ac_ext <<_ACEOF 
    2283 #line 2283 "configure" 
    2284 #include "confdefs.h" 
     3190#line $LINENO "configure" 
     3191/* confdefs.h.  */ 
     3192_ACEOF 
     3193cat confdefs.h >>conftest.$ac_ext 
     3194cat >>conftest.$ac_ext <<_ACEOF 
     3195/* end confdefs.h.  */ 
    22853196/* System header to define __stub macros and hopefully few prototypes, 
    2286     which can conflict with char fnmatch (); below.  */ 
    2287 #include <assert.h> 
     3197    which can conflict with char fnmatch (); below. 
     3198    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3199    <limits.h> exists even on freestanding compilers.  */ 
     3200#ifdef __STDC__ 
     3201# include <limits.h> 
     3202#else 
     3203# include <assert.h> 
     3204#endif 
    22883205/* Override any gcc2 internal prototype to avoid an error.  */ 
    22893206#ifdef __cplusplus 
    22903207extern "C" 
     3208{ 
    22913209#endif 
    22923210/* We use char because int might match the return type of a gcc2 
    22933211   builtin and then its argument prototype would still apply.  */ 
    22943212char fnmatch (); 
    2295 char (*f) (); 
    2296  
    2297 int 
    2298 main () 
    2299 { 
    23003213/* The GNU C library defines this for functions which it implements 
    23013214    to always fail with ENOSYS.  Some functions are actually named 
     
    23043217choke me 
    23053218#else 
    2306 f = fnmatch; 
    2307 #endif 
    2308  
     3219char (*f) () = fnmatch; 
     3220#endif 
     3221#ifdef __cplusplus 
     3222} 
     3223#endif 
     3224 
     3225int 
     3226main () 
     3227{ 
     3228return f != fnmatch; 
    23093229  ; 
    23103230  return 0; 
     
    23123232_ACEOF 
    23133233rm -f conftest.$ac_objext conftest$ac_exeext 
    2314 if { (eval echo "$as_me:2314: \"$ac_link\"") >&5 
     3234if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    23153235  (eval $ac_link) 2>&5 
    23163236  ac_status=$? 
    2317   echo "$as_me:2317: \$? = $ac_status" >&5 
     3237  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23183238  (exit $ac_status); } && 
    23193239         { ac_try='test -s conftest$ac_exeext' 
    2320   { (eval echo "$as_me:2320: \"$ac_try\"") >&5 
    2321   (eval $ac_try) 2>&5 
    2322   ac_status=$? 
    2323   echo "$as_me:2323: \$? = $ac_status" >&5 
     3240  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3241  (eval $ac_try) 2>&5 
     3242  ac_status=$? 
     3243  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23243244  (exit $ac_status); }; }; then 
    23253245  ac_cv_func_fnmatch=yes 
    23263246else 
    23273247  echo "$as_me: failed program was:" >&5 
    2328 cat conftest.$ac_ext >&5 
     3248sed 's/^/| /' conftest.$ac_ext >&5 
     3249 
    23293250ac_cv_func_fnmatch=no 
    23303251fi 
    23313252rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    23323253fi 
    2333 echo "$as_me:2333: result: $ac_cv_func_fnmatch" >&5 
     3254echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch" >&5 
    23343255echo "${ECHO_T}$ac_cv_func_fnmatch" >&6 
    23353256if test $ac_cv_func_fnmatch = yes; then 
     
    23403261 
    23413262if test $result = no ; then 
    2342         { { echo "$as_me:2342: error: fnmatch funtion not found" >&5 
     3263        { { echo "$as_me:$LINENO: error: fnmatch funtion not found" >&5 
    23433264echo "$as_me: error: fnmatch funtion not found" >&2;} 
    23443265   { (exit 1); exit 1; }; } 
    23453266fi 
    2346 echo "$as_me:2346: checking for fork" >&5 
     3267echo "$as_me:$LINENO: checking for fork" >&5 
    23473268echo $ECHO_N "checking for fork... $ECHO_C" >&6 
    23483269if test "${ac_cv_func_fork+set}" = set; then 
     
    23503271else 
    23513272  cat >conftest.$ac_ext <<_ACEOF 
    2352 #line 2352 "configure" 
    2353 #include "confdefs.h" 
     3273#line $LINENO "configure" 
     3274/* confdefs.h.  */ 
     3275_ACEOF 
     3276cat confdefs.h >>conftest.$ac_ext 
     3277cat >>conftest.$ac_ext <<_ACEOF 
     3278/* end confdefs.h.  */ 
    23543279/* System header to define __stub macros and hopefully few prototypes, 
    2355     which can conflict with char fork (); below.  */ 
    2356 #include <assert.h> 
     3280    which can conflict with char fork (); below. 
     3281    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3282    <limits.h> exists even on freestanding compilers.  */ 
     3283#ifdef __STDC__ 
     3284# include <limits.h> 
     3285#else 
     3286# include <assert.h> 
     3287#endif 
    23573288/* Override any gcc2 internal prototype to avoid an error.  */ 
    23583289#ifdef __cplusplus 
    23593290extern "C" 
     3291{ 
    23603292#endif 
    23613293/* We use char because int might match the return type of a gcc2 
    23623294   builtin and then its argument prototype would still apply.  */ 
    23633295char fork (); 
    2364 char (*f) (); 
    2365  
    2366 int 
    2367 main () 
    2368 { 
    23693296/* The GNU C library defines this for functions which it implements 
    23703297    to always fail with ENOSYS.  Some functions are actually named 
     
    23733300choke me 
    23743301#else 
    2375 f = fork; 
    2376 #endif 
    2377  
     3302char (*f) () = fork; 
     3303#endif 
     3304#ifdef __cplusplus 
     3305} 
     3306#endif 
     3307 
     3308int 
     3309main () 
     3310{ 
     3311return f != fork; 
    23783312  ; 
    23793313  return 0; 
     
    23813315_ACEOF 
    23823316rm -f conftest.$ac_objext conftest$ac_exeext 
    2383 if { (eval echo "$as_me:2383: \"$ac_link\"") >&5 
     3317if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    23843318  (eval $ac_link) 2>&5 
    23853319  ac_status=$? 
    2386   echo "$as_me:2386: \$? = $ac_status" >&5 
     3320  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23873321  (exit $ac_status); } && 
    23883322         { ac_try='test -s conftest$ac_exeext' 
    2389   { (eval echo "$as_me:2389: \"$ac_try\"") >&5 
    2390   (eval $ac_try) 2>&5 
    2391   ac_status=$? 
    2392   echo "$as_me:2392: \$? = $ac_status" >&5 
     3323  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3324  (eval $ac_try) 2>&5 
     3325  ac_status=$? 
     3326  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    23933327  (exit $ac_status); }; }; then 
    23943328  ac_cv_func_fork=yes 
    23953329else 
    23963330  echo "$as_me: failed program was:" >&5 
    2397 cat conftest.$ac_ext >&5 
     3331sed 's/^/| /' conftest.$ac_ext >&5 
     3332 
    23983333ac_cv_func_fork=no 
    23993334fi 
    24003335rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    24013336fi 
    2402 echo "$as_me:2402: result: $ac_cv_func_fork" >&5 
     3337echo "$as_me:$LINENO: result: $ac_cv_func_fork" >&5 
    24033338echo "${ECHO_T}$ac_cv_func_fork" >&6 
    24043339if test $ac_cv_func_fork = yes; then 
     
    24093344 
    24103345if test $result = no ; then 
    2411         { { echo "$as_me:2411: error: fork funtion not found" >&5 
     3346        { { echo "$as_me:$LINENO: error: fork funtion not found" >&5 
    24123347echo "$as_me: error: fork funtion not found" >&2;} 
    24133348   { (exit 1); exit 1; }; } 
    24143349fi 
    2415 echo "$as_me:2415: checking for free" >&5 
     3350echo "$as_me:$LINENO: checking for free" >&5 
    24163351echo $ECHO_N "checking for free... $ECHO_C" >&6 
    24173352if test "${ac_cv_func_free+set}" = set; then 
     
    24193354else 
    24203355  cat >conftest.$ac_ext <<_ACEOF 
    2421 #line 2421 "configure" 
    2422 #include "confdefs.h" 
     3356#line $LINENO "configure" 
     3357/* confdefs.h.  */ 
     3358_ACEOF 
     3359cat confdefs.h >>conftest.$ac_ext 
     3360cat >>conftest.$ac_ext <<_ACEOF 
     3361/* end confdefs.h.  */ 
    24233362/* System header to define __stub macros and hopefully few prototypes, 
    2424     which can conflict with char free (); below.  */ 
    2425 #include <assert.h> 
     3363    which can conflict with char free (); below. 
     3364    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3365    <limits.h> exists even on freestanding compilers.  */ 
     3366#ifdef __STDC__ 
     3367# include <limits.h> 
     3368#else 
     3369# include <assert.h> 
     3370#endif 
    24263371/* Override any gcc2 internal prototype to avoid an error.  */ 
    24273372#ifdef __cplusplus 
    24283373extern "C" 
     3374{ 
    24293375#endif 
    24303376/* We use char because int might match the return type of a gcc2 
    24313377   builtin and then its argument prototype would still apply.  */ 
    24323378char free (); 
    2433 char (*f) (); 
    2434  
    2435 int 
    2436 main () 
    2437 { 
    24383379/* The GNU C library defines this for functions which it implements 
    24393380    to always fail with ENOSYS.  Some functions are actually named 
     
    24423383choke me 
    24433384#else 
    2444 f = free; 
    2445 #endif 
    2446  
     3385char (*f) () = free; 
     3386#endif 
     3387#ifdef __cplusplus 
     3388} 
     3389#endif 
     3390 
     3391int 
     3392main () 
     3393{ 
     3394return f != free; 
    24473395  ; 
    24483396  return 0; 
     
    24503398_ACEOF 
    24513399rm -f conftest.$ac_objext conftest$ac_exeext 
    2452 if { (eval echo "$as_me:2452: \"$ac_link\"") >&5 
     3400if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    24533401  (eval $ac_link) 2>&5 
    24543402  ac_status=$? 
    2455   echo "$as_me:2455: \$? = $ac_status" >&5 
     3403  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    24563404  (exit $ac_status); } && 
    24573405         { ac_try='test -s conftest$ac_exeext' 
    2458   { (eval echo "$as_me:2458: \"$ac_try\"") >&5 
    2459   (eval $ac_try) 2>&5 
    2460   ac_status=$? 
    2461   echo "$as_me:2461: \$? = $ac_status" >&5 
     3406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3407  (eval $ac_try) 2>&5 
     3408  ac_status=$? 
     3409  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    24623410  (exit $ac_status); }; }; then 
    24633411  ac_cv_func_free=yes 
    24643412else 
    24653413  echo "$as_me: failed program was:" >&5 
    2466 cat conftest.$ac_ext >&5 
     3414sed 's/^/| /' conftest.$ac_ext >&5 
     3415 
    24673416ac_cv_func_free=no 
    24683417fi 
    24693418rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    24703419fi 
    2471 echo "$as_me:2471: result: $ac_cv_func_free" >&5 
     3420echo "$as_me:$LINENO: result: $ac_cv_func_free" >&5 
    24723421echo "${ECHO_T}$ac_cv_func_free" >&6 
    24733422if test $ac_cv_func_free = yes; then 
     
    24783427 
    24793428if test $result = no ; then 
    2480         { { echo "$as_me:2480: error: free funtion not found" >&5 
     3429        { { echo "$as_me:$LINENO: error: free funtion not found" >&5 
    24813430echo "$as_me: error: free funtion not found" >&2;} 
    24823431   { (exit 1); exit 1; }; } 
    24833432fi 
    2484 echo "$as_me:2484: checking for freopen" >&5 
     3433echo "$as_me:$LINENO: checking for freopen" >&5 
    24853434echo $ECHO_N "checking for freopen... $ECHO_C" >&6 
    24863435if test "${ac_cv_func_freopen+set}" = set; then 
     
    24883437else 
    24893438  cat >conftest.$ac_ext <<_ACEOF 
    2490 #line 2490 "configure" 
    2491 #include "confdefs.h" 
     3439#line $LINENO "configure" 
     3440/* confdefs.h.  */ 
     3441_ACEOF 
     3442cat confdefs.h >>conftest.$ac_ext 
     3443cat >>conftest.$ac_ext <<_ACEOF 
     3444/* end confdefs.h.  */ 
    24923445/* System header to define __stub macros and hopefully few prototypes, 
    2493     which can conflict with char freopen (); below.  */ 
    2494 #include <assert.h> 
     3446    which can conflict with char freopen (); below. 
     3447    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3448    <limits.h> exists even on freestanding compilers.  */ 
     3449#ifdef __STDC__ 
     3450# include <limits.h> 
     3451#else 
     3452# include <assert.h> 
     3453#endif 
    24953454/* Override any gcc2 internal prototype to avoid an error.  */ 
    24963455#ifdef __cplusplus 
    24973456extern "C" 
     3457{ 
    24983458#endif 
    24993459/* We use char because int might match the return type of a gcc2 
    25003460   builtin and then its argument prototype would still apply.  */ 
    25013461char freopen (); 
    2502 char (*f) (); 
    2503  
    2504 int 
    2505 main () 
    2506 { 
    25073462/* The GNU C library defines this for functions which it implements 
    25083463    to always fail with ENOSYS.  Some functions are actually named 
     
    25113466choke me 
    25123467#else 
    2513 f = freopen; 
    2514 #endif 
    2515  
     3468char (*f) () = freopen; 
     3469#endif 
     3470#ifdef __cplusplus 
     3471} 
     3472#endif 
     3473 
     3474int 
     3475main () 
     3476{ 
     3477return f != freopen; 
    25163478  ; 
    25173479  return 0; 
     
    25193481_ACEOF 
    25203482rm -f conftest.$ac_objext conftest$ac_exeext 
    2521 if { (eval echo "$as_me:2521: \"$ac_link\"") >&5 
     3483if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    25223484  (eval $ac_link) 2>&5 
    25233485  ac_status=$? 
    2524   echo "$as_me:2524: \$? = $ac_status" >&5 
     3486  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25253487  (exit $ac_status); } && 
    25263488         { ac_try='test -s conftest$ac_exeext' 
    2527   { (eval echo "$as_me:2527: \"$ac_try\"") >&5 
    2528   (eval $ac_try) 2>&5 
    2529   ac_status=$? 
    2530   echo "$as_me:2530: \$? = $ac_status" >&5 
     3489  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3490  (eval $ac_try) 2>&5 
     3491  ac_status=$? 
     3492  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25313493  (exit $ac_status); }; }; then 
    25323494  ac_cv_func_freopen=yes 
    25333495else 
    25343496  echo "$as_me: failed program was:" >&5 
    2535 cat conftest.$ac_ext >&5 
     3497sed 's/^/| /' conftest.$ac_ext >&5 
     3498 
    25363499ac_cv_func_freopen=no 
    25373500fi 
    25383501rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    25393502fi 
    2540 echo "$as_me:2540: result: $ac_cv_func_freopen" >&5 
     3503echo "$as_me:$LINENO: result: $ac_cv_func_freopen" >&5 
    25413504echo "${ECHO_T}$ac_cv_func_freopen" >&6 
    25423505if test $ac_cv_func_freopen = yes; then 
     
    25473510 
    25483511if test $result = no ; then 
    2549         { { echo "$as_me:2549: error: freopen funtion not found" >&5 
     3512        { { echo "$as_me:$LINENO: error: freopen funtion not found" >&5 
    25503513echo "$as_me: error: freopen funtion not found" >&2;} 
    25513514   { (exit 1); exit 1; }; } 
    25523515fi 
    2553 echo "$as_me:2553: checking for getcwd" >&5 
     3516echo "$as_me:$LINENO: checking for getcwd" >&5 
    25543517echo $ECHO_N "checking for getcwd... $ECHO_C" >&6 
    25553518if test "${ac_cv_func_getcwd+set}" = set; then 
     
    25573520else 
    25583521  cat >conftest.$ac_ext <<_ACEOF 
    2559 #line 2559 "configure" 
    2560 #include "confdefs.h" 
     3522#line $LINENO "configure" 
     3523/* confdefs.h.  */ 
     3524_ACEOF 
     3525cat confdefs.h >>conftest.$ac_ext 
     3526cat >>conftest.$ac_ext <<_ACEOF 
     3527/* end confdefs.h.  */ 
    25613528/* System header to define __stub macros and hopefully few prototypes, 
    2562     which can conflict with char getcwd (); below.  */ 
    2563 #include <assert.h> 
     3529    which can conflict with char getcwd (); below. 
     3530    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3531    <limits.h> exists even on freestanding compilers.  */ 
     3532#ifdef __STDC__ 
     3533# include <limits.h> 
     3534#else 
     3535# include <assert.h> 
     3536#endif 
    25643537/* Override any gcc2 internal prototype to avoid an error.  */ 
    25653538#ifdef __cplusplus 
    25663539extern "C" 
     3540{ 
    25673541#endif 
    25683542/* We use char because int might match the return type of a gcc2 
    25693543   builtin and then its argument prototype would still apply.  */ 
    25703544char getcwd (); 
    2571 char (*f) (); 
    2572  
    2573 int 
    2574 main () 
    2575 { 
    25763545/* The GNU C library defines this for functions which it implements 
    25773546    to always fail with ENOSYS.  Some functions are actually named 
     
    25803549choke me 
    25813550#else 
    2582 f = getcwd; 
    2583 #endif 
    2584  
     3551char (*f) () = getcwd; 
     3552#endif 
     3553#ifdef __cplusplus 
     3554} 
     3555#endif 
     3556 
     3557int 
     3558main () 
     3559{ 
     3560return f != getcwd; 
    25853561  ; 
    25863562  return 0; 
     
    25883564_ACEOF 
    25893565rm -f conftest.$ac_objext conftest$ac_exeext 
    2590 if { (eval echo "$as_me:2590: \"$ac_link\"") >&5 
     3566if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    25913567  (eval $ac_link) 2>&5 
    25923568  ac_status=$? 
    2593   echo "$as_me:2593: \$? = $ac_status" >&5 
     3569  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    25943570  (exit $ac_status); } && 
    25953571         { ac_try='test -s conftest$ac_exeext' 
    2596   { (eval echo "$as_me:2596: \"$ac_try\"") >&5 
    2597   (eval $ac_try) 2>&5 
    2598   ac_status=$? 
    2599   echo "$as_me:2599: \$? = $ac_status" >&5 
     3572  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3573  (eval $ac_try) 2>&5 
     3574  ac_status=$? 
     3575  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26003576  (exit $ac_status); }; }; then 
    26013577  ac_cv_func_getcwd=yes 
    26023578else 
    26033579  echo "$as_me: failed program was:" >&5 
    2604 cat conftest.$ac_ext >&5 
     3580sed 's/^/| /' conftest.$ac_ext >&5 
     3581 
    26053582ac_cv_func_getcwd=no 
    26063583fi 
    26073584rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    26083585fi 
    2609 echo "$as_me:2609: result: $ac_cv_func_getcwd" >&5 
     3586echo "$as_me:$LINENO: result: $ac_cv_func_getcwd" >&5 
    26103587echo "${ECHO_T}$ac_cv_func_getcwd" >&6 
    26113588if test $ac_cv_func_getcwd = yes; then 
     
    26163593 
    26173594if test $result = no ; then 
    2618         { { echo "$as_me:2618: error: getcwd funtion not found" >&5 
     3595        { { echo "$as_me:$LINENO: error: getcwd funtion not found" >&5 
    26193596echo "$as_me: error: getcwd funtion not found" >&2;} 
    26203597   { (exit 1); exit 1; }; } 
    26213598fi 
    2622 echo "$as_me:2622: checking for getopt" >&5 
     3599echo "$as_me:$LINENO: checking for getopt" >&5 
    26233600echo $ECHO_N "checking for getopt... $ECHO_C" >&6 
    26243601if test "${ac_cv_func_getopt+set}" = set; then 
     
    26263603else 
    26273604  cat >conftest.$ac_ext <<_ACEOF 
    2628 #line 2628 "configure" 
    2629 #include "confdefs.h" 
     3605#line $LINENO "configure" 
     3606/* confdefs.h.  */ 
     3607_ACEOF 
     3608cat confdefs.h >>conftest.$ac_ext 
     3609cat >>conftest.$ac_ext <<_ACEOF 
     3610/* end confdefs.h.  */ 
    26303611/* System header to define __stub macros and hopefully few prototypes, 
    2631     which can conflict with char getopt (); below.  */ 
    2632 #include <assert.h> 
     3612    which can conflict with char getopt (); below. 
     3613    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3614    <limits.h> exists even on freestanding compilers.  */ 
     3615#ifdef __STDC__ 
     3616# include <limits.h> 
     3617#else 
     3618# include <assert.h> 
     3619#endif 
    26333620/* Override any gcc2 internal prototype to avoid an error.  */ 
    26343621#ifdef __cplusplus 
    26353622extern "C" 
     3623{ 
    26363624#endif 
    26373625/* We use char because int might match the return type of a gcc2 
    26383626   builtin and then its argument prototype would still apply.  */ 
    26393627char getopt (); 
    2640 char (*f) (); 
    2641  
    2642 int 
    2643 main () 
    2644 { 
    26453628/* The GNU C library defines this for functions which it implements 
    26463629    to always fail with ENOSYS.  Some functions are actually named 
     
    26493632choke me 
    26503633#else 
    2651 f = getopt; 
    2652 #endif 
    2653  
     3634char (*f) () = getopt; 
     3635#endif 
     3636#ifdef __cplusplus 
     3637} 
     3638#endif 
     3639 
     3640int 
     3641main () 
     3642{ 
     3643return f != getopt; 
    26543644  ; 
    26553645  return 0; 
     
    26573647_ACEOF 
    26583648rm -f conftest.$ac_objext conftest$ac_exeext 
    2659 if { (eval echo "$as_me:2659: \"$ac_link\"") >&5 
     3649if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    26603650  (eval $ac_link) 2>&5 
    26613651  ac_status=$? 
    2662   echo "$as_me:2662: \$? = $ac_status" >&5 
     3652  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26633653  (exit $ac_status); } && 
    26643654         { ac_try='test -s conftest$ac_exeext' 
    2665   { (eval echo "$as_me:2665: \"$ac_try\"") >&5 
    2666   (eval $ac_try) 2>&5 
    2667   ac_status=$? 
    2668   echo "$as_me:2668: \$? = $ac_status" >&5 
     3655  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3656  (eval $ac_try) 2>&5 
     3657  ac_status=$? 
     3658  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    26693659  (exit $ac_status); }; }; then 
    26703660  ac_cv_func_getopt=yes 
    26713661else 
    26723662  echo "$as_me: failed program was:" >&5 
    2673 cat conftest.$ac_ext >&5 
     3663sed 's/^/| /' conftest.$ac_ext >&5 
     3664 
    26743665ac_cv_func_getopt=no 
    26753666fi 
    26763667rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    26773668fi 
    2678 echo "$as_me:2678: result: $ac_cv_func_getopt" >&5 
     3669echo "$as_me:$LINENO: result: $ac_cv_func_getopt" >&5 
    26793670echo "${ECHO_T}$ac_cv_func_getopt" >&6 
    26803671if test $ac_cv_func_getopt = yes; then 
     
    26853676 
    26863677if test $result = no ; then 
    2687         { { echo "$as_me:2687: error: getopt funtion not found" >&5 
     3678        { { echo "$as_me:$LINENO: error: getopt funtion not found" >&5 
    26883679echo "$as_me: error: getopt funtion not found" >&2;} 
    26893680   { (exit 1); exit 1; }; } 
    26903681fi 
    2691 echo "$as_me:2691: checking for getpwnam" >&5 
     3682echo "$as_me:$LINENO: checking for getpwnam" >&5 
    26923683echo $ECHO_N "checking for getpwnam... $ECHO_C" >&6 
    26933684if test "${ac_cv_func_getpwnam+set}" = set; then 
     
    26953686else 
    26963687  cat >conftest.$ac_ext <<_ACEOF 
    2697 #line 2697 "configure" 
    2698 #include "confdefs.h" 
     3688#line $LINENO "configure" 
     3689/* confdefs.h.  */ 
     3690_ACEOF 
     3691cat confdefs.h >>conftest.$ac_ext 
     3692cat >>conftest.$ac_ext <<_ACEOF 
     3693/* end confdefs.h.  */ 
    26993694/* System header to define __stub macros and hopefully few prototypes, 
    2700     which can conflict with char getpwnam (); below.  */ 
    2701 #include <assert.h> 
     3695    which can conflict with char getpwnam (); below. 
     3696    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3697    <limits.h> exists even on freestanding compilers.  */ 
     3698#ifdef __STDC__ 
     3699# include <limits.h> 
     3700#else 
     3701# include <assert.h> 
     3702#endif 
    27023703/* Override any gcc2 internal prototype to avoid an error.  */ 
    27033704#ifdef __cplusplus 
    27043705extern "C" 
     3706{ 
    27053707#endif 
    27063708/* We use char because int might match the return type of a gcc2 
    27073709   builtin and then its argument prototype would still apply.  */ 
    27083710char getpwnam (); 
    2709 char (*f) (); 
    2710  
    2711 int 
    2712 main () 
    2713 { 
    27143711/* The GNU C library defines this for functions which it implements 
    27153712    to always fail with ENOSYS.  Some functions are actually named 
     
    27183715choke me 
    27193716#else 
    2720 f = getpwnam; 
    2721 #endif 
    2722  
     3717char (*f) () = getpwnam; 
     3718#endif 
     3719#ifdef __cplusplus 
     3720} 
     3721#endif 
     3722 
     3723int 
     3724main () 
     3725{ 
     3726return f != getpwnam; 
    27233727  ; 
    27243728  return 0; 
     
    27263730_ACEOF 
    27273731rm -f conftest.$ac_objext conftest$ac_exeext 
    2728 if { (eval echo "$as_me:2728: \"$ac_link\"") >&5 
     3732if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    27293733  (eval $ac_link) 2>&5 
    27303734  ac_status=$? 
    2731   echo "$as_me:2731: \$? = $ac_status" >&5 
     3735  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    27323736  (exit $ac_status); } && 
    27333737         { ac_try='test -s conftest$ac_exeext' 
    2734   { (eval echo "$as_me:2734: \"$ac_try\"") >&5 
    2735   (eval $ac_try) 2>&5 
    2736   ac_status=$? 
    2737   echo "$as_me:2737: \$? = $ac_status" >&5 
     3738  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3739  (eval $ac_try) 2>&5 
     3740  ac_status=$? 
     3741  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    27383742  (exit $ac_status); }; }; then 
    27393743  ac_cv_func_getpwnam=yes 
    27403744else 
    27413745  echo "$as_me: failed program was:" >&5 
    2742 cat conftest.$ac_ext >&5 
     3746sed 's/^/| /' conftest.$ac_ext >&5 
     3747 
    27433748ac_cv_func_getpwnam=no 
    27443749fi 
    27453750rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    27463751fi 
    2747 echo "$as_me:2747: result: $ac_cv_func_getpwnam" >&5 
     3752echo "$as_me:$LINENO: result: $ac_cv_func_getpwnam" >&5 
    27483753echo "${ECHO_T}$ac_cv_func_getpwnam" >&6 
    27493754if test $ac_cv_func_getpwnam = yes; then 
     
    27543759 
    27553760if test $result = no ; then 
    2756         { { echo "$as_me:2756: error: getpwnam funtion not found" >&5 
     3761        { { echo "$as_me:$LINENO: error: getpwnam funtion not found" >&5 
    27573762echo "$as_me: error: getpwnam funtion not found" >&2;} 
    27583763   { (exit 1); exit 1; }; } 
    27593764fi 
    2760 echo "$as_me:2760: checking for gettimeofday" >&5 
     3765echo "$as_me:$LINENO: checking for gettimeofday" >&5 
    27613766echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6 
    27623767if test "${ac_cv_func_gettimeofday+set}" = set; then 
     
    27643769else 
    27653770  cat >conftest.$ac_ext <<_ACEOF 
    2766 #line 2766 "configure" 
    2767 #include "confdefs.h" 
     3771#line $LINENO "configure" 
     3772/* confdefs.h.  */ 
     3773_ACEOF 
     3774cat confdefs.h >>conftest.$ac_ext 
     3775cat >>conftest.$ac_ext <<_ACEOF 
     3776/* end confdefs.h.  */ 
    27683777/* System header to define __stub macros and hopefully few prototypes, 
    2769     which can conflict with char gettimeofday (); below.  */ 
    2770 #include <assert.h> 
     3778    which can conflict with char gettimeofday (); below. 
     3779    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3780    <limits.h> exists even on freestanding compilers.  */ 
     3781#ifdef __STDC__ 
     3782# include <limits.h> 
     3783#else 
     3784# include <assert.h> 
     3785#endif 
    27713786/* Override any gcc2 internal prototype to avoid an error.  */ 
    27723787#ifdef __cplusplus 
    27733788extern "C" 
     3789{ 
    27743790#endif 
    27753791/* We use char because int might match the return type of a gcc2 
    27763792   builtin and then its argument prototype would still apply.  */ 
    27773793char gettimeofday (); 
    2778 char (*f) (); 
    2779  
    2780 int 
    2781 main () 
    2782 { 
    27833794/* The GNU C library defines this for functions which it implements 
    27843795    to always fail with ENOSYS.  Some functions are actually named 
     
    27873798choke me 
    27883799#else 
    2789 f = gettimeofday; 
    2790 #endif 
    2791  
     3800char (*f) () = gettimeofday; 
     3801#endif 
     3802#ifdef __cplusplus 
     3803} 
     3804#endif 
     3805 
     3806int 
     3807main () 
     3808{ 
     3809return f != gettimeofday; 
    27923810  ; 
    27933811  return 0; 
     
    27953813_ACEOF 
    27963814rm -f conftest.$ac_objext conftest$ac_exeext 
    2797 if { (eval echo "$as_me:2797: \"$ac_link\"") >&5 
     3815if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    27983816  (eval $ac_link) 2>&5 
    27993817  ac_status=$? 
    2800   echo "$as_me:2800: \$? = $ac_status" >&5 
     3818  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28013819  (exit $ac_status); } && 
    28023820         { ac_try='test -s conftest$ac_exeext' 
    2803   { (eval echo "$as_me:2803: \"$ac_try\"") >&5 
    2804   (eval $ac_try) 2>&5 
    2805   ac_status=$? 
    2806   echo "$as_me:2806: \$? = $ac_status" >&5 
     3821  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3822  (eval $ac_try) 2>&5 
     3823  ac_status=$? 
     3824  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28073825  (exit $ac_status); }; }; then 
    28083826  ac_cv_func_gettimeofday=yes 
    28093827else 
    28103828  echo "$as_me: failed program was:" >&5 
    2811 cat conftest.$ac_ext >&5 
     3829sed 's/^/| /' conftest.$ac_ext >&5 
     3830 
    28123831ac_cv_func_gettimeofday=no 
    28133832fi 
    28143833rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    28153834fi 
    2816 echo "$as_me:2816: result: $ac_cv_func_gettimeofday" >&5 
     3835echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5 
    28173836echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6 
    28183837if test $ac_cv_func_gettimeofday = yes; then 
     
    28233842 
    28243843if test $result = no ; then 
    2825         { { echo "$as_me:2825: error: gettimeofday funtion not found" >&5 
     3844        { { echo "$as_me:$LINENO: error: gettimeofday funtion not found" >&5 
    28263845echo "$as_me: error: gettimeofday funtion not found" >&2;} 
    28273846   { (exit 1); exit 1; }; } 
    28283847fi 
    2829 echo "$as_me:2829: checking for glob" >&5 
     3848echo "$as_me:$LINENO: checking for glob" >&5 
    28303849echo $ECHO_N "checking for glob... $ECHO_C" >&6 
    28313850if test "${ac_cv_func_glob+set}" = set; then 
     
    28333852else 
    28343853  cat >conftest.$ac_ext <<_ACEOF 
    2835 #line 2835 "configure" 
    2836 #include "confdefs.h" 
     3854#line $LINENO "configure" 
     3855/* confdefs.h.  */ 
     3856_ACEOF 
     3857cat confdefs.h >>conftest.$ac_ext 
     3858cat >>conftest.$ac_ext <<_ACEOF 
     3859/* end confdefs.h.  */ 
    28373860/* System header to define __stub macros and hopefully few prototypes, 
    2838     which can conflict with char glob (); below.  */ 
    2839 #include <assert.h> 
     3861    which can conflict with char glob (); below. 
     3862    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3863    <limits.h> exists even on freestanding compilers.  */ 
     3864#ifdef __STDC__ 
     3865# include <limits.h> 
     3866#else 
     3867# include <assert.h> 
     3868#endif 
    28403869/* Override any gcc2 internal prototype to avoid an error.  */ 
    28413870#ifdef __cplusplus 
    28423871extern "C" 
     3872{ 
    28433873#endif 
    28443874/* We use char because int might match the return type of a gcc2 
    28453875   builtin and then its argument prototype would still apply.  */ 
    28463876char glob (); 
    2847 char (*f) (); 
    2848  
    2849 int 
    2850 main () 
    2851 { 
    28523877/* The GNU C library defines this for functions which it implements 
    28533878    to always fail with ENOSYS.  Some functions are actually named 
     
    28563881choke me 
    28573882#else 
    2858 f = glob; 
    2859 #endif 
    2860  
     3883char (*f) () = glob; 
     3884#endif 
     3885#ifdef __cplusplus 
     3886} 
     3887#endif 
     3888 
     3889int 
     3890main () 
     3891{ 
     3892return f != glob; 
    28613893  ; 
    28623894  return 0; 
     
    28643896_ACEOF 
    28653897rm -f conftest.$ac_objext conftest$ac_exeext 
    2866 if { (eval echo "$as_me:2866: \"$ac_link\"") >&5 
     3898if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    28673899  (eval $ac_link) 2>&5 
    28683900  ac_status=$? 
    2869   echo "$as_me:2869: \$? = $ac_status" >&5 
     3901  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28703902  (exit $ac_status); } && 
    28713903         { ac_try='test -s conftest$ac_exeext' 
    2872   { (eval echo "$as_me:2872: \"$ac_try\"") >&5 
    2873   (eval $ac_try) 2>&5 
    2874   ac_status=$? 
    2875   echo "$as_me:2875: \$? = $ac_status" >&5 
     3904  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3905  (eval $ac_try) 2>&5 
     3906  ac_status=$? 
     3907  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    28763908  (exit $ac_status); }; }; then 
    28773909  ac_cv_func_glob=yes 
    28783910else 
    28793911  echo "$as_me: failed program was:" >&5 
    2880 cat conftest.$ac_ext >&5 
     3912sed 's/^/| /' conftest.$ac_ext >&5 
     3913 
    28813914ac_cv_func_glob=no 
    28823915fi 
    28833916rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    28843917fi 
    2885 echo "$as_me:2885: result: $ac_cv_func_glob" >&5 
     3918echo "$as_me:$LINENO: result: $ac_cv_func_glob" >&5 
    28863919echo "${ECHO_T}$ac_cv_func_glob" >&6 
    28873920if test $ac_cv_func_glob = yes; then 
     
    28923925 
    28933926if test $result = no ; then 
    2894         { { echo "$as_me:2894: error: glob funtion not found" >&5 
     3927        { { echo "$as_me:$LINENO: error: glob funtion not found" >&5 
    28953928echo "$as_me: error: glob funtion not found" >&2;} 
    28963929   { (exit 1); exit 1; }; } 
    28973930fi 
    2898 echo "$as_me:2898: checking for globfree" >&5 
     3931echo "$as_me:$LINENO: checking for globfree" >&5 
    28993932echo $ECHO_N "checking for globfree... $ECHO_C" >&6 
    29003933if test "${ac_cv_func_globfree+set}" = set; then 
     
    29023935else 
    29033936  cat >conftest.$ac_ext <<_ACEOF 
    2904 #line 2904 "configure" 
    2905 #include "confdefs.h" 
     3937#line $LINENO "configure" 
     3938/* confdefs.h.  */ 
     3939_ACEOF 
     3940cat confdefs.h >>conftest.$ac_ext 
     3941cat >>conftest.$ac_ext <<_ACEOF 
     3942/* end confdefs.h.  */ 
    29063943/* System header to define __stub macros and hopefully few prototypes, 
    2907     which can conflict with char globfree (); below.  */ 
    2908 #include <assert.h> 
     3944    which can conflict with char globfree (); below. 
     3945    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     3946    <limits.h> exists even on freestanding compilers.  */ 
     3947#ifdef __STDC__ 
     3948# include <limits.h> 
     3949#else 
     3950# include <assert.h> 
     3951#endif 
    29093952/* Override any gcc2 internal prototype to avoid an error.  */ 
    29103953#ifdef __cplusplus 
    29113954extern "C" 
     3955{ 
    29123956#endif 
    29133957/* We use char because int might match the return type of a gcc2 
    29143958   builtin and then its argument prototype would still apply.  */ 
    29153959char globfree (); 
    2916 char (*f) (); 
    2917  
    2918 int 
    2919 main () 
    2920 { 
    29213960/* The GNU C library defines this for functions which it implements 
    29223961    to always fail with ENOSYS.  Some functions are actually named 
     
    29253964choke me 
    29263965#else 
    2927 f = globfree; 
    2928 #endif 
    2929  
     3966char (*f) () = globfree; 
     3967#endif 
     3968#ifdef __cplusplus 
     3969} 
     3970#endif 
     3971 
     3972int 
     3973main () 
     3974{ 
     3975return f != globfree; 
    29303976  ; 
    29313977  return 0; 
     
    29333979_ACEOF 
    29343980rm -f conftest.$ac_objext conftest$ac_exeext 
    2935 if { (eval echo "$as_me:2935: \"$ac_link\"") >&5 
     3981if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    29363982  (eval $ac_link) 2>&5 
    29373983  ac_status=$? 
    2938   echo "$as_me:2938: \$? = $ac_status" >&5 
     3984  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    29393985  (exit $ac_status); } && 
    29403986         { ac_try='test -s conftest$ac_exeext' 
    2941   { (eval echo "$as_me:2941: \"$ac_try\"") >&5 
    2942   (eval $ac_try) 2>&5 
    2943   ac_status=$? 
    2944   echo "$as_me:2944: \$? = $ac_status" >&5 
     3987  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     3988  (eval $ac_try) 2>&5 
     3989  ac_status=$? 
     3990  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    29453991  (exit $ac_status); }; }; then 
    29463992  ac_cv_func_globfree=yes 
    29473993else 
    29483994  echo "$as_me: failed program was:" >&5 
    2949 cat conftest.$ac_ext >&5 
     3995sed 's/^/| /' conftest.$ac_ext >&5 
     3996 
    29503997ac_cv_func_globfree=no 
    29513998fi 
    29523999rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    29534000fi 
    2954 echo "$as_me:2954: result: $ac_cv_func_globfree" >&5 
     4001echo "$as_me:$LINENO: result: $ac_cv_func_globfree" >&5 
    29554002echo "${ECHO_T}$ac_cv_func_globfree" >&6 
    29564003if test $ac_cv_func_globfree = yes; then 
     
    29614008 
    29624009if test $result = no ; then 
    2963         { { echo "$as_me:2963: error: globfree funtion not found" >&5 
     4010        { { echo "$as_me:$LINENO: error: globfree funtion not found" >&5 
    29644011echo "$as_me: error: globfree funtion not found" >&2;} 
    29654012   { (exit 1); exit 1; }; } 
    29664013fi 
    2967 echo "$as_me:2967: checking for kill" >&5 
     4014echo "$as_me:$LINENO: checking for kill" >&5 
    29684015echo $ECHO_N "checking for kill... $ECHO_C" >&6 
    29694016if test "${ac_cv_func_kill+set}" = set; then 
     
    29714018else 
    29724019  cat >conftest.$ac_ext <<_ACEOF 
    2973 #line 2973 "configure" 
    2974 #include "confdefs.h" 
     4020#line $LINENO "configure" 
     4021/* confdefs.h.  */ 
     4022_ACEOF 
     4023cat confdefs.h >>conftest.$ac_ext 
     4024cat >>conftest.$ac_ext <<_ACEOF 
     4025/* end confdefs.h.  */ 
    29754026/* System header to define __stub macros and hopefully few prototypes, 
    2976     which can conflict with char kill (); below.  */ 
    2977 #include <assert.h> 
     4027    which can conflict with char kill (); below. 
     4028    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4029    <limits.h> exists even on freestanding compilers.  */ 
     4030#ifdef __STDC__ 
     4031# include <limits.h> 
     4032#else 
     4033# include <assert.h> 
     4034#endif 
    29784035/* Override any gcc2 internal prototype to avoid an error.  */ 
    29794036#ifdef __cplusplus 
    29804037extern "C" 
     4038{ 
    29814039#endif 
    29824040/* We use char because int might match the return type of a gcc2 
    29834041   builtin and then its argument prototype would still apply.  */ 
    29844042char kill (); 
    2985 char (*f) (); 
    2986  
    2987 int 
    2988 main () 
    2989 { 
    29904043/* The GNU C library defines this for functions which it implements 
    29914044    to always fail with ENOSYS.  Some functions are actually named 
     
    29944047choke me 
    29954048#else 
    2996 f = kill; 
    2997 #endif 
    2998  
     4049char (*f) () = kill; 
     4050#endif 
     4051#ifdef __cplusplus 
     4052} 
     4053#endif 
     4054 
     4055int 
     4056main () 
     4057{ 
     4058return f != kill; 
    29994059  ; 
    30004060  return 0; 
     
    30024062_ACEOF 
    30034063rm -f conftest.$ac_objext conftest$ac_exeext 
    3004 if { (eval echo "$as_me:3004: \"$ac_link\"") >&5 
     4064if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    30054065  (eval $ac_link) 2>&5 
    30064066  ac_status=$? 
    3007   echo "$as_me:3007: \$? = $ac_status" >&5 
     4067  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    30084068  (exit $ac_status); } && 
    30094069         { ac_try='test -s conftest$ac_exeext' 
    3010   { (eval echo "$as_me:3010: \"$ac_try\"") >&5 
    3011   (eval $ac_try) 2>&5 
    3012   ac_status=$? 
    3013   echo "$as_me:3013: \$? = $ac_status" >&5 
     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 
    30144074  (exit $ac_status); }; }; then 
    30154075  ac_cv_func_kill=yes 
    30164076else 
    30174077  echo "$as_me: failed program was:" >&5 
    3018 cat conftest.$ac_ext >&5 
     4078sed 's/^/| /' conftest.$ac_ext >&5 
     4079 
    30194080ac_cv_func_kill=no 
    30204081fi 
    30214082rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    30224083fi 
    3023 echo "$as_me:3023: result: $ac_cv_func_kill" >&5 
     4084echo "$as_me:$LINENO: result: $ac_cv_func_kill" >&5 
    30244085echo "${ECHO_T}$ac_cv_func_kill" >&6 
    30254086if test $ac_cv_func_kill = yes; then 
     
    30304091 
    30314092if test $result = no ; then 
    3032         { { echo "$as_me:3032: error: kill funtion not found" >&5 
     4093        { { echo "$as_me:$LINENO: error: kill funtion not found" >&5 
    30334094echo "$as_me: error: kill funtion not found" >&2;} 
    30344095   { (exit 1); exit 1; }; } 
    30354096fi 
    3036 echo "$as_me:3036: checking for mkdir" >&5 
     4097echo "$as_me:$LINENO: checking for mkdir" >&5 
    30374098echo $ECHO_N "checking for mkdir... $ECHO_C" >&6 
    30384099if test "${ac_cv_func_mkdir+set}" = set; then 
     
    30404101else 
    30414102  cat >conftest.$ac_ext <<_ACEOF 
    3042 #line 3042 "configure" 
    3043 #include "confdefs.h" 
     4103#line $LINENO "configure" 
     4104/* confdefs.h.  */ 
     4105_ACEOF 
     4106cat confdefs.h >>conftest.$ac_ext 
     4107cat >>conftest.$ac_ext <<_ACEOF 
     4108/* end confdefs.h.  */ 
    30444109/* System header to define __stub macros and hopefully few prototypes, 
    3045     which can conflict with char mkdir (); below.  */ 
    3046 #include <assert.h> 
     4110    which can conflict with char mkdir (); below. 
     4111    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4112    <limits.h> exists even on freestanding compilers.  */ 
     4113#ifdef __STDC__ 
     4114# include <limits.h> 
     4115#else 
     4116# include <assert.h> 
     4117#endif 
    30474118/* Override any gcc2 internal prototype to avoid an error.  */ 
    30484119#ifdef __cplusplus 
    30494120extern "C" 
     4121{ 
    30504122#endif 
    30514123/* We use char because int might match the return type of a gcc2 
    30524124   builtin and then its argument prototype would still apply.  */ 
    30534125char mkdir (); 
    3054 char (*f) (); 
    3055  
    3056 int 
    3057 main () 
    3058 { 
    30594126/* The GNU C library defines this for functions which it implements 
    30604127    to always fail with ENOSYS.  Some functions are actually named 
     
    30634130choke me 
    30644131#else 
    3065 f = mkdir; 
    3066 #endif 
    3067  
     4132char (*f) () = mkdir; 
     4133#endif 
     4134#ifdef __cplusplus 
     4135} 
     4136#endif 
     4137 
     4138int 
     4139main () 
     4140{ 
     4141return f != mkdir; 
    30684142  ; 
    30694143  return 0; 
     
    30714145_ACEOF 
    30724146rm -f conftest.$ac_objext conftest$ac_exeext 
    3073 if { (eval echo "$as_me:3073: \"$ac_link\"") >&5 
     4147if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    30744148  (eval $ac_link) 2>&5 
    30754149  ac_status=$? 
    3076   echo "$as_me:3076: \$? = $ac_status" >&5 
     4150  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    30774151  (exit $ac_status); } && 
    30784152         { ac_try='test -s conftest$ac_exeext' 
    3079   { (eval echo "$as_me:3079: \"$ac_try\"") >&5 
    3080   (eval $ac_try) 2>&5 
    3081   ac_status=$? 
    3082   echo "$as_me:3082: \$? = $ac_status" >&5 
     4153  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4154  (eval $ac_try) 2>&5 
     4155  ac_status=$? 
     4156  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    30834157  (exit $ac_status); }; }; then 
    30844158  ac_cv_func_mkdir=yes 
    30854159else 
    30864160  echo "$as_me: failed program was:" >&5 
    3087 cat conftest.$ac_ext >&5 
     4161sed 's/^/| /' conftest.$ac_ext >&5 
     4162 
    30884163ac_cv_func_mkdir=no 
    30894164fi 
    30904165rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    30914166fi 
    3092 echo "$as_me:3092: result: $ac_cv_func_mkdir" >&5 
     4167echo "$as_me:$LINENO: result: $ac_cv_func_mkdir" >&5 
    30934168echo "${ECHO_T}$ac_cv_func_mkdir" >&6 
    30944169if test $ac_cv_func_mkdir = yes; then 
     
    30994174 
    31004175if test $result = no ; then 
    3101         { { echo "$as_me:3101: error: mkdir funtion not found" >&5 
     4176        { { echo "$as_me:$LINENO: error: mkdir funtion not found" >&5 
    31024177echo "$as_me: error: mkdir funtion not found" >&2;} 
    31034178   { (exit 1); exit 1; }; } 
    31044179fi 
    3105 echo "$as_me:3105: checking for openlog" >&5 
     4180echo "$as_me:$LINENO: checking for openlog" >&5 
    31064181echo $ECHO_N "checking for openlog... $ECHO_C" >&6 
    31074182if test "${ac_cv_func_openlog+set}" = set; then 
     
    31094184else 
    31104185  cat >conftest.$ac_ext <<_ACEOF 
    3111 #line 3111 "configure" 
    3112 #include "confdefs.h" 
     4186#line $LINENO "configure" 
     4187/* confdefs.h.  */ 
     4188_ACEOF 
     4189cat confdefs.h >>conftest.$ac_ext 
     4190cat >>conftest.$ac_ext <<_ACEOF 
     4191/* end confdefs.h.  */ 
    31134192/* System header to define __stub macros and hopefully few prototypes, 
    3114     which can conflict with char openlog (); below.  */ 
    3115 #include <assert.h> 
     4193    which can conflict with char openlog (); below. 
     4194    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4195    <limits.h> exists even on freestanding compilers.  */ 
     4196#ifdef __STDC__ 
     4197# include <limits.h> 
     4198#else 
     4199# include <assert.h> 
     4200#endif 
    31164201/* Override any gcc2 internal prototype to avoid an error.  */ 
    31174202#ifdef __cplusplus 
    31184203extern "C" 
     4204{ 
    31194205#endif 
    31204206/* We use char because int might match the return type of a gcc2 
    31214207   builtin and then its argument prototype would still apply.  */ 
    31224208char openlog (); 
    3123 char (*f) (); 
    3124  
    3125 int 
    3126 main () 
    3127 { 
    31284209/* The GNU C library defines this for functions which it implements 
    31294210    to always fail with ENOSYS.  Some functions are actually named 
     
    31324213choke me 
    31334214#else 
    3134 f = openlog; 
    3135 #endif 
    3136  
     4215char (*f) () = openlog; 
     4216#endif 
     4217#ifdef __cplusplus 
     4218} 
     4219#endif 
     4220 
     4221int 
     4222main () 
     4223{ 
     4224return f != openlog; 
    31374225  ; 
    31384226  return 0; 
     
    31404228_ACEOF 
    31414229rm -f conftest.$ac_objext conftest$ac_exeext 
    3142 if { (eval echo "$as_me:3142: \"$ac_link\"") >&5 
     4230if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    31434231  (eval $ac_link) 2>&5 
    31444232  ac_status=$? 
    3145   echo "$as_me:3145: \$? = $ac_status" >&5 
     4233  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    31464234  (exit $ac_status); } && 
    31474235         { ac_try='test -s conftest$ac_exeext' 
    3148   { (eval echo "$as_me:3148: \"$ac_try\"") >&5 
    3149   (eval $ac_try) 2>&5 
    3150   ac_status=$? 
    3151   echo "$as_me:3151: \$? = $ac_status" >&5 
     4236  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4237  (eval $ac_try) 2>&5 
     4238  ac_status=$? 
     4239  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    31524240  (exit $ac_status); }; }; then 
    31534241  ac_cv_func_openlog=yes 
    31544242else 
    31554243  echo "$as_me: failed program was:" >&5 
    3156 cat conftest.$ac_ext >&5 
     4244sed 's/^/| /' conftest.$ac_ext >&5 
     4245 
    31574246ac_cv_func_openlog=no 
    31584247fi 
    31594248rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    31604249fi 
    3161 echo "$as_me:3161: result: $ac_cv_func_openlog" >&5 
     4250echo "$as_me:$LINENO: result: $ac_cv_func_openlog" >&5 
    31624251echo "${ECHO_T}$ac_cv_func_openlog" >&6 
    31634252if test $ac_cv_func_openlog = yes; then 
     
    31684257 
    31694258if test $result = no ; then 
    3170         { { echo "$as_me:3170: error: openlog funtion not found" >&5 
     4259        { { echo "$as_me:$LINENO: error: openlog funtion not found" >&5 
    31714260echo "$as_me: error: openlog funtion not found" >&2;} 
    31724261   { (exit 1); exit 1; }; } 
    31734262fi 
    3174 echo "$as_me:3174: checking for opendir" >&5 
     4263echo "$as_me:$LINENO: checking for opendir" >&5 
    31754264echo $ECHO_N "checking for opendir... $ECHO_C" >&6 
    31764265if test "${ac_cv_func_opendir+set}" = set; then 
     
    31784267else 
    31794268  cat >conftest.$ac_ext <<_ACEOF 
    3180 #line 3180 "configure" 
    3181 #include "confdefs.h" 
     4269#line $LINENO "configure" 
     4270/* confdefs.h.  */ 
     4271_ACEOF 
     4272cat confdefs.h >>conftest.$ac_ext 
     4273cat >>conftest.$ac_ext <<_ACEOF 
     4274/* end confdefs.h.  */ 
    31824275/* System header to define __stub macros and hopefully few prototypes, 
    3183     which can conflict with char opendir (); below.  */ 
    3184 #include <assert.h> 
     4276    which can conflict with char opendir (); below. 
     4277    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4278    <limits.h> exists even on freestanding compilers.  */ 
     4279#ifdef __STDC__ 
     4280# include <limits.h> 
     4281#else 
     4282# include <assert.h> 
     4283#endif 
    31854284/* Override any gcc2 internal prototype to avoid an error.  */ 
    31864285#ifdef __cplusplus 
    31874286extern "C" 
     4287{ 
    31884288#endif 
    31894289/* We use char because int might match the return type of a gcc2 
    31904290   builtin and then its argument prototype would still apply.  */ 
    31914291char opendir (); 
    3192 char (*f) (); 
    3193  
    3194 int 
    3195 main () 
    3196 { 
    31974292/* The GNU C library defines this for functions which it implements 
    31984293    to always fail with ENOSYS.  Some functions are actually named 
     
    32014296choke me 
    32024297#else 
    3203 f = opendir; 
    3204 #endif 
    3205  
     4298char (*f) () = opendir; 
     4299#endif 
     4300#ifdef __cplusplus 
     4301} 
     4302#endif 
     4303 
     4304int 
     4305main () 
     4306{ 
     4307return f != opendir; 
    32064308  ; 
    32074309  return 0; 
     
    32094311_ACEOF 
    32104312rm -f conftest.$ac_objext conftest$ac_exeext 
    3211 if { (eval echo "$as_me:3211: \"$ac_link\"") >&5 
     4313if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    32124314  (eval $ac_link) 2>&5 
    32134315  ac_status=$? 
    3214   echo "$as_me:3214: \$? = $ac_status" >&5 
     4316  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32154317  (exit $ac_status); } && 
    32164318         { ac_try='test -s conftest$ac_exeext' 
    3217   { (eval echo "$as_me:3217: \"$ac_try\"") >&5 
    3218   (eval $ac_try) 2>&5 
    3219   ac_status=$? 
    3220   echo "$as_me:3220: \$? = $ac_status" >&5 
     4319  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4320  (eval $ac_try) 2>&5 
     4321  ac_status=$? 
     4322  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32214323  (exit $ac_status); }; }; then 
    32224324  ac_cv_func_opendir=yes 
    32234325else 
    32244326  echo "$as_me: failed program was:" >&5 
    3225 cat conftest.$ac_ext >&5 
     4327sed 's/^/| /' conftest.$ac_ext >&5 
     4328 
    32264329ac_cv_func_opendir=no 
    32274330fi 
    32284331rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    32294332fi 
    3230 echo "$as_me:3230: result: $ac_cv_func_opendir" >&5 
     4333echo "$as_me:$LINENO: result: $ac_cv_func_opendir" >&5 
    32314334echo "${ECHO_T}$ac_cv_func_opendir" >&6 
    32324335if test $ac_cv_func_opendir = yes; then 
     
    32374340 
    32384341if test $result = no ; then 
    3239         { { echo "$as_me:3239: error: opendir funtion not found" >&5 
     4342        { { echo "$as_me:$LINENO: error: opendir funtion not found" >&5 
    32404343echo "$as_me: error: opendir funtion not found" >&2;} 
    32414344   { (exit 1); exit 1; }; } 
    32424345fi 
    3243 echo "$as_me:3243: checking for random" >&5 
     4346echo "$as_me:$LINENO: checking for random" >&5 
    32444347echo $ECHO_N "checking for random... $ECHO_C" >&6 
    32454348if test "${ac_cv_func_random+set}" = set; then 
     
    32474350else 
    32484351  cat >conftest.$ac_ext <<_ACEOF 
    3249 #line 3249 "configure" 
    3250 #include "confdefs.h" 
     4352#line $LINENO "configure" 
     4353/* confdefs.h.  */ 
     4354_ACEOF 
     4355cat confdefs.h >>conftest.$ac_ext 
     4356cat >>conftest.$ac_ext <<_ACEOF 
     4357/* end confdefs.h.  */ 
    32514358/* System header to define __stub macros and hopefully few prototypes, 
    3252     which can conflict with char random (); below.  */ 
    3253 #include <assert.h> 
     4359    which can conflict with char random (); below. 
     4360    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4361    <limits.h> exists even on freestanding compilers.  */ 
     4362#ifdef __STDC__ 
     4363# include <limits.h> 
     4364#else 
     4365# include <assert.h> 
     4366#endif 
    32544367/* Override any gcc2 internal prototype to avoid an error.  */ 
    32554368#ifdef __cplusplus 
    32564369extern "C" 
     4370{ 
    32574371#endif 
    32584372/* We use char because int might match the return type of a gcc2 
    32594373   builtin and then its argument prototype would still apply.  */ 
    32604374char random (); 
    3261 char (*f) (); 
    3262  
    3263 int 
    3264 main () 
    3265 { 
    32664375/* The GNU C library defines this for functions which it implements 
    32674376    to always fail with ENOSYS.  Some functions are actually named 
     
    32704379choke me 
    32714380#else 
    3272 f = random; 
    3273 #endif 
    3274  
     4381char (*f) () = random; 
     4382#endif 
     4383#ifdef __cplusplus 
     4384} 
     4385#endif 
     4386 
     4387int 
     4388main () 
     4389{ 
     4390return f != random; 
    32754391  ; 
    32764392  return 0; 
     
    32784394_ACEOF 
    32794395rm -f conftest.$ac_objext conftest$ac_exeext 
    3280 if { (eval echo "$as_me:3280: \"$ac_link\"") >&5 
     4396if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    32814397  (eval $ac_link) 2>&5 
    32824398  ac_status=$? 
    3283   echo "$as_me:3283: \$? = $ac_status" >&5 
     4399  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32844400  (exit $ac_status); } && 
    32854401         { ac_try='test -s conftest$ac_exeext' 
    3286   { (eval echo "$as_me:3286: \"$ac_try\"") >&5 
    3287   (eval $ac_try) 2>&5 
    3288   ac_status=$? 
    3289   echo "$as_me:3289: \$? = $ac_status" >&5 
     4402  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4403  (eval $ac_try) 2>&5 
     4404  ac_status=$? 
     4405  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    32904406  (exit $ac_status); }; }; then 
    32914407  ac_cv_func_random=yes 
    32924408else 
    32934409  echo "$as_me: failed program was:" >&5 
    3294 cat conftest.$ac_ext >&5 
     4410sed 's/^/| /' conftest.$ac_ext >&5 
     4411 
    32954412ac_cv_func_random=no 
    32964413fi 
    32974414rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    32984415fi 
    3299 echo "$as_me:3299: result: $ac_cv_func_random" >&5 
     4416echo "$as_me:$LINENO: result: $ac_cv_func_random" >&5 
    33004417echo "${ECHO_T}$ac_cv_func_random" >&6 
    33014418if test $ac_cv_func_random = yes; then 
     
    33064423 
    33074424if test $result = no ; then 
    3308         echo "$as_me:3308: checking for rand" >&5 
     4425        echo "$as_me:$LINENO: checking for rand" >&5 
    33094426echo $ECHO_N "checking for rand... $ECHO_C" >&6 
    33104427if test "${ac_cv_func_rand+set}" = set; then 
     
    33124429else 
    33134430  cat >conftest.$ac_ext <<_ACEOF 
    3314 #line 3314 "configure" 
    3315 #include "confdefs.h" 
     4431#line $LINENO "configure" 
     4432/* confdefs.h.  */ 
     4433_ACEOF 
     4434cat confdefs.h >>conftest.$ac_ext 
     4435cat >>conftest.$ac_ext <<_ACEOF 
     4436/* end confdefs.h.  */ 
    33164437/* System header to define __stub macros and hopefully few prototypes, 
    3317     which can conflict with char rand (); below.  */ 
    3318 #include <assert.h> 
     4438    which can conflict with char rand (); below. 
     4439    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4440    <limits.h> exists even on freestanding compilers.  */ 
     4441#ifdef __STDC__ 
     4442# include <limits.h> 
     4443#else 
     4444# include <assert.h> 
     4445#endif 
    33194446/* Override any gcc2 internal prototype to avoid an error.  */ 
    33204447#ifdef __cplusplus 
    33214448extern "C" 
     4449{ 
    33224450#endif 
    33234451/* We use char because int might match the return type of a gcc2 
    33244452   builtin and then its argument prototype would still apply.  */ 
    33254453char rand (); 
    3326 char (*f) (); 
    3327  
    3328 int 
    3329 main () 
    3330 { 
    33314454/* The GNU C library defines this for functions which it implements 
    33324455    to always fail with ENOSYS.  Some functions are actually named 
     
    33354458choke me 
    33364459#else 
    3337 f = rand; 
    3338 #endif 
    3339  
     4460char (*f) () = rand; 
     4461#endif 
     4462#ifdef __cplusplus 
     4463} 
     4464#endif 
     4465 
     4466int 
     4467main () 
     4468{ 
     4469return f != rand; 
    33404470  ; 
    33414471  return 0; 
     
    33434473_ACEOF 
    33444474rm -f conftest.$ac_objext conftest$ac_exeext 
    3345 if { (eval echo "$as_me:3345: \"$ac_link\"") >&5 
     4475if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    33464476  (eval $ac_link) 2>&5 
    33474477  ac_status=$? 
    3348   echo "$as_me:3348: \$? = $ac_status" >&5 
     4478  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    33494479  (exit $ac_status); } && 
    33504480         { ac_try='test -s conftest$ac_exeext' 
    3351   { (eval echo "$as_me:3351: \"$ac_try\"") >&5 
    3352   (eval $ac_try) 2>&5 
    3353   ac_status=$? 
    3354   echo "$as_me:3354: \$? = $ac_status" >&5 
     4481  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4482  (eval $ac_try) 2>&5 
     4483  ac_status=$? 
     4484  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    33554485  (exit $ac_status); }; }; then 
    33564486  ac_cv_func_rand=yes 
    33574487else 
    33584488  echo "$as_me: failed program was:" >&5 
    3359 cat conftest.$ac_ext >&5 
     4489sed 's/^/| /' conftest.$ac_ext >&5 
     4490 
    33604491ac_cv_func_rand=no 
    33614492fi 
    33624493rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    33634494fi 
    3364 echo "$as_me:3364: result: $ac_cv_func_rand" >&5 
     4495echo "$as_me:$LINENO: result: $ac_cv_func_rand" >&5 
    33654496echo "${ECHO_T}$ac_cv_func_rand" >&6 
    33664497if test $ac_cv_func_rand = yes; then 
    3367   cat >>confdefs.h <<\EOF 
     4498  cat >>confdefs.h <<\_ACEOF 
    33684499#define random rand 
    3369 EOF 
    3370  
    3371 else 
    3372   { { echo "$as_me:3372: error: random" >&5 
     4500_ACEOF 
     4501 
     4502else 
     4503  { { echo "$as_me:$LINENO: error: random" >&5 
    33734504echo "$as_me: error: random" >&2;} 
    33744505   { (exit rand funtions not found); exit rand funtions not found; }; } 
     
    33764507 
    33774508fi 
    3378 echo "$as_me:3378: checking for readdir" >&5 
     4509echo "$as_me:$LINENO: checking for readdir" >&5 
    33794510echo $ECHO_N "checking for readdir... $ECHO_C" >&6 
    33804511if test "${ac_cv_func_readdir+set}" = set; then 
     
    33824513else 
    33834514  cat >conftest.$ac_ext <<_ACEOF 
    3384 #line 3384 "configure" 
    3385 #include "confdefs.h" 
     4515#line $LINENO "configure" 
     4516/* confdefs.h.  */ 
     4517_ACEOF 
     4518cat confdefs.h >>conftest.$ac_ext 
     4519cat >>conftest.$ac_ext <<_ACEOF 
     4520/* end confdefs.h.  */ 
    33864521/* System header to define __stub macros and hopefully few prototypes, 
    3387     which can conflict with char readdir (); below.  */ 
    3388 #include <assert.h> 
     4522    which can conflict with char readdir (); below. 
     4523    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4524    <limits.h> exists even on freestanding compilers.  */ 
     4525#ifdef __STDC__ 
     4526# include <limits.h> 
     4527#else 
     4528# include <assert.h> 
     4529#endif 
    33894530/* Override any gcc2 internal prototype to avoid an error.  */ 
    33904531#ifdef __cplusplus 
    33914532extern "C" 
     4533{ 
    33924534#endif 
    33934535/* We use char because int might match the return type of a gcc2 
    33944536   builtin and then its argument prototype would still apply.  */ 
    33954537char readdir (); 
    3396 char (*f) (); 
    3397  
    3398 int 
    3399 main () 
    3400 { 
    34014538/* The GNU C library defines this for functions which it implements 
    34024539    to always fail with ENOSYS.  Some functions are actually named 
     
    34054542choke me 
    34064543#else 
    3407 f = readdir; 
    3408 #endif 
    3409  
     4544char (*f) () = readdir; 
     4545#endif 
     4546#ifdef __cplusplus 
     4547} 
     4548#endif 
     4549 
     4550int 
     4551main () 
     4552{ 
     4553return f != readdir; 
    34104554  ; 
    34114555  return 0; 
     
    34134557_ACEOF 
    34144558rm -f conftest.$ac_objext conftest$ac_exeext 
    3415 if { (eval echo "$as_me:3415: \"$ac_link\"") >&5 
     4559if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    34164560  (eval $ac_link) 2>&5 
    34174561  ac_status=$? 
    3418   echo "$as_me:3418: \$? = $ac_status" >&5 
     4562  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34194563  (exit $ac_status); } && 
    34204564         { ac_try='test -s conftest$ac_exeext' 
    3421   { (eval echo "$as_me:3421: \"$ac_try\"") >&5 
    3422   (eval $ac_try) 2>&5 
    3423   ac_status=$? 
    3424   echo "$as_me:3424: \$? = $ac_status" >&5 
     4565  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4566  (eval $ac_try) 2>&5 
     4567  ac_status=$? 
     4568  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34254569  (exit $ac_status); }; }; then 
    34264570  ac_cv_func_readdir=yes 
    34274571else 
    34284572  echo "$as_me: failed program was:" >&5 
    3429 cat conftest.$ac_ext >&5 
     4573sed 's/^/| /' conftest.$ac_ext >&5 
     4574 
    34304575ac_cv_func_readdir=no 
    34314576fi 
    34324577rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    34334578fi 
    3434 echo "$as_me:3434: result: $ac_cv_func_readdir" >&5 
     4579echo "$as_me:$LINENO: result: $ac_cv_func_readdir" >&5 
    34354580echo "${ECHO_T}$ac_cv_func_readdir" >&6 
    34364581if test $ac_cv_func_readdir = yes; then 
     
    34414586 
    34424587if test $result = no ; then 
    3443         { { echo "$as_me:3443: error: readdir funtion not found" >&5 
     4588        { { echo "$as_me:$LINENO: error: readdir funtion not found" >&5 
    34444589echo "$as_me: error: readdir funtion not found" >&2;} 
    34454590   { (exit 1); exit 1; }; } 
    34464591fi 
    3447 echo "$as_me:3447: checking for read" >&5 
     4592echo "$as_me:$LINENO: checking for read" >&5 
    34484593echo $ECHO_N "checking for read... $ECHO_C" >&6 
    34494594if test "${ac_cv_func_read+set}" = set; then 
     
    34514596else 
    34524597  cat >conftest.$ac_ext <<_ACEOF 
    3453 #line 3453 "configure" 
    3454 #include "confdefs.h" 
     4598#line $LINENO "configure" 
     4599/* confdefs.h.  */ 
     4600_ACEOF 
     4601cat confdefs.h >>conftest.$ac_ext 
     4602cat >>conftest.$ac_ext <<_ACEOF 
     4603/* end confdefs.h.  */ 
    34554604/* System header to define __stub macros and hopefully few prototypes, 
    3456     which can conflict with char read (); below.  */ 
    3457 #include <assert.h> 
     4605    which can conflict with char read (); below. 
     4606    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4607    <limits.h> exists even on freestanding compilers.  */ 
     4608#ifdef __STDC__ 
     4609# include <limits.h> 
     4610#else 
     4611# include <assert.h> 
     4612#endif 
    34584613/* Override any gcc2 internal prototype to avoid an error.  */ 
    34594614#ifdef __cplusplus 
    34604615extern "C" 
     4616{ 
    34614617#endif 
    34624618/* We use char because int might match the return type of a gcc2 
    34634619   builtin and then its argument prototype would still apply.  */ 
    34644620char read (); 
    3465 char (*f) (); 
    3466  
    3467 int 
    3468 main () 
    3469 { 
    34704621/* The GNU C library defines this for functions which it implements 
    34714622    to always fail with ENOSYS.  Some functions are actually named 
     
    34744625choke me 
    34754626#else 
    3476 f = read; 
    3477 #endif 
    3478  
     4627char (*f) () = read; 
     4628#endif 
     4629#ifdef __cplusplus 
     4630} 
     4631#endif 
     4632 
     4633int 
     4634main () 
     4635{ 
     4636return f != read; 
    34794637  ; 
    34804638  return 0; 
     
    34824640_ACEOF 
    34834641rm -f conftest.$ac_objext conftest$ac_exeext 
    3484 if { (eval echo "$as_me:3484: \"$ac_link\"") >&5 
     4642if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    34854643  (eval $ac_link) 2>&5 
    34864644  ac_status=$? 
    3487   echo "$as_me:3487: \$? = $ac_status" >&5 
     4645  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34884646  (exit $ac_status); } && 
    34894647         { ac_try='test -s conftest$ac_exeext' 
    3490   { (eval echo "$as_me:3490: \"$ac_try\"") >&5 
    3491   (eval $ac_try) 2>&5 
    3492   ac_status=$? 
    3493   echo "$as_me:3493: \$? = $ac_status" >&5 
     4648  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4649  (eval $ac_try) 2>&5 
     4650  ac_status=$? 
     4651  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    34944652  (exit $ac_status); }; }; then 
    34954653  ac_cv_func_read=yes 
    34964654else 
    34974655  echo "$as_me: failed program was:" >&5 
    3498 cat conftest.$ac_ext >&5 
     4656sed 's/^/| /' conftest.$ac_ext >&5 
     4657 
    34994658ac_cv_func_read=no 
    35004659fi 
    35014660rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    35024661fi 
    3503 echo "$as_me:3503: result: $ac_cv_func_read" >&5 
     4662echo "$as_me:$LINENO: result: $ac_cv_func_read" >&5 
    35044663echo "${ECHO_T}$ac_cv_func_read" >&6 
    35054664if test $ac_cv_func_read = yes; then 
     
    35104669 
    35114670if test $result = no ; then 
    3512         { { echo "$as_me:3512: error: read funtion not found" >&5 
     4671        { { echo "$as_me:$LINENO: error: read funtion not found" >&5 
    35134672echo "$as_me: error: read funtion not found" >&2;} 
    35144673   { (exit 1); exit 1; }; } 
    35154674fi 
    3516 echo "$as_me:3516: checking for select" >&5 
     4675echo "$as_me:$LINENO: checking for select" >&5 
    35174676echo $ECHO_N "checking for select... $ECHO_C" >&6 
    35184677if test "${ac_cv_func_select+set}" = set; then 
     
    35204679else 
    35214680  cat >conftest.$ac_ext <<_ACEOF 
    3522 #line 3522 "configure" 
    3523 #include "confdefs.h" 
     4681#line $LINENO "configure" 
     4682/* confdefs.h.  */ 
     4683_ACEOF 
     4684cat confdefs.h >>conftest.$ac_ext 
     4685cat >>conftest.$ac_ext <<_ACEOF 
     4686/* end confdefs.h.  */ 
    35244687/* System header to define __stub macros and hopefully few prototypes, 
    3525     which can conflict with char select (); below.  */ 
    3526 #include <assert.h> 
     4688    which can conflict with char select (); below. 
     4689    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4690    <limits.h> exists even on freestanding compilers.  */ 
     4691#ifdef __STDC__ 
     4692# include <limits.h> 
     4693#else 
     4694# include <assert.h> 
     4695#endif 
    35274696/* Override any gcc2 internal prototype to avoid an error.  */ 
    35284697#ifdef __cplusplus 
    35294698extern "C" 
     4699{ 
    35304700#endif 
    35314701/* We use char because int might match the return type of a gcc2 
    35324702   builtin and then its argument prototype would still apply.  */ 
    35334703char select (); 
    3534 char (*f) (); 
    3535  
    3536 int 
    3537 main () 
    3538 { 
    35394704/* The GNU C library defines this for functions which it implements 
    35404705    to always fail with ENOSYS.  Some functions are actually named 
     
    35434708choke me 
    35444709#else 
    3545 f = select; 
    3546 #endif 
    3547  
     4710char (*f) () = select; 
     4711#endif 
     4712#ifdef __cplusplus 
     4713} 
     4714#endif 
     4715 
     4716int 
     4717main () 
     4718{ 
     4719return f != select; 
    35484720  ; 
    35494721  return 0; 
     
    35514723_ACEOF 
    35524724rm -f conftest.$ac_objext conftest$ac_exeext 
    3553 if { (eval echo "$as_me:3553: \"$ac_link\"") >&5 
     4725if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    35544726  (eval $ac_link) 2>&5 
    35554727  ac_status=$? 
    3556   echo "$as_me:3556: \$? = $ac_status" >&5 
     4728  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    35574729  (exit $ac_status); } && 
    35584730         { ac_try='test -s conftest$ac_exeext' 
    3559   { (eval echo "$as_me:3559: \"$ac_try\"") >&5 
    3560   (eval $ac_try) 2>&5 
    3561   ac_status=$? 
    3562   echo "$as_me:3562: \$? = $ac_status" >&5 
     4731  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4732  (eval $ac_try) 2>&5 
     4733  ac_status=$? 
     4734  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    35634735  (exit $ac_status); }; }; then 
    35644736  ac_cv_func_select=yes 
    35654737else 
    35664738  echo "$as_me: failed program was:" >&5 
    3567 cat conftest.$ac_ext >&5 
     4739sed 's/^/| /' conftest.$ac_ext >&5 
     4740 
    35684741ac_cv_func_select=no 
    35694742fi 
    35704743rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    35714744fi 
    3572 echo "$as_me:3572: result: $ac_cv_func_select" >&5 
     4745echo "$as_me:$LINENO: result: $ac_cv_func_select" >&5 
    35734746echo "${ECHO_T}$ac_cv_func_select" >&6 
    35744747if test $ac_cv_func_select = yes; then 
     
    35794752 
    35804753if test $result = no ; then 
    3581         { { echo "$as_me:3581: error: select funtion not found" >&5 
     4754        { { echo "$as_me:$LINENO: error: select funtion not found" >&5 
    35824755echo "$as_me: error: select funtion not found" >&2;} 
    35834756   { (exit 1); exit 1; }; } 
    35844757fi 
    3585 echo "$as_me:3585: checking for setgid" >&5 
     4758echo "$as_me:$LINENO: checking for setgid" >&5 
    35864759echo $ECHO_N "checking for setgid... $ECHO_C" >&6 
    35874760if test "${ac_cv_func_setgid+set}" = set; then 
     
    35894762else 
    35904763  cat >conftest.$ac_ext <<_ACEOF 
    3591 #line 3591 "configure" 
    3592 #include "confdefs.h" 
     4764#line $LINENO "configure" 
     4765/* confdefs.h.  */ 
     4766_ACEOF 
     4767cat confdefs.h >>conftest.$ac_ext 
     4768cat >>conftest.$ac_ext <<_ACEOF 
     4769/* end confdefs.h.  */ 
    35934770/* System header to define __stub macros and hopefully few prototypes, 
    3594     which can conflict with char setgid (); below.  */ 
    3595 #include <assert.h> 
     4771    which can conflict with char setgid (); below. 
     4772    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4773    <limits.h> exists even on freestanding compilers.  */ 
     4774#ifdef __STDC__ 
     4775# include <limits.h> 
     4776#else 
     4777# include <assert.h> 
     4778#endif 
    35964779/* Override any gcc2 internal prototype to avoid an error.  */ 
    35974780#ifdef __cplusplus 
    35984781extern "C" 
     4782{ 
    35994783#endif 
    36004784/* We use char because int might match the return type of a gcc2 
    36014785   builtin and then its argument prototype would still apply.  */ 
    36024786char setgid (); 
    3603 char (*f) (); 
    3604  
    3605 int 
    3606 main () 
    3607 { 
    36084787/* The GNU C library defines this for functions which it implements 
    36094788    to always fail with ENOSYS.  Some functions are actually named 
     
    36124791choke me 
    36134792#else 
    3614 f = setgid; 
    3615 #endif 
    3616  
     4793char (*f) () = setgid; 
     4794#endif 
     4795#ifdef __cplusplus 
     4796} 
     4797#endif 
     4798 
     4799int 
     4800main () 
     4801{ 
     4802return f != setgid; 
    36174803  ; 
    36184804  return 0; 
     
    36204806_ACEOF 
    36214807rm -f conftest.$ac_objext conftest$ac_exeext 
    3622 if { (eval echo "$as_me:3622: \"$ac_link\"") >&5 
     4808if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    36234809  (eval $ac_link) 2>&5 
    36244810  ac_status=$? 
    3625   echo "$as_me:3625: \$? = $ac_status" >&5 
     4811  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36264812  (exit $ac_status); } && 
    36274813         { ac_try='test -s conftest$ac_exeext' 
    3628   { (eval echo "$as_me:3628: \"$ac_try\"") >&5 
    3629   (eval $ac_try) 2>&5 
    3630   ac_status=$? 
    3631   echo "$as_me:3631: \$? = $ac_status" >&5 
     4814  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4815  (eval $ac_try) 2>&5 
     4816  ac_status=$? 
     4817  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36324818  (exit $ac_status); }; }; then 
    36334819  ac_cv_func_setgid=yes 
    36344820else 
    36354821  echo "$as_me: failed program was:" >&5 
    3636 cat conftest.$ac_ext >&5 
     4822sed 's/^/| /' conftest.$ac_ext >&5 
     4823 
    36374824ac_cv_func_setgid=no 
    36384825fi 
    36394826rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    36404827fi 
    3641 echo "$as_me:3641: result: $ac_cv_func_setgid" >&5 
     4828echo "$as_me:$LINENO: result: $ac_cv_func_setgid" >&5 
    36424829echo "${ECHO_T}$ac_cv_func_setgid" >&6 
    36434830if test $ac_cv_func_setgid = yes; then 
     
    36484835 
    36494836if test $result = no ; then 
    3650         { { echo "$as_me:3650: error: setgid funtion not found" >&5 
     4837        { { echo "$as_me:$LINENO: error: setgid funtion not found" >&5 
    36514838echo "$as_me: error: setgid funtion not found" >&2;} 
    36524839   { (exit 1); exit 1; }; } 
    36534840fi 
    3654 echo "$as_me:3654: checking for setsid" >&5 
     4841echo "$as_me:$LINENO: checking for setsid" >&5 
    36554842echo $ECHO_N "checking for setsid... $ECHO_C" >&6 
    36564843if test "${ac_cv_func_setsid+set}" = set; then 
     
    36584845else 
    36594846  cat >conftest.$ac_ext <<_ACEOF 
    3660 #line 3660 "configure" 
    3661 #include "confdefs.h" 
     4847#line $LINENO "configure" 
     4848/* confdefs.h.  */ 
     4849_ACEOF 
     4850cat confdefs.h >>conftest.$ac_ext 
     4851cat >>conftest.$ac_ext <<_ACEOF 
     4852/* end confdefs.h.  */ 
    36624853/* System header to define __stub macros and hopefully few prototypes, 
    3663     which can conflict with char setsid (); below.  */ 
    3664 #include <assert.h> 
     4854    which can conflict with char setsid (); below. 
     4855    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4856    <limits.h> exists even on freestanding compilers.  */ 
     4857#ifdef __STDC__ 
     4858# include <limits.h> 
     4859#else 
     4860# include <assert.h> 
     4861#endif 
    36654862/* Override any gcc2 internal prototype to avoid an error.  */ 
    36664863#ifdef __cplusplus 
    36674864extern "C" 
     4865{ 
    36684866#endif 
    36694867/* We use char because int might match the return type of a gcc2 
    36704868   builtin and then its argument prototype would still apply.  */ 
    36714869char setsid (); 
    3672 char (*f) (); 
    3673  
    3674 int 
    3675 main () 
    3676 { 
    36774870/* The GNU C library defines this for functions which it implements 
    36784871    to always fail with ENOSYS.  Some functions are actually named 
     
    36814874choke me 
    36824875#else 
    3683 f = setsid; 
    3684 #endif 
    3685  
     4876char (*f) () = setsid; 
     4877#endif 
     4878#ifdef __cplusplus 
     4879} 
     4880#endif 
     4881 
     4882int 
     4883main () 
     4884{ 
     4885return f != setsid; 
    36864886  ; 
    36874887  return 0; 
     
    36894889_ACEOF 
    36904890rm -f conftest.$ac_objext conftest$ac_exeext 
    3691 if { (eval echo "$as_me:3691: \"$ac_link\"") >&5 
     4891if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    36924892  (eval $ac_link) 2>&5 
    36934893  ac_status=$? 
    3694   echo "$as_me:3694: \$? = $ac_status" >&5 
     4894  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    36954895  (exit $ac_status); } && 
    36964896         { ac_try='test -s conftest$ac_exeext' 
    3697   { (eval echo "$as_me:3697: \"$ac_try\"") >&5 
    3698   (eval $ac_try) 2>&5 
    3699   ac_status=$? 
    3700   echo "$as_me:3700: \$? = $ac_status" >&5 
     4897  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4898  (eval $ac_try) 2>&5 
     4899  ac_status=$? 
     4900  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37014901  (exit $ac_status); }; }; then 
    37024902  ac_cv_func_setsid=yes 
    37034903else 
    37044904  echo "$as_me: failed program was:" >&5 
    3705 cat conftest.$ac_ext >&5 
     4905sed 's/^/| /' conftest.$ac_ext >&5 
     4906 
    37064907ac_cv_func_setsid=no 
    37074908fi 
    37084909rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    37094910fi 
    3710 echo "$as_me:3710: result: $ac_cv_func_setsid" >&5 
     4911echo "$as_me:$LINENO: result: $ac_cv_func_setsid" >&5 
    37114912echo "${ECHO_T}$ac_cv_func_setsid" >&6 
    37124913if test $ac_cv_func_setsid = yes; then 
     
    37174918 
    37184919if test $result = no ; then 
    3719         { { echo "$as_me:3719: error: setsid funtion not found" >&5 
     4920        { { echo "$as_me:$LINENO: error: setsid funtion not found" >&5 
    37204921echo "$as_me: error: setsid funtion not found" >&2;} 
    37214922   { (exit 1); exit 1; }; } 
    37224923fi 
    3723 echo "$as_me:3723: checking for setuid" >&5 
     4924echo "$as_me:$LINENO: checking for setuid" >&5 
    37244925echo $ECHO_N "checking for setuid... $ECHO_C" >&6 
    37254926if test "${ac_cv_func_setuid+set}" = set; then 
     
    37274928else 
    37284929  cat >conftest.$ac_ext <<_ACEOF 
    3729 #line 3729 "configure" 
    3730 #include "confdefs.h" 
     4930#line $LINENO "configure" 
     4931/* confdefs.h.  */ 
     4932_ACEOF 
     4933cat confdefs.h >>conftest.$ac_ext 
     4934cat >>conftest.$ac_ext <<_ACEOF 
     4935/* end confdefs.h.  */ 
    37314936/* System header to define __stub macros and hopefully few prototypes, 
    3732     which can conflict with char setuid (); below.  */ 
    3733 #include <assert.h> 
     4937    which can conflict with char setuid (); below. 
     4938    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     4939    <limits.h> exists even on freestanding compilers.  */ 
     4940#ifdef __STDC__ 
     4941# include <limits.h> 
     4942#else 
     4943# include <assert.h> 
     4944#endif 
    37344945/* Override any gcc2 internal prototype to avoid an error.  */ 
    37354946#ifdef __cplusplus 
    37364947extern "C" 
     4948{ 
    37374949#endif 
    37384950/* We use char because int might match the return type of a gcc2 
    37394951   builtin and then its argument prototype would still apply.  */ 
    37404952char setuid (); 
    3741 char (*f) (); 
    3742  
    3743 int 
    3744 main () 
    3745 { 
    37464953/* The GNU C library defines this for functions which it implements 
    37474954    to always fail with ENOSYS.  Some functions are actually named 
     
    37504957choke me 
    37514958#else 
    3752 f = setuid; 
    3753 #endif 
    3754  
     4959char (*f) () = setuid; 
     4960#endif 
     4961#ifdef __cplusplus 
     4962} 
     4963#endif 
     4964 
     4965int 
     4966main () 
     4967{ 
     4968return f != setuid; 
    37554969  ; 
    37564970  return 0; 
     
    37584972_ACEOF 
    37594973rm -f conftest.$ac_objext conftest$ac_exeext 
    3760 if { (eval echo "$as_me:3760: \"$ac_link\"") >&5 
     4974if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    37614975  (eval $ac_link) 2>&5 
    37624976  ac_status=$? 
    3763   echo "$as_me:3763: \$? = $ac_status" >&5 
     4977  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37644978  (exit $ac_status); } && 
    37654979         { ac_try='test -s conftest$ac_exeext' 
    3766   { (eval echo "$as_me:3766: \"$ac_try\"") >&5 
    3767   (eval $ac_try) 2>&5 
    3768   ac_status=$? 
    3769   echo "$as_me:3769: \$? = $ac_status" >&5 
     4980  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     4981  (eval $ac_try) 2>&5 
     4982  ac_status=$? 
     4983  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    37704984  (exit $ac_status); }; }; then 
    37714985  ac_cv_func_setuid=yes 
    37724986else 
    37734987  echo "$as_me: failed program was:" >&5 
    3774 cat conftest.$ac_ext >&5 
     4988sed 's/^/| /' conftest.$ac_ext >&5 
     4989 
    37754990ac_cv_func_setuid=no 
    37764991fi 
    37774992rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    37784993fi 
    3779 echo "$as_me:3779: result: $ac_cv_func_setuid" >&5 
     4994echo "$as_me:$LINENO: result: $ac_cv_func_setuid" >&5 
    37804995echo "${ECHO_T}$ac_cv_func_setuid" >&6 
    37814996if test $ac_cv_func_setuid = yes; then 
     
    37865001 
    37875002if test $result = no ; then 
    3788         { { echo "$as_me:3788: error: setuid funtion not found" >&5 
     5003        { { echo "$as_me:$LINENO: error: setuid funtion not found" >&5 
    37895004echo "$as_me: error: setuid funtion not found" >&2;} 
    37905005   { (exit 1); exit 1; }; } 
    37915006fi 
    3792 echo "$as_me:3792: checking for sigaction" >&5 
     5007echo "$as_me:$LINENO: checking for sigaction" >&5 
    37935008echo $ECHO_N "checking for sigaction... $ECHO_C" >&6 
    37945009if test "${ac_cv_func_sigaction+set}" = set; then 
     
    37965011else 
    37975012  cat >conftest.$ac_ext <<_ACEOF 
    3798 #line 3798 "configure" 
    3799 #include "confdefs.h" 
     5013#line $LINENO "configure" 
     5014/* confdefs.h.  */ 
     5015_ACEOF 
     5016cat confdefs.h >>conftest.$ac_ext 
     5017cat >>conftest.$ac_ext <<_ACEOF 
     5018/* end confdefs.h.  */ 
    38005019/* System header to define __stub macros and hopefully few prototypes, 
    3801     which can conflict with char sigaction (); below.  */ 
    3802 #include <assert.h> 
     5020    which can conflict with char sigaction (); below. 
     5021    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     5022    <limits.h> exists even on freestanding compilers.  */ 
     5023#ifdef __STDC__ 
     5024# include <limits.h> 
     5025#else 
     5026# include <assert.h> 
     5027#endif 
    38035028/* Override any gcc2 internal prototype to avoid an error.  */ 
    38045029#ifdef __cplusplus 
    38055030extern "C" 
     5031{ 
    38065032#endif 
    38075033/* We use char because int might match the return type of a gcc2 
    38085034   builtin and then its argument prototype would still apply.  */ 
    38095035char sigaction (); 
    3810 char (*f) (); 
    3811  
    3812 int 
    3813 main () 
    3814 { 
    38155036/* The GNU C library defines this for functions which it implements 
    38165037    to always fail with ENOSYS.  Some functions are actually named 
     
    38195040choke me 
    38205041#else 
    3821 f = sigaction; 
    3822 #endif 
    3823  
     5042char (*f) () = sigaction; 
     5043#endif 
     5044#ifdef __cplusplus 
     5045} 
     5046#endif 
     5047 
     5048int 
     5049main () 
     5050{ 
     5051return f != sigaction; 
    38245052  ; 
    38255053  return 0; 
     
    38275055_ACEOF 
    38285056rm -f conftest.$ac_objext conftest$ac_exeext 
    3829 if { (eval echo "$as_me:3829: \"$ac_link\"") >&5 
     5057if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    38305058  (eval $ac_link) 2>&5 
    38315059  ac_status=$? 
    3832   echo "$as_me:3832: \$? = $ac_status" >&5 
     5060  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38335061  (exit $ac_status); } && 
    38345062         { ac_try='test -s conftest$ac_exeext' 
    3835   { (eval echo "$as_me:3835: \"$ac_try\"") >&5 
    3836   (eval $ac_try) 2>&5 
    3837   ac_status=$? 
    3838   echo "$as_me:3838: \$? = $ac_status" >&5 
     5063  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5064  (eval $ac_try) 2>&5 
     5065  ac_status=$? 
     5066  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    38395067  (exit $ac_status); }; }; then 
    38405068  ac_cv_func_sigaction=yes 
    38415069else 
    38425070  echo "$as_me: failed program was:" >&5 
    3843 cat conftest.$ac_ext >&5 
     5071sed 's/^/| /' conftest.$ac_ext >&5 
     5072 
    38445073ac_cv_func_sigaction=no 
    38455074fi 
    38465075rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    38475076fi 
    3848 echo "$as_me:3848: result: $ac_cv_func_sigaction" >&5 
     5077echo "$as_me:$LINENO: result: $ac_cv_func_sigaction" >&5 
    38495078echo "${ECHO_T}$ac_cv_func_sigaction" >&6 
    38505079if test $ac_cv_func_sigaction = yes; then 
     
    38555084 
    38565085if test $result = no ; then 
    3857         { { echo "$as_me:3857: error: sigaction funtion not found" >&5 
     5086        { { echo "$as_me:$LINENO: error: sigaction funtion not found" >&5 
    38585087echo "$as_me: error: sigaction funtion not found" >&2;} 
    38595088   { (exit 1); exit 1; }; } 
    38605089fi 
    3861 echo "$as_me:3861: checking for sigemptyset" >&5 
     5090echo "$as_me:$LINENO: checking for sigemptyset" >&5 
    38625091echo $ECHO_N "checking for sigemptyset... $ECHO_C" >&6 
    38635092if test "${ac_cv_func_sigemptyset+set}" = set; then 
     
    38655094else 
    38665095  cat >conftest.$ac_ext <<_ACEOF 
    3867 #line 3867 "configure" 
    3868 #include "confdefs.h" 
     5096#line $LINENO "configure" 
     5097/* confdefs.h.  */ 
     5098_ACEOF 
     5099cat confdefs.h >>conftest.$ac_ext 
     5100cat >>conftest.$ac_ext <<_ACEOF 
     5101/* end confdefs.h.  */ 
    38695102/* System header to define __stub macros and hopefully few prototypes, 
    3870     which can conflict with char sigemptyset (); below.  */ 
    3871 #include <assert.h> 
     5103    which can conflict with char sigemptyset (); below. 
     5104    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     5105    <limits.h> exists even on freestanding compilers.  */ 
     5106#ifdef __STDC__ 
     5107# include <limits.h> 
     5108#else 
     5109# include <assert.h> 
     5110#endif 
    38725111/* Override any gcc2 internal prototype to avoid an error.  */ 
    38735112#ifdef __cplusplus 
    38745113extern "C" 
     5114{ 
    38755115#endif 
    38765116/* We use char because int might match the return type of a gcc2 
    38775117   builtin and then its argument prototype would still apply.  */ 
    38785118char sigemptyset (); 
    3879 char (*f) (); 
    3880  
    3881 int 
    3882 main () 
    3883 { 
    38845119/* The GNU C library defines this for functions which it implements 
    38855120    to always fail with ENOSYS.  Some functions are actually named 
     
    38885123choke me 
    38895124#else 
    3890 f = sigemptyset; 
    3891 #endif 
    3892  
     5125char (*f) () = sigemptyset; 
     5126#endif 
     5127#ifdef __cplusplus 
     5128} 
     5129#endif 
     5130 
     5131int 
     5132main () 
     5133{ 
     5134return f != sigemptyset; 
    38935135  ; 
    38945136  return 0; 
     
    38965138_ACEOF 
    38975139rm -f conftest.$ac_objext conftest$ac_exeext 
    3898 if { (eval echo "$as_me:3898: \"$ac_link\"") >&5 
     5140if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    38995141  (eval $ac_link) 2>&5 
    39005142  ac_status=$? 
    3901   echo "$as_me:3901: \$? = $ac_status" >&5 
     5143  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    39025144  (exit $ac_status); } && 
    39035145         { ac_try='test -s conftest$ac_exeext' 
    3904   { (eval echo "$as_me:3904: \"$ac_try\"") >&5 
    3905   (eval $ac_try) 2>&5 
    3906   ac_status=$? 
    3907   echo "$as_me:3907: \$? = $ac_status" >&5 
     5146  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     5147  (eval $ac_try) 2>&5 
     5148  ac_status=$? 
     5149  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
    39085150  (exit $ac_status); }; }; then 
    39095151  ac_cv_func_sigemptyset=yes 
    39105152else 
    39115153  echo "$as_me: failed program was:" >&5 
    3912 cat conftest.$ac_ext >&5 
     5154sed 's/^/| /' conftest.$ac_ext >&5 
     5155 
    39135156ac_cv_func_sigemptyset=no 
    39145157fi 
    39155158rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
    39165159fi 
    3917 echo "$as_me:3917: result: $ac_cv_func_sigemptyset" >&5 
     5160echo "$as_me:$LINENO: result: $ac_cv_func_sigemptyset" >&5 
    39185161echo "${ECHO_T}$ac_cv_func_sigemptyset" >&6 
    39195162if test $ac_cv_func_sigemptyset = yes; then 
     
    39245167 
    39255168if test $result = no ; then 
    3926         { { echo "$as_me:3926: error: sigemptyset funtion not found" >&5 
     5169        { { echo "$as_me:$LINENO: error: sigemptyset funtion not found" >&5 
    39275170echo "$as_me: error: sigemptyset funtion not found" >&2;} 
    39285171   { (exit 1); exit 1; }; } 
    39295172fi 
    3930 echo "$as_me:3930: checking for sleep" >&5 
     5173echo "$as_me:$LINENO: checking for sleep" >&5 
    39315174echo $ECHO_N "checking for sleep... $ECHO_C" >&6 
    39325175if test "${ac_cv_func_sleep+set}" = set; then 
     
    39345177else 
    39355178  cat >conftest.$ac_ext <<_ACEOF 
    3936 #line 3936 "configure" 
    3937 #include "confdefs.h" 
     5179#line $LINENO "configure" 
     5180/* confdefs.h.  */ 
     5181_ACEOF 
     5182cat confdefs.h >>conftest.$ac_ext 
     5183cat >>conftest.$ac_ext <<_ACEOF 
     5184/* end confdefs.h.  */ 
    39385185/* System header to define __stub macros and hopefully few prototypes, 
    3939     which can conflict with char sleep (); below.  */ 
    3940 #include <assert.h> 
     5186    which can conflict with char sleep (); below. 
     5187    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 
     5188    <limits.h> exists even on freestanding compilers.  */ 
     5189#ifdef __STDC__ 
     5190# include <limits.h> 
     5191#else 
     5192# include <assert.h> 
     5193#endif 
    39415194/* Override any gcc2 internal prototype to avoid an error.  */ 
    39425195#ifdef __cplusplus 
    39435196extern "C" 
     5197{ 
    39445198#endif 
    39455199/* We use char because int might match the return type of a gcc2 
    39465200   builtin and then its argument prototype would still apply.  */ 
    39475201char sleep (); 
    3948 char (*f) (); 
    3949  
    3950 int 
    3951 main () 
    3952 { 
    39535202/* The GNU C library defines this for functions which it implements 
    39545203    to always fail with ENOSYS.  Some functions are actually named 
     
    39575206choke me 
    39585207#else 
    3959 f = sleep; 
    3960 #endif 
    3961  
     5208char (*f) () = sleep; 
     5209#endif 
     5210#ifdef __cplusplus 
     5211} 
     5212#endif 
     5213 
     5214int 
     5215main () 
     5216{ 
     5217return f != sleep; 
    39625218  ; 
    39635219  return 0; 
     
    39655221_ACEOF 
    39665222rm -f conftest.$ac_objext conftest$ac_exeext 
    3967 if { (eval echo "$as_me:3967: \"$ac_link\"") >&5 
     5223if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
    39685224  (eval $ac_link) 2>&5 
    39695225  ac_status=$? 
    3970   echo "$as_me:3970: \$? = $ac_status" >&5