summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorDavid Soria Parra <dsp@php.net>2010-05-07 14:46:27 +0000
committerDavid Soria Parra <dsp@php.net>2010-05-07 14:46:27 +0000
commitb5c1e53bc881c0de8f717c8c4540168e8f69248c (patch)
tree0792e4bd4402cad7aad21fbd556f3b6e40c84701 /acinclude.m4
parent74fe9dd89ef011e508702c3ec7796f704a73f43e (diff)
downloadphp-git-b5c1e53bc881c0de8f717c8c4540168e8f69248c.tar.gz
Abort with an error message if we cannot create the DTrace header file.
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index b6a072b806..c6852192d3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2928,7 +2928,6 @@ dnl
dnl Generate platform specific dtrace header
dnl
AC_DEFUN([PHP_INIT_DTRACE], [
- dtrace -h -C -s $abs_srcdir/$1 -o $abs_builddir/$2
- $SED -ibak 's,PHP_,DTRACE_,g' $abs_builddir/$2
+ dtrace -h -C -s $abs_srcdir/$1 -o $abs_builddir/$2 && $SED -ibak 's,PHP_,DTRACE_,g' $abs_builddir/$2 || AC_MSG_ERROR([cannot create DTrace header file])
])