aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnulib/import/m4/fchdir.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gnulib/import/m4/fchdir.m4')
-rw-r--r--gdb/gnulib/import/m4/fchdir.m416
1 files changed, 10 insertions, 6 deletions
diff --git a/gdb/gnulib/import/m4/fchdir.m4 b/gdb/gnulib/import/m4/fchdir.m4
index 4264166..470b228 100644
--- a/gdb/gnulib/import/m4/fchdir.m4
+++ b/gdb/gnulib/import/m4/fchdir.m4
@@ -1,5 +1,5 @@
-# fchdir.m4 serial 21
-dnl Copyright (C) 2006-2016 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