From: Philippe Proulx Date: Sat, 27 Feb 2016 09:37:54 +0000 (-0500) Subject: configure.ac: test -a -> shell's && (more portable) X-Git-Tag: v2.8.0-rc1~17 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8f22f7fb23c633853f80b786828ffaa7e8464ae1;p=lttng-ust.git configure.ac: test -a -> shell's && (more portable) Signed-off-by: Philippe Proulx Signed-off-by: Mathieu Desnoyers --- diff --git a/configure.ac b/configure.ac index cfb2ddf5..78975914 100644 --- a/configure.ac +++ b/configure.ac @@ -210,9 +210,9 @@ AS_CASE([$host_cpu], [UST_SUPPORT_FOR_ARCH_PERF_EVENT_COUNTERS=no]) AC_MSG_RESULT([$UST_SUPPORT_FOR_ARCH_PERF_EVENT_COUNTERS]) -AM_CONDITIONAL([HAVE_PERF_EVENT], [test "x$have_perf_event" = "xyes" -a "x$UST_SUPPORT_FOR_ARCH_PERF_EVENT_COUNTERS" = "xyes"]) +AM_CONDITIONAL([HAVE_PERF_EVENT], [test "x$have_perf_event" = "xyes" && test "x$UST_SUPPORT_FOR_ARCH_PERF_EVENT_COUNTERS" = "xyes"]) -AS_IF([test "x$have_perf_event" = "xyes" -a "x$UST_SUPPORT_FOR_ARCH_PERF_EVENT_COUNTERS" = "xyes"], [ +AS_IF([test "x$have_perf_event" = "xyes" && test "x$UST_SUPPORT_FOR_ARCH_PERF_EVENT_COUNTERS" = "xyes"], [ AC_DEFINE([LTTNG_UST_HAVE_PERF_EVENT], [1]) ])