]> git.pld-linux.org Git - packages/php4.git/blob - php4-tds.patch
- rel 42; no pcre_info anymore
[packages/php4.git] / php4-tds.patch
1 --- php/ext/sybase_ct/config.m4~        2007-07-03 19:25:35.000000000 +0200
2 +++ php/ext/sybase_ct/config.m4 2008-06-16 10:42:20.463792334 +0200
3 @@ -31,7 +31,7 @@
4    fi
5    
6    PHP_ADD_LIBPATH($SYBASE_CT_LIBDIR, SYBASE_CT_SHARED_LIBADD)
7 -  if test -f $SYBASE_CT_INCDIR/tds.h; then
8 +  if test -f $SYBASE_CT_INCDIR/sybdb.h; then
9      PHP_ADD_LIBRARY(ct,, SYBASE_CT_SHARED_LIBADD)
10      SYBASE_CT_LIBS="-L$SYBASE_CT_LIBDIR -lct"
11    else
12 --- php-4.4.8/ext/mssql/config.m4.org   2008-06-16 11:00:30.226183384 +0200
13 +++ php-4.4.8/ext/mssql/config.m4       2008-06-16 11:00:54.402222204 +0200
14 @@ -13,7 +13,7 @@
15    if test "$PHP_MSSQL" = "yes"; then
16  
17      for i in /usr/local /usr; do
18 -      if test -f $i/include/tds.h; then
19 +      if test -f $i/include/sybdb.h; then
20          FREETDS_INSTALLATION_DIR=$i
21          break
22        fi
23 @@ -25,15 +25,15 @@
24  
25    elif test "$PHP_MSSQL" != "no"; then
26  
27 -    if test -f $PHP_MSSQL/include/tds.h; then
28 +    if test -f $PHP_MSSQL/include/sybdb.h; then
29        FREETDS_INSTALLATION_DIR=$PHP_MSSQL
30      else
31        AC_MSG_ERROR(Directory $PHP_MSSQL is not a FreeTDS installation directory)
32      fi
33    fi  
34  
35 -  if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.a" && test ! -r "$FREETDS_INSTALLATION_DIR/lib/libtds.so"; then
36 -     AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/lib/libtds.[a|so])
37 +  if test ! -r "$FREETDS_INSTALLATION_DIR/lib/libsybdb.a" && test ! -r "$FREETDS_INSTALLATION_DIR/lib/libsybdb.so"; then
38 +     AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/lib/libsybdb.[a|so])
39    fi
40  
41    MSSQL_INCDIR=$FREETDS_INSTALLATION_DIR/include
This page took 0.050186 seconds and 3 git commands to generate.