xref: /PHP-7.3/ext/recode/config9.m4 (revision 8d3f8ca1)
1dnl config.m4 for extension recode
2
3dnl Check for extensions with which Recode can not work
4if test "$PHP_RECODE" != "no"; then
5  test "$PHP_IMAP"  != "no" && recode_conflict="$recode_conflict imap"
6
7  if test -n "$MYSQL_LIBNAME"; then
8    PHP_CHECK_LIBRARY($MYSQL_LIBNAME, hash_insert, [
9      recode_conflict="$recode_conflict mysql"
10    ])
11  fi
12
13  if test -n "$recode_conflict"; then
14    AC_MSG_ERROR([recode extension can not be configured together with:$recode_conflict])
15  fi
16fi
17