summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorJames Maki <jmaki@multitech.com>2010-11-19 10:04:58 -0600
committerJames Maki <jmaki@multitech.com>2010-11-19 10:04:58 -0600
commit8e799fec27f9c3b6a9f13c5002168025a00fbfc7 (patch)
treeb02c42ebd1371d9552fbfc107bf9850ecad3dfef /configure.in
parentf1b137da46178ff963506db378560023d272e97a (diff)
downloadvenus-gps-8e799fec27f9c3b6a9f13c5002168025a00fbfc7.tar.gz
venus-gps-8e799fec27f9c3b6a9f13c5002168025a00fbfc7.tar.bz2
venus-gps-8e799fec27f9c3b6a9f13c5002168025a00fbfc7.zip
allow multiple consumers with pthreads
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index be3bba3..f715123 100644
--- a/configure.in
+++ b/configure.in
@@ -12,6 +12,8 @@ AC_CHECK_HEADERS([unistd.h getopt.h errno.h time.h termios.h sys/types.h \
sys/stat.h fcntl.h stdarg.h asm/byteorder.h netdb.h stdint.h signal.h], [],AC_MSG_ERROR([
required header missing]))
+AC_CHECK_LIB([pthread], [pthread_create], [], [], [])
+
AC_DEFINE([DEBUG], 0, [set to 1 to enable debug])
AC_DEFINE([CONFIG_USE_SYSLOG], 0, [set to 1 to use syslog for logging])