From ebafa74dc01fc4be6087e36bcd139b01d5a9a9e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Wed, 26 Nov 2014 19:51:15 +0100 Subject: Enable pthread support in mpeglib on openbsd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- mpeglib/configure.in.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mpeglib') diff --git a/mpeglib/configure.in.in b/mpeglib/configure.in.in index 28a57cf0..e90b7539 100644 --- a/mpeglib/configure.in.in +++ b/mpeglib/configure.in.in @@ -158,6 +158,9 @@ case "$OS_TYPE" in NetBSD) kde_mpeglib_compiles=yes ;; + OpenBSD) + kde_mpeglib_compiles=yes + ;; Linux) kde_mpeglib_compiles=yes ;; @@ -188,6 +191,12 @@ case "$OS_TYPE" in AC_DEFINE(OS_Linux,1,[Define if you have linux pthread]) ;; + OpenBSD) + OS_TYPE="BSD" + AC_CHECK_LIB(c_r, pthread_create, [LIBPTHREAD="-pthread"]) + AC_DEFINE(OS_BSD,1,[Define if you have BSD pthread]) + ;; + FreeBSD | DragonFly) OS_TYPE="BSD" AC_DEFINE(OS_BSD,1,[Define if you have BSD pthread]) -- cgit v1.2.1