configure: Remove (now) useless check for cbrt
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 28 May 2010 06:27:29 +0000 (08:27 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 28 May 2010 06:27:29 +0000 (08:27 +0200)
configure.ac
gst-libs/gst/interfaces/streamvolume.c

index d7de9c4..caaa381 100644 (file)
@@ -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 ***
 
index e3d1d28..509d295 100644 (file)
 #include "streamvolume.h"
 #include <math.h>
 
-#ifndef HAVE_CBRT
-#define cbrt(x) (pow(abs(x),1.0/3.0))
-#endif
-
 static void
 gst_stream_volume_class_init (GstStreamVolumeInterface * iface)
 {