[systemd-devel] [patch] Fix AC_PATH_PROG usage in configure.ac for systems with (still) bin vs. sbin distiction
Michael Biebl
mbiebl at gmail.com
Sun Mar 9 12:49:58 PDT 2014
2014-03-08 8:52 GMT+01:00 Samuli Suominen <ssuominen at gentoo.org>:
> If eg. setcap is in /sbin and user is building as a normal user without
> $PATH having /sbin, the build system
> will default to /usr/sbin/setcap as it's defined in AC_PATH_PROG and
> fail during the build with 'setcap: command not found'
>
> For example, my $PATH as normal user:
>
> $ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.2
>
> I see Debian and Ubuntu carries a patch that changes these hardcoded
> paths to what they have, but that's equally
> unwise.
We do patch those defaults so we don't have to actually build-depend
on all those packages.
Your patch doesn't really help with that.
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
More information about the systemd-devel
mailing list