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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
Upstream-Status: Backport
From fffa60a0693182085a7d4351150137eda26dbf82 Mon Sep 17 00:00:00 2001
From: Guy Harris <guy@alum.mit.edu>
Date: Wed, 13 Jun 2012 12:20:19 -0700
Subject: [PATCH] The leading comma looked weird; remove it.
That might be how the --disable-canusb bug got in. Hopefully this will
make the code look a little clearer and possibly avoid future bugs of
that sort.
sgw - Cleaned up the patch based on another patch
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
configure.in | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Index: libpcap-1.3.0/configure.in
===================================================================
--- libpcap-1.3.0.orig/configure.in
+++ libpcap-1.3.0/configure.in
@@ -1371,7 +1371,8 @@ AC_SUBST(NETFILTER_SRC)
AC_ARG_ENABLE([bluetooth],
[AC_HELP_STRING([--enable-bluetooth],[enable Bluetooth support @<:@default=yes, if support available@:>@])],
-,enable_bluetooth=yes)
+ [],
+ [enable_bluetooth=yes])
if test "x$enable_bluetooth" != "xno" ; then
dnl check for Bluetooth sniffing support
@@ -1395,8 +1396,10 @@ if test "x$enable_bluetooth" != "xno" ;
fi
AC_ARG_ENABLE([canusb],
-[AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=yes, if support available@:>@])]
-,enable_canusb=yes)
+[AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=yes, if support available@:>@])],
+ [],
+ [enable_canusb=yes])
+
if test "x$enable_canusb" != "xno" ; then
dnl check for canusb support
@@ -1422,7 +1425,8 @@ fi
AC_ARG_ENABLE([can],
[AC_HELP_STRING([--enable-can],[enable CAN support @<:@default=yes, if support available@:>@])],
-,enable_can=yes)
+ [],
+ [enable_can=yes])
if test "x$enable_can" != "xno" ; then
dnl check for CAN sniffing support
|