# HG changeset patch # User alex # Date 1049821879 0 # Node ID 60d1ccf22469ceb2fb49135942723f4f4fbc542b # Parent afa6ebcbb50dbfe79a1218fa15370f33c7b0dcef automatic svgalib_helper detection diff -r afa6ebcbb50d -r 60d1ccf22469 libdha/Makefile --- 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