|
@@ -125,6 +125,11 @@ if cc.has_type('struct timespec', prefix: '#include <time.h>')
|
|
conf_data.set('HAVE_STRUCT_TIMESPEC', 1)
|
|
conf_data.set('HAVE_STRUCT_TIMESPEC', 1)
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+if cc.has_type('clockid_t', prefix: '#include<time.h>\n#include<pthread.h>')
|
|
|
|
+ conf_data.set('HAVE_CLOCKID_T', 1)
|
|
|
|
+endif
|
|
|
|
+
|
|
|
|
+
|
|
have_iconv = cc.has_function('iconv_open', prefix: '#include <iconv.h>')
|
|
have_iconv = cc.has_function('iconv_open', prefix: '#include <iconv.h>')
|
|
dep_iconv = []
|
|
dep_iconv = []
|
|
if not have_iconv
|
|
if not have_iconv
|