comparison configure.in @ 108740:e6ab17110c0d

* configure.in (MKDEPDIR): Parallel build tweak. * src/Makefile.in: Comment.
author Glenn Morris <rgm@gnu.org>
date Fri, 21 May 2010 09:31:45 -0700
parents c554bb2aba83
children a8af6d66bbd0
comparison
equal deleted inserted replaced
108739:ae0f7dfcf9c9 108740:e6ab17110c0d
1374 rm -rf deps.d 1374 rm -rf deps.d
1375 AC_MSG_RESULT([$ac_enable_autodepend]) 1375 AC_MSG_RESULT([$ac_enable_autodepend])
1376 fi 1376 fi
1377 if test $ac_enable_autodepend = yes; then 1377 if test $ac_enable_autodepend = yes; then
1378 DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d' 1378 DEPFLAGS='-MMD -MF ${DEPDIR}/$*.d'
1379 MKDEPDIR='test -d ${DEPDIR} || mkdir ${DEPDIR}' 1379 ## In parallel builds, another make might create depdir between
1380 ## the first test and mkdir, so stick another test on the end.
1381 ## Or use mkinstalldirs? mkdir -p is not portable.
1382 MKDEPDIR='test -d ${DEPDIR} || mkdir ${DEPDIR} || test -d ${DEPDIR}'
1380 deps_frag=autodeps.mk 1383 deps_frag=autodeps.mk
1381 fi 1384 fi
1382 fi 1385 fi
1383 deps_frag=$srcdir/src/$deps_frag 1386 deps_frag=$srcdir/src/$deps_frag
1384 AC_SUBST(MKDEPDIR) 1387 AC_SUBST(MKDEPDIR)