[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

can I use pkg-config in my

From: eawiggins
Subject: can I use pkg-config in my
Date: Mon, 26 May 2008 11:18:39 -0700 (PDT)

I'm trying to convert to autoconf, automake, and it's a steep learning curve.
Should I be able to put "$(shell pkg-config ...) lines in my,
like I have below?

bin_PROGRAMS= myprog
cxp_CPPFLAGS= -I$(top_srcdir)/include $(shell pkg-config --cflags glib-2.0)
cxp_SOURCES= main.cpp 
cxp_LDADD= $(OGRE_LIBS) $(OIS_LIBS) $(shell pkg-config --libs glib-2.0)

Anyone know how this is done? I've tried but doesn't seem to be working out
well. Thinks it's some sort of gnu extension.
View this message in context:
Sent from the Gnu - Automake - General mailing list archive at

reply via email to

[Prev in Thread] Current Thread [Next in Thread]