[Top][All Lists]

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

Re: $sysconfdir substitution

From: Peter Johansson
Subject: Re: $sysconfdir substitution
Date: Fri, 10 Jun 2016 17:05:53 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0

Hi Kip,

I have the following rule in my to generate a C header file.

configmake.h: Makefile
    $(AM_V_GEN)echo '#define BINDIR "$(bindir)"' > $@

You could have a similar rule to generate a file suitable to source into your script.


On 06/10/2016 04:10 PM, Kip Warner wrote:
Hey list,

I'd like to make the fully expanded $sysconfdir shell variable
available within a file processed via AC_CONFIG_FILES. I am currently
trying AC_SUBST([SYSCONFDIR], [$sysconfdir]), but it is not fully
evaluated at ${prefix}/etc which is useless for me. Any ideas?


Autoconf mailing list

reply via email to

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