Fix a misconfiguration error and missing return statement.

This commit is contained in:
Andrei Zmievski 2000-10-09 19:10:39 +00:00
parent 92b3dd06e3
commit a193c9ce3e
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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)