summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authortcunha <tcunha>2011-01-21 23:40:30 +0000
committertcunha <tcunha>2011-01-21 23:40:30 +0000
commit6e0f8713c762132cf0b84db9a0e9a891ff66c22a (patch)
tree90605d8a78789a9b16cfca4fcbb163ea36747f42 /configure.ac
parent292a1eeacba6337faecfef5da4db956dda9de43b (diff)
downloadtmux-old-6e0f8713c762132cf0b84db9a0e9a891ff66c22a.tar.gz
tmux-old-6e0f8713c762132cf0b84db9a0e9a891ff66c22a.tar.bz2
tmux-old-6e0f8713c762132cf0b84db9a0e9a891ff66c22a.zip
Link with libm due to the upcoming patchset.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e7afeaf3..001d4ca7 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=