]> granicus.if.org Git - php/commitdiff
Fix a misconfiguration error and missing return statement.
authorAndrei Zmievski <andrei@php.net>
Mon, 9 Oct 2000 19:10:39 +0000 (19:10 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 9 Oct 2000 19:10:39 +0000 (19:10 +0000)
ext/swf/config.m4
ext/swf/swf.c

index ac75a3b7664e5a7ac268f556d231df70f09642f5..25809a482209b546f9a0c030f9517b3ab79cb743 100644 (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)
index 32ec0c1aafcf1bf2c5d555aef4a67236c6d32e12..d5bc6181ea943e0692f825d10f376f9834187189 100644 (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)