X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=022574d152cda5ebbb67ab7f480b24920f94ec0f;hb=3d4d87faafee668d269b5345966b89b21c66d279;hp=5bc3e1d133e5e7beec99977b108ac744dccd5e28;hpb=f9dff33da69048157330c8851cce709b5b24f261;p=pspp-builds.git diff --git a/configure.ac b/configure.ac index 5bc3e1d1..022574d1 100644 --- a/configure.ac +++ b/configure.ac @@ -36,8 +36,10 @@ AM_CONDITIONAL(WITHCHARTS, test x"$with_libplot" != x"no") AC_ARG_WITH(gui, [ --without-gui don't build the PSPPIRE gui]) if test x"$with_gui" != x"no" ; then - PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6.0) - PKG_CHECK_MODULES(GLADE, libglade-2.0) + PKG_CHECK_MODULES(GTK, gtk+-2.0 >= 2.6.0,, + [PSPP_REQUIRED_PREREQ([gtk+ 2.0 v2.6.0 or later (or use --without-gui)])]) + PKG_CHECK_MODULES(GLADE, libglade-2.0,, + [PSPP_REQUIRED_PREREQ([libglade 2.0 (or use --without-gui)])]) fi AM_CONDITIONAL(WITHGUI, test x"$with_gui" != x"no")