From 6ed5e906231000c8a9787d4de39d9bcb583354bf Mon Sep 17 00:00:00 2001 From: alex Date: Tue, 8 Apr 2003 17:11:19 +0000 Subject: automatic svgalib_helper detection git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9882 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libdha/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libdha') 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 -- cgit v1.2.3