Update of /cvsroot/mplayer/main/libdha In directory mail:/var/tmp.root/cvs-serv20835 Modified Files: Makefile Log Message: automatic svgalib_helper detection Index: Makefile =================================================================== RCS file: /cvsroot/mplayer/main/libdha/Makefile,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- Makefile 21 Dec 2002 17:49:52 -0000 1.19 +++ Makefile 8 Apr 2003 17:11:19 -0000 1.20 @@ -31,7 +31,9 @@ # 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