diff options
author | John Stowers <john.stowers@gmail.com> | 2011-03-25 00:21:32 +1300 |
---|---|---|
committer | John Stowers <john.stowers@gmail.com> | 2011-03-25 00:21:32 +1300 |
commit | 913fe0227f0c00b5c4f9c2af594eba56b0972545 (patch) | |
tree | feb1a724f06f6e62bfd8a24dfd07695e73a9cd74 | |
parent | 5f66d9b20eb223bdd547f027634b8a71db66e526 (diff) | |
download | pygtk-913fe0227f0c00b5c4f9c2af594eba56b0972545.tar.gz |
Add --without-glade configure option. No change to current behaviour
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 474f00e1..99bc1b6e 100644 --- a/configure.ac +++ b/configure.ac @@ -386,8 +386,12 @@ if test "x$have_pycairo" = "xtrue"; then AC_DEFINE([HAVE_GTK_2_24], [$have_gtk_224], [If Gtk 2.24 was found]) dnl libglade - PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= libglade_required_version], + have_libglade=false + AC_ARG_WITH([glade], AS_HELP_STRING([--without-glade], [Build without glade library (default: test)])) + if test "x$with_glade" != "xno"; then + PKG_CHECK_MODULES(LIBGLADE, [libglade-2.0 >= libglade_required_version], have_libglade=true, have_libglade=false) + fi AC_SUBST(LIBGLADE_CFLAGS) AC_SUBST(LIBGLADE_LIBS) AM_CONDITIONAL(BUILD_LIBGLADE, $have_libglade) |