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,
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_acosl_in_libm = yes; then
dnl Also check whether it's declared.
dnl MacOS X 10.3 has acosl() in libc but doesn't declare it in <math.h>.
|| test $gl_cv_func_acosl_in_libm = yes; then
dnl Also check whether it's declared.
dnl MacOS X 10.3 has acosl() in libc but doesn't declare it in <math.h>.
- AC_CHECK_DECL([acosl], , [HAVE_DECL_ACOSL=0], [#include <math.h>])
+ AC_CHECK_DECL([acosl], , [HAVE_DECL_ACOSL=0], [[#include <math.h>]])
AC_REQUIRE([gl_FUNC_ASINL])
AC_REQUIRE([gl_FUNC_SQRTL])
dnl Append $ASINL_LIBM to ACOSL_LIBM, avoiding gratuitous duplicates.
AC_REQUIRE([gl_FUNC_ASINL])
AC_REQUIRE([gl_FUNC_SQRTL])
dnl Append $ASINL_LIBM to ACOSL_LIBM, avoiding gratuitous duplicates.