diff configure.in @ 2158:eff395617ed8

Merged part of NetBSD pkgsrc patch-aj: chunk 2: -L/usr/lib is unnecessary chunk 3: Better DragonFly support.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 10 Jul 2007 04:45:50 +0000
parents b93d0b4625f6
children 5f96cf74b782
line wrap: on
line diff
--- 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 <usb.h>
               #endif
+	      #ifdef __DragonFly__
+              #include <bus/usb/usb.h>
+              #include <bus/usb/usbhid.h>
+	      #else
               #include <dev/usb/usb.h>
               #include <dev/usb/usbhid.h>
+	      #endif
               #if defined(HAVE_USBHID_H)
               #include <usbhid.h>
               #elif defined(HAVE_LIBUSB_H)