From 738555df4da6c1a167d57d74f76b7757b23328a1 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 9 Nov 2011 01:45:40 +0000 Subject: [PATCH] fix bin detectors. vtorri, please check this for me SVN revision: 64966 --- legacy/eeze/configure.ac | 9 ++++++--- 1 file 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 PKG_CHECK_MODULES([ECORE_CON], [ecore-con >= 1.0.0]) if test "x$with_mount" = "xdetect";then - AC_PATH_PROG([with_mount], [mount], AC_MSG_ERROR([mount could not be found in PATH])) + AC_PATH_PROG([with_mount], [mount], [no]) + test "x$with_mount" = "xno" && AC_MSG_ERROR([mount binary could not be detected]) fi AC_DEFINE_UNQUOTED([EEZE_MOUNT_BIN], ["$with_mount"], [mount bin to use]) if test "x$with_umount" = "xdetect";then - AC_PATH_PROG([with_umount], [umount], AC_MSG_ERROR([umount could not be found in PATH])) + AC_PATH_PROG([with_umount], [umount], [no]) + test "x$with_umount" = "xno" && AC_MSG_ERROR([umount binary could not be detected]) fi AC_DEFINE_UNQUOTED([EEZE_UNMOUNT_BIN], ["$with_umount"], [umount bin to use]) if test "x$with_eject" = "xdetect";then - AC_PATH_PROG([with_eject], [eject], AC_MSG_ERROR([eject could not be found in PATH])) + AC_PATH_PROG([with_eject], [eject], [no]) + test "x$with_eject" = "xno" && AC_MSG_ERROR([eject binary could not be detected]) fi AC_DEFINE_UNQUOTED([EEZE_EJECT_BIN], ["$with_eject"], [eject bin to use]) fi