Build: remove fnmatch checks

Reviewers: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12263
v-1.26.0
Vincent Torri 3 years ago committed by Carsten Haitzler (Rasterman)
parent d7f9735a90
commit ab2d602ff8
  1. 5
      header_checks/meson.build

@ -216,15 +216,12 @@ endif
regexp = []
if sys_windows == true
regexp = cc.find_library('regex',
has_headers: ['regex.h', 'fnmatch.h'],
has_headers: ['regex.h'],
required: true)
if regexp.found() == false
error('regex can not be found')
endif
else
if cc.has_header_symbol('fnmatch.h', 'fnmatch') == false
error('fnmatch can not be found')
endif
if cc.has_header_symbol('regex.h', 'regcomp') == false
error('regcomp can not be found')
endif

Loading…
Cancel
Save