aboutsummaryrefslogtreecommitdiff
path: root/gnulib/import/m4/closedir.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/import/m4/closedir.m4')
-rw-r--r--gnulib/import/m4/closedir.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/gnulib/import/m4/closedir.m4 b/gnulib/import/m4/closedir.m4
index 0c9fd82..37dc541 100644
--- a/gnulib/import/m4/closedir.m4
+++ b/gnulib/import/m4/closedir.m4
@@ -1,5 +1,5 @@
-# closedir.m4 serial 5
-dnl Copyright (C) 2011-2016 Free Software Foundation, Inc.
+# closedir.m4 serial 6
+dnl Copyright (C) 2011-2019 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -7,6 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_CLOSEDIR],
[
AC_REQUIRE([gl_DIRENT_H_DEFAULTS])
+ AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles
AC_CHECK_FUNCS([closedir])
if test $ac_cv_func_closedir = no; then