changeset 12000:dc5b8cafce92

rmdir: ensure correct dependency order * m4/rmdir.m4 (gl_FUNC_RMDIR): Require unistd defaults. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Thu, 17 Sep 2009 06:55:43 -0600
parents 9e192c655ff0
children 7a46c36ab853
files ChangeLog m4/rmdir.m4
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-09-17  Eric Blake  <ebb9@byu.net>
+
+	rmdir: ensure correct dependency order
+	* m4/rmdir.m4 (gl_FUNC_RMDIR): Require unistd defaults.
+
 2009-09-17  Bruno Haible  <bruno@clisp.org>
 
 	Disable assertion that fails on NetBSD 5 / i386.
--- a/m4/rmdir.m4
+++ b/m4/rmdir.m4
@@ -1,4 +1,4 @@
-# rmdir.m4 serial 5
+# rmdir.m4 serial 6
 dnl Copyright (C) 2002, 2005, 2009 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -7,6 +7,7 @@
 AC_DEFUN([gl_FUNC_RMDIR],
 [
   AC_REQUIRE([gl_AC_DOS])
+  AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
   dnl FIXME: simplify this module in 2010 if no one reports a missing rmdir
   AC_REPLACE_FUNCS([rmdir])
   if test $ac_cv_func_rmdir = no; then