--- configure.orig Sat Dec 11 08:02:56 1999 +++ configure Mon Sep 4 02:56:08 2000 @@ -1768,7 +1768,7 @@ EOF ;; -linux*) +linux*|freebsd*) echo $ac_n "checking for main in -lcrypt""... $ac_c" 1>&6 echo "configure:1774: checking for main in -lcrypt" >&5 ac_lib_var=`echo crypt'_'main | sed 'y%./+-%__p_%'` @@ -3016,40 +3016,6 @@ EOF fi - -echo $ac_n "checking for R_OK""... $ac_c" 1>&6 -echo "configure:3022: checking for R_OK" >&5 -if eval "test \"`echo '$''{'ac_cv_type_R_OK'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext < -#if STDC_HEADERS -#include -#include -#endif -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "(^|[^a-zA-Z_0-9])R_OK[^a-zA-Z_0-9]" >/dev/null 2>&1; then - rm -rf conftest* - ac_cv_type_R_OK=yes -else - rm -rf conftest* - ac_cv_type_R_OK=no -fi -rm -f conftest* - -fi -echo "$ac_t""$ac_cv_type_R_OK" 1>&6 -if test $ac_cv_type_R_OK = no; then - cat >> confdefs.h <<\EOF -#define R_OK 4 -EOF - -fi - for ac_hdr in sys/types.h sys/termios.h termios.h sys/select.h rpc/rpc.h rpc/rpcent.h sys/file.h ftw.h machine/reg.h linux/time.h netdb.h do