Mercurial > mplayer.hg
comparison configure @ 31961:744b676c1654
Add a hack to work with BeOS/Haiku libsdl.
author | reimar |
---|---|
date | Sat, 04 Sep 2010 09:39:21 +0000 |
parents | 5c2b199e78d5 |
children | ea16ed8259be |
comparison
equal
deleted
inserted
replaced
31960:1ba5eef167aa | 31961:744b676c1654 |
---|---|
5331 _inc_tmp="$($_sdlconfig --cflags)" | 5331 _inc_tmp="$($_sdlconfig --cflags)" |
5332 _ld_tmp="$($_sdlconfig --libs)" | 5332 _ld_tmp="$($_sdlconfig --libs)" |
5333 fi | 5333 fi |
5334 if cc_check $_inc_tmp $_ld_tmp >>"$TMPLOG" 2>&1 ; then | 5334 if cc_check $_inc_tmp $_ld_tmp >>"$TMPLOG" 2>&1 ; then |
5335 _sdl=yes | 5335 _sdl=yes |
5336 elif cc_check $_inc_tmp $_ld_tmp -lstdc++ >>"$TMPLOG" 2>&1 ; then | |
5337 # HACK for BeOS/Haiku SDL | |
5338 _ld_tmp="$_ld_tmp -lstdc++" | |
5339 _sdl=yes | |
5336 fi | 5340 fi |
5337 fi | 5341 fi |
5338 fi | 5342 fi |
5339 if test "$_sdl" = yes ; then | 5343 if test "$_sdl" = yes ; then |
5340 def_sdl='#define CONFIG_SDL 1' | 5344 def_sdl='#define CONFIG_SDL 1' |