blob: 52162e518947e76ecfa9a71a03c01d2ad235509f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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"
|