# HG changeset patch # User Sam Lantinga # Date 1184042750 0 # Node ID eff395617ed803395d1d64e17a4be184fb374b0a # Parent 75a6c5deba84efffbaaa9d9e1c750f8a043361a4 Merged part of NetBSD pkgsrc patch-aj: chunk 2: -L/usr/lib is unnecessary chunk 3: Better DragonFly support. diff -r 75a6c5deba84 -r eff395617ed8 configure.in --- a/configure.in Sun Jul 08 14:24:55 2007 +0000 +++ b/configure.in Tue Jul 10 04:45:50 2007 +0000 @@ -1590,7 +1590,7 @@ ;; *-*-netbsd*) pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" - pthread_lib="-L/usr/lib -lpthread" + pthread_lib="-lpthread" ;; *-*-openbsd*) pthread_cflags="-D_REENTRANT" @@ -1917,8 +1917,13 @@ #if defined(HAVE_USB_H) #include #endif + #ifdef __DragonFly__ + #include + #include + #else #include #include + #endif #if defined(HAVE_USBHID_H) #include #elif defined(HAVE_LIBUSB_H)