mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fix a misconfiguration error and missing return statement.
This commit is contained in:
parent
92b3dd06e3
commit
a193c9ce3e
@ -27,7 +27,7 @@ if test "$PHP_SWF" != "no"; then
|
||||
AC_ADD_INCLUDE($SWF_DIR/include)
|
||||
|
||||
PHP_SUBST(SWF_SHARED_LIBADD)
|
||||
AC_ADD_LIBRARY_WITH_PATH(swf, $SWF_DIR, SWF_SHARED_LIBADD)
|
||||
AC_ADD_LIBRARY_WITH_PATH(swf, $SWF_DIR/lib, SWF_SHARED_LIBADD)
|
||||
AC_DEFINE(HAVE_SWF,1,[ ])
|
||||
|
||||
PHP_EXTENSION(swf, $ext_shared)
|
||||
|
@ -157,6 +157,8 @@ PHP_MINIT_FUNCTION(swf)
|
||||
PHP_RINIT_FUNCTION(swf)
|
||||
{
|
||||
SWFG(use_file) = 0;
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
/* {{{ proto void swf_openfile(string name, double xsize, double ysize, double framerate, double r, double g, double b)
|
||||
|
Loading…
Reference in New Issue
Block a user