error.c, md5.c, regex.c: Use '#if USE_UNLOCKED_IO' instead of
[gnulib.git] / m4 / hash.m4
index b88c6ec..9fe3211 100644 (file)
@@ -1,5 +1,5 @@
-# hash.m4 serial 1
-dnl Copyright (C) 2002 Free Software Foundation, Inc.
+# hash.m4 serial 3
+dnl Copyright (C) 2002, 2003 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 Public License, this file may be distributed as part of a program
@@ -9,7 +9,5 @@ dnl the same distribution terms as the rest of that program.
 AC_DEFUN([gl_HASH],
 [
   dnl Prerequisites of lib/hash.c.
-  AC_CHECK_HEADERS_ONCE(stdlib.h)
-  AC_HEADER_STDBOOL
-  AC_CHECK_DECLS_ONCE(free malloc)
+  AC_REQUIRE([AM_STDBOOL_H])
 ])