[systemd-devel] [PATCH 1/2] configure.ac: strip off trailing slashed from $rootprefix

Filipe Brandenburger filbranden at google.com
Fri May 29 17:30:05 PDT 2015


On Fri, May 29, 2015 at 5:21 PM, Michael Biebl <mbiebl at gmail.com> wrote:
> autoconf already strips trailing slashes for all default directory
> variables [1].

How does it handle --prefix=/ though? Does it turn it into an empty string?

> I think we should do the same for *all* our custom --with-$foo-dir
> variables, not just rootlibdir.

Agreed.

I think we can go ahead with patch #2 ("man: replace hard-coded
/usr/lib") since it works for both the --with-rootprefix=/usr
(default) case and the --with-rootprefix= (empty) case used by Debian.

Cheers,
Filipe


More information about the systemd-devel mailing list