Codebase list php-facedetect / 8ec8e49
Merge pull request #9 from weltling/master Added win32 support Robert Eisele 10 years ago
2 changed file(s) with 20 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 // $Id$
1 // vim:ft=javascript
2
3 ARG_WITH("facedetect", "for facedetect support", "no");
4
5 if (PHP_FACEDETECT == "yes") {
6 if (CHECK_LIB("opencv_objdetect*.lib", "facedetect", PHP_FACEDETECT) &&
7 CHECK_LIB("opencv_core*.lib", "facedetect", PHP_FACEDETECT) &&
8 CHECK_LIB("opencv_imgproc*.lib", "facedetect", PHP_FACEDETECT) &&
9 CHECK_LIB("opencv_highgui*.lib", "facedetect", PHP_FACEDETECT) &&
10 CHECK_HEADER_ADD_INCLUDE("opencv/cv.h", "CFLAGS_FFACEDETECT")) {
11
12 AC_DEFINE("HAVE_FACEDETECT", 1);
13
14 EXTENSION("facedetect", "facedetect.c", true);
15 } else {
16 WARNING("facedetect not enabled, headers or libraries not found");
17 }
18 }
2020 #include "config.h"
2121 #endif
2222 #include "php.h"
23 #include "ext/standard/info.h"
2324 #include "php_facedetect.h"
2425
2526 #include <opencv/cv.h>