GNU Autotools: install binaries into /bin, /sbin, /usr/bin and /usr/sbin, interactions with --prefix and DESTDIR
问题 Most packages using autotools are user-level utilities or at least high-enough level to be completely under /usr, or low enough to be entirely below /usr. I'm writing a package that would need to install some files into /bin, some into /sbin, /usr/bin and /usr/sbin. It's replacing several existing binaries that are traditionally placed under those locations. It also needs to install a PAM module in /lib/security (and obviously /usr/lib/security wouldn't work). Now the problem is: default