From f18b8afe8db4c40a2cccefe4d2dc57aed0b1337c Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 14 Jun 2020 15:17:31 +0200 Subject: Rename configure option for debug code to "--enable-debug" to match libplist --- README.md | 2 +- configure.ac | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 35e62c8..432fab4 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ sudo make install If you require a custom prefix or other option being passed to `./configure` you can pass them directly to `./autogen.sh` like this: ```bash -./autogen.sh --prefix=/opt/local --enable-debug-code +./autogen.sh --prefix=/opt/local --enable-debug make sudo make install ``` diff --git a/configure.ac b/configure.ac index 9f1eb47..e33f1ab 100644 --- a/configure.ac +++ b/configure.ac @@ -157,14 +157,14 @@ else AC_SUBST(ssl_requires) fi -AC_ARG_ENABLE([debug-code], - [AS_HELP_STRING([--enable-debug-code], - [enable debug message reporting in library (default is no)])], +AC_ARG_ENABLE([debug], + [AS_HELP_STRING([--enable-debug], + [build debug message output code (default is no)])], [no_debug_code=false], [no_debug_code=true]) if test "$no_debug_code" = true; then building_debug_code=no - AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code]) + AC_DEFINE(STRIP_DEBUG_CODE,1,[Define if debug message output code should not be built.]) else building_debug_code=yes fi -- cgit v1.1-32-gdbae