summaryrefslogtreecommitdiff
path: root/libpcap/libpcap-0.8.1/configure.patch
blob: e3d9ea34f0732d5187cff96d6dafdf70fba4a0e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#

--- libpcap-0.8.1/configure.in~configure
+++ libpcap-0.8.1/configure.in
@@ -32,13 +32,11 @@
 AC_CHECK_FUNCS(ether_hostton strerror strlcpy)
 
 needsnprintf=no
-LIBOBJS=
 AC_CHECK_FUNCS(vsnprintf snprintf,,
 	[needsnprintf=yes])
 if test $needsnprintf = yes; then
-	LIBOBJS="$LIBOBJS snprintf.o"
+	AC_LIBOBJ([snprintf])
 fi
-AC_SUBST(LIBOBJS)
 
 dnl to pacify those who hate protochain insn
 AC_MSG_CHECKING(if --disable-protochain option is specified)