1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/security/xinetd/files/patch-ad
Vanilla I. Shu 4a2ac121fb Remove ipv6 support temporary, it seems buggy.
Activate loadavg support.
2000-09-12 04:10:01 +00:00

53 lines
1.2 KiB
Plaintext

--- 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 <<EOF
-#line 3027 "configure"
-#include "confdefs.h"
-#include <sys/types.h>
-#if STDC_HEADERS
-#include <stdlib.h>
-#include <stddef.h>
-#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