From d6006204ebe8c462b4763708346295556c82ad7a Mon Sep 17 00:00:00 2001 From: Joachim Metz Date: Thu, 19 Sep 2024 04:50:33 +0200 Subject: [PATCH] Applied updates --- acinclude.m4 | 2 +- configure.ac | 2 +- m4/common.m4 | 6 ++---- m4/libcerror.m4 | 6 ++++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index e77c3fa..9b568c3 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,6 +1,6 @@ dnl Checks for required headers and functions dnl -dnl Version: 20240512 +dnl Version: 20240513 dnl Function to detect if libcnotify dependencies are available AC_DEFUN([AX_LIBCNOTIFY_CHECK_LOCAL], diff --git a/configure.ac b/configure.ac index d2e7514..6365d13 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.71]) AC_INIT( [libcnotify], - [20240512], + [20240919], [joachim.metz@gmail.com]) AC_CONFIG_SRCDIR( diff --git a/m4/common.m4 b/m4/common.m4 index 0660d71..c2ea816 100644 --- a/m4/common.m4 +++ b/m4/common.m4 @@ -1,6 +1,6 @@ dnl Checks for common headers and functions dnl -dnl Version: 20240512 +dnl Version: 20240513 dnl Function to test if a certain feature was disabled AC_DEFUN([AX_COMMON_ARG_DISABLE], @@ -599,9 +599,7 @@ AC_DEFUN([AX_CHECK_LIB_DEFINITIONS], dnl Function to test if a library with specific functions is available AC_DEFUN([AX_CHECK_LIB_FUNCTIONS], - [ac_cv_$1=yes - - m4_foreach( + [m4_foreach( [function], [$3], [AC_CHECK_LIB( diff --git a/m4/libcerror.m4 b/m4/libcerror.m4 index 44ce6f3..02263bb 100644 --- a/m4/libcerror.m4 +++ b/m4/libcerror.m4 @@ -1,6 +1,6 @@ dnl Checks for libcerror required headers and functions dnl -dnl Version: 20240511 +dnl Version: 20240513 dnl Function to detect if libcerror is available dnl ac_libcerror_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -38,7 +38,9 @@ AC_DEFUN([AX_LIBCERROR_CHECK_LIB], AS_IF( [test "x$ac_cv_header_libcerror_h" = xno], [ac_cv_libcerror=no], - [AX_CHECK_LIB_FUNCTIONS( + [ac_cv_libcerror=yes + + AX_CHECK_LIB_FUNCTIONS( [libcerror], [cerror], [[libcerror_get_version],