Build: remove fnmatch checks
Reviewers: raster Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D12263
This commit is contained in:
parent
d7f9735a90
commit
ab2d602ff8
|
@ -216,15 +216,12 @@ endif
|
||||||
regexp = []
|
regexp = []
|
||||||
if sys_windows == true
|
if sys_windows == true
|
||||||
regexp = cc.find_library('regex',
|
regexp = cc.find_library('regex',
|
||||||
has_headers: ['regex.h', 'fnmatch.h'],
|
has_headers: ['regex.h'],
|
||||||
required: true)
|
required: true)
|
||||||
if regexp.found() == false
|
if regexp.found() == false
|
||||||
error('regex can not be found')
|
error('regex can not be found')
|
||||||
endif
|
endif
|
||||||
else
|
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
|
if cc.has_header_symbol('regex.h', 'regcomp') == false
|
||||||
error('regcomp can not be found')
|
error('regcomp can not be found')
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue