From 25e3cfde3a464a2d6a961e46dc6ef8a7866ab497 Mon Sep 17 00:00:00 2001 From: phintuka Date: Sat, 5 Mar 2011 13:31:27 +0000 Subject: =?UTF-8?q?opengl=20support=20needs=20-ldl=20and=20-lpthread=20vdr?= =?UTF-8?q?=20plugin=20needs=20-ldl=20(closes=20bug=20#3199506)=20(replace?= =?UTF-8?q?s=20patch=20#3197558,=20Thanks=20to=20Ville=20Skytt=C3=83=C2=A4?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure b/configure index ea50db1e..a5420f50 100755 --- a/configure +++ b/configure @@ -7,7 +7,7 @@ # See the main source file 'xineliboutput.c' for copyright information and # how to reach the author. # -# * $Id: configure,v 1.33 2011-03-05 12:56:00 phintuka Exp $ +# * $Id: configure,v 1.34 2011-03-05 13:31:27 phintuka Exp $ # PKG_CONFIG="pkg-config" @@ -353,6 +353,7 @@ test_pkgconfig test_library VDR libextractor "extractor.h" "-lextractor" "EXTRACTOR_getKeywords(0,0)" test_library VDR libcap "sys/capability.h" "-lcap" "cap_get_proc()" test_library XINE libxine "xine.h" "-lxine" "xine_init(0)" +test_library DLFCN dlfcn "dlfcn.h" "-ldl" "dlopen(0,0)" if enabled libxine; then @@ -367,7 +368,6 @@ if enabled libxine; then test_library AVUTIL libavutil "libavutil/mem.h" "-lavutil" "av_mallocz(1)" test_library JPEG libjpeg "jpeglib.h" "-ljpeg" "jpeg_create_compress(0)" test_library X11 x11 "X11/X.h" "-lX11" "XInitThreads()" - test_library VDR dlfcn "dlfcn.h" "-ldl" "dlopen(0,0)" test_library PTHREAD pthread "pthread.h" "-lpthread" "pthread_create(0,0,0,0)" if enabled x11; then test_library X11 xext "X11/extensions/Xext.h" "-lXext" "" @@ -391,6 +391,10 @@ check_deps # need -lm for ceil/floor in HUD OSD enabled xrender && add_flags "LIBS_X11" "-lm" +# need -ldl and -lpthread with opengl +enabled opengl && add_flags "LIBS_X11" $LIBS_DLFCN $LIBS_PTHREAD +# need -ldl for dlopen() in vdr plugin +enabled vdr && add_flags "LIBS_VDR" $LIBS_DLFCN # # Print results -- cgit v1.2.3