]> Pileus Git - ~andy/linux/blobdiff - tools/perf/perf.c
tools/perf/build: Split out feature checks: 'liberty', 'liberty-z', 'cplus-demangle'
[~andy/linux] / tools / perf / perf.c
index 85e1aed95204c21de59b2b80721735670839b814..245020cc6180e05ff87df7b8bc2f7e6755fdf247 100644 (file)
@@ -49,14 +49,14 @@ static struct cmd_struct commands[] = {
        { "version",    cmd_version,    0 },
        { "script",     cmd_script,     0 },
        { "sched",      cmd_sched,      0 },
-#ifdef LIBELF_SUPPORT
+#ifdef HAVE_LIBELF_SUPPORT
        { "probe",      cmd_probe,      0 },
 #endif
        { "kmem",       cmd_kmem,       0 },
        { "lock",       cmd_lock,       0 },
        { "kvm",        cmd_kvm,        0 },
        { "test",       cmd_test,       0 },
-#ifdef LIBAUDIT_SUPPORT
+#ifdef HAVE_LIBAUDIT_SUPPORT
        { "trace",      cmd_trace,      0 },
 #endif
        { "inject",     cmd_inject,     0 },