diff --git a/libs/ardour/wscript b/libs/ardour/wscript index 65d2c4a10c..90289517c8 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -284,20 +284,6 @@ libardour_sources = [ 'worker.cc' ] -def flac_supported(): - cmd = subprocess.Popen ("sndfile-info testfile.flac", - stdout = subprocess.PIPE, - stderr = subprocess.STDOUT, shell = True) - out = cmd.communicate()[0].decode('utf-8') - return re.search ('unknown format', out) is None - -def ogg_supported(): - cmd = subprocess.Popen ("sndfile-info testfile.ogg", - stdout = subprocess.PIPE, - stderr = subprocess.STDOUT, shell = True) - out = cmd.communicate()[0].decode('utf-8') - return re.search ('unknown format', out) is None - def options(opt): autowaf.set_options(opt) @@ -366,11 +352,6 @@ def configure(conf): conf.check(header_name='unistd.h', define_name='HAVE_UNISTD',mandatory=False) - if flac_supported(): - conf.define ('HAVE_FLAC', 1) - if ogg_supported(): - conf.define ('HAVE_OGG', 1) - conf.write_config_header('libardour-config.h', remove=False) # Boost headers diff --git a/testfile.flac b/testfile.flac deleted file mode 100644 index af7a7eca20..0000000000 Binary files a/testfile.flac and /dev/null differ diff --git a/testfile.ogg b/testfile.ogg deleted file mode 100644 index afc5a7a823..0000000000 Binary files a/testfile.ogg and /dev/null differ