* configure.in (MKDEPDIR): Parallel build tweak.
* src/Makefile.in: Comment.
This commit is contained in:
parent
655bded0bf
commit
6a6dbaceca
3 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
2010-05-21 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* configure.in (MKDEPDIR): Parallel build tweak.
|
||||
|
||||
* configure.in (ns_frag): New output file.
|
||||
|
||||
* configure.in (OLDXMENU): Set to "nothing" if !HAVE_X11 || USE_GTK.
|
||||
|
|
|
@ -1376,7 +1376,10 @@ if test "$GCC" = yes && test "$ac_enable_autodepend" = yes; then
|
|||
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
|
||||
|
|
|
@ -297,7 +297,6 @@ DEPDIR=deps
|
|||
## -MMD -MF ${DEPDIR}/$*.d if AUTO_DEPEND; else empty.
|
||||
DEPFLAGS=@DEPFLAGS@
|
||||
## test -d ${DEPDIR} || mkdir ${DEPDIR} (if AUTO_DEPEND); else ':'.
|
||||
## FIXME This can fail in parallel builds. Use mkinstalldirs instead?
|
||||
MKDEPDIR=@MKDEPDIR@
|
||||
|
||||
# ========================== start of cpp stuff =======================
|
||||
|
|
Loading…
Add table
Reference in a new issue