X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=configure.ac;h=07b9c4dab97f85339ab42287b74923e06a4dfb0b;hp=5537c154015ebbf3177c430c5163be9656503f60;hb=65385a822c061a32c9059caac52f1a69bd06795b;hpb=a9caac65d268cb9ef11ac9b14027078002f6ec44 diff --git a/configure.ac b/configure.ac index 5537c1540..07b9c4dab 100644 --- a/configure.ac +++ b/configure.ac @@ -28,6 +28,13 @@ AC_PROG_SED AC_PROG_YACC LT_INIT +# Check for objcopy, required by the base address statedump and dynamic linker tests +AC_CHECK_TOOL([OBJCOPY], objcopy, no) +AS_IF([test "x$OBJCOPY" = xno], + [AC_MSG_WARN([Cannont find objcopy. The base address statedump and dynamic linker tests will be disabled. Install the binutils package to remediate this.])] +) +AM_CONDITIONAL([HAVE_OBJCOPY], [test "x$OBJCOPY" != xno]) + # Checks for typedefs, structures, and compiler characteristics. AC_C_INLINE AC_TYPE_INT32_T