yoz pushed a commit to branch master.

commit e7799d1e173313f02053398798a05701bbeaad03
Author: MichaĆ«l Bouchaud (yoz) <[email protected]>
Date:   Wed Sep 4 11:48:10 2013 +0200

    entrance: fix configure.ac check, thx to Doug Newgard
---
 configure.ac | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 050d31f..a2af5e5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,10 +49,10 @@ AC_MSG_RESULT([${enable_pam}])
 AC_ARG_ENABLE([grub2],
    [AC_HELP_STRING([--disable-grub2], [disable grub2 support. 
@<:@default=enabled@:>@])],
    [
-    if test "x${disableval}" = "xyes" ; then
-       enable_grub2="no"
-    else
+    if test "x${enableval}" = "xyes" ; then
        enable_grub2="yes"
+    else
+       enable_grub2="no"
     fi
    ],
    [enable_grub2="yes"])
@@ -64,15 +64,15 @@ AC_MSG_RESULT([${enable_grub2}])
 AC_ARG_ENABLE([ekbd],
    [AC_HELP_STRING([--disable-ekbd], [disable virtual keyboard. 
@<:@default=enabled@:>@])],
    [
-    if test "x${disableval}" = "xyes" ; then
-       enable_ekbd="no"
-    else
+    if test "x${enableval}" = "xyes" ; then
        enable_ekbd="yes"
+    else
+       enable_ekbd="no"
     fi
    ],
    [enable_ekbd="yes"])
 AC_MSG_CHECKING([whether to support virtual keyboard features])
-AC_MSG_RESULT([${enable_grub2}])
+AC_MSG_RESULT([${enable_ekbd}])
 
 # consolekit
 AC_ARG_ENABLE([consolekit],
@@ -122,7 +122,7 @@ if test "x${enable_grub2}" = "xyes" ; then
 fi
 
 # Ekbd
-if test "x${enable_consolekit}" = "xyes" ; then
+if test "x${enable_ekbd}" = "xyes" ; then
    PKG_CHECK_MODULES([ENTRANCE_EKBD], [ekbd], [enable_ekbd="yes"], 
[enable_ekbd="no"])
 fi
 

-- 

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk

Reply via email to