Skip to content

Commit

Permalink
Use PHP_EVAL_LIBLINE to make the check more ubiquitous
Browse files Browse the repository at this point in the history
  • Loading branch information
petk committed Sep 3, 2024
1 parent fbf6417 commit 8dd63d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8dd63d3

Please sign in to comment.