From c9cd75623256f6e7dc7ea5c216fcf3d8b57da60f Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 2 Nov 2016 02:01:30 -0400 Subject: [PATCH] ax_lib_elfutils -> bt_lib_elfutils MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit `ax` is a prefix for the GNU Autoconf Archive. `ax_lib_elfutils` should be namespaced within the project here, with the `bt_` prefix. Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- configure.ac | 2 +- m4/{ax_lib_elfutils.m4 => bt_lib_elfutils.m4} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename m4/{ax_lib_elfutils.m4 => bt_lib_elfutils.m4} (94%) diff --git a/configure.ac b/configure.ac index 22b5d5d9..24e92974 100644 --- a/configure.ac +++ b/configure.ac @@ -274,7 +274,7 @@ AS_IF([test "x$_enable_debug_info" = xyes], [ # Check if libelf and libdw are present AC_CHECK_LIB([elf], [elf_version], [], [AC_MSG_ERROR(Missing libelf (from elfutils >= 0.154) which is required by debug info. You can disable this feature using --disable-debug-info.)]) AC_CHECK_LIB([dw], [dwarf_begin], [], [AC_MSG_ERROR(Missing libdw (from elfutils >= 0.154) which is required by debug info. You can disable this feature using --disable-debug-info.)]) - AX_LIB_ELFUTILS([0], [154], [:], [AC_MSG_ERROR(elfutils >= 0.154 is required to use the debug info feature. You can disable this feature using --disable-debug-info.)]) + BT_LIB_ELFUTILS([0], [154], [:], [AC_MSG_ERROR(elfutils >= 0.154 is required to use the debug info feature. You can disable this feature using --disable-debug-info.)]) AC_DEFINE([ENABLE_DEBUG_INFO], [1], [Define to 1 if you enable the 'debug info' feature]) ], []) diff --git a/m4/ax_lib_elfutils.m4 b/m4/bt_lib_elfutils.m4 similarity index 94% rename from m4/ax_lib_elfutils.m4 rename to m4/bt_lib_elfutils.m4 index 5cefc748..d1a5716b 100644 --- a/m4/ax_lib_elfutils.m4 +++ b/m4/bt_lib_elfutils.m4 @@ -1,4 +1,4 @@ -# ax_lib_elfutils.m4 -- Check elfutils version +# bt_lib_elfutils.m4 -- Check elfutils version # # Copyright (C) 2016 - Jérémie Galarneau # @@ -25,9 +25,9 @@ # # The cache variable for this test is `bt_cv_lib_elfutils`. # -# AX_LIB_ELFUTILS(MAJOR_VERSION, MINOR_VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) +# BT_LIB_ELFUTILS(MAJOR_VERSION, MINOR_VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) # --------------------------------------------------------------------------- -AC_DEFUN([AX_LIB_ELFUTILS], [ +AC_DEFUN([BT_LIB_ELFUTILS], [ m4_pushdef([major_version], [$1]) m4_pushdef([minor_version], [$2]) m4_pushdef([true_action], m4_default([$3], [:])) -- 2.34.1