summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac
index 01680ac6..ecbb5e46 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_INIT([tox], [0.0.0])
6AC_CONFIG_AUX_DIR(configure_aux) 6AC_CONFIG_AUX_DIR(configure_aux)
7AC_CONFIG_SRCDIR([toxcore/net_crypto.c]) 7AC_CONFIG_SRCDIR([toxcore/net_crypto.c])
8AC_CONFIG_HEADERS([config.h]) 8AC_CONFIG_HEADERS([config.h])
9AM_INIT_AUTOMAKE([1.10 -Wall subdir-objects tar-ustar]) 9AM_INIT_AUTOMAKE([foreign 1.10 -Wall subdir-objects tar-ustar])
10m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 10m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
11AC_CONFIG_MACRO_DIR([m4]) 11AC_CONFIG_MACRO_DIR([m4])
12 12
@@ -87,7 +87,7 @@ AC_ARG_ENABLE([logging],
87 [ 87 [
88 if test "x$enableval" = "xyes"; then 88 if test "x$enableval" = "xyes"; then
89 TOX_LOGGER="yes" 89 TOX_LOGGER="yes"
90 90
91 AC_DEFINE([TOX_LOGGER], [], [If logging enabled]) 91 AC_DEFINE([TOX_LOGGER], [], [If logging enabled])
92 AC_DEFINE([LOGGER_LEVEL], [LOG_DEBUG], [LOG_LEVEL value]) 92 AC_DEFINE([LOGGER_LEVEL], [LOG_DEBUG], [LOG_LEVEL value])
93 AC_DEFINE_UNQUOTED([LOGGER_OUTPUT_FILE], ["$LOGGING_OUTNAM"], [Output of logger]) 93 AC_DEFINE_UNQUOTED([LOGGER_OUTPUT_FILE], ["$LOGGING_OUTNAM"], [Output of logger])
@@ -104,16 +104,16 @@ AC_ARG_WITH(log-level,
104 else 104 else
105 if test "x$withval" = "xTRACE"; then 105 if test "x$withval" = "xTRACE"; then
106 AC_DEFINE([LOGGER_LEVEL], [LOG_TRACE], [LOG_LEVEL value]) 106 AC_DEFINE([LOGGER_LEVEL], [LOG_TRACE], [LOG_LEVEL value])
107 107
108 elif test "x$withval" = "xDEBUG"; then 108 elif test "x$withval" = "xDEBUG"; then
109 AC_DEFINE([LOGGER_LEVEL], [LOG_DEBUG], [LOG_LEVEL value]) 109 AC_DEFINE([LOGGER_LEVEL], [LOG_DEBUG], [LOG_LEVEL value])
110 110
111 elif test "x$withval" = "xINFO"; then 111 elif test "x$withval" = "xINFO"; then
112 AC_DEFINE([LOGGER_LEVEL], [LOG_INFO], [LOG_LEVEL value]) 112 AC_DEFINE([LOGGER_LEVEL], [LOG_INFO], [LOG_LEVEL value])
113 113
114 elif test "x$withval" = "xWARNING"; then 114 elif test "x$withval" = "xWARNING"; then
115 AC_DEFINE([LOGGER_LEVEL], [LOG_WARNING], [LOG_LEVEL value]) 115 AC_DEFINE([LOGGER_LEVEL], [LOG_WARNING], [LOG_LEVEL value])
116 116
117 elif test "x$withval" = "xERROR"; then 117 elif test "x$withval" = "xERROR"; then
118 AC_DEFINE([LOGGER_LEVEL], [LOG_ERROR], [LOG_LEVEL value]) 118 AC_DEFINE([LOGGER_LEVEL], [LOG_ERROR], [LOG_LEVEL value])
119 else 119 else