]> git.sur5r.net Git - openocd/commitdiff
build: add missing configure quotes
authorSpencer Oliver <spen@spen-soft.co.uk>
Fri, 14 Jun 2013 19:59:30 +0000 (20:59 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 14 Jun 2013 20:28:16 +0000 (20:28 +0000)
Change-Id: I14abb24292d4c2ff088c7b95773f73ceac3287cd
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1445
Tested-by: jenkins
configure.ac

index 95c3eb246b9d24442d276e90ebdbce62be09a8ea..6e3f9861c0ccd5659d83764231c120c20608f1e4 100644 (file)
@@ -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