unbreak eeze mount detection/compile (spankies for demarchi), remove last bits of hal mount support from configure

SVN revision: 83204
This commit is contained in:
Mike Blumenkrantz 2013-01-24 07:59:28 +00:00
parent a7049f3c0f
commit cdf4fb7950
2 changed files with 6 additions and 8 deletions

View File

@ -360,11 +360,10 @@ else
fi
if test "x${e_cv_want_mount_udisks}" = "xno" && test "x${e_cv_want_mount_hal}" = "xno" ; then
if test "x${e_cv_want_mount_udisks}" = "xno" ; then
DBUS_MOUNT_CONFIG=0
dbus_mount=
udisks_mount=
hal_mount=
fi
AC_ARG_ENABLE([mount-eeze],
@ -402,9 +401,7 @@ fi
AC_SUBST([EEZE_MOUNT_CONFIG])
AC_SUBST([DBUS_MOUNT_CONFIG])
AM_CONDITIONAL([HAVE_HAL_MOUNT], [test -n "$hal_mount"])
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [false])
test -n "$hal_mount" && AC_DEFINE_UNQUOTED([HAVE_HAL_MOUNT], [1], [enable HAL mounting])
test -n "$udisks_mount" && AC_DEFINE_UNQUOTED([HAVE_UDISKS_MOUNT], [1], [enable Udisks mounting])
AM_CONDITIONAL([HAVE_UDISKS_MOUNT], [test -n "$udisks_mount"])
AM_CONDITIONAL([HAVE_EEZE_MOUNT], [test -n "$eeze_mount"])
@ -459,7 +456,7 @@ eet >= $efl_version \
efreet >= $efl_version \
edbus2 >= $efl_version \
eina >= $efl_version"
efm_requires="$efm_requires $eeze_mount $dbus_mount $hal_mount $udisks_mount"
efm_requires="$efm_requires $eeze_mount $dbus_mount $udisks_mount"
PKG_CHECK_MODULES(E_FM, [$efm_requires])
@ -526,7 +523,6 @@ PKG_CHECK_MODULES(E, [
eina >= ${efl_version}
edbus2 >= ${efl_version}
eio >= ${efl_version}
$hal_mount
$eeze_mount
$udisks_mount
$device_backend
@ -547,7 +543,6 @@ efreet-trash >= ${efl_version} \
eina >= ${efl_version} \
edbus2 \
eio >= ${efl_version} \
$hal_mount \
$udisks_mount \
$eeze_mount \
$device_backend"
@ -1033,7 +1028,6 @@ echo
cat << DEVICE_EOF
Preferred Backends:
* device..............: $device_backend
* hal_mount...........: $e_cv_want_mount_hal
* udisks_mount........: $e_cv_want_mount_udisks
* eeze_mount..........: $e_cv_want_mount_eeze
DEVICE_EOF

View File

@ -18,7 +18,9 @@ _e_fm_shared_device_storage_free(E_Storage *s)
eina_stringshare_del(s->serial);
eina_stringshare_del(s->icon.drive);
eina_stringshare_del(s->icon.volume);
#if HAVE_UDISKS_MOUNT
eina_stringshare_del(s->dbus_path);
#endif
#if HAVE_EEZE_MOUNT
if (s->disk) eeze_disk_free(s->disk);
#endif
@ -41,7 +43,9 @@ _e_fm_shared_device_volume_free(E_Volume *v)
if (v->partition_label) eina_stringshare_del(v->partition_label);
if (v->mount_point) eina_stringshare_del(v->mount_point);
if (v->parent) eina_stringshare_del(v->parent);
#if HAVE_UDISKS_MOUNT
eina_stringshare_del(v->dbus_path);
#endif
free(v);
}