summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch
blob: 06ca275b18f5fa49471e90fa3eb3f956ec2d79ca (plain)
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
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.
---
 configure.in |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index d8554ca..ba5b64e 100644
--- a/configure.in
+++ b/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
@@ -1396,7 +1397,8 @@ fi
 
 AC_ARG_ENABLE([canusb],
 [AC_HELP_STRING([--enable-canusb],[enable canusb support @<:@default=yes, if support available@:>@])],
-,enable_canusb=yes)
+    [],
+    [enable_canusb=yes])
 
 if test "x$enable_canusb" != "xno" ; then
 	dnl check for canusb support
@@ -1422,7 +1424,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
-- 
1.7.9.5