summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Szulecki <martin.szulecki@libimobiledevice.org>2020-06-14 15:17:31 +0200
committerMartin Szulecki <martin.szulecki@libimobiledevice.org>2020-06-14 15:17:31 +0200
commitadfd420bbe8e74fd4530fc064dc6ddb5b54c54f1 (patch)
tree4c85b643680031f3ae01aa8f9981463e4063a85b
parentb67bf4479aeb05d9a3fb98c47f4c79de73a2fcbc (diff)
downloadlibimobiledevice-adfd420bbe8e74fd4530fc064dc6ddb5b54c54f1.tar.gz
Rename configure option for debug code to "--enable-debug" to match libplist
-rw-r--r--README.md2
-rw-r--r--configure.ac8
2 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 294c7f0..a0c1e18 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,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