]> granicus.if.org Git - php/commitdiff
let PHP_ADD_EXTENSION_DEP() to take care of this
authorAntony Dovgal <tony2001@php.net>
Tue, 5 Dec 2006 23:51:18 +0000 (23:51 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 5 Dec 2006 23:51:18 +0000 (23:51 +0000)
ext/filter/config.m4

index 8587cbd2afc34c0b0b22e79182375bd0796291c6..b4e32a21a474a926093a65ba18e9ec370c8723d4 100644 (file)
@@ -39,13 +39,9 @@ yes
     CPPFLAGS=$old_CPPFLAGS
   fi
 
-  if test "$PHP_PCRE_REGEX" != "yes"; then
-    AC_MSG_ERROR([Could not compile filter extension against PHP without pcre support])
-  fi
-
   PHP_NEW_EXTENSION(filter, filter.c sanitizing_filters.c logical_filters.c callback_filter.c, $ext_shared)
   PHP_SUBST(FILTER_SHARED_LIBADD)
 
   PHP_INSTALL_HEADERS([ext/filter/php_filter.h])
-  PHP_ADD_EXTENSION_DEP(filter, pcre, true)
+  PHP_ADD_EXTENSION_DEP(filter, pcre)
 fi