diff --git a/configure.ac b/configure.ac index f3a8b729..c6c660e6 100644 --- a/configure.ac +++ b/configure.ac @@ -77,7 +77,7 @@ AC_C_CONST AC_TYPE_SIZE_T # Checks for library functions. -AC_CHECK_FUNCS(select strerror strncpy memcpy strlcpy strlcat secure_getenv pthread_condattr_setclock) +AC_CHECK_FUNCS(strlcpy strlcat secure_getenv pthread_condattr_setclock) # Select OS specific versions of source files. AC_SUBST(BUNDLE_HOST) diff --git a/meson.build b/meson.build index ea558745..d8a2988a 100644 --- a/meson.build +++ b/meson.build @@ -32,6 +32,9 @@ endif if compiler.has_function('secure_getenv') conf_data.set('HAVE_SECURE_GETENV', true) endif +if compiler.has_function('pthread_condattr_setclock') + conf_data.set('HAVE_PTHREAD_CONDATTR_SETCLOCK', true) +endif # variables bundle_id = 'ifd-ccid.bundle'