From 324ffe20e973969a404ad7fc17697119483e0c12 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 21 Jan 2011 23:40:30 +0000 Subject: [PATCH] Link with libm due to the upcoming patchset. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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=