X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=config.m4;h=f63f52d926b90b40bdf703c10cd0714278f294a8;hp=1a6fbeca7975ee41e43d355c973a9aaa85f44d83;hb=d4bd55e7d9b1cf63cd6fdc96b70010a0c2aca963;hpb=a7ac1c0a3c855321f21682c127a4b707de33a303 diff --git a/config.m4 b/config.m4 index 1a6fbec..f63f52d 100644 --- a/config.m4 +++ b/config.m4 @@ -1,12 +1,3 @@ -PHP_PSI_SRCDIR=PHP_EXT_SRCDIR(psi) - -case "PHP_EXT_BUILDDIR(psi)" in -""|.) PHP_PSI_BUILDDIR=$PHP_PSI_SRCDIR - ;; -*) PHP_PSI_BUILDDIR=PHP_EXT_BUILDDIR(psi) - ;; -esac - m4_foreach(incfile, [ [ax/ax_check_sign.m4], [ax/ax_pthread.m4], @@ -52,8 +43,16 @@ if test "$PHP_PSI" != no; then ]) AC_MSG_CHECKING([psi source dir]) + PHP_PSI_SRCDIR=PHP_EXT_SRCDIR(psi) AC_MSG_RESULT([$PHP_PSI_SRCDIR]) + AC_MSG_CHECKING([psi build dir]) + case "PHP_EXT_BUILDDIR(psi)" in + ""|.) PHP_PSI_BUILDDIR=$PHP_PSI_SRCDIR + ;; + *) PHP_PSI_BUILDDIR=PHP_EXT_BUILDDIR(psi) + ;; + esac AC_MSG_RESULT([$PHP_PSI_BUILDDIR]) PSI_CHECK_LIBJIT