forked from enlightenment/efl
efl po - change intl.h check to use compiles so cflags it respected
this fixes building on fbsd... (where CFLAGS will now work to find libintl.h)
This commit is contained in:
parent
5aec938fbc
commit
63c32295a0
|
@ -14,7 +14,7 @@ if get_option('nls')
|
|||
config_h.set('HAVE_GETTEXT', '1')
|
||||
config_h.set('ENABLE_NLS', '1')
|
||||
intl = cc.find_library('intl', required : false)
|
||||
if cc.has_header('libintl.h', dependencies : intl) == false
|
||||
if cc.compiles('#include <libintl.h>', dependencies : intl) == false
|
||||
error('libintl.h not found')
|
||||
endif
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue