diff options
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 6170fd2531b5..d9084e03ce56 100644 --- a/tools/perf/config/feature-tests.mak +++ b/tools/perf/config/feature-tests.mak | |||
@@ -65,6 +65,21 @@ int main(void) | |||
65 | endef | 65 | endef |
66 | endif | 66 | endif |
67 | 67 | ||
68 | ifndef NO_GTK2 | ||
69 | define SOURCE_GTK2 | ||
70 | #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" | ||
71 | #include <gtk/gtk.h> | ||
72 | #pragma GCC diagnostic error \"-Wstrict-prototypes\" | ||
73 | |||
74 | int main(int argc, char *argv[]) | ||
75 | { | ||
76 | gtk_init(&argc, &argv); | ||
77 | |||
78 | return 0; | ||
79 | } | ||
80 | endef | ||
81 | endif | ||
82 | |||
68 | ifndef NO_LIBPERL | 83 | ifndef NO_LIBPERL |
69 | define SOURCE_PERL_EMBED | 84 | define SOURCE_PERL_EMBED |
70 | #include <EXTERN.h> | 85 | #include <EXTERN.h> |