cvs: php4 /ext/swf config.m4 swf.c
| From: | Andrei Zmievski | Date: | Mon, 09 Oct 2000 19:10:42 +0000 |
| Subject: | cvs: php4 /ext/swf config.m4 swf.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1968@lists.php.net to get a copy of this message | ||
andrei Mon Oct 9 12:10:42 2000 EDT
Modified files:
/php4/ext/swf config.m4 swf.c
Log:
Fix a misconfiguration error and missing return statement.
Index: php4/ext/swf/config.m4
diff -u php4/ext/swf/config.m4:1.8 php4/ext/swf/config.m4:1.9
--- php4/ext/swf/config.m4:1.8 Mon Jul 24 17:29:52 2000
+++ php4/ext/swf/config.m4 Mon Oct 9 12:10:39 2000
@@ -1,4 +1,4 @@
-dnl $Id: config.m4,v 1.8 2000/07/25 00:29:52 sterling Exp $
+dnl $Id: config.m4,v 1.9 2000/10/09 19:10:39 andrei Exp $
dnl config.m4 for extension libswf
PHP_ARG_WITH(swf, for libswf support,
@@ -27,7 +27,7 @@
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: php4/ext/swf/swf.c
diff -u php4/ext/swf/swf.c:1.25 php4/ext/swf/swf.c:1.26
--- php4/ext/swf/swf.c:1.25 Mon Sep 11 21:18:20 2000
+++ php4/ext/swf/swf.c Mon Oct 9 12:10:39 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: swf.c,v 1.25 2000/09/12 04:18:20 andi Exp $ */
+/* $Id: swf.c,v 1.26 2000/10/09 19:10:39 andrei Exp $ */
#include "php.h"
@@ -157,6 +157,8 @@
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)