summaryrefslogtreecommitdiff
path: root/m4/open.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2008-09-28 16:19:57 +0200
committerBruno Haible <bruno@clisp.org>2008-09-28 16:19:57 +0200
commite2600ffdcf6c35561545d553e07e52e0db8f9a38 (patch)
tree03d48cc4d420c87e6aff2bffcb36fa6f7382200c /m4/open.m4
parent6d7a7b4a22d5a09b32541acdbb0fca295cbc0825 (diff)
downloadgnulib-e2600ffdcf6c35561545d553e07e52e0db8f9a38.tar.gz
Override open more carefully.
Diffstat (limited to 'm4/open.m4')
-rw-r--r--m4/open.m49
1 files changed, 8 insertions, 1 deletions
diff --git a/m4/open.m4 b/m4/open.m4
index 335f4e500d..fab0ad987a 100644
--- a/m4/open.m4
+++ b/m4/open.m4
@@ -1,4 +1,4 @@
-# open.m4 serial 2
+# open.m4 serial 3
dnl Copyright (C) 2007-2008 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -45,8 +45,15 @@ changequote([,])dnl
[Define to 1 if open() fails to recognize a trailing slash.])
REPLACE_OPEN=1
AC_LIBOBJ([open])
+ gl_PREREQ_OPEN
;;
esac
;;
esac
])
+
+# Prerequisites of lib/open.c.
+AC_DEFUN([gl_PREREQ_OPEN],
+[
+ AC_REQUIRE([AC_C_INLINE])
+])