From ba4a12e58dafb668326e48a1f98bac0582a23b4b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 14 Jun 2005 07:47:52 +0000 Subject: (gl_FUNC_OPENAT): Add openat-die.c. --- m4/openat.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'm4') 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 -- cgit v1.2.3-54-g00ecf