aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2014-11-21 15:18:19 +0000
committerDaniel Kolesa <d.kolesa@samsung.com>2014-11-21 15:18:52 +0000
commitd04a4e705f08eecaf98c7b766b56b16b1509f8d8 (patch)
tree6dc17e3df11d01bfb099e3e6898cd4a97fcbf7f0 /configure.ac
parentresolve recent coverity complaints (diff)
downloadenlightenment-d04a4e705f08eecaf98c7b766b56b16b1509f8d8.tar.gz
specialize some sysactions fields for freebsd
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a30803fd4..c1feb9923 100644
--- a/configure.ac
+++ b/configure.ac
@@ -962,12 +962,19 @@ HALT="/sbin/shutdown -h now"
REBOOT="/sbin/shutdown -r now"
SUSPEND=""
HIBERNATE=""
+MOUNT="/bin/mount"
+UMOUNT="/bin/umount"
+EJECT="/usr/bin/eject"
case "$host_os" in
freebsd*|pcbsd*)
SUSPEND="acpiconf -s3"
AC_MSG_NOTICE([use suspend method: $SUSPEND])
HIBERNATE="acpiconf -s4"
AC_MSG_NOTICE([use hibernate method: $HIBERNATE])
+ HALT="/sbin/shutdown -p now"
+ MOUNT="/sbin/mount"
+ UMOUNT="/sbin/umount"
+ EJECT="/usr/sbin/cdcontrol eject"
;;
*)
if test "x${have_systemd_user_session}" = "xyes"; then
@@ -995,6 +1002,9 @@ AC_SUBST([HALT])
AC_SUBST([REBOOT])
AC_SUBST([SUSPEND])
AC_SUBST([HIBERNATE])
+AC_SUBST([MOUNT])
+AC_SUBST([UMOUNT])
+AC_SUBST([EJECT])
m4_ifndef([v_rel],
[