[ekiga/gnome-2-26] Made the --enable-kde/--disable-kde switch work correctly



commit a58196ac7df48dff34e696cc3df6ff17e4e96022
Author: Julien Puydt <jpuydt src gnome org>
Date:   Thu Mar 19 10:34:42 2009 +0000

    Made the --enable-kde/--disable-kde switch work correctly
    
    svn path=/trunk/; revision=7790
---
 configure.ac |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index bf88c39..4b9267f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -533,7 +533,10 @@ dnl  KDE support
 dnl ###############################
 KDE="disabled"
 
-AC_ARG_ENABLE(kde, [  --enable-kde                  Enable KDE support],enable_kde=yes,)
+AC_ARG_ENABLE(kde, [  --enable-kde                  Enable KDE support],
+[if test "x$enableval" = "xyes"; then
+  enable_kde=yes
+fi],)
 
 if test "x$enable_kde" = "xyes"; then
   found_kde=yes



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]