Re: linking with pkg-config and autoconf
- From: rob page <page rob gmail com>
- To: Dieter Lunn <dlunn mts net>
- Cc: gtkmm-list gnome org
- Subject: Re: linking with pkg-config and autoconf
- Date: Mon, 2 May 2005 23:16:25 +0000
Hi Dieter,
Seeing as its a linking error, i'd guess your CFLAGS are getting set
correctly, I think your configure.in and Makefile.am would be helpful,
so i'm posting the relevant sections from one I use that works:
configure.in
PKG_CHECK_MODULES(AMYEDIT, gtkmm-2.4 >= 2.4.8 gtksourceview-1.0)
AC_SUBST(AMYEDIT_CFLAGS)
AC_SUBST(AMYEDIT_LIBS)
src/Makefile.am
AM_CXXFLAGS = $(AMYEDIT_CFLAGS) -I$(srcdir)
LIBS = $(AMYEDIT_LIBS) -laspell
The only thing I can think of, your not overwriting the LIBS variable
by accident anywhere are you?
Rob.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]