summaryrefslogtreecommitdiff
path: root/net/ngrep/patches/patch-aa
blob: 2abdf2433d487dec73b60edc89a71e8c857511b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-aa,v 1.2 1999/07/15 00:44:04 hubertf Exp $

--- configure.orig	Wed Jul  7 20:06:12 1999
+++ configure	Thu Jul 15 01:31:09 1999
@@ -1299,7 +1299,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 1305 "configure"
 #include "confdefs.h"