summaryrefslogtreecommitdiff
path: root/security/fragrouter/files/patch-Libnet-0.99b__configure
blob: e1beb14d0aed80fc076567e7bf32ddab26b45d4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- Libnet-0.99b/configure.orig	1999-07-26 15:08:51 UTC
+++ Libnet-0.99b/configure
@@ -884,10 +884,6 @@ fi
 
 
 
-if test $ac_cv_prog_gcc = yes; then
-    CCOPTS='-O3 -funroll-loops -fomit-frame-pointer -pipe -Wall'
-    CFLAGS="$CCOPTS"
-fi
 
 # Check whether --with-pf_packet or --without-pf_packet was given.
 if test "${with_pf_packet+set}" = set; then
@@ -1192,7 +1188,7 @@ fi
 echo $ac_n "checking low-level packet interface type""... $ac_c" 1>&6
 echo "configure:1194: checking low-level packet interface type" >&5
 
-if test -r /dev/bpf0 ; then
+if test -r /usr/include/net/bpf.h ; then
     LL_INT_TYPE=bpf
     echo "$ac_t""found bpf" 1>&6
 elif test -r /usr/include/net/pfilt.h ; then