gvfs: build archive backend if libarchive is selected

If BR2_PACKAGE_LIBARCHIVE is enabled, build the gvfs archive
backend.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Sven Neumann 2009-10-18 23:56:21 +02:00 committed by Peter Korsgaard
parent f49ef854ca
commit 0cbfcbe433

View File

@ -22,7 +22,6 @@ GVFS_CONF_OPT = \
--disable-obexftp \
--disable-gphoto2 \
--disable-keyring \
--disable-archive \
--disable-bash-completion \
ifeq ($(BR2_PACKAGE_AVAHI),y)
@ -32,6 +31,20 @@ else
GVFS_CONF_OPT += --disable-avahi
endif
ifeq ($(BR2_PACKAGE_HAL),y)
GVFS_DEPENDENCIES += hal
GVFS_CONF_OPT += --enable-hal
else
GVFS_CONF_OPT += --disable-hal
endif
ifeq ($(BR2_PACKAGE_LIBARCHIVE),y)
GVFS_DEPENDENCIES += libarchive
GVFS_CONF_OPT += --enable-archive
else
GVFS_CONF_OPT += --disable-archive
endif
ifeq ($(BR2_PACKAGE_LIBFUSE),y)
GVFS_DEPENDENCIES += libfuse
GVFS_CONF_OPT += --enable-fuse
@ -46,13 +59,6 @@ else
GVFS_CONF_OPT += --disable-http
endif
ifeq ($(BR2_PACKAGE_HAL),y)
GVFS_DEPENDENCIES += hal
GVFS_CONF_OPT += --enable-hal
else
GVFS_CONF_OPT += --disable-hal
endif
ifeq ($(BR2_PACKAGE_SAMBA_LIBSMBCLIENT),y)
GVFS_DEPENDENCIES += samba
GVFS_CONF_OPT += \