$OpenBSD: patch-acinclude_m4,v 1.1.1.1 2006/01/31 02:49:24 marco Exp $ --- acinclude.m4.orig Thu Dec 15 14:55:32 2005 +++ acinclude.m4 Thu Dec 15 15:08:29 2005 @@ -257,6 +257,18 @@ else i?86-*-openbsd3.7) AFS_SYSNAME="i386_obsd37" ;; + i?86-*-openbsd3.8) + AFS_SYSNAME="i386_obsd38" + ;; + i?86-*-openbsd3.9) + AFS_SYSNAME="i386_obsd39" + ;; + sparc64-*-openbsd3.8) + AFS_SYSNAME="sparc64_obsd38" + ;; + sparc64-*-openbsd3.9) + AFS_SYSNAME="sparc64_obsd39" + ;; i?86-*-freebsd4.2*) AFS_SYSNAME="i386_fbsd_42" ;; @@ -893,10 +905,10 @@ fi PTHREAD_LIBS=error AC_CHECK_LIB(pthread, pthread_attr_init, - PTHREAD_LIBS="-lpthread") + PTHREAD_LIBS="-pthread") if test "x$PTHREAD_LIBS" = xerror; then AC_CHECK_LIB(pthreads, pthread_attr_init, - PTHREAD_LIBS="-lpthreads") + PTHREAD_LIBS="-pthread") fi if test "x$PTHREAD_LIBS" = xerror; then AC_CHECK_LIB(c_r, pthread_attr_init,