Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Merged part of NetBSD pkgsrc patch-aj:

chunk 2:
-L/usr/lib is unnecessary

chunk 3:
Better DragonFly support.
  • Loading branch information
slouken committed Jul 10, 2007
1 parent dff6187 commit efad5370a9a84e55149447f065575e4aa04dcf35
Showing with 6 additions and 1 deletion.
  1. +6 −1 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 <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)

0 comments on commit efad537

Please sign in to comment.