diff options
author | seawood%netscape.com <devnull@localhost> | 2002-05-29 08:00:49 +0000 |
---|---|---|
committer | seawood%netscape.com <devnull@localhost> | 2002-05-29 08:00:49 +0000 |
commit | 98ad752c3255b5210e10ce6956012937b8056181 (patch) | |
tree | 7ef562907eff3c3eb18cbba77def94bb8ef8f642 | |
parent | 8494ad0037cb3ae48e783083a5c371c23be4f369 (diff) | |
download | nspr-hg-98ad752c3255b5210e10ce6956012937b8056181.tar.gz |
Fix typo that was causing pthreads to be selected by default on OpenBSD even though we default to NSPR threads on that platform.
Bug #145560 r=wtc
-rwxr-xr-x | configure | 4 | ||||
-rw-r--r-- | configure.in | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -5008,7 +5008,7 @@ if test "${with_pthreads+set}" = set; then _PTHREAD_LDFLAGS= fi else - if test -n "$_HAVE_PTHREADS" && test -z "$USE_USER_PTHREADS" && test -z "$USER_NSPR_THREADS"; then + if test -n "$_HAVE_PTHREADS" && test -z "$USE_USER_PTHREADS" && test -z "$USE_NSPR_THREADS"; then USE_PTHREADS=1 USE_USER_PTHREADS= USE_NSPR_THREADS= @@ -5311,7 +5311,7 @@ EOF _PTHREAD_LDFLAGS= USE_USER_PTHREADS= ;; -*-netbsd*) +*-netbsd*|*-openbsd*) if test -n "$USE_NSPR_THREADS"; then cat >> confdefs.h <<\EOF #define _PR_LOCAL_THREADS_ONLY 1 diff --git a/configure.in b/configure.in index 3b7848ca..d4c8fb0c 100644 --- a/configure.in +++ b/configure.in @@ -1932,7 +1932,7 @@ AC_ARG_WITH(pthreads, USE_PTHREADS= _PTHREAD_LDFLAGS= fi], - [ if test -n "$_HAVE_PTHREADS" && test -z "$USE_USER_PTHREADS" && test -z "$USER_NSPR_THREADS"; then + [ if test -n "$_HAVE_PTHREADS" && test -z "$USE_USER_PTHREADS" && test -z "$USE_NSPR_THREADS"; then USE_PTHREADS=1 USE_USER_PTHREADS= USE_NSPR_THREADS= @@ -2155,7 +2155,7 @@ case "$target" in _PTHREAD_LDFLAGS= USE_USER_PTHREADS= ;; -*-netbsd*) +*-netbsd*|*-openbsd*) if test -n "$USE_NSPR_THREADS"; then AC_DEFINE(_PR_LOCAL_THREADS_ONLY) fi |