33 lines
1005 B
Plaintext
33 lines
1005 B
Plaintext
--- mpeglib/configure.in.in.orig Thu Jan 19 17:40:35 2006
|
|
+++ mpeglib/configure.in.in Wed Feb 15 12:13:03 2006
|
|
@@ -164,6 +164,9 @@ case "$OS_TYPE" in
|
|
NetBSD)
|
|
kde_mpeglib_compiles=yes
|
|
;;
|
|
+ OpenBSD)
|
|
+ kde_mpeglib_compiles=yes
|
|
+ ;;
|
|
Linux)
|
|
kde_mpeglib_compiles=yes
|
|
;;
|
|
@@ -191,6 +194,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)
|
|
OS_TYPE="BSD"
|
|
AC_DEFINE(OS_BSD,1,[Define if you have BSD pthread])
|
|
@@ -234,5 +243,5 @@ KDE_MPEGLIB_COMPILES
|
|
|
|
THIS_LIB_LIBS="-lX11 -lXext -lm ${XVLIBS} ${DGALIBS} "
|
|
THIS_LIB_LIBS="${THIS_LIB_LIBS} ${XVIDMODELIBS} ${SDLLIB} ${CDDALIBS} "
|
|
-THIS_LIB_LIBS="${THIS_LIB_LIBS} ${OGG_VORBISLIBS} ${LIBPTHREAD}"
|
|
+THIS_LIB_LIBS="${THIS_LIB_LIBS} ${OGG_VORBISLIBS} ${LIBPTHREAD} ${LIBOSSAUDIO}"
|
|
AC_SUBST(THIS_LIB_LIBS)
|