Return to config.w32 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / mysqlnd |
1.1 ! misho 1: // $Id: config.w32 307880 2011-01-31 12:47:28Z kalle $ ! 2: // vim:ft=javascript ! 3: ! 4: ARG_WITH("mysqlnd", "Mysql Native Client Driver", "yes"); ! 5: if (PHP_MYSQLND != "no") { ! 6: ! 7: if (CHECK_LIB("ws2_32.lib", "mysqlnd")) { ! 8: mysqlnd_source = ! 9: "mysqlnd.c " + ! 10: "mysqlnd_block_alloc.c " + ! 11: "mysqlnd_charset.c " + ! 12: "mysqlnd_debug.c " + ! 13: "mysqlnd_loaddata.c " + ! 14: "mysqlnd_net.c " + ! 15: "mysqlnd_ps.c " + ! 16: "mysqlnd_ps_codec.c " + ! 17: "mysqlnd_result.c " + ! 18: "mysqlnd_result_meta.c " + ! 19: "mysqlnd_statistics.c " + ! 20: "mysqlnd_wireprotocol.c " + ! 21: "php_mysqlnd.c"; ! 22: EXTENSION("mysqlnd", mysqlnd_source, false); ! 23: if (((PHP_ZLIB=="no") && (CHECK_LIB("zlib_a.lib;zlib.lib", "mysqlnd", PHP_MYSQLND))) || ! 24: (PHP_ZLIB_SHARED && CHECK_LIB("zlib.lib", "mysqlnd", PHP_MYSQLND)) || (PHP_ZLIB == "yes" && (!PHP_ZLIB_SHARED))) ! 25: { ! 26: AC_DEFINE("MYSQLND_COMPRESSION_ENABLED", 1, "Compression support"); ! 27: AC_DEFINE("MYSQLND_SSL_SUPPORTED", 1, "SSL support"); ! 28: } ! 29: PHP_INSTALL_HEADERS("", "ext/mysqlnd"); ! 30: } ! 31: }