]> granicus.if.org Git - php/commitdiff
Prevent bug reports like #27260
authorfoobar <sniper@php.net>
Sun, 15 Feb 2004 17:54:19 +0000 (17:54 +0000)
committerfoobar <sniper@php.net>
Sun, 15 Feb 2004 17:54:19 +0000 (17:54 +0000)
ext/recode/config9.m4 [new file with mode: 0644]

diff --git a/ext/recode/config9.m4 b/ext/recode/config9.m4
new file mode 100644 (file)
index 0000000..1ee6a6d
--- /dev/null
@@ -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