Mesa (9.0): build: Remove autoconf check for signbit

Matt Turner mattst88 at kemper.freedesktop.org
Wed Oct 3 05:56:27 UTC 2012


Module: Mesa
Branch: 9.0
Commit: 9fc4a39dbf5e88d04d8a4a89534fa4f0115e3ddd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9fc4a39dbf5e88d04d8a4a89534fa4f0115e3ddd

Author: Matt Turner <mattst88 at gmail.com>
Date:   Tue Oct  2 22:50:02 2012 -0700

build: Remove autoconf check for signbit

rebase failure in 7da12426f7682ffc44ae40e31d1b5712521fbb70.
(cherry picked from commit 159ca32fec6276fa267746c843f23ce0a6732f1d)

---

 configure.ac |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5dfc2fc..216367d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -500,13 +500,6 @@ AC_SUBST([DLOPEN_LIBS])
 dnl See if posix_memalign is available
 AC_CHECK_FUNC([posix_memalign], [DEFINES="$DEFINES -DHAVE_POSIX_MEMALIGN"])
 
-dnl signbit() is a macro in glibc's math.h, so AC_CHECK_FUNC fails. To handle
-dnl this, use AC_CHECK_DECLS and fallback to AC_CHECK_FUNC in case it fails.
-AC_CHECK_DECLS([signbit],[],
-               AC_CHECK_FUNC([signbit],[],
-                             AC_MSG_ERROR([could not find signbit()])),
-               [#include <math.h>])
-
 dnl Check for pthreads
 AX_PTHREAD
 




More information about the mesa-commit mailing list