Use new documented autoconf macros.
[gnulib.git] / m4 / memcoll.m4
index 235f48e..23f56af 100644 (file)
@@ -1,4 +1,4 @@
-# memcoll.m4 serial 1
+# memcoll.m4 serial 2
 dnl Copyright (C) 2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
 dnl Copyright (C) 2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -9,6 +9,7 @@ dnl the same distribution terms as the rest of that program.
 AC_DEFUN([gl_MEMCOLL],
 [
   dnl Prerequisites of lib/memcoll.c.
 AC_DEFUN([gl_MEMCOLL],
 [
   dnl Prerequisites of lib/memcoll.c.
+  AC_REQUIRE([AC_FUNC_MEMCMP])
   AC_CHECK_HEADERS_ONCE(string.h)
   AC_FUNC_STRCOLL
 ])
   AC_CHECK_HEADERS_ONCE(string.h)
   AC_FUNC_STRCOLL
 ])