thekid Wed, 07 Jul 2010 09:47:24 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=301035
Log: - Added -DSYB_LP64 to CFLAGS on 64 bit platforms # See http://cpansearch.perl.org/src/MEWP/DBD-Sybase-1.08/Makefile.PL: # # "If we are building for a 64 bit platform that also supports 32 bit # (i.e. Solaris 8, HP-UX11, etc) then we need to make some adjustments # [...] Tru64/DEC OSF does NOT use the SYB_LP64 define as it is ALWAYS # in 64 bit mode." # # Fixes bug #50827 Bug: http://bugs.php.net/50827 (Assigned) retcode != CS_END_RESULTS in exec_cmd() Changed paths: U php/php-src/trunk/ext/sybase_ct/config.m4 Modified: php/php-src/trunk/ext/sybase_ct/config.m4 =================================================================== --- php/php-src/trunk/ext/sybase_ct/config.m4 2010-07-07 08:45:27 UTC (rev 301034) +++ php/php-src/trunk/ext/sybase_ct/config.m4 2010-07-07 09:47:24 UTC (rev 301035) @@ -39,7 +39,12 @@ PHP_ADD_LIBRARY(sybct64,, SYBASE_CT_SHARED_LIBADD) PHP_ADD_LIBRARY(sybcomn64,, SYBASE_CT_SHARED_LIBADD) PHP_ADD_LIBRARY(sybintl64,, SYBASE_CT_SHARED_LIBADD) - + + ac_solid_uname_s=`uname -s 2>/dev/null` + case $ac_solid_uname_s in + *OSF*) ;; # Tru64/DEC OSF does NOT use the SYB_LP64 define + *) CFLAGS="${CFLAGS} -DSYB_LP64" ;; # + esac SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lsybcs64 -lsybct64 -lsybcomn64 -lsybintl64" PHP_CHECK_LIBRARY(sybtcl64, netg_errstr, [
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php