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