From c6940578fba552e60c0e87e986f24922e86856c5 Mon Sep 17 00:00:00 2001 From: Ruben Laguna Date: Sat, 31 Jan 2015 20:40:55 +0100 Subject: [PATCH] Add AC_SEARCH_LIBS --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index a94b751..690c4bc 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,11 @@ AC_PROG_INSTALL # Checks for libraries. +# Found libraries are automatically addded to LIBS +# AC_SEARCH_LIBS([pthread_cond_wait], [pthread],[],[ +# AC_MSG_ERROR([You need to install pthreads library.]) +# ]) + # Checks for header files. AC_CHECK_HEADER([stdlib.h])