]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark-ac.patch
- use setcaps instead of .desktop file hacks
[packages/wireshark.git] / wireshark-ac.patch
1 --- wireshark-1.4.0rc1/acinclude.m4~    2010-06-29 13:18:13.710088062 +0200
2 +++ wireshark-1.4.0rc1/acinclude.m4     2010-06-29 13:19:37.996897805 +0200
3 @@ -338,7 +338,7 @@
4             # work.
5             #
6             AC_MSG_CHECKING(for broken pcap-config)
7 -           case "`\"$PCAP_CONFIG\" --libs`" in
8 +           case "`$PCAP_CONFIG --libs`" in
9  
10             "-L "*)
11               #
12 @@ -361,8 +361,8 @@
13             # Found it, and it's usable; use it to get the include flags
14             # for libpcap.
15             #
16 -           CFLAGS="$CFLAGS `\"$PCAP_CONFIG\" --cflags`"
17 -           CPPFLAGS="$CPPFLAGS `\"$PCAP_CONFIG\" --cflags`"
18 +           CFLAGS="$CFLAGS `$PCAP_CONFIG --cflags`"
19 +           CPPFLAGS="$CPPFLAGS `$PCAP_CONFIG --cflags`"
20           else
21             #
22             # Didn't find it; we have to look for libpcap ourselves.
23 @@ -433,9 +433,9 @@
24           # libraries libpcap needs.
25           #
26           if test x$enable_static = xyes; then
27 -           PCAP_LIBS="`\"$PCAP_CONFIG\" --libs --static`"
28 +           PCAP_LIBS="`$PCAP_CONFIG --libs --static`"
29           else
30 -           PCAP_LIBS="`\"$PCAP_CONFIG\" --libs`"
31 +           PCAP_LIBS="`$PCAP_CONFIG --libs`"
32           fi
33           AC_DEFINE(HAVE_LIBPCAP, 1, [Define to use libpcap library])
34         else
This page took 0.069769 seconds and 3 git commands to generate.