From: Paul Eggert Date: Thu, 3 Feb 2005 21:34:06 +0000 (+0000) Subject: (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h. X-Git-Tag: CPPI-1_12~1509 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=c10a2c64d0227a0404d5abb4223c80c8c936a24a;p=thirdparty%2Fcoreutils.git (gl_FUNC_MEMRCHR): Add AC_LIBSOURCES, for memrchr.h. --- diff --git a/m4/memrchr.m4 b/m4/memrchr.m4 index 06a9b1ee7e..8ce7d9e467 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 to declare memrchr(). AC_REQUIRE([AC_GNU_SOURCE])