diff --git a/config/sc_include.m4 b/config/sc_include.m4 index d87987dbc..aea0297d0 100644 --- a/config/sc_include.m4 +++ b/config/sc_include.m4 @@ -175,7 +175,8 @@ AC_DEFUN([SC_CHECK_MATH], [[ /* make this so complex that the compiler cannot predict the result */ double a = 3.14149; -for (; sqrt (a) < a; a *= 1.000023) { putc ('1', stdout); } +double (*volatile fp)(double) = sqrt; +for (; fp (a) < a; a *= 1.000023) { putc ('1', stdout); } ]], [m], [AC_DEFINE([HAVE_MATH], [1], [Define to 1 if sqrt links successfully])], [AC_MSG_ERROR([unable to link with sqrt, cos, sin, both as is and with -lm])]) diff --git a/doc/author_anselmann.txt b/doc/author_anselmann.txt new file mode 100644 index 000000000..a6ee43294 --- /dev/null +++ b/doc/author_anselmann.txt @@ -0,0 +1 @@ +I place my contributions to libsc under the FreeBSD license. Mathias Anselmann