aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2011-01-21 23:40:30 +0000
committerTiago Cunha <tcunha@gmx.com>2011-01-21 23:40:30 +0000
commit324ffe20e973969a404ad7fc17697119483e0c12 (patch)
tree9195ae3f33ea945025955477b9fb86c1305d909c
parent38f169113ef219cdb4dcc36a94a5a53a863a91fd (diff)
downloadrtmux-324ffe20e973969a404ad7fc17697119483e0c12.tar.gz
rtmux-324ffe20e973969a404ad7fc17697119483e0c12.tar.bz2
rtmux-324ffe20e973969a404ad7fc17697119483e0c12.zip
Link with libm due to the upcoming patchset.
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 01a739b8..c115d3b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.13 2011-01-21 20:35:20 nicm Exp $
+# $Id: configure.ac,v 1.14 2011-01-21 23:40:30 tcunha Exp $
# Miscellaneous autofoo bullshit.
AC_INIT(tmux, 1.5)
@@ -122,6 +122,9 @@ AC_SEARCH_LIBS(inet_ntoa, nsl)
AC_SEARCH_LIBS(socket, socket)
AC_CHECK_LIB(xnet, socket)
+# Look for sqrt.
+AC_SEARCH_LIBS(sqrt, m)
+
# Check for CMSG_DATA. Some platforms require _XOPEN_SOURCE_EXTENDED (for
# example see xopen_networking(7) on HP-UX).
XOPEN_DEFINES=