Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / net / ORBit / patches / patch-ac
blobf96eb3beb93acc0b5af715e10aa1a2cd35536fba
1 $NetBSD$
3 --- configure.orig      2002-06-06 11:27:24.000000000 +0000
4 +++ configure
5 @@ -7922,7 +7922,7 @@ EOF
6  fi
7  done
8  
9 -for ac_header in stddef.h wchar.h wcstr.h wctype.h machine/types.h tcpd.h
10 +for ac_header in alloca.h stddef.h wchar.h wcstr.h wctype.h machine/types.h tcpd.h
11  do
12  as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13  echo "$as_me:7928: checking for $ac_header" >&5
14 @@ -8835,6 +8835,7 @@ rm -f conftest.$ac_objext conftest.$ac_e
16  echo "$as_me:8836: checking \"whether to use TCP wrappers\"" >&5
17  echo $ECHO_N "checking \"whether to use TCP wrappers\"... $ECHO_C" >&6
18 +if test -z "$LIBWRAP_PATH" && test -z "$LIB_WRAP"; then
19  LIBWRAP_PATH=""
20  LIB_WRAP=""
21  for I in $LDFLAGS $LIBS -L/usr/lib; do
22 @@ -8846,6 +8847,10 @@ for I in $LDFLAGS $LIBS -L/usr/lib; do
23                 LIB_WRAP=-lwrap
24                 echo "Found $THEFILE/libwrap.so" 1>&5
25                 break
26 +       elif test -f `set $THEFILE/libwrap.so.*.*; echo $1`; then
27 +               LIB_WRAP=-lwrap
28 +               echo "Found $THEFILE/libwrap.so" 1>&5
29 +               break
30         else
31                 echo "From $I, checking in dir $THEFILE for libwrap.a" 1>&5
32                 if test -f $THEFILE/libwrap.a; then
33 @@ -8856,6 +8861,7 @@ for I in $LDFLAGS $LIBS -L/usr/lib; do
34         fi
35         esac
36  done
37 +fi
38  if test -n "$LIBWRAP_PATH" || test -n "$LIB_WRAP"; then
39         echo "$as_me:8860: result: yes" >&5
40  echo "${ECHO_T}yes" >&6