Mercurial > hg > octave-lyh > gnulib-hg
changeset 6706:8056b81ac71e
* dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT.
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 15 Mar 2006 21:16:25 +0000 |
parents | ca4d5f4521b5 |
children | d0a48e08c98d |
files | m4/ChangeLog m4/dirfd.m4 |
diffstat | 2 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-03-15 Eric Blake <ebb9@byu.net> + + * dirfd.m4 (gl_FUNC_DIRFD): Use AC_REQUIRE for AC_HEADER_DIRENT. + 2006-03-08 Simon Josefsson <jas@extundo.com> * gc-random.m4: Permit 'no' as variable values and fix warnings, @@ -866,7 +870,7 @@ Yoann Vandoorselaere <yoann.v@prelude-ids.com>. 2005-05-09 Yoann Vandoorselaere <yoann.v@prelude-ids.com> - Bruno Haible <bruno@clisp.org> + Bruno Haible <bruno@clisp.org> * inet_ntop.m4: New file.
--- a/m4/dirfd.m4 +++ b/m4/dirfd.m4 @@ -1,8 +1,9 @@ -#serial 10 +#serial 11 -*- Autoconf -*- dnl Find out how to get the file descriptor associated with an open DIR*. -# Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 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. @@ -16,8 +17,8 @@ dnl Work around a bug of AC_EGREP_CPP in autoconf-2.57. AC_REQUIRE([AC_PROG_CPP]) AC_REQUIRE([AC_PROG_EGREP]) + AC_REQUIRE([AC_HEADER_DIRENT]) - AC_HEADER_DIRENT dirfd_headers=' #if HAVE_DIRENT_H # include <dirent.h> @@ -55,7 +56,7 @@ [how to get the file descriptor associated with an open DIR*], gl_cv_sys_dir_fd_member_name, [ - dirfd_save_CFLAGS=$CFLAGS + dirfd_save_CFLAGS=$CFLAGS for ac_expr in d_fd dd_fd; do CFLAGS="$CFLAGS -DDIR_FD_MEMBER_NAME=$ac_expr"