X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=m4%2Fpsi.m4;h=37864d0db6075fec164956fcaf47e02b9746dcb4;hb=7e3b009ddee1508720d3493c3985654e8f21ea0e;hp=3853fa668374eb426bfe4879dcbdefcf71171c73;hpb=4894ee9055330ed9b001967112c5363ba91042ca;p=m6w6%2Fext-psi diff --git a/m4/psi.m4 b/m4/psi.m4 index 3853fa6..37864d0 100644 --- a/m4/psi.m4 +++ b/m4/psi.m4 @@ -164,6 +164,10 @@ AC_DEFUN([PSI_PKG_CONFIG], [ export PKG_CONFIG_PATH="$PHP_PSI_LIBFFI/lib/pkgconfig:$PHP_PSI_LIBJIT/lib/pkgconfig:$PKG_CONFIG_PATH" ]) +dnl PSI_SH_SIZEOF(type) +dnl expand to shell variable $ac_cv_sizeof_ +AC_DEFUN([PSI_SH_SIZEOF], [$AS_TR_SH([ac_cv_sizeof_]$1)]) + dnl PSI_SH_TEST_SIZEOF(type) dnl `if` condition to test if $ac_cv_sizeof_$1 is greater than 0. AC_DEFUN([PSI_SH_TEST_SIZEOF], [test -n "$AS_TR_SH([ac_cv_sizeof_]$1)" && test "$AS_TR_SH([ac_cv_sizeof_]$1)" -gt 0]) @@ -198,6 +202,11 @@ AC_DEFUN(PSI_CHECK_OFFSETOF, [ ) ]) +dnl PSI_SH_OFFSETOF(type) +dnl Expand to shell variable $ac_cv_offsetof_ +AC_DEFUN([PSI_SH_OFFSETOF], [$AS_TR_SH([ac_cv_offsetof_]$1)]) + + dnl PSI_COMPUTE_STR(variable, string or expression) dnl Compute a string constant value in a similar manner like AC_COMPUTE_INT. AC_DEFUN(PSI_COMPUTE_STR, [