diff options
author | Bruno Haible <bruno@clisp.org> | 2007-03-11 23:09:09 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2007-03-11 23:09:09 +0000 |
commit | e05a1f57653797fa6c603ca7e225b7ee28fb3f58 (patch) | |
tree | 17a379b656cae7e40c1cb02ded63138cda1af259 /m4 | |
parent | 1cc2e7be52496103a237aa8dfe7850ff80544073 (diff) | |
download | gnulib-e05a1f57653797fa6c603ca7e225b7ee28fb3f58.tar.gz |
Require 'restrict'.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/mempcpy.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/m4/mempcpy.m4 b/m4/mempcpy.m4 index e2b39d0826..9e854e81ee 100644 --- a/m4/mempcpy.m4 +++ b/m4/mempcpy.m4 @@ -1,4 +1,4 @@ -# mempcpy.m4 serial 6 +# mempcpy.m4 serial 7 dnl Copyright (C) 2003, 2004, 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, @@ -9,6 +9,9 @@ AC_DEFUN([gl_FUNC_MEMPCPY], dnl Persuade glibc <string.h> to declare mempcpy(). AC_REQUIRE([AC_GNU_SOURCE]) + dnl The mempcpy() declaration in lib/string_.h uses 'restrict'. + AC_REQUIRE([AC_C_RESTRICT]) + AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) AC_REPLACE_FUNCS(mempcpy) if test $ac_cv_func_mempcpy = no; then |