X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=config9.m4;fp=config9.m4;h=0b31e0be6da9ccea8d7b467f6801db4c5cda3cb1;hp=c5e3d419bb42a4e035d66e58b1d3b29efabcb095;hb=bcee354222bc6ca624539a583a6d2856d19ae3ba;hpb=592c25cc9ea0b72843c2c2de84bd144e00a3231c diff --git a/config9.m4 b/config9.m4 index c5e3d41..0b31e0b 100644 --- a/config9.m4 +++ b/config9.m4 @@ -58,7 +58,7 @@ if test "$PHP_HTTP" != "no"; then [ --with-http-libidn2-dir[=DIR] HTTP: where to find libidn2], $PHP_HTTP_LIBCURL_DIR, no) if test "$PHP_HTTP_LIBIDN2_DIR" != "no"; then PECL_CHECK_CUSTOM(libidn2, "$PHP_HTTP_LIBIDN2_DIR", idn2.h, idn2, - [$($EGREP "define IDN2_VERSION " "$path/include/idn2.h" | $SED -e's/^.*VERSION //g' -e 's/@<:@^0-9\.@:>@//g')]) + [$($EGREP "define IDN2_VERSION " "include/idn2.h" | $SED -e's/^.*VERSION //g' -e 's/@<:@^0-9\.@:>@//g')]) if $PECL_VAR([HAVE_LIBIDN2]); then PECL_DEFINE([HAVE_IDNA2008]) fi @@ -120,7 +120,7 @@ if test "$PHP_HTTP" != "no"; then [ --with-http-libidnkit2-dir[=DIR] HTTP: where to find libidnkit2], $PHP_HTTP_LIBCURL_DIR, no) if test "$PHP_HTTP_LIBIDNKIT2_DIR" != "no"; then PECL_CHECK_CUSTOM(libidnkit2, "$PHP_HTTP_LIBIDNKIT2_DIR", idn/api.h, idnkit, - [$($EGREP "define IDNKIT_VERSION_LIBIDN\b" "$path/include/idn/version.h" | $SED -e's/^.*VERSION_LIBIDN//g' -e 's/@<:@^0-9\.@:>@//g')]) + [$($EGREP "define IDNKIT_VERSION_LIBIDN\b" "include/idn/version.h" | $SED -e's/^.*VERSION_LIBIDN//g' -e 's/@<:@^0-9\.@:>@//g')]) if $PECL_VAR([HAVE_LIBIDNKIT2]); then PECL_DEFINE([HAVE_IDNA2008]) fi @@ -135,7 +135,7 @@ if test "$PHP_HTTP" != "no"; then AC_MSG_WARN([libidnkit-$PECL_VAR([LIBIDNKIT2_VERSION]) already enabled, skipping libidnkit1]) else PECL_CHECK_CUSTOM(libidnkit, "$PHP_HTTP_LIBIDNKIT_DIR", idn/api.h, idnkit, - [$($EGREP "define IDNKIT_VERSION\b" "$path/include/idn/version.h" | $SED -e's/^.*VERSION//g' -e 's/@<:@^0-9\.@:>@//g')]) + [$($EGREP "define IDNKIT_VERSION\b" "include/idn/version.h" | $SED -e's/^.*VERSION//g' -e 's/@<:@^0-9\.@:>@//g')]) if $PECL_VAR([HAVE_LIBIDNKIT]); then PECL_DEFINE([HAVE_IDNA2003]) fi