thekid                                   Tue, 31 Aug 2010 12:28:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=302918

Log:
- MFT: Add ".so" suffix to checks on libsybct[64] bundles
# See patch by royanee at yahoo dot com @ bug #45357

Bug: http://bugs.php.net/45357 (Duplicate) sybase-ct fails against sybase-15_0 
on 64-bit centos 5
      
Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/sybase_ct/config.m4

Modified: php/php-src/branches/PHP_5_3/ext/sybase_ct/config.m4
===================================================================
--- php/php-src/branches/PHP_5_3/ext/sybase_ct/config.m4        2010-08-31 
12:27:29 UTC (rev 302917)
+++ php/php-src/branches/PHP_5_3/ext/sybase_ct/config.m4        2010-08-31 
12:28:30 UTC (rev 302918)
@@ -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_INCDIR/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_INCDIR/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 CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to