X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=2f3a8da725ea4e89b84d69b1d926d43f064ba95d;hb=4d24ceb787e6e53bd76ef9006c7f73e975dda140;hp=7d33ca25daf29827ced92b991aa0e05179380989;hpb=78616e13d5fed640d83c0b5b19507129c4c21690;p=pspp diff --git a/configure.ac b/configure.ac index 7d33ca25da..2f3a8da725 100644 --- a/configure.ac +++ b/configure.ac @@ -73,6 +73,9 @@ AC_ARG_WITH([gui], AM_CONDITIONAL([HAVE_GUI], [test "$with_cairo" != no && test "$with_gui" != "no"]) if test "$with_cairo" != no && test "$with_gui" != "no"; then + PKG_CHECK_MODULES([GTHREAD], [gthread-2.0], [], + [PSPP_REQUIRED_PREREQ([gthread 2.0 (or use --without-gui)])]) + PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.16], [], [PSPP_REQUIRED_PREREQ([gtk+ 2.0 version 2.16 or later (or use --without-gui)])])