PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.44], [],
[PSPP_REQUIRED_PREREQ([glib 2.0 version 2.44 or later (or use --without-gui)])])
+ PKG_CHECK_MODULES([SPREAD_SHEET_WIDGET], [spread-sheet-widget], [],
+ [PSPP_REQUIRED_PREREQ([spread-sheet-widget 0.0 (or use --without-gui)])])
+
AC_ARG_VAR([GLIB_GENMARSHAL])
AC_CHECK_PROGS([GLIB_GENMARSHAL], [glib-genmarshal])
if test "x$GLIB_GENMARSHAL" = x; then
$(GTK_LIBS) \
$(GTHREAD_LIBS) \
$(GTKSOURCEVIEW_LIBS) \
+ $(SPREAD_SHEET_WIDGET_LIBS) \
$(CAIRO_LIBS) \
$(LIBINTL) \
$(GSL_LIBS)
CLEANFILES += src/ui/gui/psppire-marshal.c src/ui/gui/psppire-marshal.h \
src/ui/gui/resources.c $(nodist_src_ui_gui_psppire_DATA)
-include $(top_srcdir)/src/ui/gui/efficient-sheet.mk
endif HAVE_GUI
#ensure the installcheck passes even if there is no X server available
+++ /dev/null
-src_ui_gui_psppire_SOURCES += \
- src/ui/gui/efficient-sheet/src/ssw-axis-model.c \
- src/ui/gui/efficient-sheet/src/ssw-constraint.c \
- src/ui/gui/efficient-sheet/src/ssw-sheet.c \
- src/ui/gui/efficient-sheet/src/ssw-sheet-axis.c \
- src/ui/gui/efficient-sheet/src/ssw-sheet-body.c \
- src/ui/gui/efficient-sheet/src/ssw-sheet-single.c \
- src/ui/gui/efficient-sheet/src/ssw-datum.c \
- src/ui/gui/efficient-sheet/src/ssw-cell.c
-
-nodist_src_ui_gui_psppire_SOURCES += \
- src/ui/gui/efficient-sheet/src/ssw-marshaller.c \
- src/ui/gui/efficient-sheet/src/ssw-marshaller.h
-
-src_ui_gui_psppire_CPPFLAGS+=-Isrc/ui/gui/efficient-sheet/src
-
-BUILT_SOURCES += \
- src/ui/gui/efficient-sheet/src/ssw-marshaller.c \
- src/ui/gui/efficient-sheet/src/ssw-marshaller.h
-
-src/ui/gui/efficient-sheet/src/ssw-marshaller.c: src/ui/gui/efficient-sheet/src/marshall-list
- glib-genmarshal --body --prefix=ssw_cclosure_marshal $< > $@
-
-src/ui/gui/efficient-sheet/src/ssw-marshaller.h: src/ui/gui/efficient-sheet/src/marshall-list
- glib-genmarshal --header --prefix=ssw_cclosure_marshal $< > $@
-
#include "ui/gui/psppire-data-sheet.h"
-#include "ui/gui/efficient-sheet/src/ssw-sheet.h"
+#include <ssw-sheet.h>
#include <gettext.h>
#define _(msgid) gettext (msgid)
#define _PSPPIRE_DATA_SHEET_H
#include <gtk/gtk.h>
-#include "ui/gui/efficient-sheet/src/ssw-sheet.h"
+#include <ssw-sheet.h>
struct _PsppireDataSheet
{
#include "gl/c-strcasestr.h"
#include "gl/xvasprintf.h"
-#include "ui/gui/efficient-sheet/src/ssw-sheet.h"
+#include <ssw-sheet.h>
#include "find-dialog.h"
#include "options-dialog.h"
#include "ui/gui/psppire-marshal.h"
#include "ui/gui/psppire-var-ptr.h"
-#include "ui/gui/efficient-sheet/src/ssw-datum.h"
+#include <ssw-datum.h>
#include <gobject/genums.h>
#include "psppire-var-sheet-header.h"
-#include "efficient-sheet/src/ssw-axis-model.h"
-#include "efficient-sheet/src/ssw-datum.h"
+#include <ssw-axis-model.h>
+#include <ssw-datum.h>
enum {CHANGED,
n_SIGNALS};
#define _PSPPIRE_VARIABLE_SHEET_H
#include <gtk/gtk.h>
-#include "ui/gui/efficient-sheet/src/ssw-sheet.h"
+#include <ssw-sheet.h>
struct _PsppireVariableSheet