php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #45357
Patch sybase-configm4_5.3.3.diff revision 2010-08-23 14:14 UTC by royanee at yahoo dot com
Patch sybase-configm4_updated.diff revision 2010-08-20 20:35 UTC by royanee at yahoo dot com
revision 2010-08-20 17:58 UTC by royanee at yahoo dot com

Patch sybase-configm4_5.3.3.diff for Sybase-ct (ctlib) related Bug #45357

Patch version 2010-08-23 14:14 UTC

Return to Bug #45357 | Download this patch
This patch renders other patches obsolete

Obsolete patches:

Patch Revisions:

Developer: royanee@yahoo.com

--- sybase_ct/config.m4 2010-07-07 06:15:24.000000000 -0400
+++ sybase_ct/config.m4 2010-08-23 10:08:13.000000000 -0400
@@ -34,7 +34,7 @@
   if test -f $SYBASE_CT_INCDIR/tds.h || test -f $SYBASE_CT_INCDIR/tds_sysdep_public.h; then
     PHP_ADD_LIBRARY(ct,, SYBASE_CT_SHARED_LIBADD)
     SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lct"
-  elif test -f $SYBASE_CT_INCDIR/libsybct64; then
+  elif test -f $SYBASE_CT_LIBDIR/libsybct64.so; then
     PHP_ADD_LIBRARY(sybcs64,, SYBASE_CT_SHARED_LIBADD)
     PHP_ADD_LIBRARY(sybct64,, SYBASE_CT_SHARED_LIBADD)
     PHP_ADD_LIBRARY(sybcomn64,, SYBASE_CT_SHARED_LIBADD)
@@ -57,7 +57,7 @@
   
     PHP_CHECK_LIBRARY(insck64, insck__getVdate, [PHP_ADD_LIBRARY(insck64,, SYBASE_CT_SHARED_LIBADD)],[],[-L$SYBASE_CT_LIBDIR])
     PHP_CHECK_LIBRARY(insck64, bsd_tcp,         [PHP_ADD_LIBRARY(insck64,, SYBASE_CT_SHARED_LIBADD)],[],[-L$SYBASE_CT_LIBDIR])
-  elif test -f $SYBASE_CT_INCDIR/libsybct; then
+  elif test -f $SYBASE_CT_LIBDIR/libsybct.so; then
     PHP_ADD_LIBRARY(sybcs,, SYBASE_CT_SHARED_LIBADD)
     PHP_ADD_LIBRARY(sybct,, SYBASE_CT_SHARED_LIBADD)
     PHP_ADD_LIBRARY(sybcomn,, SYBASE_CT_SHARED_LIBADD)

 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Jun 29 20:05:45 2022 UTC