mirror of
https://github.com/Tha14/toxic.git
synced 2025-12-06 19:56:35 +01:00
Add checks for pthreads to the build system
pthreads are now required, so add appropriate checks to the build system and set the compile flags accordingly. closes #98
This commit is contained in:
@@ -113,6 +113,8 @@ AC_CHECK_FUNCS(
|
||||
[],
|
||||
[ AC_MSG_ERROR([required library function is missing on your system])])
|
||||
|
||||
AX_PTHREAD( [], [ AC_MSG_ERROR([pthreads not found on your system]) ])
|
||||
|
||||
# pkg-config based tests
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user