On 31/05/07, Ville Skyttä <ville.skytta(a)iki.fi> wrote:
Bad, as explained before. Instead, how about adding some pkgconfig
files
which are generated during build and thus we have complete control over their
contents? Eg. the attached one to xemacs-devel:
$ pkg-config xemacs --modversion
21.5.28
$ pkg-config xemacs --variable=sitestartdir
/usr/share/xemacs/site-packages/lisp/site-start.d
$ pkg-config xemacs --variable=sitepkglispdir
/usr/share/xemacs/site-packages/lisp
$ pkg-config xemacs --variable=sitemoduledir
/usr/lib64/xemacs/site-modules
$ pkg-config xemacs --cflags
-I/usr/lib64/xemacs-21.5-b28/x86_64-redhat-linux/include
Perfect! That also allows package build time discovery of the
site-lisp directories etc.
I wonder if Chip would be willing to add such a thing to GNU Emacs package.
J.