| Revision 1.9.2.2.2 | Revision 1.9.2.2.2.1 | 
    | 1 | <td>
  dnl
</td>
<th>
  1
</th>
<td>
  dnl
</td>
  
  
    | 2 | <td>
  dnl $Id: config.m4,v 1.9.2.2.2.<span class="vc_idiff_change">2</span> 200<span class="vc_idiff_change">8/10</span>/0<span class="vc_idiff_change">4</span> 1<span class="vc_idiff_change">3:19</span>:2<span class="vc_idiff_change">2 fel</span>ipe Exp $
</td>
<th>
  2
</th>
<td>
  dnl $Id: config.m4,v 1.9.2.2.2.<span class="vc_idiff_change">1</span> 200<span class="vc_idiff_change">7</span>/0<span class="vc_idiff_change">7/03</span> 1<span class="vc_idiff_change">7</span>:2<span class="vc_idiff_change">5:34 sn</span>ipe<span class="vc_idiff_add">r</span> Exp $
</td>
  
  
    | 3 | <td>
  dnl
</td>
<th>
  3
</th>
<td>
  dnl
</td>
  
  
    | 4 | <td>
   
</td>
<th>
  4
</th>
<td>
   
</td>
  
  
    | 5 | <td>
  PHP_ARG_WITH(mssql,for MSSQL support via FreeTDS,
</td>
<th>
  5
</th>
<td>
  PHP_ARG_WITH(mssql,for MSSQL support via FreeTDS,
</td>
  
  
    | 6 | <td>
  [ –with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home
</td>
<th>
  6
</th>
<td>
  [ –with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home
</td>
  
  
    | 7 | <td>
  directory [/usr/local/freetds]])
</td>
<th>
  7
</th>
<td>
  directory [/usr/local/freetds]])
</td>
  
  
    | 8 | <td>
   
</td>
<th>
  8
</th>
<td>
   
</td>
  
  
    | 9 | <td>
  if test “$PHP_MSSQL” != “no”; then
</td>
<th>
  9
</th>
<td>
  if test “$PHP_MSSQL” != “no”; then
</td>
  
  
    | 10 | <td>
   
</td>
<th>
  10
</th>
<td>
   
</td>
  
  
    | 11 | <td>
  if test “$PHP_MSSQL” = “yes”; then
</td>
<th>
  11
</th>
<td>
  if test “$PHP_MSSQL” = “yes”; then
</td>
  
  
    | 12 | <td>
  for i in /usr/local /usr; do
</td>
<th>
  12
</th>
<td>
  for i in /usr/local /usr; do
</td>
  
  
    | 13 | <td>
  if test -f $i/include/s<span class="vc_idiff_remove">ybdb</span>.h; then
</td>
<th>
  13
</th>
<td>
  if test -f $i/include/<span class="vc_idiff_add">td</span>s.h; then
</td>
  
  
    | 14 | <td>
  FREETDS_INSTALLATION_DIR=$i
</td>
<th>
  14
</th>
<td>
  FREETDS_INSTALLATION_DIR=$i
</td>
  
  
    | 15 | <td>
  FREETDS_INCLUDE_DIR=$i/include
</td>
<th>
  15
</th>
<td>
  FREETDS_INCLUDE_DIR=$i/include
</td>
  
  
    | 16 | <td>
  break
</td>
<th>
  16
</th>
<td>
  break
</td>
  
  
    | 17 | <td>
  elif test -f $i/include/freetds/s<span class="vc_idiff_remove">ybdb</span>.h; then
</td>
<th>
  17
</th>
<td>
  elif test -f $i/include/freetds/<span class="vc_idiff_add">td</span>s.h; then
</td>
  
  
    | 18 | <td>
  FREETDS_INSTALLATION_DIR=$i
</td>
<th>
  18
</th>
<td>
  FREETDS_INSTALLATION_DIR=$i
</td>
  
  
    | 19 | <td>
  FREETDS_INCLUDE_DIR=$i/include/freetds
</td>
<th>
  19
</th>
<td>
  FREETDS_INCLUDE_DIR=$i/include/freetds
</td>
  
  
    | 20 | <td>
  break
</td>
<th>
  20
</th>
<td>
  break
</td>
  
  
    | 21 | <td>
  fi
</td>
<th>
  21
</th>
<td>
  fi
</td>
  
  
    | 22 | <td>
  done
</td>
<th>
  22
</th>
<td>
  done
</td>
  
  
    | … | <th>
</th>
<th>
  …
</th>
<th>
</th>
  
  
    | 25 | <td>
  AC_MSG_ERROR(Cannot find FreeTDS in known installation directories)
</td>
<th>
  25
</th>
<td>
  AC_MSG_ERROR(Cannot find FreeTDS in known installation directories)
</td>
  
  
    | 26 | <td>
  fi
</td>
<th>
  26
</th>
<td>
  fi
</td>
  
  
    | 27 | <td>
   
</td>
<th>
  27
</th>
<td>
   
</td>
  
  
    | 28 | <td>
  elif test “$PHP_MSSQL” != “no”; then
</td>
<th>
  28
</th>
<td>
  elif test “$PHP_MSSQL” != “no”; then
</td>
  
  
    | 29 | <td>
   
</td>
<th>
  29
</th>
<td>
   
</td>
  
  
    | 30 | <td>
  if test -f $PHP_MSSQL/include/s<span class="vc_idiff_remove">ybdb</span>.h; then
</td>
<th>
  30
</th>
<td>
  if test -f $PHP_MSSQL/include/<span class="vc_idiff_add">td</span>s.h; then
</td>
  
  
    | 31 | <td>
  FREETDS_INSTALLATION_DIR=$PHP_MSSQL
</td>
<th>
  31
</th>
<td>
  FREETDS_INSTALLATION_DIR=$PHP_MSSQL
</td>
  
  
    | 32 | <td>
  FREETDS_INCLUDE_DIR=$PHP_MSSQL/include
</td>
<th>
  32
</th>
<td>
  FREETDS_INCLUDE_DIR=$PHP_MSSQL/include
</td>
  
  
    | 33 | <td>
  elif test -f $PHP_MSSQL/include/freetds/s<span class="vc_idiff_remove">ybdb</span>.h; then
</td>
<th>
  33
</th>
<td>
  elif test -f $PHP_MSSQL/include/freetds/<span class="vc_idiff_add">td</span>s.h; then
</td>
  
  
    | 34 | <td>
  FREETDS_INSTALLATION_DIR=$PHP_MSSQL
</td>
<th>
  34
</th>
<td>
  FREETDS_INSTALLATION_DIR=$PHP_MSSQL
</td>
  
  
    | 35 | <td>
  FREETDS_INCLUDE_DIR=$PHP_MSSQL/include/freetds
</td>
<th>
  35
</th>
<td>
  FREETDS_INCLUDE_DIR=$PHP_MSSQL/include/freetds
</td>
  
  
    | 36 | <td>
  else
</td>
<th>
  36
</th>
<td>
  else
</td>
  
  
    | 37 | <td>
  AC_MSG_ERROR(Directory $PHP_MSSQL is not a FreeTDS installation directory)
</td>
<th>
  37
</th>
<td>
  AC_MSG_ERROR(Directory $PHP_MSSQL is not a FreeTDS installation directory)
</td>
  
  
    | 38 | <td>
  fi
</td>
<th>
  38
</th>
<td>
  fi
</td>
  
  
    | 39 | <td>
  fi
</td>
<th>
  39
</th>
<td>
  fi
</td>
  
  
    | 40 | <td>
   
</td>
<th>
  40
</th>
<td>
   
</td>
  
  
    | 41 | <td>
  if test ! -r “$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libs<span class="vc_idiff_remove">ybdb</span>.a” && test ! -r “$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libs<span class="vc_idiff_remove">ybdb</span>.so”; then
</td>
<th>
  41
</th>
<td>
  if test ! -r “$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/lib<span class="vc_idiff_add">td</span>s.a” && test ! -r “$FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/lib<span class="vc_idiff_add">td</span>s.so”; then
</td>
  
  
    | 42 | <td>
  AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/libs<span class="vc_idiff_remove">ybdb</span>.[a|so])
</td>
<th>
  42
</th>
<td>
  AC_MSG_ERROR(Could not find $FREETDS_INSTALLATION_DIR/$PHP_LIBDIR/lib<span class="vc_idiff_add">td</span>s.[a|so])
</td>
  
  
    | 43 | <td>
  fi
</td>
<th>
  43
</th>
<td>
  fi
</td>
  
  
    | 44 | <td>
   
</td>
<th>
  44
</th>
<td>
   
</td>
  
  
    | 45 | <td>
  PHP_ADD_INCLUDE($FREETDS_INCLUDE_DIR)
</td>
<th>
  45
</th>
<td>
  PHP_ADD_INCLUDE($FREETDS_INCLUDE_DIR)
</td>
  
  
    | 46 | <td>
  PHP_ADD_LIBRARY_WITH_PATH(sybdb, $FREETDS_INSTALLATION_DIR/$PHP_LIBDIR, MSSQL_SHARED_LIBADD)
</td>
<th>
  46
</th>
<td>
  PHP_ADD_LIBRARY_WITH_PATH(sybdb, $FREETDS_INSTALLATION_DIR/$PHP_LIBDIR, MSSQL_SHARED_LIBADD)
</td>
  
  
    | 47 | <td>
   
</td>
<th>
  47
</th>
<td>
   
</td>