diff options
author | Jim Meyering <jim@meyering.net> | 2005-07-02 08:54:13 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-07-02 08:54:13 +0000 |
commit | 2f79e30906e2d729a48b295521cba4ed5d6067dc (patch) | |
tree | d7ae7075ab1f0d1d25612639e8ad6e7dde8e895c /m4/free.m4 | |
parent | 16b35530835c07693104567de6d2a03f7bee2b33 (diff) | |
download | coreutils-2f79e30906e2d729a48b295521cba4ed5d6067dc.tar.xz |
Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
Diffstat (limited to 'm4/free.m4')
-rw-r--r-- | m4/free.m4 | 6 |
1 files changed, 2 insertions, 4 deletions
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 <unistd.h> - @%:@endif]], + [[@%:@include <unistd.h>]], [[@%:@if _POSIX_VERSION < 199009L && \ (defined unix || defined _unix || defined _unix_ \ || defined __unix || defined __unix__) |