diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-30 09:41:20 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-30 09:41:20 +0200 |
commit | ea16c110d8ca67a5460d45600a399078a101ef4f (patch) | |
tree | 1063f33ad453a7879bbaedb3f53076f425676db7 /configure.ac | |
parent | 73f5884a591f1e2efef948d108927327a054d97c (diff) | |
parent | 321912626ca7df438e3402d20b529d45f3473d62 (diff) |
Merge branch 'master' of git://git.sv.gnu.org/hurd/hurd
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 873ced81..cf8590be 100644 --- a/configure.ac +++ b/configure.ac @@ -83,6 +83,13 @@ AC_PROG_INSTALL AC_PROG_AWK AC_PROG_SED +if test "x$cross_compiling" = "xyes"; then + # It may be that we don't have a working libc yet, for instance + # because we're bootstrapping the cross-compilation tool chain. + # Thus, use this undocumented Autoconf macro designed for this. + AC_NO_EXECUTABLES + AC_MSG_WARN("cross-compiling, disabling linking") +fi AC_PROG_CC # Require GCC. if test x$GCC != xyes; then |