diff options
-rw-r--r-- | ext/recode/config9.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ext/recode/config9.m4 b/ext/recode/config9.m4 new file mode 100644 index 0000000000..1ee6a6d3f0 --- /dev/null +++ b/ext/recode/config9.m4 @@ -0,0 +1,14 @@ +dnl +dnl $Id$ +dnl + +dnl Check for extensions with which Recode can not work +if test "$PHP_RECODE" != "no"; then + test "$PHP_IMAP" != "no" && recode_conflict="$recode_conflict imap" + test "$PHP_MYSQL" != "no" && recode_conflict="$recode_conflict mysql" + test "$PHP_YAZ" != "no" && recode_conflict="$recode_conflict yaz" + + if test -n "$recode_conflict"; then + AC_MSG_ERROR([recode extension can not be configured together with:$recode_conflict]) + fi +fi |