Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
04c93734
Commit
04c93734
authored
Aug 10, 2001
by
Christophe Massiot
Browse files
Added --with-sdl-config-path option if you sdl-config is not in $PATH.
parent
c107309f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
configure
View file @
04c93734
This diff is collapsed.
Click to expand it.
configure.in
View file @
04c93734
...
...
@@ -609,18 +609,25 @@ AC_ARG_ENABLE(sdl,
[ --disable-sdl SDL support (default enabled)])
if test "x$enable_sdl" != "xno"
then
AC_PATH_PROG(SDL12_CONFIG, sdl12-config, no)
SDL_PATH=$PATH
AC_ARG_WITH(sdl-config-path,
[ --with-sdl-config-path=path sdl-config path (default search in \$PATH)],
[ if test "x$withval" != "xno"
then
SDL_PATH=$withval:$PATH
fi ])
AC_PATH_PROG(SDL12_CONFIG, sdl12-config, no, $SDL_PATH)
SDL_CONFIG=${SDL12_CONFIG}
SDL_HEADER="SDL12/SDL.h"
if test x${SDL_CONFIG} = xno
then
AC_PATH_PROG(SDL11_CONFIG, sdl11-config, no)
AC_PATH_PROG(SDL11_CONFIG, sdl11-config, no
, $SDL_PATH
)
SDL_CONFIG=${SDL11_CONFIG}
SDL_HEADER="SDL11/SDL.h"
fi
if test x${SDL_CONFIG} = xno
then
AC_PATH_PROG(SDL_CONFIG, sdl-config, no)
AC_PATH_PROG(SDL_CONFIG, sdl-config, no
, $SDL_PATH
)
SDL_HEADER="SDL/SDL.h"
fi
if test x${SDL_CONFIG} != xno
...
...
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