From 61a65cda11d9134f914b59283db9cc8680b7beb7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 28 May 2010 08:27:29 +0200 Subject: [PATCH] configure: Remove (now) useless check for cbrt --- configure.ac | 4 ---- gst-libs/gst/interfaces/streamvolume.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/configure.ac b/configure.ac index d7de9c4..caaa381 100644 --- a/configure.ac +++ b/configure.ac @@ -216,10 +216,6 @@ dnl *** checks for functions *** AC_CHECK_FUNCS([localtime_r gmtime_r]) dnl *** checks for math functions *** -LIBS_SAVE=$LIBS -LIBS="$LIBS $LIBM" -AC_CHECK_FUNCS(cbrt) -LIBS=$LIBS_SAVE dnl *** checks for types/defines *** diff --git a/gst-libs/gst/interfaces/streamvolume.c b/gst-libs/gst/interfaces/streamvolume.c index e3d1d28..509d295 100644 --- a/gst-libs/gst/interfaces/streamvolume.c +++ b/gst-libs/gst/interfaces/streamvolume.c @@ -52,10 +52,6 @@ #include "streamvolume.h" #include -#ifndef HAVE_CBRT -#define cbrt(x) (pow(abs(x),1.0/3.0)) -#endif - static void gst_stream_volume_class_init (GstStreamVolumeInterface * iface) { -- 2.7.4