diff --git a/mythtv/configure b/mythtv/configure index f17009be689..f7327ca432d 100755 --- a/mythtv/configure +++ b/mythtv/configure @@ -2005,8 +2005,6 @@ MYTHTV_CONFIG_LIST=' MYTHTV_HAVE_LIST=' byteswap_h - cpu_clips_negative - cpu_clips_positive fe_can_2g_modulation ftime getifaddrs @@ -5598,57 +5596,6 @@ if ! disabled network; then fi fi -# "CPU_CLIP" test for SRC / libsamplerate -# test positive wrap -check_exec -lm << EOF && enable cpu_clips_positive - #define _ISOC9X_SOURCE 1 - #define _ISOC99_SOURCE 1 - #define __USE_ISOC99 1 - #define __USE_ISOC9X 1 - #include - int main (void) - { double fval ; - int k, ival ; - - fval = 1.0 * 0x7FFFFFFF ; - for (k = 0 ; k < 100 ; k++) - { - ival = (lrint (fval)) >> 24 ; - if (ival != 127) - return 1 ; - - fval *= 1.2499999 ; - } ; - - return 0 ; - } -EOF - -# test negative wrap -check_exec -lm << EOF && enable cpu_clips_negative - #define _ISOC9X_SOURCE 1 - #define _ISOC99_SOURCE 1 - #define __USE_ISOC99 1 - #define __USE_ISOC9X 1 - #include - int main (void) - { - double fval ; - int k, ival ; - - fval = -8.0 * 0x10000000 ; - for (k = 0 ; k < 100 ; k++) - { - ival = (lrint (fval)) >> 24 ; - if (ival != -128) - return 1 ; - - fval *= 1.2499999 ; - } ; - - return 0 ; - } -EOF require_pkg_config samplerate samplerate samplerate.h src_get_version -lm # required to compile inline sse with some compilers