--- meson.build
+++ meson.build
@@ -163,11 +163,6 @@ endif
 if cc.has_header('netinet/in.h') == true
   config_h.set('HAVE_NETINET_IN_H'     , '1')
 endif
-if cc.has_header('execinfo.h') == true
-  config_h.set('HAVE_EXECINFO_H'       , '1')
-elif cc.has_function('backtrace_symbols_fd', dependencies: 'execinfo') == false
-  execinfo_dep = dependency('execinfo', required: false)
-endif
 
 if cc.has_header('fnmatch.h') == false
   error('fnmatch.h not found')
