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