automake
[Top][All Lists]
Advanced

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

Re: ifdef expessions in Makefile.am


From: Joakim Tjernlund
Subject: Re: ifdef expessions in Makefile.am
Date: Fri, 18 Dec 2009 00:52:26 +0100

Peter Johansson <address@hidden> wrote on 18/12/2009 00:43:06:

> From: Peter Johansson <address@hidden>
> To: Joakim Tjernlund <address@hidden>
> Cc: address@hidden
> Date: 18/12/2009 00:42
> Subject: Re: ifdef expessions in Makefile.am
>
> Joakim Tjernlund wrote:
> > I tried the example you pointed me to, added this to configure.ac:
> >   AM_CONDITIONAL([COND_OPT], [test "$want_opt" = yes])
> > and got:
> > # > autoconf
> > configure.ac:32: error: possibly undefined macro: AM_CONDITIONAL
> >       If this token and others are legitimate, please use m4_pattern_allow.
> >       See the Autoconf documentation.
> >
> > This is autoconf 2.63
> >
> >
> Sounds like you called `autoconf' directly. What if you issue
> `autoreconf -v' instead?

That works too. I am a bit careful running autoreconf as I have
hacked libtool.m4(replaced -fPIC with -fpic) for our needs.
I really wish there were a way to use -fpic with libtool
without hacks.

 Jocke





reply via email to

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