summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2010-05-07 15:17:34 +0000
committerAntony Dovgal <tony2001@php.net>2010-05-07 15:17:34 +0000
commite68ffa09e07e29464352ba2ae384561a0c43d704 (patch)
treed5561125f2417934a4b28b35f24e4796323fecbf /acinclude.m4
parent4e177642c64b21060b58f4e7308d1334ac7ec11e (diff)
downloadphp-git-e68ffa09e07e29464352ba2ae384561a0c43d704.tar.gz
make the code more readable
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index c6852192d3..6b009a5ee2 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2928,6 +2928,10 @@ 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 || AC_MSG_ERROR([cannot create DTrace header file])
+ dtrace -h -C -s $abs_srcdir/$1 -o $abs_builddir/$2
+ if test "$?" != "0"; then
+ AC_MSG_ERROR([cannot create DTrace header file])
+ fi
+ $SED -ibak 's,PHP_,DTRACE_,g' $abs_builddir/$2
])