summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--legacy/eeze/configure.ac9
1 files changed, 6 insertions, 3 deletions
diff --git a/legacy/eeze/configure.ac b/legacy/eeze/configure.ac
index 4c80479a1b..113039e47b 100644
--- a/legacy/eeze/configure.ac
+++ b/legacy/eeze/configure.ac
@@ -118,17 +118,20 @@ if test "x$eeze_mount" = "xyes";then
118 PKG_CHECK_MODULES([ECORE_CON], [ecore-con >= 1.0.0]) 118 PKG_CHECK_MODULES([ECORE_CON], [ecore-con >= 1.0.0])
119 119
120 if test "x$with_mount" = "xdetect";then 120 if test "x$with_mount" = "xdetect";then
121 AC_PATH_PROG([with_mount], [mount], AC_MSG_ERROR([mount could not be found in PATH])) 121 AC_PATH_PROG([with_mount], [mount], [no])
122 test "x$with_mount" = "xno" && AC_MSG_ERROR([mount binary could not be detected])
122 fi 123 fi
123 AC_DEFINE_UNQUOTED([EEZE_MOUNT_BIN], ["$with_mount"], [mount bin to use]) 124 AC_DEFINE_UNQUOTED([EEZE_MOUNT_BIN], ["$with_mount"], [mount bin to use])
124 125
125 if test "x$with_umount" = "xdetect";then 126 if test "x$with_umount" = "xdetect";then
126 AC_PATH_PROG([with_umount], [umount], AC_MSG_ERROR([umount could not be found in PATH])) 127 AC_PATH_PROG([with_umount], [umount], [no])
128 test "x$with_umount" = "xno" && AC_MSG_ERROR([umount binary could not be detected])
127 fi 129 fi
128 AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use]) 130 AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use])
129 131
130 if test "x$with_eject" = "xdetect";then 132 if test "x$with_eject" = "xdetect";then
131 AC_PATH_PROG([with_eject], [eject], AC_MSG_ERROR([eject could not be found in PATH])) 133 AC_PATH_PROG([with_eject], [eject], [no])
134 test "x$with_eject" = "xno" && AC_MSG_ERROR([eject binary could not be detected])
132 fi 135 fi
133 AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eject"], [eject bin to use]) 136 AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eject"], [eject bin to use])
134fi 137fi