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=