From: Glenn Morris Date: Sat, 12 May 2012 10:17:24 +0000 (-0400) Subject: Auto-commit of generated files. X-Git-Tag: emacs-24.2.90~471^2~110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70d9b051a4aef24cff73db312cbe7dfac6a53d0c;p=emacs.git Auto-commit of generated files. --- diff --git a/autogen/configure b/autogen/configure index b3b808e1f37..dc7fb2943b3 100755 --- a/autogen/configure +++ b/autogen/configure @@ -7895,6 +7895,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu + if test "x$RANLIB" = x; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. @@ -10004,10 +10005,8 @@ $as_echo "$ac_enable_autodepend" >&6; } fi if test $ac_enable_autodepend = yes; then DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d -MP' - ## In parallel builds, another make might create depdir between - ## the first test and mkdir, so stick another test on the end. - ## Or use install-sh -d? mkdir -p is not portable. - MKDEPDIR='test -d ${DEPDIR} || mkdir ${DEPDIR} || test -d ${DEPDIR}' + ## MKDIR_P is documented (see AC_PROG_MKDIR_P) to be parallel-safe. + MKDEPDIR='${MKDIR_P} ${DEPDIR}' deps_frag=autodeps.mk fi fi