diff options
author | Bruno Haible <bruno@clisp.org> | 2017-07-10 12:35:06 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-07-10 12:35:06 +0200 |
commit | 3b1faeb2e29b62588709208f97d34c1787777dcb (patch) | |
tree | 329945780e811317b00a814781a185e307683136 /m4/opendir.m4 | |
parent | c7711db84f251d9e580d9fa53a070fa97ae89095 (diff) | |
download | gnulib-3b1faeb2e29b62588709208f97d34c1787777dcb.tar.gz |
Make sure $host and $host_os are defined when used.
* m4/argz.m4 (gl_FUNC_ARGZ): Require AC_CANONICAL_HOST.
* m4/closedir.m4 (gl_FUNC_CLOSEDIR): Likewise.
* m4/csharpexec.m4 (gt_CSHARPEXEC): Likewise.
* m4/dirfd.m4 (gl_FUNC_DIRFD): Likewise.
* m4/expl.m4 (gl_FUNC_EXPL): Likewise.
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Likewise.
* m4/lstat.m4 (gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Likewise.
* m4/opendir.m4 (gl_FUNC_OPENDIR): Likewise.
* m4/poll.m4 (gl_FUNC_POLL): Likewise.
* m4/pselect.m4 (gl_FUNC_PSELECT): Likewise.
* m4/ptsname.m4 (gl_FUNC_PTSNAME): Likewise.
* m4/relocatable.m4 (gl_RELOCATABLE_BODY): Likewise.
* m4/symlinkat.m4 (gl_FUNC_SYMLINKAT): Likewise.
* m4/ceill.m4 (gl_FUNC_CEILL): Require AC_CANONICAL_HOST outside the
m4_ifdef block.
Diffstat (limited to 'm4/opendir.m4')
-rw-r--r-- | m4/opendir.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/opendir.m4 b/m4/opendir.m4 index b970e6557b..0047d34947 100644 --- a/m4/opendir.m4 +++ b/m4/opendir.m4 @@ -1,4 +1,4 @@ -# opendir.m4 serial 4 +# opendir.m4 serial 5 dnl Copyright (C) 2011-2017 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -7,6 +7,7 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_OPENDIR], [ AC_REQUIRE([gl_DIRENT_H_DEFAULTS]) + AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CHECK_FUNCS([opendir]) if test $ac_cv_func_opendir = no; then |