100_config9-m4.patch 760 B

12345678910111213141516171819202122
  1. --- a/config9.m4 2016-09-08 21:39:18.000000000 +0200
  2. +++ b/config9.m4 2016-09-08 21:42:35.066903251 +0200
  3. @@ -71,18 +71,7 @@
  4. extname=$1
  5. haveext=$[PHP_]translit($1,a-z_-,A-Z__)
  6. AC_MSG_CHECKING([for ext/$extname support])
  7. - if test -x "$PHP_EXECUTABLE"; then
  8. - grepext=`$PHP_EXECUTABLE -m | $EGREP ^$extname\$`
  9. - if test "$grepext" = "$extname"; then
  10. - [PHP_HTTP_HAVE_EXT_]translit($1,a-z_-,A-Z__)=1
  11. - AC_MSG_RESULT([yes])
  12. - $2
  13. - else
  14. - [PHP_HTTP_HAVE_EXT_]translit($1,a-z_-,A-Z__)=
  15. - AC_MSG_RESULT([no])
  16. - $3
  17. - fi
  18. - elif test "$haveext" != "no" && test "x$haveext" != "x"; then
  19. + if test "$haveext" != "no" && test "x$haveext" != "x"; then
  20. [PHP_HTTP_HAVE_EXT_]translit($1,a-z_-,A-Z__)=1
  21. AC_MSG_RESULT([yes])
  22. $2