From f7d87960f4f5b4c1f5f0d9b0b997c49756f3c6fd Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 10 Jul 2007 04:45:50 +0000 Subject: [PATCH] Merged part of NetBSD pkgsrc patch-aj: chunk 2: -L/usr/lib is unnecessary chunk 3: Better DragonFly support. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402453 --- configure.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index d32681f25..72b11fe6d 100644 --- a/configure.in +++ b/configure.in @@ -1590,7 +1590,7 @@ AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]]) ;; *-*-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 @@ CheckUSBHID() #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)