aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-09-25 11:39:54 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-09-25 11:39:54 +0200
commit43a8fae35436910946742e551ff46a1549e2d262 (patch)
tree4d6e50e56785bcf7b826adbf2fdf20e3b664910e /configure.ac
parent839a12cc576e20a8385c157ad53fc427ff0d740e (diff)
downloadlibgnunetchat-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.ac9
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])
51AS_IF([test "x$enable_shared" = "xno"], 51AS_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
54AC_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]) ;;
60esac],[debug=false])
61AM_CONDITIONAL([DEBUG], [test x$debug = xtrue])
62
54AC_CONFIG_FILES([ 63AC_CONFIG_FILES([
55 Makefile 64 Makefile
56 include/Makefile 65 include/Makefile