From: Andrei Zmievski Date: Mon, 9 Oct 2000 19:10:39 +0000 (+0000) Subject: Fix a misconfiguration error and missing return statement. X-Git-Tag: php-4.0.3~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a193c9ce3e02cd6b368c12fa394b2d8bba85d03e;p=php Fix a misconfiguration error and missing return statement. --- diff --git a/ext/swf/config.m4 b/ext/swf/config.m4 index ac75a3b766..25809a4822 100644 --- a/ext/swf/config.m4 +++ b/ext/swf/config.m4 @@ -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) diff --git a/ext/swf/swf.c b/ext/swf/swf.c index 32ec0c1aaf..d5bc6181ea 100644 --- a/ext/swf/swf.c +++ b/ext/swf/swf.c @@ -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)