BUGFIX: LIBOBJS vs AC_LIBOBJ for dsniff.
authorChris Larson <clarson@kergoth.com>
Wed, 14 Jan 2004 03:18:39 +0000 (03:18 +0000)
committerChris Larson <clarson@kergoth.com>
Wed, 14 Jan 2004 03:18:39 +0000 (03:18 +0000)
BKrev: 4004b50flY8N-2Bu0Z6-wq7LHcjU6w

dsniff/dsniff-2.3/configure.patch

index e69de29..34101bb 100644 (file)
@@ -0,0 +1,37 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- dsniff-2.3/configure.in~configure
++++ dsniff-2.3/configure.in
+@@ -42,7 +42,7 @@
+ AC_CHECK_TYPE(u_int32_t, uint32_t)
+ AC_CHECK_TYPE(u_int64_t, uint64_t)
+ dnl XXX - Linux sux.
+-AC_CHECK_TYPE(in_addr_t, u_int32_t)
++dnl AC_CHECK_TYPE(in_addr_t, u_int32_t)
+ CFLAGS="$CFLAGS -D_BSD_SOURCE"
+ dnl Checks for library functions.
+@@ -61,17 +61,17 @@
+ needmd5=no
+ AC_CHECK_FUNCS(MD5Update, , [needmd5=yes])
+ if test $needmd5 = yes; then
+-   LIBOBJS="$LIBOBJS md5.o"
++   AC_LIBOBJ([md5])
+ fi
+ neederr=no
+ AC_CHECK_FUNCS(warnx, , [neederr=yes])
+ if test $neederr = yes; then
+-   LIBOBJS="$LIBOBJS err.o"
++   AC_LIBOBJ([err])
+ fi
+ needethers=no
+ AC_CHECK_FUNCS(ether_ntoa, , [needethers=yes])
+ if test $needethers = yes; then
+-   LIBOBJS="$LIBOBJS ethers.o"
++   AC_LIBOBJ([ethers])
+ fi
+ dnl Checks for BSD tunnel device