yoz pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=0a180d74ed91d3170ca21b21806ad2ddf9e0a059
commit 0a180d74ed91d3170ca21b21806ad2ddf9e0a059 Author: Michael Bouchaud <[email protected]> Date: Thu Mar 20 01:05:58 2014 +0000 entrance: add a check for sudo --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 4b9d39c..228dd32 100644 --- a/configure.ac +++ b/configure.ac @@ -103,6 +103,10 @@ AC_MSG_RESULT([${enable_systemd}]) AC_PROG_CC AC_PROG_SED PKG_PROG_PKG_CONFIG +AC_CHECK_PROG(have_sudo,sudo,yes) +if test x"$have_sudo" != x"yes" ; then + AC_MSG_ERROR([Please install sudo before installing.]) +fi # Set edje_cc path AC_ARG_WITH([edje-cc], --
