comparison configure.in @ 1200:8f418dce02b2

Date: Sun, 11 Dec 2005 20:37:04 +0100 From: Olivier Boudeville <olivier.boudeville@online.fr> To: "A list for developers using the SDL library. \(includes SDL-announce\)" <sdl@libsdl.org> Subject: [SDL] NetBSD build patch Hi everybody, apparently the SDL-1.2.9 source archive could not compile "as is" on NetBSD 2.0_STABLE due to a pthread detection issue in the configure script. I attached a small patch that can be applied to configure.in so that SDL can be directly (i.e. without the NetBSD package manager) configured and built successfully on NetBSD (at least on the one I tried !). Hope this helps, Olivier.
author Ryan C. Gordon <icculus@icculus.org>
date Mon, 12 Dec 2005 09:22:36 +0000
parents 3bafdbba8dcf
children 718d00094f82
comparison
equal deleted inserted replaced
1199:2d6dc7de1145 1200:8f418dce02b2
1285 *-*-freebsd*) 1285 *-*-freebsd*)
1286 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE" 1286 pthread_cflags="-D_REENTRANT -D_THREAD_SAFE"
1287 pthread_lib="-pthread" 1287 pthread_lib="-pthread"
1288 ;; 1288 ;;
1289 *-*-netbsd*) 1289 *-*-netbsd*)
1290 pthread_cflags="-I/usr/pkg/include -D_REENTRANT" 1290 pthread_cflags="-I/usr/include -D_REENTRANT -D_THREAD_SAFE"
1291 pthread_lib="-L/usr/pkg/lib -lpthread -lsem" 1291 pthread_lib="-L/usr/lib -lpthread"
1292 ;; 1292 ;;
1293 *-*-openbsd*) 1293 *-*-openbsd*)
1294 pthread_cflags="-D_REENTRANT" 1294 pthread_cflags="-D_REENTRANT"
1295 pthread_lib="-pthread" 1295 pthread_lib="-pthread"
1296 ;; 1296 ;;