]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Unconditionally check for junk ./--version after mkdir search loop.
authorPaolo Bonzini <bonzini@gnu.org>
Thu, 1 Oct 2009 06:20:13 +0000 (08:20 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Thu, 1 Oct 2009 06:20:13 +0000 (08:20 +0200)
* lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Always check for
presence of ./--version.  Reported by Eric Blake.

ChangeLog
lib/autoconf/programs.m4

index d3443f7bde15bf5251268fb1459a7f31d7dae1fc..6ff22390d0e1b97b4bae0f2eccd9942999214956 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-01  Paolo Bonzini  <bonzini@gnu.org>
+
+       Unconditionally check for junk ./--version after mkdir search loop.
+       * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Always check for
+       presence of ./--version.  Reported by Eric Blake.
+
 2009-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Clarify documentation about Solaris sed quantifier restriction.
index 25a284d1a74c0186f90d8697556d06ef4f16a781..9e27bf710bd7bd441f6b66a5fae4bec8fb394106 100644 (file)
@@ -680,6 +680,7 @@ if test -z "$MKDIR_P"; then
           esac
         done
        done])])
+  test -d ./--version && rmdir ./--version
   if test "${ac_cv_path_mkdir+set}" = set; then
     MKDIR_P="$ac_cv_path_mkdir -p"
   else
@@ -687,7 +688,6 @@ if test -z "$MKDIR_P"; then
     # value for MKDIR_P within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the value is a relative name.
-    test -d ./--version && rmdir ./--version
     MKDIR_P="$ac_install_sh -d"
   fi
 fi