From db3c2bd3a3b02e607ae60a08f01c2a50da66d7d3 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 20 Jul 2008 03:10:41 +0000 Subject: [PATCH] 2008-07-19 Jim Evins * configure.in: * src/mygal/Makefile.am: Make sure libtool handles library dependencies for mygal properly. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/branches/glabels-2_2@773 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/ChangeLog | 7 +++++++ glabels2/configure.in | 12 ++++++++++++ glabels2/src/mygal/Makefile.am | 5 ++++- 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index c7ed62d8..543cb073 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,10 @@ +2008-07-19 Jim Evins + + * configure.in: + * src/mygal/Makefile.am: + Make sure libtool handles library dependencies for mygal + properly. + 2008-05-21 Jim Evins * src/glabels-batch.c: (main): diff --git a/glabels2/configure.in b/glabels2/configure.in index b04b7c66..a5cf3562 100644 --- a/glabels2/configure.in +++ b/glabels2/configure.in @@ -115,6 +115,18 @@ AC_SUBST(LIBGLABELS_CFLAGS) AC_SUBST(LIBGLABELS_LIBS) +dnl --------------------------------------------------------------------------- +dnl - MYGAL prerequisites +dnl --------------------------------------------------------------------------- +PKG_CHECK_MODULES(MYGAL, \ +gtk+-2.0 >= $GTK_REQUIRED \ +libgnomeui-2.0 >= $LIBGNOMEUI_REQUIRED \ +) + +AC_SUBST(MYGAL_CFLAGS) +AC_SUBST(MYGAL_LIBS) + + dnl --------------------------------------------------------------------------- dnl - Enable deprecation testing dnl --------------------------------------------------------------------------- diff --git a/glabels2/src/mygal/Makefile.am b/glabels2/src/mygal/Makefile.am index c4f29d46..054cbe7a 100644 --- a/glabels2/src/mygal/Makefile.am +++ b/glabels2/src/mygal/Makefile.am @@ -1,7 +1,10 @@ INCLUDES = \ - $(GLABELS_CFLAGS) + $(MYGAL_CFLAGS) +libmygal_la_LDFLAGS=\ + $(MYGAL_LIBS) + noinst_LTLIBRARIES = libmygal.la libmygal_la_SOURCES = \ -- 2.39.5