-# sinl.m4 serial 3
+# sinl.m4 serial 5
dnl Copyright (C) 2010-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
|| test $gl_cv_func_sinl_in_libm = yes; then
dnl Also check whether it's declared.
dnl MacOS X 10.3 has sinl() in libc but doesn't declare it in <math.h>.
- AC_CHECK_DECL([sinl], , [HAVE_DECL_SINL=0], [#include <math.h>])
+ AC_CHECK_DECL([sinl], , [HAVE_DECL_SINL=0], [[#include <math.h>]])
else
HAVE_DECL_SINL=0
HAVE_SINL=0
- AC_LIBOBJ([sinl])
- AC_LIBOBJ([sincosl])
- AC_LIBOBJ([trigl])
+ dnl Find libraries needed to link lib/sinl.c, lib/sincosl.c, lib/trigl.c.
AC_REQUIRE([gl_FUNC_ISNANL])
AC_REQUIRE([gl_FUNC_FLOOR])
AC_REQUIRE([gl_FUNC_FLOORL])