From 2a739a2939a6737acdf156eb7b108221b59a2115 Mon Sep 17 00:00:00 2001 From: phintuka Date: Tue, 18 Nov 2008 00:04:06 +0000 Subject: Added math library (-lm) to LIBS_X11 when building with Xrender / HUD OSD support (Thanks to Anssi Hannula) --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 28a0a93c..82a903d5 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.11 2008-11-12 10:53:40 rofafor Exp $ +# * $Id: configure,v 1.12 2008-11-18 00:04:06 phintuka Exp $ # PKG_CONFIG="pkg-config" @@ -358,6 +358,9 @@ fi check_deps +# need -lm for ceil/floor in HUD OSD +enabled xrender && add_flags "LIBS_X11" "-lm" + # # Print results # -- cgit v1.2.3