File: config.w32

package info (click to toggle)
php-facedetect 1.1.0-19-g135c72a-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 112 kB
  • sloc: cpp: 150; makefile: 14
file content (19 lines) | stat: -rw-r--r-- 658 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// $Id$
// vim:ft=javascript

ARG_WITH("facedetect", "for facedetect support", "no");

if (PHP_FACEDETECT == "yes") {
	if (CHECK_LIB("opencv_objdetect*.lib", "facedetect", PHP_FACEDETECT) &&
		CHECK_LIB("opencv_core*.lib", "facedetect", PHP_FACEDETECT) &&
		CHECK_LIB("opencv_imgproc*.lib", "facedetect", PHP_FACEDETECT) &&
		CHECK_LIB("opencv_highgui*.lib", "facedetect", PHP_FACEDETECT) &&
		CHECK_HEADER_ADD_INCLUDE("opencv2/core/core_c.h", "CFLAGS_FFACEDETECT")) {

		AC_DEFINE("HAVE_FACEDETECT", 1);

		EXTENSION("facedetect", "facedetect.c", true);
	} else {
		WARNING("facedetect not enabled, headers or libraries not found");
	}
}