From 8dd63d3f7daa18df948d3b13b4508dd222320722 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Tue, 3 Sep 2024 02:09:56 +0200 Subject: [PATCH] Use PHP_EVAL_LIBLINE to make the check more ubiquitous --- config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.m4 b/config.m4 index 6eea7a5..11c3641 100644 --- a/config.m4 +++ b/config.m4 @@ -221,7 +221,7 @@ if test "$PHP_APCU" != "no"; then AC_SEARCH_LIBS([shm_open], [rt]) LIBS=$LIBS_SAVED AS_CASE([$ac_cv_search_shm_open], ["none required"|no], [], - [PHP_ADD_LIBRARY([rt], [], [APCU_SHARED_LIBADD])]) + [PHP_EVAL_LIBLINE([$ac_cv_search_shm_open], [APCU_SHARED_LIBADD])]) PHP_NEW_EXTENSION([apcu], [$apc_sources], [$ext_shared],, [$APCU_CFLAGS]) PHP_SUBST(APCU_SHARED_LIBADD)