summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Richardson <mcr@sandelman.ca>2015-02-15 12:55:45 -0500
committerMichael Richardson <mcr@sandelman.ca>2015-02-15 12:55:45 -0500
commite277377874a1b456c24a94251955f249e3ada941 (patch)
tree3dcdc2e0fb427eb1c1a2d0c5bf6acafd3421d1dd
parente6764bce0d38a26054be83687be5a4073b323db2 (diff)
parent5b939834a2b70e2f71855c46e927f7a92399c32d (diff)
downloadlibpcap-e277377874a1b456c24a94251955f249e3ada941.tar.gz
Merge pull request #372 from baruchsiach/config-fixes
configure.in cross compile and noMMU fixes
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index f04b8579..55cfadae 100644
--- a/configure.in
+++ b/configure.in
@@ -459,7 +459,6 @@ linux)
AC_DEFINE(HAVE_LIBNL_3_x,1,[if libnl exists and is version 3.x])
AC_DEFINE(HAVE_LIBNL_NLE,1,[libnl has NLE_FAILURE])
AC_DEFINE(HAVE_LIBNL_SOCKETS,1,[libnl has new-style socket api])
- V_INCLS="$V_INCLS -I/usr/include/libnl3"
have_any_nl="yes"
])
@@ -1546,7 +1545,7 @@ AC_ARG_ENABLE([canusb],
if test "x$enable_canusb" != "xno" ; then
dnl check for canusb support
case "$host_os" in
- linux*)
+ linux*|uclinux*)
AC_CHECK_HEADER(libusb-1.0/libusb.h,
[
AC_CHECK_LIB(usb-1.0, libusb_init,
@@ -1556,7 +1555,8 @@ if test "x$enable_canusb" != "xno" ; then
LIBS="-lusb-1.0 -lpthread $LIBS"
ac_lbl_has_libusb=yes
],
- ac_lbl_has_libusb=no
+ ac_lbl_has_libusb=no,
+ -lpthread
)
],
ac_lbl_has_libusb=no