updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / php-pdo_dblib / freetds.patch
blob698aeace3423cb5b476453b3a234a983f0baf45d
1 --- configure 2011-10-26 21:19:17.203069001 +0300
2 +++ configure 2011-10-27 17:37:36.467863821 +0300
3 @@ -4402,11 +4402,11 @@
4 if test "$PHP_PDO_DBLIB" = "yes"; then
6 for i in /usr/local /usr; do
7 - if test -f $i/include/tds.h; then
8 + if test -f $i/include/tds_sysdep_public.h; then
9 PDO_FREETDS_INSTALLATION_DIR=$i
10 PDO_FREETDS_INCLUDE_DIR=$i/include
11 break
12 - elif test -f $i/include/freetds/tds.h; then
13 + elif test -f $i/include/freetds/tds_sysdep_public.h; then
14 PDO_FREETDS_INSTALLATION_DIR=$i
15 PDO_FREETDS_INCLUDE_DIR=$i/include/freetds
16 break;
17 @@ -4434,9 +4434,9 @@
18 PHP_LIBDIR=lib
21 - if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.so"; then
22 - as_fn_error $? "Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a|so" "$LINENO" 5
23 - fi
24 + #if test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a" && test ! -r "$PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.so"; then
25 + # as_fn_error $? "Could not find $PDO_FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libtds.a|so" "$LINENO" 5
26 + #fi
29 if test "$PDO_FREETDS_INCLUDE_DIR" != "/usr/include"; then