diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-03-19 20:14:46 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-03-19 20:14:46 +0100 |
commit | 9521d830b6341d1887dcfc2aebde23fbfa5f1473 (patch) | |
tree | db6b03aaca5ca4a254912ae1a7f3e5e89ee182e4 /tools/perf/config/feature-tests.mak | |
parent | bea95c152dee1791dd02cbc708afbb115bb00f9a (diff) | |
parent | c31a94570552dcaa517c4f7a043ffd28835016be (diff) |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Fixes for the last batch from Namhyung and the initial GTK report browser
from Pekka.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/config/feature-tests.mak')
-rw-r--r-- | tools/perf/config/feature-tests.mak | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/perf/config/feature-tests.mak b/tools/perf/config/feature-tests.mak index 6170fd2531b..d9084e03ce5 100644 --- a/tools/perf/config/feature-tests.mak +++ b/tools/perf/config/feature-tests.mak @@ -65,6 +65,21 @@ int main(void) endef endif +ifndef NO_GTK2 +define SOURCE_GTK2 +#pragma GCC diagnostic ignored \"-Wstrict-prototypes\" +#include <gtk/gtk.h> +#pragma GCC diagnostic error \"-Wstrict-prototypes\" + +int main(int argc, char *argv[]) +{ + gtk_init(&argc, &argv); + + return 0; +} +endef +endif + ifndef NO_LIBPERL define SOURCE_PERL_EMBED #include <EXTERN.h> |