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
This commit is contained in:
parent
203416ced2
commit
f7d87960f4
1 changed files with 6 additions and 1 deletions
|
@ -1590,7 +1590,7 @@ AC_HELP_STRING([--enable-pthread-sem], [use pthread semaphores [[default=yes]]])
|
||||||
;;
|
;;
|
||||||
*-*-netbsd*)
|
*-*-netbsd*)
|
||||||
pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
|
pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
|
||||||
pthread_lib="-L/usr/lib -lpthread"
|
pthread_lib="-lpthread"
|
||||||
;;
|
;;
|
||||||
*-*-openbsd*)
|
*-*-openbsd*)
|
||||||
pthread_cflags="-D_REENTRANT"
|
pthread_cflags="-D_REENTRANT"
|
||||||
|
@ -1917,8 +1917,13 @@ CheckUSBHID()
|
||||||
#if defined(HAVE_USB_H)
|
#if defined(HAVE_USB_H)
|
||||||
#include <usb.h>
|
#include <usb.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef __DragonFly__
|
||||||
|
#include <bus/usb/usb.h>
|
||||||
|
#include <bus/usb/usbhid.h>
|
||||||
|
#else
|
||||||
#include <dev/usb/usb.h>
|
#include <dev/usb/usb.h>
|
||||||
#include <dev/usb/usbhid.h>
|
#include <dev/usb/usbhid.h>
|
||||||
|
#endif
|
||||||
#if defined(HAVE_USBHID_H)
|
#if defined(HAVE_USBHID_H)
|
||||||
#include <usbhid.h>
|
#include <usbhid.h>
|
||||||
#elif defined(HAVE_LIBUSB_H)
|
#elif defined(HAVE_LIBUSB_H)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue