build: Don't assume PThreads if threading support is found
Look also for pthread.h if threading support is found by Meson, as the underlying threading support may not be PThreads, depending on platform. For now, disable the thread-test test program if pthread.h and if necessary, the PThreads library, cannot be found, as the current implementation assumes the use of PThreads. Also bump the required Meson version to 0.50.0 since we need it for -cc.get_argument_syntax() -For a later commit, the has_headers sub-method for cc.find_library()
Please register or sign in to comment