diff options
Diffstat (limited to 'gl/m4/fcntl-o.m4')
| -rw-r--r-- | gl/m4/fcntl-o.m4 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gl/m4/fcntl-o.m4 b/gl/m4/fcntl-o.m4 index d416a61c..1adacc8a 100644 --- a/gl/m4/fcntl-o.m4 +++ b/gl/m4/fcntl-o.m4 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # fcntl-o.m4 serial 1 | 1 | # fcntl-o.m4 serial 2 |
| 2 | dnl Copyright (C) 2006, 2009-2010 Free Software Foundation, Inc. | 2 | dnl Copyright (C) 2006, 2009-2010 Free Software Foundation, Inc. |
| 3 | dnl This file is free software; the Free Software Foundation | 3 | dnl This file is free software; the Free Software Foundation |
| 4 | dnl gives unlimited permission to copy and/or distribute it, | 4 | dnl gives unlimited permission to copy and/or distribute it, |
| @@ -12,7 +12,11 @@ dnl Written by Paul Eggert. | |||
| 12 | AC_DEFUN([gl_FCNTL_O_FLAGS], | 12 | AC_DEFUN([gl_FCNTL_O_FLAGS], |
| 13 | [ | 13 | [ |
| 14 | dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW. | 14 | dnl Persuade glibc <fcntl.h> to define O_NOATIME and O_NOFOLLOW. |
| 15 | AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS]) | 15 | dnl AC_USE_SYSTEM_EXTENSIONS was introduced in autoconf 2.60 and obsoletes |
| 16 | dnl AC_GNU_SOURCE. | ||
| 17 | m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], | ||
| 18 | [AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])], | ||
| 19 | [AC_REQUIRE([AC_GNU_SOURCE])]) | ||
| 16 | AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], | 20 | AC_CACHE_CHECK([for working fcntl.h], [gl_cv_header_working_fcntl_h], |
| 17 | [AC_RUN_IFELSE( | 21 | [AC_RUN_IFELSE( |
| 18 | [AC_LANG_PROGRAM( | 22 | [AC_LANG_PROGRAM( |
