changeset 108744:ce6895773462

Regenerate configure
author Andreas Schwab <schwab@linux-m68k.org>
date Sat, 22 May 2010 13:26:01 +0200
parents 4b1caf0bded6
children 9e1b87832dbf
files configure
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri May 21 23:43:04 2010 +0300
+++ b/configure	Sat May 22 13:26:01 2010 +0200
@@ -9561,7 +9561,10 @@
    fi
    if test $ac_enable_autodepend = yes; then
       DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d'
-      MKDEPDIR='test -d ${DEPDIR} || mkdir ${DEPDIR}'
+      ## In parallel builds, another make might create depdir between
+      ## the first test and mkdir, so stick another test on the end.
+      ## Or use mkinstalldirs?  mkdir -p is not portable.
+      MKDEPDIR='test -d ${DEPDIR} || mkdir ${DEPDIR} || test -d ${DEPDIR}'
       deps_frag=autodeps.mk
    fi
 fi