Hey,
I've been using AC_CONFIG FILES to generate my pc files. So I have
foo.pc.in which contains
prefix=@prefix@
libdir=@libdir@
and foo.pc contains (for example):
prefix=/usr/local
libdir=${exec_prefix}/lib
For me it's not a problem to have libdir built with ${exec_prefix} and not
being ${libdir} because of the pkg-config documentation :
http://people.freedesktop.org/~dbn/pkg-config-guide.html
All the examples show that variables depending on $prefix are built "with
it" and it's even recommended in section "Writing pkg-config files" in the
link above.
But it seems that several projects use sed in their Makefile.am to use the
value of $libdir, $includedir, etc.. to generate their pc files. So they
have in foo.pc
libdir=${libdir}
So I would like to know the opinion of the autoconf dev about what the
correct way to generate pc file is.
thank you
Vincent Torri
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf