Disable gcov by default

Having libevdev build with profiling enabled by default
leaves profiling files around. Profiling is something that only
libevdev developers should need, so let them enable it
case-by-case.

https://bugzilla.redhat.com/show_bug.cgi?id=1012180

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
(cherry picked from commit c8b5f6a08f)
This commit is contained in:
Peter Hutterer 2013-10-02 09:40:43 +10:00
parent 8a1cda43d8
commit ea4bb70dd6

View file

@ -79,9 +79,9 @@ AM_CONDITIONAL([HAVE_DOXYGEN], [test -n "$DOXYGEN"])
AC_MSG_CHECKING([whether to build with gcov])
AC_ARG_ENABLE([gcov],
[AS_HELP_STRING([--enable-gcov],
[Whether to enable coverage testing (default:enabled)])],
[Whether to enable coverage testing (default:disabled)])],
[],
[enable_gcov=yes],
[enable_gcov=no],
)
AS_IF([test "x$enable_gcov" != "xno"],
[