dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
if test $gl_cv_func_sqrtl_no_libm = yes \
|| test $gl_cv_func_sqrtl_in_libm = yes; then
dnl Also check whether it's declared.
if test $gl_cv_func_sqrtl_no_libm = yes \
|| test $gl_cv_func_sqrtl_in_libm = yes; then
dnl Also check whether it's declared.
AC_CHECK_DECL([sqrtl], , [HAVE_DECL_SQRTL=0], [[#include <math.h>]])
save_LIBS="$LIBS"
AC_CHECK_DECL([sqrtl], , [HAVE_DECL_SQRTL=0], [[#include <math.h>]])
save_LIBS="$LIBS"