Skip to content

Commit ec4019e

Browse files
committed
Add an empty make command for DTrace .d files to stop an implicit
circular dependency in GNU Make which causes .d files to be overwritten (Bug 61268)
1 parent cabf38a commit ec4019e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

acinclude.m4

+4
Original file line numberDiff line numberDiff line change
@@ -2959,8 +2959,12 @@ dnl DTrace objects
29592959
esac
29602960
29612961
dnl Generate Makefile.objects entries
2962+
dnl The empty $ac_provsrc command stops an implicit circular dependency
2963+
dnl in GNU Make which causes the .d file to be overwritten (Bug 61268)
29622964
cat>>Makefile.objects<<EOF
29632965
2966+
$abs_srcdir/$ac_provsrc:;
2967+
29642968
$ac_bdir[$]ac_hdrobj: $abs_srcdir/$ac_provsrc
29652969
dtrace -h -C -s $ac_srcdir[$]ac_provsrc -o \$[]@ && \$(SED) -ibak 's,PHP_,DTRACE_,g' \$[]@
29662970

0 commit comments

Comments
 (0)