comparison configure.in @ 404:cbb346aca05d

*** empty log message ***
author Sam Lantinga <slouken@libsdl.org>
date Tue, 11 Jun 2002 20:06:42 +0000
parents 8d431937739d
children 173909e17b7f
comparison
equal deleted inserted replaced
403:8d431937739d 404:cbb346aca05d
1563 fi 1563 fi
1564 1564
1565 AC_MSG_CHECKING(for usbhid) 1565 AC_MSG_CHECKING(for usbhid)
1566 have_usbhid=no 1566 have_usbhid=no
1567 AC_TRY_COMPILE([ 1567 AC_TRY_COMPILE([
1568 #include <sys/types.h>
1568 #if defined(HAVE_USB_H) 1569 #if defined(HAVE_USB_H)
1569 #include <usb.h> 1570 #include <usb.h>
1570 #endif 1571 #endif
1571 #include <dev/usb/usb.h> 1572 #include <dev/usb/usb.h>
1572 #include <dev/usb/usbhid.h> 1573 #include <dev/usb/usbhid.h>
1574 #include <usbhid.h> 1575 #include <usbhid.h>
1575 #elif defined(HAVE_LIBUSB_H) 1576 #elif defined(HAVE_LIBUSB_H)
1576 #include <libusb.h> 1577 #include <libusb.h>
1577 #elif defined(HAVE_LIBUSBHID_H) 1578 #elif defined(HAVE_LIBUSBHID_H)
1578 #include <libusbhid.h> 1579 #include <libusbhid.h>
1580 #endif
1579 ],[ 1581 ],[
1580 struct report_desc *repdesc; 1582 struct report_desc *repdesc;
1581 struct usb_ctl_report *repbuf; 1583 struct usb_ctl_report *repbuf;
1582 hid_kind_t hidkind; 1584 hid_kind_t hidkind;
1583 ],[ 1585 ],[
1587 1589
1588 if test x$have_usbhid = xyes; then 1590 if test x$have_usbhid = xyes; then
1589 AC_MSG_CHECKING(for ucr_data member of usb_ctl_report) 1591 AC_MSG_CHECKING(for ucr_data member of usb_ctl_report)
1590 have_usbhid_ucr_data=no 1592 have_usbhid_ucr_data=no
1591 AC_TRY_COMPILE([ 1593 AC_TRY_COMPILE([
1594 #include <sys/types.h>
1595 #if defined(HAVE_USB_H)
1596 #include <usb.h>
1597 #endif
1592 #include <dev/usb/usb.h> 1598 #include <dev/usb/usb.h>
1593 #include <dev/usb/usbhid.h> 1599 #include <dev/usb/usbhid.h>
1594 #include <stdio.h>
1595 #if defined(HAVE_USBHID_H) 1600 #if defined(HAVE_USBHID_H)
1596 #include <usbhid.h> 1601 #include <usbhid.h>
1597 #elif defined(HAVE_LIBUSB_H) 1602 #elif defined(HAVE_LIBUSB_H)
1598 #include <libusb.h> 1603 #include <libusb.h>
1599 #elif defined(HAVE_LIBUSBHID_H) 1604 #elif defined(HAVE_LIBUSBHID_H)