diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | configure.ac | 8 |
2 files changed, 5 insertions, 5 deletions
| @@ -89,7 +89,7 @@ sudo make install | |||
| 89 | If you require a custom prefix or other option being passed to `./configure` | 89 | If you require a custom prefix or other option being passed to `./configure` |
| 90 | you can pass them directly to `./autogen.sh` like this: | 90 | you can pass them directly to `./autogen.sh` like this: |
| 91 | ```bash | 91 | ```bash |
| 92 | ./autogen.sh --prefix=/opt/local --enable-debug-code | 92 | ./autogen.sh --prefix=/opt/local --enable-debug |
| 93 | make | 93 | make |
| 94 | sudo make install | 94 | sudo make install |
| 95 | ``` | 95 | ``` |
diff --git a/configure.ac b/configure.ac index 9f1eb47..e33f1ab 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -157,14 +157,14 @@ else | |||
| 157 | AC_SUBST(ssl_requires) | 157 | AC_SUBST(ssl_requires) |
| 158 | fi | 158 | fi |
| 159 | 159 | ||
| 160 | AC_ARG_ENABLE([debug-code], | 160 | AC_ARG_ENABLE([debug], |
| 161 | [AS_HELP_STRING([--enable-debug-code], | 161 | [AS_HELP_STRING([--enable-debug], |
| 162 | [enable debug message reporting in library (default is no)])], | 162 | [build debug message output code (default is no)])], |
| 163 | [no_debug_code=false], | 163 | [no_debug_code=false], |
| 164 | [no_debug_code=true]) | 164 | [no_debug_code=true]) |
| 165 | if test "$no_debug_code" = true; then | 165 | if test "$no_debug_code" = true; then |
| 166 | building_debug_code=no | 166 | building_debug_code=no |
| 167 | AC_DEFINE(STRIP_DEBUG_CODE,1,[Strip debug reporting code]) | 167 | AC_DEFINE(STRIP_DEBUG_CODE,1,[Define if debug message output code should not be built.]) |
| 168 | else | 168 | else |
| 169 | building_debug_code=yes | 169 | building_debug_code=yes |
| 170 | fi | 170 | fi |
