File: config.w32

package info (click to toggle)
php-maxminddb 1.12.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 148 kB
  • sloc: ansic: 684; xml: 54; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 427 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
ARG_WITH("maxminddb", "Enable MaxMind DB Reader extension support", "no");

if (PHP_MAXMINDDB == "yes") {
	if (CHECK_HEADER_ADD_INCLUDE("maxminddb.h", "CFLAGS_MAXMINDDB", PHP_MAXMINDDB +  ";" + PHP_PHP_BUILD + "\\include\\maxminddb") &&
		CHECK_LIB("libmaxminddb.lib", "maxminddb", PHP_MAXMINDDB)) {
		EXTENSION("maxminddb", "maxminddb.c");
	} else {
		WARNING('Could not find maxminddb.h or libmaxminddb.lib; skipping');
	}
}