mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-14 04:15:35 +08:00
Create ac_override_2
This commit is contained in:
18
docker/ac_override_2
Normal file
18
docker/ac_override_2
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
AC_DEFUN([PHP_CHECK_LIBRARY], [
|
||||||
|
save_old_LDFLAGS=$LDFLAGS
|
||||||
|
ac_stuff="$5"
|
||||||
|
|
||||||
|
save_ext_shared=$ext_shared
|
||||||
|
ext_shared=yes
|
||||||
|
PHP_EVAL_LIBLINE([$]ac_stuff, LDFLAGS)
|
||||||
|
AC_CHECK_LIB([$1],[$2],[
|
||||||
|
LDFLAGS=$save_old_LDFLAGS
|
||||||
|
ext_shared=$save_ext_shared
|
||||||
|
$3
|
||||||
|
],[
|
||||||
|
LDFLAGS=$save_old_LDFLAGS
|
||||||
|
ext_shared=$save_ext_shared
|
||||||
|
unset ac_cv_lib_$1[]_$2
|
||||||
|
$4
|
||||||
|
])dnl
|
||||||
|
])
|
||||||
Reference in New Issue
Block a user