From d50980ddfe6d3b25287725048abba2c65f753686 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 20 Feb 2018 09:05:48 -0800 Subject: same: new function same_nameat * lib/same.c: Include fcntl.h. * lib/same.c (same_nameat): New function, generalizing same_name. (same_name): Now a thin layer around same_nameat. * m4/same.m4 (gl_SAME): Check for fpathconf, not pathconf. * modules/same (Depends-on): Depend on fstatat, openat. --- m4/same.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'm4') diff --git a/m4/same.m4 b/m4/same.m4 index e29a7231b7..1dcc003c41 100644 --- a/m4/same.m4 +++ b/m4/same.m4 @@ -1,4 +1,4 @@ -#serial 9 +#serial 10 dnl Copyright (C) 2002-2003, 2005-2006, 2009-2018 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation @@ -9,5 +9,5 @@ dnl Prerequisites of lib/same.c. AC_DEFUN([gl_SAME], [ AC_REQUIRE([AC_SYS_LONG_FILE_NAMES]) - AC_CHECK_FUNCS_ONCE([pathconf]) + AC_CHECK_FUNCS_ONCE([fpathconf]) ]) -- cgit v1.2.1