summaryrefslogtreecommitdiff
path: root/m4/memrchr.m4
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-07-21 17:12:39 +0100
committerAnas Nashif <anas.nashif@intel.com>2012-07-23 10:19:53 +0100
commit3f1932e927ae070261a8d428d5c5f158c2f525ba (patch)
tree286e9acc48a43dd751e4112144eb7d4d6ba62533 /m4/memrchr.m4
parentf86053dd05b02441d0c27eb68524ae3c1cf0fe81 (diff)
downloadcpio-3f1932e927ae070261a8d428d5c5f158c2f525ba.tar.gz
cpio-3f1932e927ae070261a8d428d5c5f158c2f525ba.tar.bz2
cpio-3f1932e927ae070261a8d428d5c5f158c2f525ba.zip
downgrade to 2.8 (GPLv2)
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Diffstat (limited to 'm4/memrchr.m4')
-rw-r--r--m4/memrchr.m49
1 files changed, 4 insertions, 5 deletions
diff --git a/m4/memrchr.m4 b/m4/memrchr.m4
index 57ed978..69674ff 100644
--- a/m4/memrchr.m4
+++ b/m4/memrchr.m4
@@ -1,6 +1,5 @@
-# memrchr.m4 serial 9
-dnl Copyright (C) 2002-2003, 2005-2007, 2009-2010 Free Software Foundation,
-dnl Inc.
+# memrchr.m4 serial 7
+dnl Copyright (C) 2002, 2003, 2005, 2006, 2007 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.
@@ -8,7 +7,7 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_MEMRCHR],
[
dnl Persuade glibc <string.h> to declare memrchr().
- AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
+ AC_REQUIRE([AC_GNU_SOURCE])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
AC_CHECK_DECLS_ONCE([memrchr])
@@ -16,7 +15,7 @@ AC_DEFUN([gl_FUNC_MEMRCHR],
HAVE_DECL_MEMRCHR=0
fi
- AC_REPLACE_FUNCS([memrchr])
+ AC_REPLACE_FUNCS(memrchr)
if test $ac_cv_func_memrchr = no; then
gl_PREREQ_MEMRCHR
fi