Skip to content
Snippets Groups Projects
Commit d6b23b13 authored by deuce's avatar deuce
Browse files

Verify the SDL_CONFIG value.

parent 063c8b9f
Branches
Tags
No related merge requests found
......@@ -71,7 +71,11 @@ endif
# Find SDL headers!
ifndef WITHOUT_SDL
ifndef SDL_CONFIG
ifdef SDL_CONFIG
ifeq ($(shell ${SDL_CONFIG} --cflags > /dev/null 2>&1 && echo YES),YES)
WITH_SDL := 1
endif
else
ifeq ($(os),darwin)
ifeq ($(shell if [ -d /Library/Frameworks/SDL.framework ] ; then echo YES ; fi),YES)
WITH_SDL := 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment