summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-11-18 00:04:06 +0000
committerphintuka <phintuka>2008-11-18 00:04:06 +0000
commit2a739a2939a6737acdf156eb7b108221b59a2115 (patch)
tree490ede7107bb2b8d3acbc8eb4aa0b2aee1d3060b
parentd14ca56a6cf35759eb6166ff6fc3868ce6cc91fd (diff)
downloadxineliboutput-2a739a2939a6737acdf156eb7b108221b59a2115.tar.gz
xineliboutput-2a739a2939a6737acdf156eb7b108221b59a2115.tar.bz2
Added math library (-lm) to LIBS_X11 when building with
Xrender / HUD OSD support (Thanks to Anssi Hannula)
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
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
#