From 2f7c65e0dd4b51af7754550bce4d1f26a6e1fd85 Mon Sep 17 00:00:00 2001 From: Jeroen Mostert Date: Fri, 2 Aug 2024 20:44:56 +0000 Subject: [PATCH] Use POSIX compatible redirect --- oac_check_package.m4 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oac_check_package.m4 b/oac_check_package.m4 index 6ab607b..4c50bad 100644 --- a/oac_check_package.m4 +++ b/oac_check_package.m4 @@ -595,7 +595,7 @@ AC_DEFUN([_OAC_CHECK_PACKAGE_GENERIC_PREFIX], [ [check_package_generic_prefix_happy=0 AS_IF([test -n "${check_package_libdir}"], [AC_MSG_CHECKING([for $1 library (${check_package_generic_search_lib}) in ${check_package_libdir}]) - ls ${check_package_libdir}/lib${check_package_generic_search_lib}.* 1>&/dev/null 2>&1 + ls ${check_package_libdir}/lib${check_package_generic_search_lib}.* >/dev/null 2>&1 AS_IF([test $? -eq 0], [check_package_generic_prefix_happy=1 $2_LDFLAGS="-L${check_package_libdir}" @@ -604,9 +604,9 @@ AC_DEFUN([_OAC_CHECK_PACKAGE_GENERIC_PREFIX], [ [check_package_generic_prefix_lib=0 check_package_generic_prefix_lib64=0 - ls ${check_package_prefix}/lib/lib${check_package_generic_search_lib}.* 1>&/dev/null 2>&1 + ls ${check_package_prefix}/lib/lib${check_package_generic_search_lib}.* >/dev/null 2>&1 AS_IF([test $? -eq 0], [check_package_generic_prefix_lib=1]) - ls ${check_package_prefix}/lib64/lib${check_package_generic_search_lib}.* 1>&/dev/null 2>&1 + ls ${check_package_prefix}/lib64/lib${check_package_generic_search_lib}.* >/dev/null 2>&1 AS_IF([test $? -eq 0], [check_package_generic_prefix_lib64=1]) AC_MSG_CHECKING([for $1 library (${check_package_generic_search_lib}) in ${check_package_prefix}])