summaryrefslogtreecommitdiff
path: root/net/libnet10/files/patch-aa
blob: 57137897cbc7847d88470392bc117f4b94013b02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- configure.in.orig	Wed Jan 17 12:59:30 2001
+++ configure.in	Mon Jul  2 19:18:50 2001
@@ -50,10 +50,10 @@
 dnl Use these compiler flags if we have gcc.
 dnl
 if test $ac_cv_prog_gcc = yes; then
-dnl if test -z $CFLAGS; then 
-    CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
-    CFLAGS="$CCOPTS"
-dnl fi
+    if test -z "$CFLAGS"; then 
+        CCOPTS='-O2 -funroll-loops -fomit-frame-pointer -Wall'
+        CFLAGS="$CCOPTS"
+    fi
 fi
 
 dnl
@@ -163,8 +163,9 @@
     LIB_PREFIX="$prefix/lib/aout"
     INC_PREFIX="$prefix/include/"
     BIN_PREFIX="$prefix/bin/"
-    AC_MSG_RESULT(Note: support/bpf-lkm/etherspoof contains the lkm source \
-required to spoof ethernet frames)
+dnl etherspoof lkm is horrible and only necesary on < RELENG_4
+dnl     AC_MSG_RESULT(Note: support/bpf-lkm/etherspoof contains the lkm source \
+dnl required to spoof ethernet frames)
     ln -sf FreeBSD support/bpf-lkm/etherspoof
     ;;