summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-02-03 21:34:06 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-02-03 21:34:06 +0000
commitc10a2c64d0227a0404d5abb4223c80c8c936a24a (patch)
tree29decd1cd9e614dcfd23ca2588e8807d6414dd30 /m4
parentf045469c915fb1202429c5a7f9ba0465e5308592 (diff)
downloadcoreutils-c10a2c64d0227a0404d5abb4223c80c8c936a24a.tar.xz
(gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h.
Diffstat (limited to 'm4')
-rw-r--r--m4/memrchr.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/memrchr.m4 b/m4/memrchr.m4
index 06a9b1ee7..8ce7d9e46 100644
--- a/m4/memrchr.m4
+++ b/m4/memrchr.m4
@@ -1,11 +1,13 @@
-# memrchr.m4 serial 3
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+# memrchr.m4 serial 4
+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,
dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_MEMRCHR],
[
+ AC_LIBSOURCES([memrchr.c, memrchr.h])
+
dnl Persuade glibc <string.h> to declare memrchr().
AC_REQUIRE([AC_GNU_SOURCE])