Mesa (master): build: Remove autoconf check for signbit
Matt Turner
mattst88 at kemper.freedesktop.org
Wed Oct 3 05:55:22 UTC 2012
Module: Mesa
Branch: master
Commit: 159ca32fec6276fa267746c843f23ce0a6732f1d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=159ca32fec6276fa267746c843f23ce0a6732f1d
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.
---
configure.ac | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index 3dcb1e0..72c2b8c 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
dnl AX_PTHREADS leaves PTHREAD_LIBS empty for gcc and sets PTHREAD_CFLAGS
More information about the mesa-commit
mailing list