pixman: Branch 'master'

Søren Sandmann Pedersen sandmann at kemper.freedesktop.org
Mon Apr 8 11:35:44 PDT 2013


 configure.ac |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 9d0bb10312e5de0653c9e28df79ce8a5e8cec97a
Author: Peter Breitenlohner <peb at mppmu.mpg.de>
Date:   Mon Apr 8 13:13:05 2013 +0200

    Check for missing sqrtf() as, e.g., for Solaris 9
    
    Signed-off-by: Peter Breitenlohner <peb at mppmu.mpg.de>

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)


More information about the xorg-commit mailing list