On Wed, 2002-11-13 at 18:03, Brian Foddy wrote: > Timm, > > I've seen it used for 10 years on Solaris, and I spent about > a year working on Irix and Informix, and there were some > references to it there also. > > strings libtli.so | grep "^Sybase" > Sybase TCP/IP TLI Library/12.0/P/SPARC/Solaris 2.5.1/1/OPT/Sat Sep 25 > 21:07:40 1999 > Sybase, Inc. All rights reserved. > Sybase, Inc. 6475 Christie Avenue, Emeryville, CA 94608, USA
OK, so it should probably be added for those systems. A line like this should be added to config.m4 (wrapped for readability), could you provide the second parameter here: PHP_CHECK_LIBRARY( tli, ---???---, [PHP_ADD_LIBRARY(tli,,SYBASE_CT_SHARED_LIBADD)], [], [-L$SYBASE_CT_LIBDIR] ) or is maybe the pure existance of this file enough: thekid@friebes:~/devel/php/php4 > cvs diff ext/sybase_ct/config.m4 Index: ext/sybase_ct/config.m4 =================================================================== RCS file: /repository/php4/ext/sybase_ct/config.m4,v retrieving revision 1.11 diff -u -r1.11 config.m4 --- ext/sybase_ct/config.m4 12 Mar 2002 16:36:30 -0000 1.11 +++ ext/sybase_ct/config.m4 14 Nov 2002 12:07:33 -0000 @@ -44,7 +44,11 @@ ],[ $SYBASE_CT_LIBS ]) - + + if test -f $SYBASE_CT_LIBDIR/libtli.so ; then + PHP_ADD_LIBRARY(tli,, SYBASE_CT_SHARED_LIBADD) + SYBASE_CT_LIBS="$SYBASE_CT_LIBS -ltli" + fi -- Timm Any sufficiently advanced bug is indistinguishable from a feature -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php