From: Brad S. <br...@co...> - 2010-04-09 22:51:51
|
# HG changeset patch # User Brad Smith <br...@co...> # Date 1270853399 -3600 # Node ID 9df221019912f12f692f1fa733c0d4c8d6a6879a # Parent 457c46bca7d70e6a5192ef8b056410a23e31d417 Correct CFLAGS/CPPFLAGS/LIBS setting and POSIX threads setup for OpenBSD. diff --git a/configure.ac b/configure.ac --- a/configure.ac +++ b/configure.ac @@ -100,11 +100,15 @@ dnl in src/xitk/xine-toolkit/Makefile.am dnl case "$host" in - *-*-freebsd*|*-*-openbsd*) + *-*-freebsd*) THREAD_LIBS="-L/usr/local/lib -pthread" THREAD_CFLAGS="-I/usr/local/include -D_THREAD_SAFE" CFLAGS="-L/usr/local/lib $THREAD_CFLAGS $CFLAGS" CPPFLAGS="-I/usr/local/include -L/usr/local/lib $CPPFLAGS" + ;; + + *-*-openbsd*) + THREAD_LIBS="-pthread" ;; *-*-hpux11*) |