diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2022-09-25 11:39:54 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2022-09-25 11:39:54 +0200 |
commit | 43a8fae35436910946742e551ff46a1549e2d262 (patch) | |
tree | 4d6e50e56785bcf7b826adbf2fdf20e3b664910e /configure.ac | |
parent | 839a12cc576e20a8385c157ad53fc427ff0d740e (diff) | |
download | libgnunetchat-43a8fae35436910946742e551ff46a1549e2d262.tar.gz libgnunetchat-43a8fae35436910946742e551ff46a1549e2d262.zip |
Add compile options and adjust README.md
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9fb9c7d..fc58e40 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -51,6 +51,15 @@ LT_INIT([disable-static dlopen]) | |||
51 | AS_IF([test "x$enable_shared" = "xno"], | 51 | AS_IF([test "x$enable_shared" = "xno"], |
52 | [AC_MSG_ERROR([GNUnet works only with shared libraries, sorry])]) | 52 | [AC_MSG_ERROR([GNUnet works only with shared libraries, sorry])]) |
53 | 53 | ||
54 | AC_ARG_ENABLE([debug], | ||
55 | [ --enable-debug turn on debugging], | ||
56 | [case "${enableval}" in | ||
57 | yes) debug=true ;; | ||
58 | no) debug=false ;; | ||
59 | *) AC_MSG_ERROR([bad value ${enableval} for --enable-debug]) ;; | ||
60 | esac],[debug=false]) | ||
61 | AM_CONDITIONAL([DEBUG], [test x$debug = xtrue]) | ||
62 | |||
54 | AC_CONFIG_FILES([ | 63 | AC_CONFIG_FILES([ |
55 | Makefile | 64 | Makefile |
56 | include/Makefile | 65 | include/Makefile |