Peter Johansson <[email protected]> wrote on 18/12/2009 00:43:06: > From: Peter Johansson <[email protected]> > To: Joakim Tjernlund <[email protected]> > Cc: [email protected] > 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
