]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix build-time Python configuration
authorOndřej Surý <ondrej@sury.org>
Tue, 27 Nov 2018 10:43:46 +0000 (11:43 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 27 Nov 2018 13:09:34 +0000 (14:09 +0100)
commitd75602406e80df432045be5590e76a3ebd6a3e9d
treef7c3e007e8bb159a18f361b187df9494bf774ce5
parent2ecd28029714ae574ebd5c92ab3e0cd5cb4a4639
Fix build-time Python configuration

Apply various fixes and tweaks to Python configuration logic implemented
in the "configure" script:

  - Prevent PYTHON_INSTALL_DIR, which holds the value passed to the
    --with-python-install-dir option, from being set to "unspec" by
    default as this breaks installing Python modules when the
    --with-python-install-dir option is not used.

  - Make the --with-python-install-dir option also work when the Python
    interpreter is specified explicitly (using --with-python=<...>).

  - Remove dnspython dependency which was erroneously introduced in
    commit 31b0dc1f204d8f7520145f21e8ea46d1466412a7: no installed Python
    module depends on dnspython, it is only used in system tests, for
    which dedicated scripts exist that check whether dnspython is
    available and act accordingly.

  - Improve contents and placement of error messages.

  - Reduce duplication of code checking Python dependencies.

  - Use Autoconf macros AS_CASE() and AS_IF() instead of plain shell
    code.

  - Update comments.  Capitalize the word "Python" when referring to the
    language itself rather than a specific executable.
configure
configure.ac