From d2ae942a8538f7440c202136daf563e9be906e6f Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 13 Sep 2003 06:30:49 +0000 Subject: [PATCH] (gl_HASH): Do not check for stdlib.h, malloc, free. --- m4/hard-locale.m4 | 6 +++--- m4/hash.m4 | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/m4/hard-locale.m4 b/m4/hard-locale.m4 index 79f24d28db..3e2a08ccb5 100644 --- a/m4/hard-locale.m4 +++ b/m4/hard-locale.m4 @@ -1,5 +1,5 @@ -# hard-locale.m4 serial 1 -dnl Copyright (C) 2002 Free Software Foundation, Inc. +# hard-locale.m4 serial 2 +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,6 +9,6 @@ dnl the same distribution terms as the rest of that program. AC_DEFUN([gl_HARD_LOCALE], [ dnl Prerequisites of lib/hard-locale.c. - AC_CHECK_HEADERS_ONCE(locale.h stdlib.h string.h) + AC_CHECK_HEADERS_ONCE(locale.h) AC_CHECK_FUNCS_ONCE(setlocale) ]) diff --git a/m4/hash.m4 b/m4/hash.m4 index ab48a1d230..9fe3211f91 100644 --- a/m4/hash.m4 +++ b/m4/hash.m4 @@ -1,4 +1,4 @@ -# hash.m4 serial 2 +# 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 @@ -10,6 +10,4 @@ AC_DEFUN([gl_HASH], [ dnl Prerequisites of lib/hash.c. AC_REQUIRE([AM_STDBOOL_H]) - AC_CHECK_HEADERS_ONCE(stdlib.h) - AC_CHECK_DECLS_ONCE(free malloc) ]) -- 2.47.2