aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnulib/import/m4/openat.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gnulib/import/m4/openat.m4')
-rw-r--r--gdb/gnulib/import/m4/openat.m410
1 files changed, 4 insertions, 6 deletions
diff --git a/gdb/gnulib/import/m4/openat.m4 b/gdb/gnulib/import/m4/openat.m4
index e837720..fdeb1de 100644
--- a/gdb/gnulib/import/m4/openat.m4
+++ b/gdb/gnulib/import/m4/openat.m4
@@ -1,7 +1,7 @@
-# serial 46
+# serial 45
# See if we need to use our replacement for Solaris' openat et al functions.
-dnl Copyright (C) 2004-2018 Free Software Foundation, Inc.
+dnl Copyright (C) 2004-2016 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.
@@ -14,12 +14,10 @@ AC_DEFUN([gl_FUNC_OPENAT],
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_CHECK_FUNCS_ONCE([openat])
AC_REQUIRE([gl_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK])
- AC_REQUIRE([gl_PREPROC_O_CLOEXEC])
- case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink+$gl_cv_macro_O_CLOEXEC in
- yes+*yes+yes)
+ case $ac_cv_func_openat+$gl_cv_func_lstat_dereferences_slashed_symlink in
+ yes+*yes)
;;
yes+*)
- # Solaris 10 lacks O_CLOEXEC.
# Solaris 9 has *at functions, but uniformly mishandles trailing
# slash in all of them.
REPLACE_OPENAT=1