summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-05-27 08:54:47 -0400
committerirungentoo <irungentoo@gmail.com>2014-05-27 08:54:47 -0400
commit68511f4e3f4a66c42021efab724db7768185b030 (patch)
tree5be58a8ccd95280abf57ffe2cd4dd39a58c891a6
parent42675ed215285521a779e2ff2ec2667655d5f163 (diff)
parent9528f7c18761033be2c405d0117f17e9a71f7d87 (diff)
Merge branch 'stqism-master'
-rw-r--r--configure.ac13
1 files changed, 9 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 2f216136..e3b9a77b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
2# Process this file with autoconf to produce a configure script. 2# Process this file with autoconf to produce a configure script.
3 3
4AC_PREREQ([2.65]) 4AC_PREREQ([2.65])
5AC_INIT([tox], [0.0.0], [http://tox.im]) 5AC_INIT([tox], [0.0.0], [https://tox.im])
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])
@@ -178,13 +178,13 @@ AC_ARG_ENABLE([daemon],
178 ] 178 ]
179) 179)
180 180
181AC_ARG_ENABLE([nort], 181AC_ARG_ENABLE([rt],
182 [AC_HELP_STRING([--disable-rt], [Disables the librt check (default: auto)]) ], 182 [AC_HELP_STRING([--disable-rt], [Disables the librt check (default: auto)]) ],
183 [ 183 [
184 if test "x$enableval" = "xno"; then 184 if test "x$enableval" = "xno"; then
185 DISABLE_RT="no"
186 elif test "x$enableval" = "xyes"; then
187 DISABLE_RT="yes" 185 DISABLE_RT="yes"
186 elif test "x$enableval" = "xyes"; then
187 DISABLE_RT="no"
188 fi 188 fi
189 ] 189 ]
190) 190)
@@ -295,6 +295,11 @@ AM_CONDITIONAL(WIN32, test "x$WIN32" = "xyes")
295 295
296AC_SUBST(EXTRA_LT_LDFLAGS) 296AC_SUBST(EXTRA_LT_LDFLAGS)
297 297
298# Needed math flags for some compilers
299
300MATH_LDFLAGS="-lm"
301AC_SUBST(MATH_LDFLAGS)
302
298# Checks for libraries. 303# Checks for libraries.
299 304
300if test "x$WANT_NACL" = "xyes"; then 305if test "x$WANT_NACL" = "xyes"; then