echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
fi
- dummyvar=no
- if test x$dummyvar = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_ABS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_LABS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_COS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_COSF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_COSL 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_FABS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_FABSF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_FABSL 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SIN 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SINF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SINL 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SQRT 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SQRTF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SQRTL 1
-_ACEOF
-
- fi
-
echo "$as_me:$LINENO: checking for main in -lm" >&5
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define ${ac_tr_func} 1
_ACEOF
fi
- dummyvar=no
- if test x$dummyvar = x"yes"; then
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_ABS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_LABS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_COS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_COSF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_COSL 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_FABS 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_FABSF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_FABSL 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SIN 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SINF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SINL 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SQRT 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SQRTF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE___BUILTIN_SQRTL 1
-_ACEOF
-
- fi
-
echo "$as_me:$LINENO: checking for main in -lm" >&5
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
cat >>confdefs.h <<\_ACEOF
#define HAVE_MODFF 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE_SIGNBIT 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE_SIGNBITF 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
cat >>confdefs.h <<\_ACEOF
#define HAVE_POWL 1
-_ACEOF
-
- cat >>confdefs.h <<\_ACEOF
-#define HAVE_SIGNBITL 1
_ACEOF
cat >>confdefs.h <<\_ACEOF
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
done
+
for ac_func in __signbitf
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
dnl
-dnl This file contains stuff.
+dnl This file contains macros for testing linkage.
dnl
dnl
#endif
],
[ $1(0);],
- [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no])
+ [glibcxx_cv_func_$1_use=yes], [glibcxx_cv_func_$1_use=no])
AC_LANG_RESTORE
])
fi
AC_MSG_RESULT($glibcxx_cv_func_$1_link)
if test x$glibcxx_cv_func_$1_link = x"yes"; then
ac_tr_func=HAVE_`echo $1 | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- AC_DEFINE_UNQUOTED(${ac_tr_func})
+ AC_DEFINE(${ac_tr_func}, 1, [Defined if $1 exists.])
fi
fi
])
GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_cosf)
GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_cos)
GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1(__builtin_cosl)
-
- dnl There is, without a doubt, a more elegant way to have these
- dnl names exported so that they won't be stripped out of acconfig.h by
- dnl autoheader. I leave this as an exercise to somebody less frustrated
- dnl than I.... please email the libstdc++ list if you can figure out a
- dnl more elegant approach (see autoconf/acgen.m4 and specifically
- dnl AC_CHECK_FUNC for things to steal.)
- dummyvar=no
- if test x$dummyvar = x"yes"; then
- AC_DEFINE(HAVE___BUILTIN_ABS)
- AC_DEFINE(HAVE___BUILTIN_LABS)
- AC_DEFINE(HAVE___BUILTIN_COS)
- AC_DEFINE(HAVE___BUILTIN_COSF)
- AC_DEFINE(HAVE___BUILTIN_COSL)
- AC_DEFINE(HAVE___BUILTIN_FABS)
- AC_DEFINE(HAVE___BUILTIN_FABSF)
- AC_DEFINE(HAVE___BUILTIN_FABSL)
- AC_DEFINE(HAVE___BUILTIN_SIN)
- AC_DEFINE(HAVE___BUILTIN_SINF)
- AC_DEFINE(HAVE___BUILTIN_SINL)
- AC_DEFINE(HAVE___BUILTIN_SQRT)
- AC_DEFINE(HAVE___BUILTIN_SQRTF)
- AC_DEFINE(HAVE___BUILTIN_SQRTL)
- fi
])
dnl
AC_REPLACE_MATHFUNCS(copysignf)
dnl For __signbit to signbit conversions.
+ dnl Not sure why this is done, as these will be macros mostly.
+ dnl Should probably coordinate this with std_cmath.h.
AC_CHECK_FUNCS([__signbit], , [LIBMATHOBJS="$LIBMATHOBJS signbit.lo"])
+
AC_CHECK_FUNCS([__signbitf], , [LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"])
dnl Compile the long double complex functions only if the function
AC_CHECK_FUNCS([__signbitl], , [LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"])
fi
- # XXX Review this. Nothing uses it.
+ # Used in libmath/Makefile.am.
if test -n "$LIBMATHOBJS"; then
need_libmath=yes
fi
dnl AC_REPLACE_MATHFUNCS(FUNCTION...)
AC_DEFUN([AC_REPLACE_MATHFUNCS],
[AC_CHECK_FUNCS([$1], , [LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"])])
-
-dnl vim:et:ts=2