Go to file
Graham Inggs cb3749b49c Subject: [PATCH] python: use the posix_prefix sysconfig scheme on Debian
Fixes Debian's bug: https://bugs.debian.org/1006784

Debian adds a custom sysconfig scheme to system python installs,
"posix_local". This is the default scheme, and it redirects local users'
Python module installs to /usr/local even though Python is installed
with a /usr prefix. Both are on Debian's python's sys.path module search
path.

Automake and its users understand prefixes, and are likely to select
/usr/local, explicitly. Select the "posix_prefix" scheme, with the
user-supplied prefix.

Previously this custom sysconfig scheme was specified in
distutils.sysconfig, but not sysconfig itself. As distutils is being
deprecated, the custom scheme is now specified in sysconfig, since
Debian's Python 3.10 (3.10.2-4).

Author: Gianfranco Costamagna <locutusofborg@debian.org>
Bug-Debian: https://bugs.debian.org/1006784
Forwarded: http://debbugs.gnu.org/54412
Last-Update: 2022-03-15
2022-08-26 15:18:18 +08:00
PLANS Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
bin Drop @SHELL@ 2022-08-26 13:41:42 +08:00
contrib Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
debian changed debian/source/format to native 2022-08-26 11:30:36 +08:00
doc texi file rename for multiple automake versions 2022-08-26 11:35:44 +08:00
lib Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
m4 Subject: [PATCH] python: use the posix_prefix sysconfig scheme on Debian 2022-08-26 15:18:18 +08:00
maintainer Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
old Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
t Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
.git-log-fix Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
AUTHORS Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
COPYING Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
ChangeLog Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
GNUmakefile Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
HACKING Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
INSTALL Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
Makefile.am Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
Makefile.in Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
NEWS Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
NEWS-2.0 Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
README Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
THANKS Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
aclocal.m4 Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
bootstrap Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
configure Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
configure.ac Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
gen-testsuite-part Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00
pre-inst-env.in Import Upstream version 1.16.5 2022-08-26 11:30:28 +08:00

README

This is Automake, a Makefile generator.  It aims to be portable and
to conform to the GNU Coding Standards for Makefile variables and
targets.

See the INSTALL file for detailed information about how to configure
and install Automake.

Automake is a Perl script.  The input files are called Makefile.am.
The output files are called Makefile.in; they are intended for use
with Autoconf.  Automake requires certain things to be done in your
configure.ac.

Automake comes with extensive documentation; please refer to it for
more details about its purpose, features, and usage patterns.

This package also includes the "aclocal" program, whose purpose is
to generate an 'aclocal.m4' based on the contents of 'configure.ac'.
It is useful as an extensible, maintainable mechanism for augmenting
autoconf.  It is intended that other package authors will write m4
macros which can be automatically used by aclocal.  The documentation
for aclocal is currently found in the Automake manual.

Automake has a test suite.  Use "make check" to run it.  For more
information, see the file t/README.

Automake's home page:

	https://www.gnu.org/software/automake/

Automake has three mailing lists:

  * automake@gnu.org
    For general discussions of Automake and its interactions with other
    configuration/portability tools like Autoconf or Libtool.

  * bug-automake@gnu.org
    Where to send bug reports and feature requests.

  * automake-patches@gnu.org
    Where to send patches, and discuss the automake development process
    and the design of new features.

To see the archives of these lists, or to (un)subscribe to them,
refer to <https://www.gnu.org/software/automake/#mailinglists>.

New releases are announced to autotools-announce@gnu.org.  If you want to
be informed, subscribe to that list by following the instructions at
<https://lists.gnu.org/mailman/listinfo/autotools-announce>.

For any copyright year range specified as YYYY-ZZZZ in this package,
the range specifies every single year in that closed interval.

-----

Copyright (C) 1994-2021 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.