perf tools: Make GTK2 support opt-in
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Sep 2020 20:11:59 +0000 (17:11 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 4 Sep 2020 20:11:59 +0000 (17:11 -0300)
commit4751bddd3f983af2004ec470ca38b42d7a8a53bc
treeb6c4ed5a830030d25cfe7e7e7425fefbbee2e87f
parent09b54b30ccdcd3e17cc13079f581b1a389b04939
perf tools: Make GTK2 support opt-in

This is bitrotting, nobody is stepping up to work on it, and since we
treat warnings as errors, feature detection is failing in its main,
faster test (tools/build/feature/test-all.c) because of the GTK+2
infobar check.

So make this opt-in, at some point ditch this if nobody volunteers to
take care of this.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/build/Makefile.feature
tools/build/feature/Makefile
tools/build/feature/test-all.c
tools/perf/Makefile.config
tools/perf/Makefile.perf
tools/perf/builtin-version.c