1
0
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:
jin-eld
2014-03-16 16:53:28 +01:00
parent 1a9cd4cd2c
commit 7f70345dae
3 changed files with 323 additions and 2 deletions

View File

@@ -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