summaryrefslogtreecommitdiff
path: root/net-mgmt/driftnet/files/patch-configure.ac
blob: a883d969282d6e5dd6f48a993895446426ac3a05 (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
30
31
32
--- configure.ac.orig	2022-04-16 21:14:04 UTC
+++ configure.ac
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 #
 
-AC_PREREQ([2.71])
+AC_PREREQ([2.69])
 AC_INIT([driftnet],[1.4.0],[david.sephirot@gmail.com])
 
 AC_CANONICAL_HOST
@@ -22,7 +22,7 @@ build_linux=no
 build_mac=no
 
 case "${host_os}" in
-    linux*)
+    linux*|freebsd*)
         build_linux=yes
         ;;
     cygwin*|mingw*)
@@ -69,9 +69,9 @@ AC_ARG_ENABLE([debug],
     [enable_debug=yes])
 
 if test "x$enable_debug" = xyes; then
-    CFLAGS="-O2 -g -DDEBUG"
+    CFLAGS+="-O2 -g -DDEBUG"
 else
-	CFLAGS="-O2 -DNDEBUG"
+	CFLAGS+="-O2 -DNDEBUG"
 fi
 #AM_CONDITIONAL(ENABLE_DEBUG, test "$enable_debug" = "yes")