build: Remove autoconf check for signbit
authorMatt Turner <mattst88@gmail.com>
Wed, 3 Oct 2012 05:50:02 +0000 (22:50 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 3 Oct 2012 05:52:42 +0000 (22:52 -0700)
rebase failure in 7da12426f7682ffc44ae40e31d1b5712521fbb70.
(cherry picked from commit 159ca32fec6276fa267746c843f23ce0a6732f1d)

configure.ac

index 5dfc2fc..216367d 100644 (file)
@@ -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