From: Matt Turner Date: Wed, 3 Oct 2012 05:50:02 +0000 (-0700) Subject: build: Remove autoconf check for signbit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=159ca32fec6276fa267746c843f23ce0a6732f1d;p=mesa.git build: Remove autoconf check for signbit rebase failure in 7da12426f7682ffc44ae40e31d1b5712521fbb70. --- diff --git a/configure.ac b/configure.ac index 3dcb1e0ac65..72c2b8c58a6 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 ]) - dnl Check for pthreads AX_PTHREAD dnl AX_PTHREADS leaves PTHREAD_LIBS empty for gcc and sets PTHREAD_CFLAGS