Mercurial > mplayer.hg
changeset 9881:60d1ccf22469
automatic svgalib_helper detection
author | alex |
---|---|
date | Tue, 08 Apr 2003 17:11:19 +0000 |
parents | afa6ebcbb50d |
children | 454d8a4bd4f9 |
files | libdha/Makefile |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libdha/Makefile Tue Apr 08 16:23:09 2003 +0000 +++ b/libdha/Makefile Tue Apr 08 17:11:19 2003 +0000 @@ -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