]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gl_SAME): Do not check for stdlib.h or string.h or free.
authorJim Meyering <jim@meyering.net>
Tue, 19 Aug 2003 10:01:52 +0000 (10:01 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 19 Aug 2003 10:01:52 +0000 (10:01 +0000)
Check for pathconf.

m4/same.m4

index d15027b801684d5dc6b3ba3063817e068ffc9f51..51a2cd5c3896afb94ed63f4f4bf030ce31bb2682 100644 (file)
@@ -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)
 ])