aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 10 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 26130f0a..7468d1ee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -308,11 +308,17 @@ AC_ARG_WITH(glade,
308 ], 308 ],
309 [ 309 [
310 AC_MSG_RESULT([--with-glade not specified]) 310 AC_MSG_RESULT([--with-glade not specified])
311 PKG_CHECK_MODULES([GLADE], [gladeui-1.0 >= 3.6.0], glade=1, 311 if test "x$check_for_2" != "xfalse"
312 [ 312 then
313 # For gtk2 we need old glade
314 PKG_CHECK_MODULES([GLADE], [gladeui-1.0 >= 3.6.0], glade=1,
315 [
316 PKG_CHECK_MODULES([GLADE], [gladeui-2.0 >= 3.10.0], glade=2)
317 ]
318 )
319 else
313 PKG_CHECK_MODULES([GLADE], [gladeui-2.0 >= 3.10.0], glade=2) 320 PKG_CHECK_MODULES([GLADE], [gladeui-2.0 >= 3.10.0], glade=2)
314 ] 321 fi
315 )
316 ] 322 ]
317) 323)
318 324