Date: Sun, 07 Mar 2004 22:54:11 +0900
From: Hayashi Naoyuki Subject: Tru64 cdrom and pthread option fix SDL-1.2.7/src/cdrom/osf/SDL_syscdrom.c Fixes Some CD-ROM drives(ex. TEAC CD-532E) cannot play first 150 frames(aka gap). CheckDrive() fix. The end of comment is "* /" in AddDrive(). SDL-1.2.7/configure.in Fixes Add *-*-osf pthread option and delete line SDL_LIBS="$SDL_LIBS -lrt". --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40874
This commit is contained in:
parent
561b81add3
commit
d97c090d07
2 changed files with 63 additions and 57 deletions
10
configure.in
10
configure.in
|
@ -1217,6 +1217,15 @@ CheckPTHREAD()
|
|||
pthread_cflags=""
|
||||
pthread_lib=""
|
||||
;;
|
||||
*-*-osf*)
|
||||
if test x$ac_cv_prog_gcc = xyes; then
|
||||
pthread_cflags="-D_REENTRANT"
|
||||
pthread_lib="-lpthread -lrt"
|
||||
else
|
||||
pthread_cflags="-pthread"
|
||||
pthread_lib="-lpthread -lrt"
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
pthread_cflags="-D_REENTRANT"
|
||||
pthread_lib="-lpthread"
|
||||
|
@ -2268,7 +2277,6 @@ case "$target" in
|
|||
CheckOpenGL
|
||||
CheckPTHREAD
|
||||
CheckSIGACTION
|
||||
SDL_LIBS="$SDL_LIBS -lrt"
|
||||
# Set up files for the audio library
|
||||
if test x$enable_audio = xyes; then
|
||||
CFLAGS="$CFLAGS -I/usr/include/mme -DMMEAUDIO_SUPPORT"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue