From: Nick Bowler Date: Sat, 21 Mar 2009 03:35:04 +0000 (-0400) Subject: Make --with-glade actually work. X-Git-Url: https://git.draconx.ca/gitweb/aspectbin.git/commitdiff_plain/cdbe33497fbccf1df3c6f55d48dfd89b804eca3f Make --with-glade actually work. Previously, both --with-glade and --without-glade would disable glade support. --- 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)