[Pixman] [PATCH] Check for missing sqrtf() as, e.g., for Solaris 9

Peter Breitenlohner peb at mpp.mpg.de
Mon Apr 8 04:13:05 PDT 2013


From: Peter Breitenlohner <peb at mppmu.mpg.de>

Here the patch communicated to you yesterday by
Mojca Miklavec <mojca.miklavec.lists at gmail.com>, this time via
git-send-email as requested


Signed-off-by: Peter Breitenlohner <peb at mppmu.mpg.de>
---
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

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)
-- 
1.7.3.1



More information about the Pixman mailing list