comparison configure.in @ 1019:e3b3130f3af8

Date: Fri, 31 Dec 2004 04:14:09 +0900 From: Hayashi Naoyuki Subject: SDL patch for Tru64 UNIX 4.0X SDL-1.2.8 support only Tru64 5.X. This patch is for Tru64 UNIX 4.X.(tested on Tru64 UNIX 4.0G and 5.1B) SDL-1.2.8/configure.in: ld doesn't accept -pthread option. cc -pthread has same effect as -D_REENTRANT when compiling, and has same effect as -lpthread -lexc when linking. SDL-1.2.8/include/begin_code.h: Old Compaq C Compiler accept not inline but __inline. SDL-1.2.8/src/audio/SDL_mixer_MMX.c: SDL-1.2.8/src/audio/SDL_mixer_MMX.h: Old Compaq C Compiler doesn't accept //. SDL-1.2.8/src/cdrom/osf/SDL_syscdrom.c: When becoming Tru64 v5.0 from Tru64 v4.0, the arrangement of the cd-rom device was changed.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 02 Jan 2005 05:05:21 +0000
parents 027688378762
children cca9aeb2934f
comparison
equal deleted inserted replaced
1018:012af0b7e8e6 1019:e3b3130f3af8
1278 *-*-qnx*) 1278 *-*-qnx*)
1279 pthread_cflags="" 1279 pthread_cflags=""
1280 pthread_lib="" 1280 pthread_lib=""
1281 ;; 1281 ;;
1282 *-*-osf*) 1282 *-*-osf*)
1283 pthread_cflags="-D_REENTRANT"
1283 if test x$ac_cv_prog_gcc = xyes; then 1284 if test x$ac_cv_prog_gcc = xyes; then
1284 pthread_cflags="-D_REENTRANT"
1285 pthread_lib="-lpthread -lrt" 1285 pthread_lib="-lpthread -lrt"
1286 else 1286 else
1287 pthread_cflags="-pthread" 1287 pthread_lib="-lpthread -lexc -lrt"
1288 pthread_lib="-lpthread -lrt"
1289 fi 1288 fi
1290 ;; 1289 ;;
1291 *) 1290 *)
1292 pthread_cflags="-D_REENTRANT" 1291 pthread_cflags="-D_REENTRANT"
1293 pthread_lib="-lpthread" 1292 pthread_lib="-lpthread"