summaryrefslogtreecommitdiff
blob: 3bec9b55c21d619cec09d365e41bb809913b6eef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--- configure.ac.orig	2012-06-26 05:46:07.000000000 +0100
+++ configure.ac	2012-06-26 05:46:44.000000000 +0100
@@ -178,6 +178,8 @@
  echo "Looking for gtk2"
 
 PKG_CHECK_MODULES(GTK, [gtk+-2.0 >= 2.6.0])
+AC_CHECK_LIB(m,sqrt)
+PKG_CHECK_MODULES(GMODULE, [gmodule-2.0 >= 2.0])
 
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)

--- src/Makefile.am.orig	2012-06-26 04:53:20.000000000 +0100
+++ src/Makefile.am	2012-06-26 04:54:04.000000000 +0100
@@ -4,7 +4,6 @@
 libggobi_la_GOBHEADERS = $(libggobi_la_GOBS:%.gob=ggobi-%.h)
 libggobi_la_GOBOBJECTS = $(libggobi_la_GOBS:%.gob=ggobi-%.lo)
 libggobi_la_GOBSTAMPS = $(libggobi_la_GOBS:%.gob=.%.gob.stamp)
-libggobi_la_LDFLAGS  = @GTK_LIBS@ @LIBXML_LIBS@
 libggobi_la_BUILT = array.c ash1d.c barchart.c barchartClass.c \
   barchart_ui.c brush.c brush_api.c brush_bins.c brush_init.c brush_link.c \
   brush_ui.c color.c color_ui.c cpanel.c display.c display_tree.c display_ui.c \
@@ -27,7 +26,7 @@
   write_csv.c write_xml.c wvis.c wvis_ui.c xlines.c xyplot.c \
   xyplot_ui.c $(libggobi_la_GOBSOURCES)
 libggobi_la_SOURCES = $(libggobi_la_BUILT) $(libggobi_la_GOBSTAMPS)
-libggobi_la_LIBADD = $(libggobi_la_GOBOBJECTS)
+libggobi_la_LIBADD = $(libggobi_la_GOBOBJECTS) @GTK_LIBS@ @LIBXML_LIBS@ @GMODULE_LIBS@
 libggobi_la_DEPENDENCIES = $(libggobi_la_GOBOBJECTS)
 pkginclude_HEADERS = GGobiAPI.h ggobiClass.h tour1d_pp.h GGobiApp.h \
   noop-toggle.h tour2d_pp.h GGobiEvents.h parcoordsClass.h tour_pp.h \
@@ -59,7 +58,7 @@
 # Windows specific
 if OS_WIN32
 libggobi_la_DEPENDENCIES+=libggobi.def
-libggobi_la_LDFLAGS+=-Wc,-s -no-undefined -export-symbols libggobi.def
+libggobi_la_LDFLAGS=-Wc,-s -no-undefined -export-symbols libggobi.def
 ggobi_LDFLAGS = -mwindows -s
 endif