Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
fb01a184
Commit
fb01a184
authored
Sep 23, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: reindent the --disable-sdl related code
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a7ed0108
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
configure
configure
+15
-15
No files found.
configure
View file @
fb01a184
...
...
@@ -4913,21 +4913,21 @@ if enabled libdc1394; then
fi
if
!
disabled sdl
;
then
disable sdl
SDL_CONFIG
=
"
${
cross_prefix
}
sdl-config"
if
check_pkg_config sdl SDL_events.h SDL_PollEvent
;
then
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201"
$sdl_cflags
&&
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) < 0x010300"
$sdl_cflags
&&
enable
sdl
else
if
"
${
SDL_CONFIG
}
"
--version
>
/dev/null 2>&1
;
then
sdl_cflags
=
$(
"
${
SDL_CONFIG
}
"
--cflags
)
sdl_libs
=
$(
"
${
SDL_CONFIG
}
"
--libs
)
check_func_headers SDL_version.h SDL_Linked_Version
$sdl_cflags
$sdl_libs
&&
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201"
$sdl_cflags
&&
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) < 0x010300"
$sdl_cflags
&&
enable
sdl
fi
fi
SDL_CONFIG
=
"
${
cross_prefix
}
sdl-config"
if
check_pkg_config sdl SDL_events.h SDL_PollEvent
;
then
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201"
$sdl_cflags
&&
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) < 0x010300"
$sdl_cflags
&&
enable
sdl
else
if
"
${
SDL_CONFIG
}
"
--version
>
/dev/null 2>&1
;
then
sdl_cflags
=
$(
"
${
SDL_CONFIG
}
"
--cflags
)
sdl_libs
=
$(
"
${
SDL_CONFIG
}
"
--libs
)
check_func_headers SDL_version.h SDL_Linked_Version
$sdl_cflags
$sdl_libs
&&
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) >= 0x010201"
$sdl_cflags
&&
check_cpp_condition SDL.h
"(SDL_MAJOR_VERSION<<16 | SDL_MINOR_VERSION<<8 | SDL_PATCHLEVEL) < 0x010300"
$sdl_cflags
&&
enable
sdl
fi
fi
fi
enabled sdl
&&
add_cflags
$sdl_cflags
&&
add_extralibs
$sdl_libs
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment