Re: [Anjuta-list] Trying to build a code using Anjuta
- From: Andreas Volz <lists brachttal net>
- To: Anjuta-list lists sourceforge net
- Subject: Re: [Anjuta-list] Trying to build a code using Anjuta
- Date: Sun, 20 Jul 2008 08:40:40 +0200
Am Sat, 19 Jul 2008 10:52:24 +0000 (GMT) schrieb Javier Garcia:
> Hi Andreas
>
> you wrote:
>
> > and configure.in?
>
> Here is the configure.in:
>
> ...
>
> PKG_CHECK_MODULES(liboggz, oggz)
> AC_SUBST(liboggz_CFLAGS)
> AC_SUBST(liboggz_LIBS)
>
> ....
Here you are doing the check for liboggz. I think the problem is that
you don't use that variables in the src/Makefile.am.
For example in a C++ application:
myapp_CXXFLAGS = \
-Wall \
$(liboggz_CFLAGS)
myapp_LDADD = \
${liboggz_LIB}
Where 'myapp' is what your app is named (look into Makefile.am as
example). If you've a C application use myapp_CFLAGS instead of
myapp_CXXFLAGS.
You could also modify that variables from inside Anjuta by right
clicking on the build target on the left side. Not sure how the entry
is names.
This all is really autotools specific. Please take a look into the
(online) book "GNU Autoconf, Automake and Libtool".
BTW: Shoudln't Anjuta insert this variables into Makefile.am automatic?
I don't remember it.
regards
Andreas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]