From: John Darrington Date: Tue, 10 Aug 2010 13:30:19 +0000 (+0200) Subject: Inform users about GtkSourceView dependency X-Git-Tag: v0.7.9~159^2~4 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2ea72de79b1e5cf5fc3bc99e0ffdd7b50ef326;hp=7bc2f8c0fb6b963b52fe86d1259ae254f40362c5;p=pspp-builds.git Inform users about GtkSourceView dependency --- diff --git a/INSTALL b/INSTALL index 6654e90b..23bbf8a4 100644 --- a/INSTALL +++ b/INSTALL @@ -55,6 +55,10 @@ use the GUI, you must run `configure' with --without-gui. * GTK+ (http://www.gtk.org/), version 2.12.0 or later. + * GtkSourceView (http://projects.gnome.org/gtksourceview/) + version 2.2 or later. + + To cross-compile PSPP, you will likely need to set the PKG_CONFIG_LIBDIR environment variable to point to an appropriate pkg-config for the cross-compilation environment. diff --git a/configure.ac b/configure.ac index 14e3f904..177ca576 100644 --- a/configure.ac +++ b/configure.ac @@ -76,7 +76,8 @@ if test "$with_cairo" != no && test "$with_gui" != "no"; then PKG_CHECK_MODULES([GTK], [gtk+-2.0 >= 2.16], [], [PSPP_REQUIRED_PREREQ([gtk+ 2.0 version 2.16 or later (or use --without-gui)])]) - PKG_CHECK_MODULES([GTKSOURCEVIEW], [gtksourceview-2.0 >= 2.2]) + PKG_CHECK_MODULES([GTKSOURCEVIEW], [gtksourceview-2.0 >= 2.2], [], + [PSPP_REQUIRED_PREREQ([gtksourceview 2.0 version 2.2 or later (or use --without-gui)])]) AC_ARG_VAR([GLIB_GENMARSHAL]) AC_CHECK_PROGS([GLIB_GENMARSHAL], [glib-genmarshal])