From 2f79e30906e2d729a48b295521cba4ed5d6067dc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 2 Jul 2005 08:54:13 +0000 Subject: Assume HAVE_UNISTD_H, i.e., that works. --- m4/free.m4 | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'm4/free.m4') diff --git a/m4/free.m4 b/m4/free.m4 index 99ebc9ae9..cb7b1c666 100644 --- a/m4/free.m4 +++ b/m4/free.m4 @@ -1,6 +1,6 @@ # Check whether free (NULL) is supposed to work. -# Copyright (C) 2003, 2004 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -21,9 +21,7 @@ AC_DEFUN([gl_FUNC_FREE], [gl_cv_func_free], [AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( - [[@%:@if HAVE_UNISTD_H - @%:@include - @%:@endif]], + [[@%:@include ]], [[@%:@if _POSIX_VERSION < 199009L && \ (defined unix || defined _unix || defined _unix_ \ || defined __unix || defined __unix__) -- cgit v1.2.3-54-g00ecf