diff --git a/.github/workflows/build_shared.yml b/.github/workflows/build_shared.yml index 44031f0..66d9b25 100644 --- a/.github/workflows/build_shared.yml +++ b/.github/workflows/build_shared.yml @@ -10,9 +10,6 @@ jobs: strategy: matrix: include: - - architecture: 'x64' - compiler: 'gcc' - configure_options: '' - architecture: 'x64' compiler: 'gcc' configure_options: '--enable-wide-character-type' diff --git a/acinclude.m4 b/acinclude.m4 index e5b13d7..1886dbb 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1,6 +1,6 @@ dnl Checks for required headers and functions dnl -dnl Version: 20240413 +dnl Version: 20240525 dnl Function to detect if libcdirectory dependencies are available AC_DEFUN([AX_LIBCDIRECTORY_CHECK_LOCAL], diff --git a/configure.ac b/configure.ac index dbfa720..0c69044 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.71]) AC_INIT( [libcdirectory], - [20240512], + [20240916], [joachim.metz@gmail.com]) AC_CONFIG_SRCDIR( diff --git a/libcdirectory.ini b/libcdirectory.ini index 222ef33..3ad689d 100644 --- a/libcdirectory.ini +++ b/libcdirectory.ini @@ -7,5 +7,6 @@ features: ["debug_output"] [library] description: "Library to support cross-platform C directory functions" +features: ["wide_character_type"] public_types: ["directory", "directory_entry"] 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], diff --git a/m4/libclocale.m4 b/m4/libclocale.m4 index 93e4a01..e9cb5bb 100644 --- a/m4/libclocale.m4 +++ b/m4/libclocale.m4 @@ -1,6 +1,6 @@ dnl Checks for libclocale required headers and functions dnl -dnl Version: 20240512 +dnl Version: 20240513 dnl Function to detect if libclocale is available dnl ac_libclocale_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -59,7 +59,9 @@ AC_DEFUN([AX_LIBCLOCALE_CHECK_LIB], AS_IF( [test "x$ac_cv_header_libclocale_h" = xno], [ac_cv_libclocale=no], - [AX_CHECK_LIB_FUNCTIONS( + [ac_cv_libclocale=yes + + AX_CHECK_LIB_FUNCTIONS( [libclocale], [clocale], [[libclocale_get_version], diff --git a/m4/libuna.m4 b/m4/libuna.m4 index 052142b..fe1fd40 100644 --- a/m4/libuna.m4 +++ b/m4/libuna.m4 @@ -1,6 +1,6 @@ dnl Checks for libuna or required headers and functions dnl -dnl Version: 20240512 +dnl Version: 20240513 dnl Function to detect if libuna is available dnl ac_libuna_dummy is used to prevent AC_CHECK_LIB adding unnecessary -l arguments @@ -38,7 +38,9 @@ AC_DEFUN([AX_LIBUNA_CHECK_LIB], AS_IF( [test "x$ac_cv_header_libuna_h" = xno], [ac_cv_libuna=no], - [AX_CHECK_LIB_FUNCTIONS( + [ac_cv_libuna=yes + + AX_CHECK_LIB_FUNCTIONS( [libuna], [una], [[libuna_get_version],