aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-02 14:32:29 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-06 12:46:43 -0300
commit1bf24ed7ef29ef38bdbe92df42c491dbf2ac360e (patch)
tree075e7485bd7d065b47828d9ba30970442d70431a /configure.ac
parentf8afc40b1065abaa0680f5a9253478718f138eac (diff)
configure.ac: Check for pthread
We'll need pthreads for the next patches. So, add a check for it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index db898788..1b29a1f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -263,6 +263,10 @@ fi
AC_SUBST([JPEG_LIBS])
+# Check for pthread
+
+AX_PTHREAD([have_pthread=yes], [have_pthread=no])
+
# The dlopen() function is in the C library for *BSD and in
# libdl on GLIBC-based systems
@@ -436,6 +440,11 @@ AM_COND_IF([WITH_V4L2_CTL_LIBV4L], [USE_V4L2_CTL="yes"], [USE_V4L2_CTL="no"])
AM_COND_IF([WITH_V4L2_COMPLIANCE_LIBV4L], [USE_V4L2_COMPLIANCE="yes"], [USE_V4L2_COMPLIANCE="no"])
AS_IF([test "x$alsa_pkgconfig" = "xtrue"], [USE_ALSA="yes"], [USE_ALSA="no"])
+AC_OUTPUT
+
+dnl ---------------------------------------------------------------------
+dnl compile time options summary
+
cat <<EOF
compile time options summary
@@ -447,6 +456,7 @@ compile time options summary
glu : $glu_pkgconfig
libjpeg : $have_jpeg
libudev : $have_libudev
+ pthread : $have_pthread
QT version : $QT_VERSION
ALSA support : $USE_ALSA

Privacy Policy