Build: remove fnmatch checks

Reviewers: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12263
This commit is contained in:
Vincent Torri 2021-05-03 20:53:41 +01:00 committed by Carsten Haitzler (Rasterman)
parent d7f9735a90
commit ab2d602ff8
1 changed files with 1 additions and 4 deletions

View File

@ -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