mkdir: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Sat, 21 May 2011 13:32:08 +0000 (15:32 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:06:31 +0000 (00:06 +0200)
* m4/mkdir.m4 (gl_FUNC_MKDIR): Move AC_LIBOBJ invocations from here...
* modules/mkdir (configure.ac): ... to here.

ChangeLog
m4/mkdir.m4
modules/mkdir

index 66a6431..cdf53eb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-21  Bruno Haible  <bruno@clisp.org>
 
+       mkdir: Move AC_LIBOBJ invocations to module description.
+       * m4/mkdir.m4 (gl_FUNC_MKDIR): Move AC_LIBOBJ invocations from here...
+       * modules/mkdir (configure.ac): ... to here.
+
+2011-05-21  Bruno Haible  <bruno@clisp.org>
+
        memset: Move AC_LIBOBJ invocations to module description.
        * m4/memset.m4 (gl_FUNC_MEMSET): Call AC_CHECK_FUNCS instead of
        AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMSET invocations from
index b6fd09d..8e79a61 100644 (file)
@@ -1,4 +1,4 @@
-# serial 9
+# serial 10
 
 # Copyright (C) 2001, 2003-2004, 2006, 2008-2011 Free Software Foundation, Inc.
 # This file is free software; the Free Software Foundation
@@ -27,7 +27,6 @@ AC_DEFUN([gl_FUNC_MKDIR],
   )
   if test "$gl_cv_func_mkdir_trailing_slash_works" != yes; then
     REPLACE_MKDIR=1
-    AC_LIBOBJ([mkdir])
   fi
 
   AC_CACHE_CHECK([whether mkdir handles trailing dot],
@@ -45,7 +44,6 @@ AC_DEFUN([gl_FUNC_MKDIR],
   )
   if test "$gl_cv_func_mkdir_trailing_dot_works" != yes; then
     REPLACE_MKDIR=1
-    AC_LIBOBJ([mkdir])
     AC_DEFINE([FUNC_MKDIR_DOT_BUG], [1], [Define to 1 if mkdir mistakenly
       creates a directory given with a trailing dot component.])
   fi
index 44b9057..032f1c5 100644 (file)
@@ -11,6 +11,9 @@ dirname-lgpl    [test $REPLACE_MKDIR = 1]
 
 configure.ac:
 gl_FUNC_MKDIR
+if test $REPLACE_MKDIR = 1; then
+  AC_LIBOBJ([mkdir])
+fi
 
 Makefile.am: