]> git.eshelyaron.com Git - emacs.git/commitdiff
Regenerate configure
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 22 May 2010 11:26:01 +0000 (13:26 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 22 May 2010 11:26:01 +0000 (13:26 +0200)
configure

index 1050b17e8734cf4d768054851c9c25fde3382946..9e3c0fff5fd3b719bccf483894769697838275c0 100755 (executable)
--- a/configure
+++ b/configure
@@ -9561,7 +9561,10 @@ $as_echo "$ac_enable_autodepend" >&6; }
    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