diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-10-11 02:18:36 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-10-11 02:18:36 +0000 |
commit | 8ee5c1429af98206e05a0536f87c0f21a529cdf0 (patch) | |
tree | 1a8b3b4b757168633edbcd10d8a54a23d748b8d1 | |
parent | 41ff3b9d1f194a7b56437b650d5f589225c078c6 (diff) |
Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico and probably others.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 3 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2005-10-10 Eric Anholt <anholt@FreeBSD.org> + + * configure.ac: + Add appropriate pthread libs/flags for FreeBSD, fixing the build of ico + and probably others. + 2005-10-07 Kevin E. Martin <kem-at-freedesktop-dot-org> * nls/Makefile.am: diff --git a/configure.ac b/configure.ac index 4e8533b..bd84d93 100644 --- a/configure.ac +++ b/configure.ac @@ -163,6 +163,9 @@ if test x$xthreads == xyes ; then case $host_os in linux*|openbsd*) XTHREADLIB=-lpthread ;; + freebsd*) + XTHREAD_CFLAGS="-D_THREAD_SAFE" + XTHREADLIB="-pthread" ;; solaris*) XTHREAD_CFLAGS="-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS" ;; esac |