Skip to content

Commit 3d9cbbe

Browse files
authored
Merge pull request #74 from petk/patch-AX_CHECK_COMPILE_FLAG
Use AX_CHECK_COMPILE_FLAG instead of PHP_CHECK_GCC_ARG
2 parents 08bea87 + 550a6c6 commit 3d9cbbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ if test "$PHP_SOLR" != "no"; then
7373
fi
7474
7575
if test "$PHP_COVERAGE" = "yes"; then
76-
PHP_CHECK_GCC_ARG(-fprofile-arcs, COVERAGE_CFLAGS="$COVERAGE_CFLAGS -fprofile-arcs")
77-
PHP_CHECK_GCC_ARG(-ftest-coverage, COVERAGE_CFLAGS="$COVERAGE_CFLAGS -ftest-coverage")
76+
AX_CHECK_COMPILE_FLAG([-fprofile-arcs], [COVERAGE_CFLAGS="$COVERAGE_CFLAGS -fprofile-arcs"])
77+
AX_CHECK_COMPILE_FLAG([-ftest-coverage], [COVERAGE_CFLAGS="$COVERAGE_CFLAGS -ftest-coverage"])
7878
EXTRA_LDFLAGS="$COVERAGE_CFLAGS"
7979
fi
8080

0 commit comments

Comments
 (0)