X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config9.m4;fp=config9.m4;h=ec202b685e00c9dc70658050dbe3e7015129356b;hp=af3d55fd25531df5b77f6a1f8ecc07cf759f06d8;hb=f513f2b7d0b226d56d0fdb45f1f9f0463e139219;hpb=65e157fc937ac522327c9597f03edc23257102b6 diff --git a/config9.m4 b/config9.m4 index af3d55f..ec202b6 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])