]> git.pld-linux.org Git - packages/php.git/commitdiff
- added systemtap/dtrace support (on bcond)
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Oct 2014 20:17:34 +0000 (21:17 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 26 Oct 2014 20:17:34 +0000 (21:17 +0100)
php.spec

index 001880fb80e3b3a327ab6496f2c9057c93d3cefe..265a00919d836516ad1b00c6af2c733e88a4ce69 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -47,6 +47,7 @@
 %bcond_with    system_gd       # with system gd (imageantialias function is missing then)
 %bcond_with    system_libzip   # with system libzip (reported broken currently)
 %bcond_with    default_php     # use this PHP as default PHP in distro
+%bcond_with    systemtap       # systemtap/DTrace support
 %bcond_without curl            # without CURL extension module
 %bcond_without enchant         # without Enchant extension module
 %bcond_without filter          # without filter extension module
@@ -277,6 +278,7 @@ BuildRequires:      readline-devel
 BuildRequires: rpm >= 4.4.9-56
 BuildRequires: rpm-build >= 4.4.0
 BuildRequires: rpmbuild(macros) >= 1.566
+%{?with_systemtap:BuildRequires:       systemtap-sdt-devel}
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
 %if %{with sqlite3} || %{with pdo_sqlite}
@@ -2324,6 +2326,7 @@ for sapi in $sapis; do
        --enable-ctype=shared \
        --enable-dba=shared \
        --enable-dom=shared \
+       %{?with_systemtap:--enable-dtrace} \
        --enable-exif=shared \
        --enable-fileinfo=shared \
        --enable-ftp=shared \
This page took 0.065849 seconds and 4 git commands to generate.