diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-08 17:11:19 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-04-08 17:11:19 +0000 |
commit | 6ed5e906231000c8a9787d4de39d9bcb583354bf (patch) | |
tree | 80a43b033ea5ac3b0eced6dfebfa1309fd6fb50e | |
parent | dee8597fcf514871e72c2d20ab5a1969e5b3e67e (diff) |
automatic svgalib_helper detection
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9882 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libdha/Makefile | 4 |
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 |