From: Paolo Bonzini Date: Thu, 1 Oct 2009 06:20:13 +0000 (+0200) Subject: Unconditionally check for junk ./--version after mkdir search loop. X-Git-Tag: v2.65~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfc967906c8ca4786dd5e6beebf404c5ebc6b8d4;p=thirdparty%2Fautoconf.git 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. --- diff --git a/ChangeLog b/ChangeLog index d3443f7b..6ff22390 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-10-01 Paolo Bonzini + + 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 Clarify documentation about Solaris sed quantifier restriction. diff --git a/lib/autoconf/programs.m4 b/lib/autoconf/programs.m4 index 25a284d1..9e27bf71 100644 --- a/lib/autoconf/programs.m4 +++ b/lib/autoconf/programs.m4 @@ -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