[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
unlink-busy does not support cross-compilation
From: |
Bruno Haible |
Subject: |
unlink-busy does not support cross-compilation |
Date: |
Sat, 23 Mar 2019 18:26:02 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
Hi Jim,
The module 'unlink-busy' does not support cross-compilation: It uses
AC_RUN_IFELSE, thus calling the compiler for the host, and then sets
INSTALL, which is meant to point to a command to execute on the build machine.
It should IMO better use the compiler for the build machine, but this
isn't easily available in Autoconf.
Or just replace this entire macro outright with
AC_REQUIRE([AC_CANONICAL_BUILD])
case "$build_os" in
hpux* | mingw*) INSTALL=$ac_install_sh ;;
esac
And why isn't the determination of the INSTALL variable part of Autoconf
proper?
What do you think?
Bruno
- unlink-busy does not support cross-compilation,
Bruno Haible <=