Re: [PHP4BETA] cvs: php4 /ext/swf/ config.m4 swf.c

From: Date: Thu, 18 May 2000 05:51:04 +0000
Subject: Re: [PHP4BETA] cvs: php4 /ext/swf/ config.m4 swf.c
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-15174@lists.php.net to get a copy of this message
On Thu, May 18, 2000 at 12:39:00AM -0000, Sterling Hughes wrote: > sterling Thu May 18 02:39:00 2000 EDT > > Modified files: > /php4/ext/swf swf.c config.m4 > Log: > > Make the SWF module compile again + 1 stylistic change. > > if test "$PHP_SWF" != "no"; then > for i in /usr/local /usr $PHP_SWF; do > - if test -r $i/lib/libswf.a; then > + if test -r $i/libswf.a; then Do you think it make sense to lool for libswf.a in /usr/local or /usr and have the header file in the same directory? Though the distribution of libswf puts everything in one dir, it makes much more sense to install in lib and include. > SWF_DIR=$i > fi > done > @@ -21,7 +21,7 @@ > AC_ADD_INCLUDE($SWF_DIR/include) > > PHP_SUBST(SWF_SHARED_LIBADD) > - AC_ADD_LIBRARY_WITH_PATH(swf, $SWF_DIR/lib, SWF_SHARED_LIBADD) > + AC_ADD_LIBRARY_WITH_PATH(swf, $SWF_DIR, SWF_SHARED_LIBADD) > AC_DEFINE(HAVE_SWF,1,[ ]) > > PHP_EXTENSION(swf, $ext_shared) > > Uwe -- Uwe.Steinmann@fernuni-hagen.de Tel: +2331 987 4528 Fax: +2331 987 375

« previous php.version4 (#15174) next »