Changeset 78

Show
Ignore:
Timestamp:
07/17/04 03:00:31 (4 years ago)
Author:
morris
Message:

add new tests and a check for --enable-warnings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wire/trunk/config.h.in

    r59 r78  
    2121#undef HAVE_FCNTL_H 
    2222 
     23/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ 
     24#undef HAVE_FSEEKO 
     25 
    2326/* Define to 1 if you have the `gethostbyname' function. */ 
    2427#undef HAVE_GETHOSTBYNAME 
    2528 
     29/* Define to 1 if you have the `gettimeofday' function. */ 
     30#undef HAVE_GETTIMEOFDAY 
     31 
    2632/* Define to 1 if you have the <iconv.h> header file. */ 
    2733#undef HAVE_ICONV_H 
     34 
     35/* Define to 1 if you have the `inet_ntoa' function. */ 
     36#undef HAVE_INET_NTOA 
    2837 
    2938/* Define to 1 if you have the <inttypes.h> header file. */ 
     
    6877#undef HAVE_REALLOC 
    6978 
     79/* Define to 1 if you have the `realpath' function. */ 
     80#undef HAVE_REALPATH 
     81 
    7082/* Define to 1 if you have the `rl_completion_matches' function, and to 0 
    7183   otherwise. */ 
     
    7890#undef HAVE_SOCKET 
    7991 
     92/* Define to 1 if `stat' has the bug that it succeeds when given the 
     93   zero-length file name argument. */ 
     94#undef HAVE_STAT_EMPTY_STRING_BUG 
     95 
    8096/* Define to 1 if stdbool.h conforms to C99. */ 
    8197#undef HAVE_STDBOOL_H 
     
    176192#undef HAVE__BOOL 
    177193 
     194/* Define to 1 if `lstat' dereferences a symlink specified with a trailing 
     195   slash. */ 
     196#undef LSTAT_FOLLOWS_SLASHED_SYMLINK 
     197 
    178198/* Define to the address where bug reports for this package should be sent. */ 
    179199#undef PACKAGE_BUGREPORT 
     
    223243/* Protocol version */ 
    224244#undef WR_PROTOCOL_VERSION 
     245 
     246/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ 
     247#undef _LARGEFILE_SOURCE 
    225248 
    226249/* Define to empty if `const' does not conform to ANSI C. */ 
  • wire/trunk/configure

    r66 r78  
    311311#endif" 
    312312 
    313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WR_PACKAGE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP EGREP MV CP RM MKDIR CHMOD TAR SED CUT OPENSSL LIBOBJS POW_LIB LTLIBOBJS' 
     313ac_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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os WR_PACKAGE_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA SET_MAKE CPP EGREP MV CP RM MKDIR CHMOD TAR SED CUT FIND XARGS OPENSSL LIBOBJS POW_LIB LTLIBOBJS' 
    314314ac_subst_files='' 
    315315 
     
    844844   esac 
    845845  cat <<\_ACEOF 
     846 
     847Optional Features: 
     848  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) 
     849  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] 
     850  --enable-warnings       enable warnings 
     851 
    846852 
    847853Some influential environment variables: 
     
    26722678# Checks for programs. 
    26732679 
     2680# Check for warnings 
     2681echo "$as_me:$LINENO: checking whether to enable warnings" >&5 
     2682echo $ECHO_N "checking whether to enable warnings... $ECHO_C" >&6 
     2683# Check whether --enable-warnings or --disable-warnings was given. 
     2684if test "${enable_warnings+set}" = set; then 
     2685  enableval="$enable_warnings" 
     2686 
     2687fi; 
     2688 
     2689if test -n "$enable_warnings"; then 
     2690        echo "$as_me:$LINENO: result: yes" >&5 
     2691echo "${ECHO_T}yes" >&6 
     2692        CFLAGS="$CFLAGS -Wall" 
     2693else 
     2694        echo "$as_me:$LINENO: result: no" >&5 
     2695echo "${ECHO_T}no" >&6 
     2696fi 
     2697 
     2698 
     2699####################################################################### 
     2700# Checks for programs. 
     2701 
    26742702# Extract the first word of "mv", so it can be a program name with args. 
    26752703set dummy mv; ac_word=$2 
     
    29472975  echo "$as_me:$LINENO: result: $CUT" >&5 
    29482976echo "${ECHO_T}$CUT" >&6 
     2977else 
     2978  echo "$as_me:$LINENO: result: no" >&5 
     2979echo "${ECHO_T}no" >&6 
     2980fi 
     2981 
     2982# Extract the first word of "find", so it can be a program name with args. 
     2983set dummy find; ac_word=$2 
     2984echo "$as_me:$LINENO: checking for $ac_word" >&5 
     2985echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     2986if test "${ac_cv_prog_FIND+set}" = set; then 
     2987  echo $ECHO_N "(cached) $ECHO_C" >&6 
     2988else 
     2989  if test -n "$FIND"; then 
     2990  ac_cv_prog_FIND="$FIND" # Let the user override the test. 
     2991else 
     2992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     2993for as_dir in $PATH 
     2994do 
     2995  IFS=$as_save_IFS 
     2996  test -z "$as_dir" && as_dir=. 
     2997  for ac_exec_ext in '' $ac_executable_extensions; do 
     2998  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     2999    ac_cv_prog_FIND="find" 
     3000    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3001    break 2 
     3002  fi 
     3003done 
     3004done 
     3005 
     3006fi 
     3007fi 
     3008FIND=$ac_cv_prog_FIND 
     3009if test -n "$FIND"; then 
     3010  echo "$as_me:$LINENO: result: $FIND" >&5 
     3011echo "${ECHO_T}$FIND" >&6 
     3012else 
     3013  echo "$as_me:$LINENO: result: no" >&5 
     3014echo "${ECHO_T}no" >&6 
     3015fi 
     3016 
     3017# Extract the first word of "xargs", so it can be a program name with args. 
     3018set dummy xargs; ac_word=$2 
     3019echo "$as_me:$LINENO: checking for $ac_word" >&5 
     3020echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 
     3021if test "${ac_cv_prog_XARGS+set}" = set; then 
     3022  echo $ECHO_N "(cached) $ECHO_C" >&6 
     3023else 
     3024  if test -n "$XARGS"; then 
     3025  ac_cv_prog_XARGS="$XARGS" # Let the user override the test. 
     3026else 
     3027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 
     3028for as_dir in $PATH 
     3029do 
     3030  IFS=$as_save_IFS 
     3031  test -z "$as_dir" && as_dir=. 
     3032  for ac_exec_ext in '' $ac_executable_extensions; do 
     3033  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 
     3034    ac_cv_prog_XARGS="xargs" 
     3035    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 
     3036    break 2 
     3037  fi 
     3038done 
     3039done 
     3040 
     3041fi 
     3042fi 
     3043XARGS=$ac_cv_prog_XARGS 
     3044if test -n "$XARGS"; then 
     3045  echo "$as_me:$LINENO: result: $XARGS" >&5 
     3046echo "${ECHO_T}$XARGS" >&6 
    29493047else 
    29503048  echo "$as_me:$LINENO: result: no" >&5 
     
    60866184fi 
    60876185 
     6186echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5 
     6187echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6 
     6188if test "${ac_cv_sys_largefile_source+set}" = set; then 
     6189  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6190else 
     6191  while :; do 
     6192  ac_cv_sys_largefile_source=no 
     6193  cat >conftest.$ac_ext <<_ACEOF 
     6194#line $LINENO "configure" 
     6195/* confdefs.h.  */ 
     6196_ACEOF 
     6197cat confdefs.h >>conftest.$ac_ext 
     6198cat >>conftest.$ac_ext <<_ACEOF 
     6199/* end confdefs.h.  */ 
     6200#include <stdio.h> 
     6201int 
     6202main () 
     6203{ 
     6204return !fseeko; 
     6205  ; 
     6206  return 0; 
     6207} 
     6208_ACEOF 
     6209rm -f conftest.$ac_objext 
     6210if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6211  (eval $ac_compile) 2>&5 
     6212  ac_status=$? 
     6213  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6214  (exit $ac_status); } && 
     6215         { ac_try='test -s conftest.$ac_objext' 
     6216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6217  (eval $ac_try) 2>&5 
     6218  ac_status=$? 
     6219  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6220  (exit $ac_status); }; }; then 
     6221  break 
     6222else 
     6223  echo "$as_me: failed program was:" >&5 
     6224sed 's/^/| /' conftest.$ac_ext >&5 
     6225 
     6226fi 
     6227rm -f conftest.$ac_objext conftest.$ac_ext 
     6228  cat >conftest.$ac_ext <<_ACEOF 
     6229#line $LINENO "configure" 
     6230/* confdefs.h.  */ 
     6231_ACEOF 
     6232cat confdefs.h >>conftest.$ac_ext 
     6233cat >>conftest.$ac_ext <<_ACEOF 
     6234/* end confdefs.h.  */ 
     6235#define _LARGEFILE_SOURCE 1 
     6236#include <stdio.h> 
     6237int 
     6238main () 
     6239{ 
     6240return !fseeko; 
     6241  ; 
     6242  return 0; 
     6243} 
     6244_ACEOF 
     6245rm -f conftest.$ac_objext 
     6246if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 
     6247  (eval $ac_compile) 2>&5 
     6248  ac_status=$? 
     6249  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6250  (exit $ac_status); } && 
     6251         { ac_try='test -s conftest.$ac_objext' 
     6252  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6253  (eval $ac_try) 2>&5 
     6254  ac_status=$? 
     6255  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6256  (exit $ac_status); }; }; then 
     6257  ac_cv_sys_largefile_source=1; break 
     6258else 
     6259  echo "$as_me: failed program was:" >&5 
     6260sed 's/^/| /' conftest.$ac_ext >&5 
     6261 
     6262fi 
     6263rm -f conftest.$ac_objext conftest.$ac_ext 
     6264  break 
     6265done 
     6266fi 
     6267echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5 
     6268echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6 
     6269if test "$ac_cv_sys_largefile_source" != no; then 
     6270 
     6271cat >>confdefs.h <<_ACEOF 
     6272#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source 
     6273_ACEOF 
     6274 
     6275fi 
     6276rm -f conftest* 
     6277 
     6278# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug 
     6279# in glibc 2.1.3, but that breaks too many other things. 
     6280# If you want fseeko and ftello with glibc, upgrade to a fixed glibc. 
     6281echo "$as_me:$LINENO: checking for fseeko" >&5 
     6282echo $ECHO_N "checking for fseeko... $ECHO_C" >&6 
     6283if test "${ac_cv_func_fseeko+set}" = set; then 
     6284  echo $ECHO_N "(cached) $ECHO_C" >&6 
     6285else 
     6286  cat >conftest.$ac_ext <<_ACEOF 
     6287#line $LINENO "configure" 
     6288/* confdefs.h.  */ 
     6289_ACEOF 
     6290cat confdefs.h >>conftest.$ac_ext 
     6291cat >>conftest.$ac_ext <<_ACEOF 
     6292/* end confdefs.h.  */ 
     6293#include <stdio.h> 
     6294int 
     6295main () 
     6296{ 
     6297return fseeko && fseeko (stdin, 0, 0); 
     6298  ; 
     6299  return 0; 
     6300} 
     6301_ACEOF 
     6302rm -f conftest.$ac_objext conftest$ac_exeext 
     6303if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     6304  (eval $ac_link) 2>&5 
     6305  ac_status=$? 
     6306  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6307  (exit $ac_status); } && 
     6308         { ac_try='test -s conftest$ac_exeext' 
     6309  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     6310  (eval $ac_try) 2>&5 
     6311  ac_status=$? 
     6312  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     6313  (exit $ac_status); }; }; then 
     6314  ac_cv_func_fseeko=yes 
     6315else 
     6316  echo "$as_me: failed program was:" >&5 
     6317sed 's/^/| /' conftest.$ac_ext >&5 
     6318 
     6319ac_cv_func_fseeko=no 
     6320fi 
     6321rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 
     6322fi 
     6323echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5 
     6324echo "${ECHO_T}$ac_cv_func_fseeko" >&6 
     6325if test $ac_cv_func_fseeko = yes; then 
     6326 
     6327cat >>confdefs.h <<\_ACEOF 
     6328#define HAVE_FSEEKO 1 
     6329_ACEOF 
     6330 
     6331fi 
     6332 
    60886333 
    60896334for ac_header in stdlib.h 
     
    71627407rm -f conftest* 
    71637408 
     7409echo "$as_me:$LINENO: checking whether lstat dereferences a symlink specified with a trailing slash" >&5 
     7410echo $ECHO_N "checking whether lstat dereferences a symlink specified with a trailing slash... $ECHO_C" >&6 
     7411if test "${ac_cv_func_lstat_dereferences_slashed_symlink+set}" = set; then 
     7412  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7413else 
     7414  rm -f conftest.sym conftest.file 
     7415echo >conftest.file 
     7416if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then 
     7417  if test "$cross_compiling" = yes; then 
     7418  ac_cv_func_lstat_dereferences_slashed_symlink=no 
     7419else 
     7420  cat >conftest.$ac_ext <<_ACEOF 
     7421#line $LINENO "configure" 
     7422/* confdefs.h.  */ 
     7423_ACEOF 
     7424cat confdefs.h >>conftest.$ac_ext 
     7425cat >>conftest.$ac_ext <<_ACEOF 
     7426/* end confdefs.h.  */ 
     7427$ac_includes_default 
     7428int 
     7429main () 
     7430{ 
     7431struct stat sbuf; 
     7432     /* Linux will dereference the symlink and fail. 
     7433        That is better in the sense that it means we will not 
     7434        have to compile and use the lstat wrapper.  */ 
     7435     exit (lstat ("conftest.sym/", &sbuf) ? 0 : 1); 
     7436  ; 
     7437  return 0; 
     7438} 
     7439_ACEOF 
     7440rm -f conftest$ac_exeext 
     7441if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     7442  (eval $ac_link) 2>&5 
     7443  ac_status=$? 
     7444  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7445  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     7446  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7447  (eval $ac_try) 2>&5 
     7448  ac_status=$? 
     7449  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7450  (exit $ac_status); }; }; then 
     7451  ac_cv_func_lstat_dereferences_slashed_symlink=yes 
     7452else 
     7453  echo "$as_me: program exited with status $ac_status" >&5 
     7454echo "$as_me: failed program was:" >&5 
     7455sed 's/^/| /' conftest.$ac_ext >&5 
     7456 
     7457( exit $ac_status ) 
     7458ac_cv_func_lstat_dereferences_slashed_symlink=no 
     7459fi 
     7460rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     7461fi 
     7462else 
     7463  # If the `ln -s' command failed, then we probably don't even 
     7464  # have an lstat function. 
     7465  ac_cv_func_lstat_dereferences_slashed_symlink=no 
     7466fi 
     7467rm -f conftest.sym conftest.file 
     7468 
     7469fi 
     7470echo "$as_me:$LINENO: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5 
     7471echo "${ECHO_T}$ac_cv_func_lstat_dereferences_slashed_symlink" >&6 
     7472 
     7473test $ac_cv_func_lstat_dereferences_slashed_symlink = yes && 
     7474 
     7475cat >>confdefs.h <<_ACEOF 
     7476#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1 
     7477_ACEOF 
     7478 
     7479 
     7480if test $ac_cv_func_lstat_dereferences_slashed_symlink = no; then 
     7481  LIBOBJS="$LIBOBJS lstat.$ac_objext" 
     7482fi 
     7483 
     7484echo "$as_me:$LINENO: checking whether stat accepts an empty string" >&5 
     7485echo $ECHO_N "checking whether stat accepts an empty string... $ECHO_C" >&6 
     7486if test "${ac_cv_func_stat_empty_string_bug+set}" = set; then 
     7487  echo $ECHO_N "(cached) $ECHO_C" >&6 
     7488else 
     7489  if test "$cross_compiling" = yes; then 
     7490  ac_cv_func_stat_empty_string_bug=yes 
     7491else 
     7492  cat >conftest.$ac_ext <<_ACEOF 
     7493#line $LINENO "configure" 
     7494/* confdefs.h.  */ 
     7495_ACEOF 
     7496cat confdefs.h >>conftest.$ac_ext 
     7497cat >>conftest.$ac_ext <<_ACEOF 
     7498/* end confdefs.h.  */ 
     7499$ac_includes_default 
     7500int 
     7501main () 
     7502{ 
     7503struct stat sbuf; 
     7504  exit (stat ("", &sbuf) ? 1 : 0); 
     7505  ; 
     7506  return 0; 
     7507} 
     7508_ACEOF 
     7509rm -f conftest$ac_exeext 
     7510if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 
     7511  (eval $ac_link) 2>&5 
     7512  ac_status=$? 
     7513  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7514  (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 
     7515  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 
     7516  (eval $ac_try) 2>&5 
     7517  ac_status=$? 
     7518  echo "$as_me:$LINENO: \$? = $ac_status" >&5 
     7519  (exit $ac_status); }; }; then 
     7520  ac_cv_func_stat_empty_string_bug=yes 
     7521else 
     7522  echo "$as_me: program exited with status $ac_status" >&5 
     7523echo "$as_me: failed program was:" >&5 
     7524sed 's/^/| /' conftest.$ac_ext >&5 
     7525 
     7526( exit $ac_status ) 
     7527ac_cv_func_stat_empty_string_bug=no 
     7528fi 
     7529rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 
     7530fi 
     7531fi 
     7532echo "$as_me:$LINENO: result: $ac_cv_func_stat_empty_string_bug" >&5 
     7533echo "${ECHO_T}$ac_cv_func_stat_empty_string_bug" >&6 
     7534if test $ac_cv_func_stat_empty_string_bug = yes; then 
     7535  LIBOBJS="$LIBOBJS stat.$ac_objext" 
     7536 
     7537cat >>confdefs.h <<_ACEOF 
     7538#define HAVE_STAT_EMPTY_STRING_BUG 1 
     7539_ACEOF 
     7540 
     7541fi 
     7542 
    71647543 
    71657544for ac_func in strftime 
     
    75387917 
    75397918 
     7919 
     7920 
     7921 
    75407922for ac_func in  \ 
    75417923        gethostbyname \ 
     7924        gettimeofday \ 
     7925        inet_ntoa \ 
    75427926        memset \ 
    75437927        mkdir \ 
     7928        realpath \ 
    75447929        select \ 
    75457930        socket \ 
     
    82928677s,@SED@,$SED,;t t 
    82938678s,@CUT@,$CUT,;t t 
     8679s,@FIND@,$FIND,;t t 
     8680s,@XARGS@,$XARGS,;t t 
    82948681s,@OPENSSL@,$OPENSSL,;t t 
    82958682s,@LIBOBJS@,$LIBOBJS,;t t 
  • wire/trunk/configure.in

    r66 r78  
    3434AC_PROG_MAKE_SET 
    3535AC_PROG_GCC_TRADITIONAL 
     36 
     37 
     38####################################################################### 
     39# Checks for programs. 
     40 
     41# Check for warnings 
     42AC_MSG_CHECKING([whether to enable warnings]) 
     43AC_ARG_ENABLE([warnings], 
     44        [  --enable-warnings       enable warnings] 
     45) 
     46 
     47if test -n "$enable_warnings"; then 
     48        AC_MSG_RESULT([yes]) 
     49        CFLAGS="$CFLAGS -Wall" 
     50else 
     51        AC_MSG_RESULT([no]) 
     52fi 
    3653 
    3754 
     
    4764AC_CHECK_PROG([SED], [sed], [sed]) 
    4865AC_CHECK_PROG([CUT], [cut], [cut]) 
     66AC_CHECK_PROG([FIND], [find], [find]) 
     67AC_CHECK_PROG([XARGS], [xargs], [xargs]) 
    4968AC_CHECK_PROG([OPENSSL], [openssl], [openssl]) 
    5069 
     
    208227 
    209228AC_FUNC_CLOSEDIR_VOID 
     229AC_FUNC_FSEEKO 
    210230AC_FUNC_MALLOC 
    211231AC_FUNC_MKTIME 
    212232AC_FUNC_REALLOC 
    213233AC_FUNC_SELECT_ARGTYPES 
     234AC_FUNC_STAT 
    214235AC_FUNC_STRFTIME 
    215236AC_FUNC_STRTOD 
    216237AC_CHECK_FUNCS([ \ 
    217238        gethostbyname \ 
     239        gettimeofday \ 
     240        inet_ntoa \ 
    218241        memset \ 
    219242        mkdir \ 
     243        realpath \ 
    220244        select \ 
    221245        socket \