Mesa (master): build: remove signbit check in configure.ac

Brian Paul brianp at kemper.freedesktop.org
Mon Sep 24 20:52:26 UTC 2012


Module: Mesa
Branch: master
Commit: 24a8e0c3da65019073f89cb7248916a692707db6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=24a8e0c3da65019073f89cb7248916a692707db6

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Sep 24 13:23:10 2012 -0600

build: remove signbit check in configure.ac

We now have a fallback macro in imports.h
This reverts part of 0f3ba405.

Reviewed-by: Matt Turner <mattst88 at gmail.com>

---

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

diff --git a/configure.ac b/configure.ac
index b83078f..ef2455b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -499,13 +499,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 SELinux awareness.
 AC_ARG_ENABLE([selinux],
     [AS_HELP_STRING([--enable-selinux],




More information about the mesa-commit mailing list