tony2001                Wed Aug 23 09:47:07 2006 UTC

  Modified files:              
    /php-src/ext/reflection     config.m4 
    /php-src/ext/spl    config.m4 
  Log:
  build ext/spl and ext/reflection as static (fixes #38556)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/reflection/config.m4?r1=1.5&r2=1.6&diff_format=u
Index: php-src/ext/reflection/config.m4
diff -u php-src/ext/reflection/config.m4:1.5 
php-src/ext/reflection/config.m4:1.6
--- php-src/ext/reflection/config.m4:1.5        Sat Dec  3 01:12:35 2005
+++ php-src/ext/reflection/config.m4    Wed Aug 23 09:47:07 2006
@@ -1,13 +1,10 @@
-dnl $Id: config.m4,v 1.5 2005/12/03 01:12:35 sniper Exp $
+dnl $Id: config.m4,v 1.6 2006/08/23 09:47:07 tony2001 Exp $
 dnl config.m4 for extension reflection
 
 PHP_ARG_ENABLE(reflection, whether to enable reflection support,
 [  --disable-reflection    Disable reflection support], yes, no)
 
 if test "$PHP_REFLECTION" != "no"; then
-  if test "$ext_shared" = "yes"; then
-    AC_MSG_ERROR(Cannot build reflection as a shared module)
-  fi
   AC_DEFINE(HAVE_REFLECTION, 1, [Whether Reflection is enabled])
-  PHP_NEW_EXTENSION(reflection, php_reflection.c)
+  PHP_NEW_EXTENSION(reflection, php_reflection.c, no)
 fi
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/config.m4?r1=1.18&r2=1.19&diff_format=u
Index: php-src/ext/spl/config.m4
diff -u php-src/ext/spl/config.m4:1.18 php-src/ext/spl/config.m4:1.19
--- php-src/ext/spl/config.m4:1.18      Fri Mar  3 21:35:16 2006
+++ php-src/ext/spl/config.m4   Wed Aug 23 09:47:07 2006
@@ -1,13 +1,10 @@
-dnl $Id: config.m4,v 1.18 2006/03/03 21:35:16 helly Exp $
+dnl $Id: config.m4,v 1.19 2006/08/23 09:47:07 tony2001 Exp $
 dnl config.m4 for extension SPL
 
 PHP_ARG_ENABLE(spl, enable SPL suppport,
 [  --disable-spl           Disable Standard PHP Library], yes)
 
 if test "$PHP_SPL" != "no"; then
-  if test "$ext_shared" = "yes"; then
-    AC_MSG_ERROR(Cannot build SPL as a shared module)
-  fi
   AC_MSG_CHECKING(whether zend_object_value is packed)
   old_CPPFLAGS=$CPPFLAGS
   CPPFLAGS="$INCLUDES -I$abs_srcdir $CPPFLAGS"
@@ -31,5 +28,5 @@
   fi
   AC_DEFINE_UNQUOTED(HAVE_PACKED_OBJECT_VALUE, $ac_result, [Whether struct 
_zend_object_value is packed])
   AC_DEFINE(HAVE_SPL, 1, [Whether you want SPL (Standard PHP Library) 
support]) 
-  PHP_NEW_EXTENSION(spl, php_spl.c spl_functions.c spl_engine.c 
spl_iterators.c spl_array.c spl_directory.c spl_sxe.c spl_exceptions.c 
spl_observer.c, $ext_shared)
+  PHP_NEW_EXTENSION(spl, php_spl.c spl_functions.c spl_engine.c 
spl_iterators.c spl_array.c spl_directory.c spl_sxe.c spl_exceptions.c 
spl_observer.c, no)
 fi

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to