Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
5ae8f6ea
Commit
5ae8f6ea
authored
19 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Add support for WITHOUT_SDL make variable.
parent
218de550
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/conio/Common.gmake
+17
-15
17 additions, 15 deletions
src/conio/Common.gmake
with
17 additions
and
15 deletions
src/conio/Common.gmake
+
17
−
15
View file @
5ae8f6ea
# Find SDL headers!
ifndef SDL_CONFIG
ifeq ($(os),darwin)
ifeq ($(shell if [ -d /Library/Frameworks/SDL.framework ] ; then echo YES ; fi),YES)
WITH_SDL := 1
endif
else
ifeq ($(shell sdl-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl-config
WITH_SDL := 1
ifndef WITHOUT_SDL
ifndef SDL_CONFIG
ifeq ($(os),darwin)
ifeq ($(shell if [ -d /Library/Frameworks/SDL.framework ] ; then echo YES ; fi),YES)
WITH_SDL := 1
endif
else
ifeq ($(shell sdl
13
-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl
13
-config
ifeq ($(shell sdl-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl-config
WITH_SDL := 1
else
ifeq ($(shell sdl1
2
-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl1
2
-config
ifeq ($(shell sdl1
3
-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl1
3
-config
WITH_SDL := 1
else
ifeq ($(shell sdl1
1
-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl1
1
-config
ifeq ($(shell sdl1
2
-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl1
2
-config
WITH_SDL := 1
else
ifeq ($(shell sdl11-config --cflags > /dev/null 2>&1 && echo YES),YES)
SDL_CONFIG := sdl11-config
WITH_SDL := 1
endif
endif
endif
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment