Skip to content

Commit

Permalink
ax_lib_elfutils -> bt_lib_elfutils
Browse files Browse the repository at this point in the history
`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 <[email protected]>
Signed-off-by: Jérémie Galarneau <[email protected]>
  • Loading branch information
eepp authored and jgalar committed May 26, 2017
1 parent 65b80f2 commit ec294ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,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])
], [])

Expand Down
6 changes: 3 additions & 3 deletions m4/ax_lib_elfutils.m4 → m4/bt_lib_elfutils.m4
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
#
Expand All @@ -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], [:]))
Expand Down

0 comments on commit ec294ef

Please sign in to comment.