From cdbe33497fbccf1df3c6f55d48dfd89b804eca3f Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Fri, 20 Mar 2009 23:35:04 -0400 Subject: [PATCH] Make --with-glade actually work. Previously, both --with-glade and --without-glade would disable glade support. --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index d5cf59f..2285e7e 100644 --- a/configure.ac +++ b/configure.ac @@ -18,12 +18,12 @@ AC_ARG_WITH(glade, [AS_HELP_STRING([--with-glade], [build support for Glade [default=yes]] )], - [use_glade=$enableval], - [use_glade=yes]) + [], + [with_glade=yes]) have_glade=no -if test x"$use_glade" = x"yes"; then -PKG_CHECK_MODULES(GLADEUI, [gladeui-1.0 >= 3.4], +if test x"$with_glade" != x"no"; then +PKG_CHECK_MODULES(GLADEUI, [gladeui-1.0 >= 3], [have_glade=yes], [have_glade=no]) AC_SUBST(GLADEUI_LIBS) AC_SUBST(GLADEUI_CFLAGS) -- 2.43.0