$NetBSD: patch-aa,v 1.3 2001/03/05 14:39:09 hubertf Exp $

--- configure.orig	Tue Feb 27 07:08:56 2001
+++ configure
@@ -1835,7 +1835,12 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-lpcap  $LIBS"
+case `uname -s` in
+SunOS)
+	LIBS="-lpcap -lxnet $LIBS" ;;
+*)
+	LIBS="-lpcap  $LIBS" ;;
+esac
 cat > conftest.$ac_ext <<EOF
 #line 1841 "configure"
 #include "confdefs.h"
