equal
deleted
inserted
replaced
61 # END BYPASS_OS_DETECT |
61 # END BYPASS_OS_DETECT |
62 endif |
62 endif |
63 |
63 |
64 # FreeBSD uses sdl11 instead of sdl |
64 # FreeBSD uses sdl11 instead of sdl |
65 ifdef FREEBSD |
65 ifdef FREEBSD |
66 SDL-CONFIG:=sdl11-config |
66 SDL_CONFIG:=sdl11-config |
67 else |
67 else |
68 SDL-CONFIG:=sdl-config |
68 SDL_CONFIG:=sdl-config |
69 endif |
69 endif |
70 |
70 |
71 # set libpng-config to the default value |
71 # set libpng-config to the default value |
72 LIBPNG-CONFIG :=libpng-config |
72 LIBPNG_CONFIG :=libpng-config |
73 |
73 |
74 # Networking, enabled by default |
74 # Networking, enabled by default |
75 WITH_NETWORK:=1 |
75 WITH_NETWORK:=1 |
76 |
76 |
77 # Library detections |
77 # Library detections |
78 WITH_SDL:=$(shell $(SDL-CONFIG) --version 2>/dev/null) |
78 WITH_SDL:=$(shell $(SDL_CONFIG) --version 2>/dev/null) |
79 |
79 |
80 # libpng detection |
80 # libpng detection |
81 WITH_PNG:=$(shell $(LIBPNG-CONFIG) --version 2>/dev/null) |
81 WITH_PNG:=$(shell $(LIBPNG_CONFIG) --version 2>/dev/null) |
82 |
82 |
83 ifdef WITH_PNG |
83 ifdef WITH_PNG |
84 # LibPNG depends on Zlib |
84 # LibPNG depends on Zlib |
85 WITH_ZLIB:=1 |
85 WITH_ZLIB:=1 |
86 else |
86 else |