]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
configure: add back --enable-tracing
authorRay Strode <rstrode@redhat.com>
Wed, 23 Oct 2013 19:54:24 +0000 (15:54 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 23 Oct 2013 19:55:06 +0000 (15:55 -0400)
It was accidentally removed, when dropping device specific drm support.

configure.ac

index c511720938d981be1a207898d5ea7225625b462b..7bdfd821e33335d261df07a4138ecb8edf25a80b 100644 (file)
@@ -84,6 +84,12 @@ if test x$enable_documentation = xyes; then
 fi
 AM_CONDITIONAL(BUILD_DOCUMENTATION, test x$enable_documentation = xyes)
 
+AC_ARG_ENABLE(tracing, AS_HELP_STRING([--enable-tracing],[enable verbose tracing code]),enable_tracing=$enableval,enable_tracing=yes)
+
+if test x$enable_tracing = xyes; then
+  AC_DEFINE(PLY_ENABLE_TRACING, 1, [Build in verbose debug tracing spew])
+fi
+
 AC_ARG_ENABLE(tests, AS_HELP_STRING([--enable-tests],[build tests]),enable_tests=$enableval,enable_tests=yes)
 
 AM_CONDITIONAL(ENABLE_TESTS,  [test "$enable_tests" = yes])