[Top][All Lists]

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

Re: referencing top_srcdir/top_builddir in an autoconf test?

From: Ralf Wildenhues
Subject: Re: referencing top_srcdir/top_builddir in an autoconf test?
Date: Wed, 13 May 2009 20:38:32 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Monty,

* Monty Taylor wrote on Wed, May 13, 2009 at 07:38:10PM CEST:
> configure:17782: gcc -std=gnu99 -o conftest    conftest.c -lm  >&5
> conftest.c:29:58: error: libmemcached/memcached/protocol_binary.h: No
> such file or directory
> Obviously would need a -I${top_srcdir}. I'm fine with hacking that in to
> the test - except there doesn't seem to be an available autoconf
> variable I can use to fill in the value of top_srcdir in that context.

You can use $srcdir, and some other variables documented in
  info Autoconf "Configuration Actions"

Maybe the manual should state that they're also available during the
execution of configure, as opposed to only at config.status time.


reply via email to

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