summaryrefslogtreecommitdiffstats
path: root/xparts/src/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'xparts/src/gtk')
-rw-r--r--xparts/src/gtk/Makefile.am8
-rw-r--r--xparts/src/gtk/configure.in.in3
2 files changed, 7 insertions, 4 deletions
diff --git a/xparts/src/gtk/Makefile.am b/xparts/src/gtk/Makefile.am
index 2e83df3b..60a7a194 100644
--- a/xparts/src/gtk/Makefile.am
+++ b/xparts/src/gtk/Makefile.am
@@ -1,12 +1,12 @@
-INCLUDES = $(GLIB_INCLUDES) -I$(prefix)/include -I$(top_srcdir) $(all_includes)
+INCLUDES = $(GLIB2_INCLUDES) -I$(prefix)/include -I$(top_srcdir) $(all_includes)
-AM_CFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS)
-AM_CXXFLAGS = $(GLIB_CFLAGS) $(GTK_CFLAGS)
+AM_CFLAGS = $(GLIB2_CFLAGS) $(GTK2_CFLAGS)
+AM_CXXFLAGS = $(GLIB2_CFLAGS) $(GTK2_CFLAGS)
lib_LTLIBRARIES = libgtkxparts.la
libgtkxparts_la_SOURCES = gtkpart.c gtkbrowserextension.c
-libgtkxparts_la_LIBADD = $(GTK_LIBS) $(GLIB_LIBS) $(top_builddir)/dcopc/libdcopc.la
+libgtkxparts_la_LIBADD = $(GTK2_LIBS) $(GLIB2_LIBS) $(top_builddir)/dcopc/libdcopc.la
libgtkxparts_la_LDFLAGS = -L$(prefix)/lib $(all_libraries) -no-undefined
gtkxpartsinclude_HEADERS = gtkpart.h gtkbrowserextension.h
diff --git a/xparts/src/gtk/configure.in.in b/xparts/src/gtk/configure.in.in
index 32dfac1e..28da9aeb 100644
--- a/xparts/src/gtk/configure.in.in
+++ b/xparts/src/gtk/configure.in.in
@@ -1 +1,4 @@
AM_CONDITIONAL(include_GTK_support, [ test "$GTK_CONFIG" != "no" ])
+
+AC_GTK_2
+AC_GLIB_2