summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-07-08 07:08:41 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-07-08 07:08:41 +0000
commit0561231d58a78777bfe72ad000309724ba294555 (patch)
tree803ac07b2bc133449bfe9e23038e4a0267ecad53
parent060594db56431230a9cab8f0d61d3b186f099342 (diff)
downloadcoreutils-0561231d58a78777bfe72ad000309724ba294555.tar.xz
(gl_SAME): Use AC_CHECK_FUNCS_ONCE on pathconf.
Require AC_SYS_LONG_FILE_NAMES.
-rw-r--r--m4/same.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/same.m4 b/m4/same.m4
index 1957e0fe9..30cdfd2ff 100644
--- a/m4/same.m4
+++ b/m4/same.m4
@@ -1,4 +1,4 @@
-# same.m4 serial 4
+# same.m4 serial 5
dnl Copyright (C) 2002, 2003, 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,
@@ -10,6 +10,7 @@ AC_DEFUN([gl_SAME],
AC_LIBOBJ([same])
dnl Prerequisites of lib/same.c.
- AC_CHECK_HEADERS_ONCE(unistd.h)
- AC_CHECK_FUNCS(pathconf)
+ AC_REQUIRE([AC_SYS_LONG_FILE_NAMES])
+ AC_CHECK_HEADERS_ONCE([unistd.h])
+ AC_CHECK_FUNCS_ONCE([pathconf])
])