X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config9.m4;h=02075136667636706976d8274c2af7eefe5099b0;hp=af3d55fd25531df5b77f6a1f8ecc07cf759f06d8;hb=0def9ac3203324968db21619a18d2c5473458130;hpb=a31ea1ffd4235e28db9ae43cc244aa164c016a2a diff --git a/config9.m4 b/config9.m4 index af3d55f..0207513 100644 --- a/config9.m4 +++ b/config9.m4 @@ -122,6 +122,11 @@ dnl ---- done if test "x$IDNA_DIR" = "x"; then AC_MSG_RESULT([not found]) + case $host_os in + darwin*) + AC_CHECK_HEADERS(unicode/uidna.h) + PHP_CHECK_FUNC(uidna_IDNToASCII, icucore);; + esac else AC_MSG_RESULT([found in $IDNA_DIR]) AC_DEFINE([PHP_HTTP_HAVE_IDN], [1], [Have libidn support]) @@ -505,12 +510,6 @@ dnl ---- fi ]) -dnl ---- -dnl JSON -dnl ---- - HTTP_HAVE_PHP_EXT([json]) - - dnl ---- dnl ICONV dnl ---- @@ -555,11 +554,10 @@ dnl ---- dnl shared extension deps HTTP_SHARED_DEP([hash]) HTTP_SHARED_DEP([iconv]) - HTTP_SHARED_DEP([json]) dnl extension deps PHP_ADD_EXTENSION_DEP([http], [raphf], true) - PHP_ADD_EXTENSION_DEP([http], [propo], true) + PHP_ADD_EXTENSION_DEP([http], [propro], true) PHP_SUBST([HTTP_SHARED_LIBADD])