On Sat, Nov 28 2015, David Bremner <david@tethera.net> wrote: > Andrew Burgess <andrew.burgess@embecosm.com> writes: > >> Assumming that you have pkg-config installed, emacs installed, and the >> command 'pkg-config emacs --variable sitepkglispdir' returns a >> directory that only root can write to, then the make install above >> should fail. > > I agree that the current behaviour is probably wrong. I'm not sure if we > need more control here as Tomi suggests. My biggest concern is that > emacs.pc seems to be rather specific to fedora / redhat packaging, which > makes it hard for me to evaluate both the current handling and this > patch. Do any any Fedora users have opinions on just dropping the > handling of "pkg-config emacs"? Or am I missing other places that > pkg-config file is available? Now that I looked this a bit more I tend to agree with David: default PREFIX is /usr/local and $ pkg-config emacs --variable sitepkglispdir outputs /usr/share/emacs/site-lisp (in default case we should mangle /local/ there in between ... :/ ). package managers can add ./configure ---emacslispdir=`pkg-config emacs --variable sitepkglispdir` in their build scripts. > > d Tomi