diff options
Diffstat (limited to 'doc/automake.texi')
-rw-r--r-- | doc/automake.texi | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/automake.texi b/doc/automake.texi index 0a0da6168..59bc2f8c7 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -7882,17 +7882,22 @@ The Python version number, in the form @var{major}.@var{minor} @item PYTHON_PREFIX @itemx PYTHON_EXEC_PREFIX +@opindex --with-python-sys-prefix @opindex --with-python_prefix @opindex --with-python_exec_prefix @vindex sys.prefix @r{Python variable} @vindex sys.exec_prefix @r{Python variable} -The value of Python's @samp{sys.prefix} (resp.@: -@samp{sys.exec_prefix}) variable. Sometimes the same as the standard -@samp{$@{prefix@}} (@samp{$@{exec_prefix@}}), but differs on some -platforms such as Mac@tie{}OS@tie{}x (where Python is usually -installed as a Framework). Can be set explicitly with the -@option{--with-python_prefix} (@option{--with-python_exec_prefix}) -@file{configure} option. +With no special options given, these have values @samp{$@{prefix@}} +and @samp{$@{exec_prefix@}}, respectively (unexpanded; see below). + +The @file{configure} options @option{--with-python_prefix} +and @option{--with-python_exec_prefix} set them to an explicit value. + +The @file{configure} option @option{--with-python-sys-prefix} set them +to the values of Python's @samp{sys.prefix} and @samp{sys.exec_prefix} +variables. These often differ from @samp{$@{prefix@}} and +@samp{$@{exec_prefix@}}, e.g., on platforms such as Mac@tie{}OS@tie{}x +(where Python is usually installed as a Framework). @item PYTHON_PLATFORM @vindex sys.platform @r{Python variable} |