mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-05-08 01:58:02 +02:00
build: Remove libusb dependency in Linux
As the last user, the CSR support code, was removed.
This commit is contained in:
parent
4227d0c439
commit
64582256a8
3 changed files with 0 additions and 4 deletions
|
|
@ -199,7 +199,6 @@ AC_SUBST(BACKEND, "$with_backend")
|
||||||
have_idevice=no
|
have_idevice=no
|
||||||
if test x$with_backend = xlinux; then
|
if test x$with_backend = xlinux; then
|
||||||
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 147])
|
PKG_CHECK_MODULES(GUDEV, [gudev-1.0 >= 147])
|
||||||
PKG_CHECK_MODULES(USB, [libusb-1.0 >= 1.0.0])
|
|
||||||
AC_ARG_WITH(idevice, AS_HELP_STRING([--without-idevice],[Build without libimobiledevice]),
|
AC_ARG_WITH(idevice, AS_HELP_STRING([--without-idevice],[Build without libimobiledevice]),
|
||||||
with_idevice=$withval,with_idevice=yes)
|
with_idevice=$withval,with_idevice=yes)
|
||||||
LIBPLIST_DEP=libplist
|
LIBPLIST_DEP=libplist
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,6 @@ upowerd_CPPFLAGS = \
|
||||||
|
|
||||||
upowerd_LDADD = \
|
upowerd_LDADD = \
|
||||||
-lm \
|
-lm \
|
||||||
$(USB_LIBS) \
|
|
||||||
$(GIO_LIBS) \
|
$(GIO_LIBS) \
|
||||||
$(GIO_UNIX_LIBS) \
|
$(GIO_UNIX_LIBS) \
|
||||||
$(UPOWER_LIBS)
|
$(UPOWER_LIBS)
|
||||||
|
|
@ -94,7 +93,6 @@ endif
|
||||||
if BACKEND_TYPE_LINUX
|
if BACKEND_TYPE_LINUX
|
||||||
upowerd_LDADD += \
|
upowerd_LDADD += \
|
||||||
linux/libupshared.la \
|
linux/libupshared.la \
|
||||||
$(USB_LIBS) \
|
|
||||||
$(GUDEV_LIBS) \
|
$(GUDEV_LIBS) \
|
||||||
$(IDEVICE_LIBS) \
|
$(IDEVICE_LIBS) \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ AM_CPPFLAGS = \
|
||||||
-DG_LOG_DOMAIN=\"UPower-Linux\" \
|
-DG_LOG_DOMAIN=\"UPower-Linux\" \
|
||||||
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
|
-DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)"\" \
|
||||||
-I$(top_srcdir)/libupower-glib \
|
-I$(top_srcdir)/libupower-glib \
|
||||||
$(USB_CFLAGS) \
|
|
||||||
$(GIO_CFLAGS) \
|
$(GIO_CFLAGS) \
|
||||||
$(GIO_UNIX_CFLAGS) \
|
$(GIO_UNIX_CFLAGS) \
|
||||||
$(GUDEV_CFLAGS) \
|
$(GUDEV_CFLAGS) \
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue