summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-08 17:11:19 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-04-08 17:11:19 +0000
commit6ed5e906231000c8a9787d4de39d9bcb583354bf (patch)
tree80a43b033ea5ac3b0eced6dfebfa1309fd6fb50e /libdha
parentdee8597fcf514871e72c2d20ab5a1969e5b3e67e (diff)
downloadmpv-6ed5e906231000c8a9787d4de39d9bcb583354bf.tar.bz2
mpv-6ed5e906231000c8a9787d4de39d9bcb583354bf.tar.xz
automatic svgalib_helper detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9882 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libdha')
-rw-r--r--libdha/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdha/Makefile b/libdha/Makefile
index 6293578d51..3a941c3071 100644
--- a/libdha/Makefile
+++ b/libdha/Makefile
@@ -31,7 +31,9 @@ endif
# If you want libdha to use svgalib_helper for hardware access,
# uncomment this statement, and change the -I to the correct directory
# that includes svgalib_helper.o:
-#CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
+ifneq ($(wildcard svgalib_helper),)
+CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/
+endif
.SUFFIXES: .c .o