Skip to content

Commit 8fdf1ad

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: 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) Merge branch 'PHP-5.4'
2 parents 85cc3b3 + b90b551 commit 8fdf1ad

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
@@ -2962,8 +2962,12 @@ dnl DTrace objects
29622962
esac
29632963
29642964
dnl Generate Makefile.objects entries
2965+
dnl The empty $ac_provsrc command stops an implicit circular dependency
2966+
dnl in GNU Make which causes the .d file to be overwritten (Bug 61268)
29652967
cat>>Makefile.objects<<EOF
29662968
2969+
$abs_srcdir/$ac_provsrc:;
2970+
29672971
$ac_bdir[$]ac_hdrobj: $abs_srcdir/$ac_provsrc
29682972
CFLAGS="\$(CFLAGS_CLEAN)" dtrace -h -C -s $ac_srcdir[$]ac_provsrc -o \$[]@ && cp \$[]@ \$[]@.bak && \$(SED) 's,PHP_,DTRACE_,g' \$[]@.bak > \$[]@
29692973

0 commit comments

Comments
 (0)