comparison 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
comparison
equal deleted inserted replaced
2157:75a6c5deba84 2158:eff395617ed8
1588 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" 1588 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
1589 pthread_lib="-pthread" 1589 pthread_lib="-pthread"
1590 ;; 1590 ;;
1591 *-*-netbsd*) 1591 *-*-netbsd*)
1592 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" 1592 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
1593 pthread_lib="-L/usr/lib -lpthread" 1593 pthread_lib="-lpthread"
1594 ;; 1594 ;;
1595 *-*-openbsd*) 1595 *-*-openbsd*)
1596 pthread_cflags="-D_REENTRANT" 1596 pthread_cflags="-D_REENTRANT"
1597 pthread_lib="-pthread" 1597 pthread_lib="-pthread"
1598 ;; 1598 ;;
1915 AC_TRY_COMPILE([ 1915 AC_TRY_COMPILE([
1916 #include <sys/types.h> 1916 #include <sys/types.h>
1917 #if defined(HAVE_USB_H) 1917 #if defined(HAVE_USB_H)
1918 #include <usb.h> 1918 #include <usb.h>
1919 #endif 1919 #endif
1920 #ifdef __DragonFly__
1921 #include <bus/usb/usb.h>
1922 #include <bus/usb/usbhid.h>
1923 #else
1920 #include <dev/usb/usb.h> 1924 #include <dev/usb/usb.h>
1921 #include <dev/usb/usbhid.h> 1925 #include <dev/usb/usbhid.h>
1926 #endif
1922 #if defined(HAVE_USBHID_H) 1927 #if defined(HAVE_USBHID_H)
1923 #include <usbhid.h> 1928 #include <usbhid.h>
1924 #elif defined(HAVE_LIBUSB_H) 1929 #elif defined(HAVE_LIBUSB_H)
1925 #include <libusb.h> 1930 #include <libusb.h>
1926 #elif defined(HAVE_LIBUSBHID_H) 1931 #elif defined(HAVE_LIBUSBHID_H)