build: Remove unused dependency on USB library

This commit is contained in:
Marcel Holtmann 2013-12-21 13:13:07 -08:00
parent d6af339c99
commit ed93490647
2 changed files with 1 additions and 8 deletions

View File

@ -542,8 +542,7 @@ else
build_plugindir = $(plugindir)
endif
AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ @USB_CFLAGS@ \
$(builtin_cflags) \
AM_CFLAGS = @DBUS_CFLAGS@ @GLIB_CFLAGS@ $(builtin_cflags) \
-DOFONO_PLUGIN_BUILTIN \
-DPLUGINDIR=\""$(build_plugindir)"\"

View File

@ -116,12 +116,6 @@ AM_CONDITIONAL(TEST, test "${enable_test}" = "yes")
AC_ARG_ENABLE(tools, AC_HELP_STRING([--enable-tools],
[enable testing tools]), [enable_tools=${enableval}])
if (test "${enable_tools}" = "yes"); then
PKG_CHECK_MODULES(USB, libusb-1.0, dummy=yes,
AC_MSG_ERROR(USB library is required))
AC_SUBST(USB_CFLAGS)
AC_SUBST(USB_LIBS)
fi
AM_CONDITIONAL(TOOLS, test "${enable_tools}" = "yes")
AC_ARG_ENABLE(dundee, AC_HELP_STRING([--enable-dundee],