-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.m4
More file actions
18 lines (14 loc) · 791 Bytes
/
Copy pathconfig.m4
File metadata and controls
18 lines (14 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
PHP_ARG_ENABLE(coverage, enable code coverage,
[ --enable-coverage Enable developer code coverage information [default=no]])
if test "$PHP_COVERAGE" = "yes"; then
PHP_CHECK_GCC_ARG(-fprofile-arcs, COVERAGE_CFLAGS="$COVERAGE_CFLAGS -fprofile-arcs")
PHP_CHECK_GCC_ARG(-ftest-coverage, COVERAGE_CFLAGS="$COVERAGE_CFLAGS -ftest-coverage")
EXTRA_LDFLAGS="$COVERAGE_CFLAGS"
fi
PHP_CLUSTERIZE_CFLAGS="$STD_CFLAGS $COVERAGE_CFLAGS"
PHP_ARG_ENABLE(clusterize, clusterize module,
[ --enable-clusterize Enable clusterize module])
if test "$PHP_CLUSTERIZE" != "no"; then
AC_DEFINE(HAVE_CLUSTERIZE, 1, [Have CLUSTERIZE library])
PHP_NEW_EXTENSION(clusterize, php_clusterize.c kmeans.c points.c, $ext_shared,, $PHP_CLUSTERIZE_CFLAGS)
fi