Skip to content

Commit a3fae1c

Browse files
committed
Discontinue support of configure '--enable-gcov' option
This option seems to be used only internally in this project. * configure.ac (gcov): Remove `AC_ARG_ENABLE()` for it. * configure.ac [$enable_gcov==yes] (CFLAGS): Do not add `--coverage`; do not filter out '-O' option.
1 parent 058c8ff commit a3fae1c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

configure.ac

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,6 @@ if test "$enable_atomic_intrinsics" = no; then
131131
[Define to avoid GCC atomic intrinsics even if available.])
132132
fi
133133

134-
AC_ARG_ENABLE(gcov, AS_HELP_STRING([--enable-gcov],
135-
[Turn on code coverage analysis]))
136-
if test "$enable_gcov" = "yes"; then
137-
CFLAGS="$CFLAGS --coverage"
138-
# Turn off code optimization to get accurate line numbers.
139-
CFLAGS=`echo "$CFLAGS" | sed -e 's/-O\(1\|2\|3\|4\|s\|fast\)\?//g'`
140-
fi
141-
142134
AC_ARG_ENABLE(gpl,
143135
[AS_HELP_STRING([--disable-gpl],
144136
[Do not build atomic_ops_gpl library])])

0 commit comments

Comments
 (0)