summaryrefslogtreecommitdiff
blob: 227b59a877aa5371f91b7f4b37a053555a72b1a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -ur libusb-0.1.10a/configure.in libusb-0.1.10a-fbsd/configure.in
--- libusb-0.1.10a/configure.in	2005-02-14 21:22:08.000000000 +0100
+++ libusb-0.1.10a-fbsd/configure.in	2005-07-31 13:29:04.219598632 +0200
@@ -191,11 +191,9 @@
 
 if test "$os_support" = "bsd"; then
   AC_MSG_CHECKING(if dev/usb/usb.h uses new naming convention)
-  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <dev/usb/usb.h>]], [[int main(void)
-     {
+  AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <dev/usb/usb.h>]], [[
        int a = ((struct usb_ctl_request *)0L)->ucr_addr;
-       return 0;
-     }]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)
+     ]])],[AC_MSG_RESULT(yes)],[AC_MSG_RESULT(no)
     AC_DEFINE_UNQUOTED(HAVE_OLD_DEV_USB_USB_H)])
 fi