gvfs: build archive backend if libarchive is selected
authorSven Neumann <s.neumann@raumfeld.com>
Sun, 18 Oct 2009 21:56:21 +0000 (23:56 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 20 Oct 2009 20:42:25 +0000 (22:42 +0200)
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>
package/gvfs/gvfs.mk

index 5c71fef31d464124bb8d28a9c7eeb4c63734b3b6..94a5eb76b70860da2d50b0638f7d502de7c6ebf3 100644 (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 += \