[pisa-src] r1624 - trunk/configure.ac

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Tue, 10 Nov 2009 18:29:02 +0100

Author: biurrun
Date: Tue Nov 10 18:29:02 2009
New Revision: 1624

Log:
Fail with an error message if libpthread is not found.

Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac  Tue Nov 10 18:16:40 2009        (r1623)
+++ trunk/configure.ac  Tue Nov 10 18:29:02 2009        (r1624)
@@ -30,7 +30,7 @@
 AC_CHECK_LIB([crypto], DSA_generate_key,, AC_MSG_ERROR(OpenSSL not found))
 AC_CHECK_LIB([config], [config_setting_index],,
              AC_MSG_ERROR(libconfig not found))
-AC_CHECK_LIB(pthread, pthread_create)
+AC_CHECK_LIB(pthread, pthread_create,,AC_MSG_ERROR(libpthread not found))
 
 
 # compile-time options

Other related posts:

  • » [pisa-src] r1624 - trunk/configure.ac - Diego Biurrun