diff options
author | William Cohen <wcohen@calfee.devel.redhat.com> | 2009-05-19 16:17:07 -0400 |
---|---|---|
committer | William Cohen <wcohen@calfee.devel.redhat.com> | 2009-05-19 16:17:07 -0400 |
commit | ce950257b8feb87e57726044dceec40b21bc2ce7 (patch) | |
tree | 9a6908f7f45bddf0e596bd65f7491487573ea308 | |
parent | d404c11425538c0af84a6ddecaa6652d0fe88085 (diff) | |
download | systemtap-steved-ce950257b8feb87e57726044dceec40b21bc2ce7.tar.gz systemtap-steved-ce950257b8feb87e57726044dceec40b21bc2ce7.tar.xz systemtap-steved-ce950257b8feb87e57726044dceec40b21bc2ce7.zip |
Disable building grapher code in rpm.
-rw-r--r-- | systemtap.spec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/systemtap.spec b/systemtap.spec index 5b9283cf..332fedf8 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -4,6 +4,7 @@ %{!?with_bundled_elfutils: %define with_bundled_elfutils 0} %{!?elfutils_version: %define elfutils_version 0.127} %{!?pie_supported: %define pie_supported 1} +%{!?with_grapher: %define with_grapher 0} Name: systemtap Version: 0.9.7 @@ -183,8 +184,14 @@ cd .. %define pie_config --disable-pie %endif +%if %{with_grapher} +%define grapher_config --enable-grapher +%else +%define grapher_config --disable-grapher +%endif + -%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} +%configure %{?elfutils_config} %{sqlite_config} %{crash_config} %{docs_config} %{pie_config} %{grapher_config} make %{?_smp_mflags} %install |