$NetBSD: patch-bo,v 1.2 2003/03/17 16:07:35 taya Exp $ diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in --- ../Orig/mozilla/nsprpub/configure.in 2003-01-21 05:49:52.000000000 +0900 +++ ./nsprpub/configure.in 2003-03-14 16:59:14.000000000 +0900 @@ -2144,7 +2144,14 @@ _PTHREAD_LDFLAGS="-lc_r" fi ;; - *-openbsd*|*-bsdi*|*-netbsd*) + *-netbsd*) + AC_DEFINE(_REENTRANT) + AC_DEFINE(_THREAD_SAFE) + if test "$ac_cv_have_dash_pthread" = "yes"; then + _PTHREAD_LDFLAGS="-pthread" + fi + ;; + *-openbsd*|*-bsdi*) AC_DEFINE(_THREAD_SAFE) dnl -pthread links in -lc_r, so don't specify it explicitly. if test "$ac_cv_have_dash_pthread" = "yes"; then