File: config.w32

package info (click to toggle)
php-propro 2.0.1%2B1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 260 kB
  • ctags: 106
  • sloc: ansic: 1,001; xml: 129; php: 18; makefile: 1
file content (16 lines) | stat: -rw-r--r-- 513 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

ARG_ENABLE("propro", "for propro support", "no");

if (PHP_PROPRO == "yes") {
	var PHP_PROPRO_HEADERS=glob("src/*.h"), PHP_PROPRO_SOURCES=glob("src/*.c");

	EXTENSION("propro", PHP_PROPRO_SOURCES);
	PHP_INSTALL_HEADERS("ext/propro", "php_propro.h");
	for (var i=0; i<PHP_PROPRO_HEADERS.length; ++i) {
		var basename = FSO.GetFileName(PHP_PROPRO_HEADERS[i]);
		copy_and_subst(PHP_PROPRO_HEADERS[i], basename, []);
		PHP_INSTALL_HEADERS("ext/propro", basename);
	}

	AC_DEFINE("HAVE_PROPRO", 1);
}