summaryrefslogtreecommitdiff
path: root/m4/unistd_h.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-11-20 22:25:07 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2012-11-29 23:38:52 -0800
commit108828a0e95d3c4e89ff4f38fe4b39ae6218792e (patch)
tree5e3d30a47875e5679777935005b08abe96f9d3fb /m4/unistd_h.m4
parentc75f87d6e47194491fbd3f5db974cf94a5c61f20 (diff)
downloadgnulib-108828a0e95d3c4e89ff4f38fe4b39ae6218792e.tar.gz
unistd: better 'inline'
* lib/unistd.c: New file. * lib/unistd.in.h (_GL_UNISTD_INLINE): New macro. Replace all uses of 'static inline' with it. Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. * m4/unistd_h.m4 (gl_UNISTD_H): Do not require AC_C_INLINE. * modules/unistd (Files, lib_SOURCES): Add lib/unistd.c. (Depends-on): Add extern-inline.
Diffstat (limited to 'm4/unistd_h.m4')
-rw-r--r--m4/unistd_h.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/unistd_h.m4 b/m4/unistd_h.m4
index 7e7651b9d2..f68fbff8ce 100644
--- a/m4/unistd_h.m4
+++ b/m4/unistd_h.m4
@@ -1,4 +1,4 @@
-# unistd_h.m4 serial 65
+# unistd_h.m4 serial 66
dnl Copyright (C) 2006-2012 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -11,7 +11,6 @@ AC_DEFUN([gl_UNISTD_H],
dnl Use AC_REQUIRE here, so that the default behavior below is expanded
dnl once only, before all statements that occur in other macros.
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
- AC_REQUIRE([AC_C_INLINE])
gl_CHECK_NEXT_HEADERS([unistd.h])
if test $ac_cv_header_unistd_h = yes; then