File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / m4 / ntp_lib_m.m4
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 7 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

dnl ######################################################################
dnl What do we need for math libraries?
AC_DEFUN([NTP_LIB_M], [
LIBM=
case "$host" in
 *-*-darwin*)
    ;;
 *)
    _libs=$LIBS
    AC_SEARCH_LIBS([cos], [m], [LIBM="-lm"])
    LIBS=$_libs
    ;;
esac
AC_SUBST([LIBM])
AS_UNSET([_libs])
])
dnl ======================================================================

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>