summaryrefslogtreecommitdiffstats
path: root/m4/fchdir.m4
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2018-07-17 09:14:31 +0200
committerUlf Hermann <[email protected]>2018-07-20 14:45:07 +0000
commit6166020e5f1acc87c3f00f0d2f15f073971be545 (patch)
tree14720ecb9d6e28847c78fa77a931a5328e8afe31 /m4/fchdir.m4
parent191f0057b0b978a0e5bf9168acdcc381b4196494 (diff)
Update gnulib modules, replacing canonicalize with canonicalize-lgpl
We need realpath() now, as upstream has changed to use that. Updating single gnulib modules is not really possible, so we update everything. Change-Id: I32943a1c8af7c1ecce625dca173a942cc58d9c38 Reviewed-by: Christian Kandeler <[email protected]>
Diffstat (limited to 'm4/fchdir.m4')
-rw-r--r--m4/fchdir.m416
1 files changed, 10 insertions, 6 deletions
diff --git a/m4/fchdir.m4 b/m4/fchdir.m4
index b3d1b0b2..470b228f 100644
--- a/m4/fchdir.m4
+++ b/m4/fchdir.m4
@@ -1,5 +1,5 @@
-# fchdir.m4 serial 21
-dnl Copyright (C) 2006-2017 Free Software Foundation, Inc.
+# fchdir.m4 serial 24
+dnl Copyright (C) 2006-2018 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.
@@ -31,10 +31,14 @@ AC_DEFUN([gl_FUNC_FCHDIR],
[gl_cv_func_open_directory_works=yes],
[gl_cv_func_open_directory_works=no],
[case "$host_os" in
- # Guess yes on glibc systems.
- *-gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
- # If we don't know, assume the worst.
- *) gl_cv_func_open_directory_works="guessing no" ;;
+ # Guess yes on Linux systems.
+ linux-* | linux) gl_cv_func_open_directory_works="guessing yes" ;;
+ # Guess yes on glibc systems.
+ *-gnu* | gnu*) gl_cv_func_open_directory_works="guessing yes" ;;
+ # Guess no on native Windows.
+ mingw*) gl_cv_func_open_directory_works="guessing no" ;;
+ # If we don't know, assume the worst.
+ *) gl_cv_func_open_directory_works="guessing no" ;;
esac
])])
case "$gl_cv_func_open_directory_works" in