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