Diff for /embedaddon/php/ext/pdo_sqlite/config.m4 between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 23:47:59 version 1.1.1.2, 2012/05/29 12:34:41
Line 19  if test "$PHP_PDO_SQLITE" != "no"; then Line 19  if test "$PHP_PDO_SQLITE" != "no"; then
   ],[    ],[
     AC_MSG_CHECKING([for PDO includes])      AC_MSG_CHECKING([for PDO includes])
     if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then      if test -f $abs_srcdir/include/php/ext/pdo/php_pdo_driver.h; then
      pdo_inc_path=$abs_srcdir/ext      pdo_cv_inc_path=$abs_srcdir/ext
     elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then      elif test -f $abs_srcdir/ext/pdo/php_pdo_driver.h; then
      pdo_inc_path=$abs_srcdir/ext      pdo_cv_inc_path=$abs_srcdir/ext
     elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then      elif test -f $prefix/include/php/ext/pdo/php_pdo_driver.h; then
      pdo_inc_path=$prefix/include/php/ext      pdo_cv_inc_path=$prefix/include/php/ext
     else      else
       AC_MSG_ERROR([Cannot find php_pdo_driver.h.])        AC_MSG_ERROR([Cannot find php_pdo_driver.h.])
     fi      fi
    AC_MSG_RESULT($pdo_inc_path)    AC_MSG_RESULT($pdo_cv_inc_path)
   ])    ])
   
   php_pdo_sqlite_sources_core="pdo_sqlite.c sqlite_driver.c sqlite_statement.c"    php_pdo_sqlite_sources_core="pdo_sqlite.c sqlite_driver.c sqlite_statement.c"
Line 70  if test "$PHP_PDO_SQLITE" != "no"; then Line 70  if test "$PHP_PDO_SQLITE" != "no"; then
     ])      ])
   
     PHP_SUBST(PDO_SQLITE_SHARED_LIBADD)      PHP_SUBST(PDO_SQLITE_SHARED_LIBADD)
    PHP_NEW_EXTENSION(pdo_sqlite, $php_pdo_sqlite_sources_core, $ext_shared,,-I$pdo_inc_path)    PHP_NEW_EXTENSION(pdo_sqlite, $php_pdo_sqlite_sources_core, $ext_shared,,-I$pdo_cv_inc_path)
   else    else
       # use bundled libs        # use bundled libs
       if test "$enable_maintainer_zts" = "yes"; then        if test "$enable_maintainer_zts" = "yes"; then
Line 92  if test "$PHP_PDO_SQLITE" != "no"; then Line 92  if test "$PHP_PDO_SQLITE" != "no"; then
   
       PHP_NEW_EXTENSION(pdo_sqlite,        PHP_NEW_EXTENSION(pdo_sqlite,
         $php_pdo_sqlite_sources_core,          $php_pdo_sqlite_sources_core,
        $ext_shared,,-DPDO_SQLITE_BUNDLED=1 $other_flags $threadsafe_flags -I$pdo_inc_path)        $ext_shared,,-DPDO_SQLITE_BUNDLED=1 $other_flags $threadsafe_flags -I$pdo_cv_inc_path)
   
       PHP_SUBST(PDO_SQLITE_SHARED_LIBADD)        PHP_SUBST(PDO_SQLITE_SHARED_LIBADD)
       PHP_ADD_EXTENSION_DEP(pdo_sqlite, sqlite3)        PHP_ADD_EXTENSION_DEP(pdo_sqlite, sqlite3)

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>