From: Fred Morcos Date: Wed, 16 Aug 2023 09:18:44 +0000 (+0200) Subject: Meson: Cleanup pthread-headers module X-Git-Tag: rec-5.1.0-alpha1~80^2~223 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7604d70b2356419350a38bb708dfce7b82d85103;p=thirdparty%2Fpdns.git Meson: Cleanup pthread-headers module --- diff --git a/meson/pthread-headers/meson.build b/meson/pthread-headers/meson.build index 2e756b6020..fbc492e7ef 100644 --- a/meson/pthread-headers/meson.build +++ b/meson/pthread-headers/meson.build @@ -1,13 +1,9 @@ -# Check pthread headers -# Inputs: deps conf - dep_threads = dependency('threads') have_pthread_h = cxx.check_header('pthread.h', dependencies: dep_threads, required: true) have_pthread_np_h = cxx.check_header('pthread_np.h', dependencies: dep_threads, prefix: '#include ') -deps += dep_threads -conf.set10('HAVE_PTHREAD_NP_H', have_pthread_np_h, description: 'pthread_np.h is available') +conf.set('HAVE_PTHREAD_NP_H', have_pthread_np_h, description: 'Have ') -summary('Threads', dep_threads.found(), bool_yn: true, section: 'System') -summary('pthread.h', have_pthread_h, bool_yn: true, section: 'System') -summary('pthread_np.h', have_pthread_np_h, section: 'System') +summary('Threads', dep_threads.found(), bool_yn: true, section: 'POSIX Threads') +summary('Have ', have_pthread_h, bool_yn: true, section: 'POSIX Threads') +summary('Have ', have_pthread_np_h, bool_yn: true, section: 'POSIX Threads')