Re: $sysconfdir substitution

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

 



Hi Kip,

I have the following rule in my Makefile.am 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.

Cheers,
Peter

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?

Regards,



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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://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