From: Jim Meyering Date: Tue, 19 Aug 2003 10:01:52 +0000 (+0000) Subject: (gl_SAME): Do not check for stdlib.h or string.h or free. X-Git-Tag: v5.0.91~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d8da3233983f2b902e89205fa2746127a1ca693;p=thirdparty%2Fcoreutils.git (gl_SAME): Do not check for stdlib.h or string.h or free. Check for pathconf. --- diff --git a/m4/same.m4 b/m4/same.m4 index d15027b801..51a2cd5c38 100644 --- a/m4/same.m4 +++ b/m4/same.m4 @@ -1,5 +1,5 @@ -# same.m4 serial 1 -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# same.m4 serial 2 +dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program @@ -9,6 +9,6 @@ dnl the same distribution terms as the rest of that program. AC_DEFUN([gl_SAME], [ dnl Prerequisites of lib/same.c. - AC_CHECK_HEADERS_ONCE(stdlib.h string.h unistd.h) - AC_CHECK_DECLS_ONCE(free) + AC_CHECK_HEADERS_ONCE(unistd.h) + AC_CHECK_FUNCS(pathconf) ])