summaryrefslogtreecommitdiff
path: root/m4/same.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-08-19 10:01:52 +0000
committerJim Meyering <jim@meyering.net>2003-08-19 10:01:52 +0000
commit2d8da3233983f2b902e89205fa2746127a1ca693 (patch)
tree3a18e04b4926af8b88476d22c28ab7f7bafcbc53 /m4/same.m4
parenta7c82c47a03e2058960f0cd68944babe763d4086 (diff)
downloadcoreutils-2d8da3233983f2b902e89205fa2746127a1ca693.tar.xz
(gl_SAME): Do not check for stdlib.h or string.h or free.
Check for pathconf.
Diffstat (limited to 'm4/same.m4')
-rw-r--r--m4/same.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/same.m4 b/m4/same.m4
index d15027b80..51a2cd5c3 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)
])