Annotation of embedaddon/ntp/m4/ntp_lib_m.m4, revision 1.1.1.1

1.1       misho       1: dnl ######################################################################
                      2: dnl What do we need for math libraries?
                      3: AC_DEFUN([NTP_LIB_M], [
                      4: LIBM=
                      5: case "$host" in
                      6:  *-*-darwin*)
                      7:     ;;
                      8:  *)
                      9:     _libs=$LIBS
                     10:     AC_SEARCH_LIBS([cos], [m], [LIBM="-lm"])
                     11:     LIBS=$_libs
                     12:     ;;
                     13: esac
                     14: AC_SUBST([LIBM])
                     15: AS_UNSET([_libs])
                     16: ])
                     17: dnl ======================================================================

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