aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 95c3eb24..6e3f9861 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1199,10 +1199,10 @@ fi
use_libusb1=no
if test $need_usb = yes -o $need_usb_ng = yes; then
AC_CHECK_HEADER([libusb-1.0/libusb.h], [
- AC_DEFINE(HAVE_LIBUSB1, 1, [Define if you have libusb-1.x])
+ AC_DEFINE([HAVE_LIBUSB1], [1], [Define if you have libusb-1.x])
use_libusb1=yes
AC_SEARCH_LIBS([libusb_error_name], [usb-1.0],
- [AC_DEFINE(HAVE_LIBUSB_ERROR_NAME, 1, [Define if your libusb has libusb_error_name()])],
+ [AC_DEFINE([HAVE_LIBUSB_ERROR_NAME], [1], [Define if your libusb has libusb_error_name()])],
[AC_MSG_WARN([libusb-1.x older than 1.0.9 detected, consider updating])])
], [
if test $need_usb_ng = yes; then