Annotation of embedaddon/php/ext/pdo_odbc/config.w32, revision 1.1
1.1 ! misho 1: // $Id: config.w32 279202 2009-04-23 18:03:05Z pajoye $
! 2: // vim:ft=javascript
! 3:
! 4: ARG_WITH("pdo-odbc", "ODBC support for PDO", "no");
! 5:
! 6: if (PHP_PDO_ODBC != "no") {
! 7: if (CHECK_LIB("odbc32.lib", "pdo_odbc") && CHECK_LIB("odbccp32.lib", "pdo_odbc")
! 8: && CHECK_HEADER_ADD_INCLUDE('sql.h', 'CFLAGS_PDO_ODBC')
! 9: && CHECK_HEADER_ADD_INCLUDE('sqlext.h', 'CFLAGS_PDO_ODBC')) {
! 10:
! 11: EXTENSION("pdo_odbc", "pdo_odbc.c odbc_driver.c odbc_stmt.c");
! 12: ADD_EXTENSION_DEP('pdo_odbc', 'pdo');
! 13:
! 14: } else {
! 15: WARNING("pdo_odbc support can't be enabled, headers or libraries are missing (SDK)")
! 16: PHP_PDO_ODBC = "no"
! 17: }
! 18: }
! 19:
! 20:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>