Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve cross-compilation support [once autoconf 2.70 is widespread] #1199

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Jan 4, 2021

  1. Add AC_CANONICAL_HOST to improve cross-compilation

    Autoconf 2.70 is more careful about cross compilation, so with this
    version using AC_FUNC_MMAP implicitly pulls in AC_CANONICAL_HOST.
    So we might as well use AC_CANONICAL_HOST explicitly and improve
    our "shared library type" check, regardless of autoconf version.
    
    Using AC_CANONICAL_HOST causes autoconf 2.69 or earlier to search for
    install-sh unconditionally. So we might as well also add AC_PROG_INSTALL
    and use @install@.
    
    This requires the config.guess, config.sub, and install-sh support scripts.
    Add instructions about how to add them to a Git checkout. (Release tarballs
    will also have to take steps to ensure they are present.) In autoconf 2.70
    (but not previous versions), autoreconf -i/--install creates these files.
    jmarshall committed Jan 4, 2021
    Configuration menu
    Copy the full SHA
    16e2301 View commit details
    Browse the repository at this point in the history