diff options
Diffstat (limited to 'Build/source/texk/web2c/configure.in')
-rw-r--r-- | Build/source/texk/web2c/configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/configure.in b/Build/source/texk/web2c/configure.in index cdef227c52f..b8e2dd061f0 100644 --- a/Build/source/texk/web2c/configure.in +++ b/Build/source/texk/web2c/configure.in @@ -293,6 +293,15 @@ sinclude(xetexdir/tests.ac) sinclude(xetexdir/acx_pthread.m4) ACX_PTHREAD +# the following is for OpenBSD, where the PTHREAD_CFLAGS setting is defeated by -nodefaultlibs in the xetex link; +# similar hackery might be needed on other systems (groan) -- JK 2007-01-07 +case "${host}" in +*-*-*bsd*) + if test "x$PTHREAD_LIBS" = "x"; then + PTHREAD_LIBS="-lpthread" + fi ;; +esac + if test "x$with_xetex" = xyes; then AC_HAS_CARBON |