From 3390ccb32a6978f22c3a2d532b148a0dd9859c14 Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Mon, 19 Dec 2005 04:14:31 +0000 Subject: [PATCH] Only include -lm if we really need to, since we don't really need to on OS X This commit was SVN r8539. --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index f9d619c80e..57e2770f60 100644 --- a/configure.ac +++ b/configure.ac @@ -1181,11 +1181,8 @@ OMPI_CHECK_FUNC_LIB([backtrace], [execinfo]) # IRIX has dirname in -lgen, usually in libc OMPI_CHECK_FUNC_LIB([dirname], [gen]) -# -# See if we need the math library explicitly linked in -# - -AC_CHECK_LIB([m], [ceil]) +# Darwin doesn't need -lm, as it's a symlink to libSystem.dylib +OMPI_CHECK_FUNC_LIB([ceil], [m]) # checkpoint results AC_CACHE_SAVE