python: use deb_system instead of posix_local if prefix = /usr.
commit70128b8bcc2ea71118384b197a3dd3d766f3a73d
authorKarl Berry <karl@freefriends.org>
Sat, 20 Jan 2024 22:33:14 +0000 (20 14:33 -0800)
committerKarl Berry <karl@freefriends.org>
Sat, 20 Jan 2024 22:33:14 +0000 (20 14:33 -0800)
treebac3ecdef7a5938748803490b7ba727cd54d7fc7
parentac64ce260abd4a7e5f6ea72dcdabf191aad9536d
python: use deb_system instead of posix_local if prefix = /usr.

Continuing with https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54412.

* m4/python.m4 (AM_PATH_PYTHON) <am_python_setup_scheme>:
factor out common scheme-related code to this new variable.
If the scheme is posix_local and the prefix is /usr,
use deb_system (for Debian package builds).
* NEWS: more explanations (and unrelated references, en passant).
NEWS
m4/python.m4