noinst_HEADERS = champlainviewembed.h
-libchamplain_gtk_0_2_la_LIBADD = $(DEPS_LIBS)
+libchamplain_gtk_0_2_la_LIBADD = $(DEPS_LIBS) $(CPLAIN_DEPS_LIBS)
champlain-gtk-marshal.h: $(CHAMPLAIN_GTK_MARSHAL_LIST)
@GLIB_GENMARSHAL@ --header --prefix=champlain_gtk_marshal $< > $(CHAMPLAIN_GTK_MARSHAL).h
libchamplain_gtk_0_2_la_LDFLAGS= -version-info $(LIBRARY_VERSION)
-AM_CPPFLAGS = $(DEPS_CFLAGS) -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION
-AM_LDFLAGS = $(DEPS_LIBS) -export-dynamic -export-symbols-regex ^champlain_.*
+AM_CPPFLAGS = $(DEPS_CFLAGS) $(CPLAIN_DEPS_CFLAGS) -I$(top_srcdir) -DCHAMPLAIN_GTK_COMPILATION
+AM_LDFLAGS = $(DEPS_LIBS) $(CPLAIN_DEPS_LIBS) -export-dynamic -export-symbols-regex ^champlain_.*
EXTRA_DIST = $(CHAMPLAIN_GTK_MARSHAL_LIST)
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.61)
-AC_INIT(libchamplain-gtk, 0.2.6, pierre-luc@pierlux.com)
+AC_INIT(libchamplain-gtk, 0.2.8, pierre-luc@pierlux.com)
AC_CONFIG_SRCDIR([champlain-gtk/champlainviewembed.h])
AC_CONFIG_HEADER([config.h])
PKG_CHECK_MODULES(DEPS,
[ gtk+-2.0 >= 2.2,
clutter-0.8 >= 0.8,
- clutter-gtk-0.8 >= 0.8,
- champlain-0.2 >= 0.2
+ clutter-gtk-0.8 >= 0.8
]
)
+
+
+AC_SUBST(CPLAIN_DEPS_CFLAGS)
+AC_SUBST(CPLAIN_DEPS_LIBS)
+
+PKG_CHECK_MODULES(CPLAIN_DEPS,[champlain-0.2 >= 0.2])
+
# check for gtk-doc
GTK_DOC_CHECK(1.9)
INCLUDES = -I$(top_srcdir)
-AM_CPPFLAGS = $(DEPS_CFLAGS)
-AM_LDFLAGS = $(DEPS_LIBS)
+AM_CPPFLAGS = $(DEPS_CFLAGS) $(CPLAIN_DEPS_CFLAGS)
+AM_LDFLAGS = $(DEPS_LIBS) $(CPLAIN_DEPS_LIBS)
launcher_SOURCES = launcher.c
-launcher_LDADD = $(DEPS_LIBS) ../champlain-gtk/libchamplain-gtk-0.2.la
+launcher_LDADD = $(DEPS_LIBS) $(CPLAIN_DEPS_LIBS) ../champlain-gtk/libchamplain-gtk-0.2.la