summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-06-14 07:47:52 +0000
committerJim Meyering <jim@meyering.net>2005-06-14 07:47:52 +0000
commitba4a12e58dafb668326e48a1f98bac0582a23b4b (patch)
tree879867fb337498f7e1a653aeb9402e07aa3da43d /m4
parent30b65617ac246de4d1ea109d13a6b14b279354e0 (diff)
downloadcoreutils-ba4a12e58dafb668326e48a1f98bac0582a23b4b.tar.xz
(gl_FUNC_OPENAT): Add openat-die.c.
Diffstat (limited to 'm4')
-rw-r--r--m4/openat.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/openat.m4 b/m4/openat.m4
index 27b0e59e6..0f0156e95 100644
--- a/m4/openat.m4
+++ b/m4/openat.m4
@@ -1,7 +1,7 @@
-#serial 3
+#serial 4
# See if we need to use our replacement for Solaris' openat function.
-dnl Copyright (C) 2004 Free Software Foundation, Inc.
+dnl Copyright (C) 2004, 2005 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.
@@ -10,7 +10,8 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_OPENAT],
[
- AC_LIBSOURCES([openat.c, openat.h])
+ AC_LIBSOURCES([openat.c, openat.h, openat-die.c])
+ AC_LIBOBJ([openat-die])
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
AC_REPLACE_FUNCS(openat)
case $ac_cv_func_openat in