summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpeglib/configure.in.in9
1 files changed, 9 insertions, 0 deletions
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])