diff options
author | Benedikt Meurer <benny@xfce.org> | 2006-09-08 19:54:59 +0000 |
---|---|---|
committer | Benedikt Meurer <benny@xfce.org> | 2006-09-08 19:54:59 +0000 |
commit | 5788dea5702dc210b10ab966a1338ceccc522086 (patch) | |
tree | 141e5481b72070450cbbe40c0bbf22aa007b5b00 /acinclude.m4 | |
parent | 4755d4bd5f0d9347ee3e5687c75ebb5b68ccd2c0 (diff) | |
download | thunar-5788dea5702dc210b10ab966a1338ceccc522086.tar.gz |
2006-09-08 Benedikt Meurer <benny@xfce.org>
* acinclude.m4, configure.in.in, thunar-vfs/thunar-vfs-volume-hal.c:
Add support for FreeBSD to the HAL based volume manager.
(Old svn revision: 23108)
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index b14229c5..1e036e1d 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -196,17 +196,25 @@ AC_HELP_STRING([--with-volume-manager=@<:@auto/freebsd/hal/none@:>@], [The volum elif test x"$with_volume_manager" = x"none"; then ac_bm_thunar_vfs_volume_impl=none else - dnl # Check target platform (auto-detection) - case "$target_os" in - freebsd*) - dnl # FreeBSD is fully supported - ac_bm_thunar_vfs_volume_impl=freebsd - ;; - *) - dnl # Otherwise, check if we have HAL - XDT_CHECK_PACKAGE([HAL], [hal-storage], [0.5.0], [ac_bm_thunar_vfs_volume_impl=hal], [ac_bm_thunar_vfs_volume_impl=none]) - ;; - esac + dnl # Check if HAL is available + XDT_CHECK_PACKAGE([HAL], [hal-storage], [0.5.0], + [ + dnl # HAL is available, use it + ac_bm_thunar_vfs_volume_impl=hal + ], + [ + dnl # Check operating system type + case "$target_os" in + freebsd*) + dnl # FreeBSD is fully supported + ac_bm_thunar_vfs_volume_impl=freebsd + ;; + *) + dnl # Otherwise no volume support + ac_bm_thunar_vfs_volume_impl=none + ;; + esac + ]) fi dnl # We need HAL >= 0.5.x and D-BUS >= 0.23 for the HAL volume manager |