Re: referencing top_srcdir/top_builddir in an autoconf test?

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

 



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.

Cheers,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux