---

diff --git a/configure.ac b/configure.ac
index 6778105..2cef444 100644
--- a/configure.ac
+++ b/configure.ac
@@ -265,7 +265,16 @@ if test "${enable_pam}" = "yes" ; then
 fi
 
 if test "${enable_gui}" = "yes"; then
-       PKG_CHECK_MODULES([GTK], [gtk+ >= 1.0],, AC_MSG_ERROR([Cannot locate 
gtk+]))
+       PKG_CHECK_MODULES(
+               [GTK],
+               [gtk+-2.0 >= 2.0],
+               ,
+               PKG_CHECK_MODULES(
+                       [GTK],
+                       [gtk+ >= 1.0],,
+                       AC_MSG_ERROR([Cannot locate gtk+])
+               )
+       )
 fi
 
 pkgconfigdir="\$(libdir)/pkgconfig"

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
eCryptfs-devel mailing list
eCryptfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel

Reply via email to