[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoconf
From: |
Ruben |
Subject: |
Re: autoconf |
Date: |
Thu, 02 Oct 2008 16:30:38 -0400 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
On Thu, 02 Oct 2008 15:21:25 -0400, Alfred M. Szmidt wrote:
>
> You did not specify where the compiler should look for headers (and
> libraries).
Normally, how would I do that. I ask because I'm finding conflicting
information on this on the net.
Here for example:
http://mail.gnome.org/archives/gtkmm-list/2004-November/msg00202.html
It seems to say I need something like this
PKG_CHECK_MODULES(GTKMM,gtkmm-2.4>=${gtkmm_min_version})
and I tried that with the following change in configure.ac
PKG_CHECK_MODULES([GTKMM], [gtkmm-2.4 >= 2.4.0])
this didn't work
On the other hand I found this thread on the net
http://ubuntuforums.org/showthread.php?t=512765
------------------------------------------------
After searching high and low I found the answer.
In the src/makefile.am I needed these two lines.
LIBS = $(DEPS_LIBS)
INCLUDES = $(DEPS_CFLAGS)
In the configure.ac I needed this line.
PKG_CHECK_MODULES(DEPS, gtkmm-2.4 >= 1.0.0 )
----------------------------------------------------
I haven't tried this and in the autoconf example file there is in LIBS and
INCLUDES statements and it is bothering me that as you pointed out he is
using DEPS_CFLAGS and not CXXFLAGS
Thoughts?
I can't seem to find any straight documentation on the macro itself which
whould shed a hole lotta light on this problem.
--
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software
So many immigrant groups have swept through our town that Brooklyn, like
Atlantis, reaches mythological proportions in the mind of the world - RI Safir
1998
http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
"Yeah - I write Free Software...so SUE ME"
"The tremendous problem we face is that we are becoming sharecroppers to our
own cultural heritage -- we need the ability to participate in our own society."
"> I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been
attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed
that one."
© Copyright for the Digital Millennium
Message not available