From fb2ea72de79b1e5cf5fc3bc99e0ffdd7b50ef326 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Tue, 10 Aug 2010 15:30:19 +0200 Subject: [PATCH] Inform users about GtkSourceView dependency --- INSTALL | 4 ++++ configure.ac | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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]) -- 2.30.2