diff options
author | Andrei Zmievski <andrei@php.net> | 2000-10-09 19:10:39 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2000-10-09 19:10:39 +0000 |
commit | a193c9ce3e02cd6b368c12fa394b2d8bba85d03e (patch) | |
tree | 6f8937950f8ed9bca95424c404b779bf5fee8f2a | |
parent | 92b3dd06e301db83ded4a5609272b6c6d4d4d68f (diff) | |
download | php-git-a193c9ce3e02cd6b368c12fa394b2d8bba85d03e.tar.gz |
Fix a misconfiguration error and missing return statement.
-rw-r--r-- | ext/swf/config.m4 | 2 | ||||
-rw-r--r-- | ext/swf/swf.c | 2 |
2 files changed, 3 insertions, 1 deletions
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) |