summaryrefslogtreecommitdiff
path: root/legacy/eeze/configure.ac
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-05-16 11:03:06 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2011-05-16 11:03:06 +0000
commit775b86bccd80a83bfd3f7c908c73388bc3ca3ef2 (patch)
tree5512977c4b9000fcc3e2cbcc9e00bead08a80a2b /legacy/eeze/configure.ac
parentb63e9a5689b9c3d8f629ffc3bdac0fc36b28364b (diff)
add eject functions/events
SVN revision: 59443
Diffstat (limited to 'legacy/eeze/configure.ac')
-rw-r--r--legacy/eeze/configure.ac7
1 files changed, 7 insertions, 0 deletions
diff --git a/legacy/eeze/configure.ac b/legacy/eeze/configure.ac
index 6f014045b2..72c5c589da 100644
--- a/legacy/eeze/configure.ac
+++ b/legacy/eeze/configure.ac
@@ -109,6 +109,7 @@ if test "x$eeze_mount" = "xyes";then
109 with_umount="/bin/umount" 109 with_umount="/bin/umount"
110 AC_ARG_WITH([mount], AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@])) 110 AC_ARG_WITH([mount], AS_HELP_STRING([--with-mount], [specify mount bin @<:@default=detect@:>@]))
111 AC_ARG_WITH([umount], AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@])) 111 AC_ARG_WITH([umount], AS_HELP_STRING([--with-umount], [specify umount bin @<:@default=detect@:>@]))
112 AC_ARG_WITH([eject], AS_HELP_STRING([--with-eject], [specify eject bin @<:@default=detect@:>@]))
112 PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.18.0]) 113 PKG_CHECK_MODULES([LIBMOUNT], [mount >= 2.18.0])
113 mount_v=$(pkg-config --modversion mount) 114 mount_v=$(pkg-config --modversion mount)
114 PKG_CHECK_MODULES([ECORE_FILE], [ecore-file >= 1.0.0]) 115 PKG_CHECK_MODULES([ECORE_FILE], [ecore-file >= 1.0.0])
@@ -122,6 +123,11 @@ if test "x$eeze_mount" = "xyes";then
122 AC_PATH_PROG([with_umount], [umount], AC_MSG_ERROR([umount could not be found in PATH])) 123 AC_PATH_PROG([with_umount], [umount], AC_MSG_ERROR([umount could not be found in PATH]))
123 fi 124 fi
124 AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use]) 125 AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use])
126
127 if test "x$with_eject" = "xdetect";then
128 AC_PATH_PROG([with_eject], [eject], AC_MSG_ERROR([eject could not be found in PATH]))
129 fi
130 AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eject"], [eject bin to use])
125fi 131fi
126AM_CONDITIONAL([OLD_LIBMOUNT], [test -n $mount_v -a $(echo $mount_v | cut -d'.' -f2) -lt 19]) 132AM_CONDITIONAL([OLD_LIBMOUNT], [test -n $mount_v -a $(echo $mount_v | cut -d'.' -f2) -lt 19])
127if test -z "$OLD_LIBMOUNT_TRUE" ; then 133if test -z "$OLD_LIBMOUNT_TRUE" ; then
@@ -182,6 +188,7 @@ if test "x$eeze_mount" = "xyes";then
182 echo 188 echo
183 echo "Mount..................: ${with_mount}" 189 echo "Mount..................: ${with_mount}"
184 echo "Umount.................: ${with_umount}" 190 echo "Umount.................: ${with_umount}"
191 echo "Eject..................: ${with_eject}"
185 echo 192 echo
186fi 193fi
187echo "Test...................: ${have_eeze_udev_test}" 194echo "Test...................: ${have_eeze_udev_test}"