Re: [PHP4BETA] cvs: php4 /ext/swf/ config.m4 swf.c
[email protected] (Uwe Steinmann)
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 18, 2000 at 07:42:35AM -0400, Sterling Hughes wrote: > Uwe Steinmann wrote: > > > > 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. > > > > For me and any other user that might want to do this, it is simpler to > just go: > > ./configure --with-swf=/root/dist > > instead of having to installl swf in the lib directory. Also users will > always specify the path to libswf.a when specifying a directory and the > configure will fail with the old script. I can't think of any other module where the user specifies the path to the library. If I install a lib+header-files in /usr/local it is common that the library goes into /usr/local/lib and the header-file goes into /usr/local/include. A an administrator I wouldn't like to put everything into /usr/local. Does that make sense? Uwe -- [email protected] Tel: +2331 987 4528 Fax: +2331 987 375