From: Peter Breitenlohner Date: Mon, 8 Apr 2013 11:13:05 +0000 (+0200) Subject: Check for missing sqrtf() as, e.g., for Solaris 9 X-Git-Tag: pixman-0.29.4~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d0bb10312e5de0653c9e28df79ce8a5e8cec97a;p=platform%2Fupstream%2Fpixman.git Check for missing sqrtf() as, e.g., for Solaris 9 Signed-off-by: Peter Breitenlohner --- diff --git a/configure.ac b/configure.ac index 38f89b3..b4d6c0c 100644 --- a/configure.ac +++ b/configure.ac @@ -845,6 +845,13 @@ if test x$have_gettimeofday = xyes && test x$have_sys_time_h = xyes; then fi dnl ===================================== +dnl Check for missing sqrtf() as, e.g., for Solaris 9 + +AC_SEARCH_LIBS([sqrtf], [m], [], + [AC_DEFINE([sqrtf], [sqrt], + [Define to sqrt if you do not have the `sqrtf' function.])]) + +dnl ===================================== dnl Thread local storage AC_MSG_CHECKING(for thread local storage (TLS) support)