Commit d4cb388e authored by briano%netscape.com's avatar briano%netscape.com
Browse files

Automated update

parent bba582d0
Loading
Loading
Loading
Loading
+35 −23
Original line number Diff line number Diff line
@@ -8581,12 +8581,24 @@ EOF
#define _REENTRANT 1
EOF


			if test ! "$GNU_CC"; then
				CFLAGS="$CFLAGS -pthread" 
				CXXFLAGS="$CXXFLAGS -pthread" 
			fi
			;;

	    *-*-freebsd*)
			cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF

			cat >> confdefs.h <<\EOF
#define _THREAD_SAFE 1
EOF

			CFLAGS="$CFLAGS -pthread"
			CXXFLAGS="$CXXFLAGS -pthread"
			;;
	esac
fi

@@ -8618,13 +8630,13 @@ else
fi

echo $ac_n "checking "for PR_GetCurrentThread in -lnspr3"""... $ac_c" 1>&6
echo "configure:8622: checking "for PR_GetCurrentThread in -lnspr3"" >&5
echo "configure:8634: checking "for PR_GetCurrentThread in -lnspr3"" >&5
LIBS="-lnspr3 $NSPR_LIBS $LIBS"
if test "$cross_compiling" = yes; then
  _NSPR_NEEDS_THREAD_LIB=1 result="no" 
else
  cat > conftest.$ac_ext <<EOF
#line 8628 "configure"
#line 8640 "configure"
#include "confdefs.h"
#include <stdio.h>
	#include <nspr.h>
@@ -8634,7 +8646,7 @@ else
	}
	
EOF
if { (eval echo configure:8638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
  NSPR_LIBS="-lnspr3 $NSPR_LIBS" result="yes"
else
@@ -8655,7 +8667,7 @@ LIBS=$_SAVE_LIBS
case "$target" in
*-*-solaris*) 
	echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:8659: checking for pthread_attr_init in -lpthread" >&5
echo "configure:8671: checking for pthread_attr_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
@@ -8663,7 +8675,7 @@ else
  ac_save_LIBS="$LIBS"
LIBS="-lpthread  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8667 "configure"
#line 8679 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
@@ -8674,7 +8686,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:8678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -8696,7 +8708,7 @@ fi
 ;;
*-*-linux*) 
	echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:8700: checking for pthread_attr_init in -lpthread" >&5
echo "configure:8712: checking for pthread_attr_init in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_attr_init | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
@@ -8704,7 +8716,7 @@ else
  ac_save_LIBS="$LIBS"
LIBS="-lpthread  $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8708 "configure"
#line 8720 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
@@ -8715,7 +8727,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:8719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -8738,13 +8750,13 @@ fi
esac

echo $ac_n "checking "for PR_GetCurrentThread in -lnspr3 with thread lib"""... $ac_c" 1>&6
echo "configure:8742: checking "for PR_GetCurrentThread in -lnspr3 with thread lib"" >&5
echo "configure:8754: checking "for PR_GetCurrentThread in -lnspr3 with thread lib"" >&5
    LIBS="-lnspr3 $NSPR_LIBS $LIBS"
    if test "$cross_compiling" = yes; then
  MISSING_NSPR="$MISSING_NSPR -lnspr3" result="no" 
else
  cat > conftest.$ac_ext <<EOF
#line 8748 "configure"
#line 8760 "configure"
#include "confdefs.h"
#include <stdio.h>
	#include <nspr.h>
@@ -8754,7 +8766,7 @@ else
	}
	
EOF
if { (eval echo configure:8758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
then
  NSPR_LIBS="-lnspr3 $NSPR_LIBS" result="yes"
else
@@ -8772,7 +8784,7 @@ fi


echo $ac_n "checking for PL_CreateOptState in -lplc3""... $ac_c" 1>&6
echo "configure:8776: checking for PL_CreateOptState in -lplc3" >&5
echo "configure:8788: checking for PL_CreateOptState in -lplc3" >&5
ac_lib_var=`echo plc3'_'PL_CreateOptState | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
@@ -8780,7 +8792,7 @@ else
  ac_save_LIBS="$LIBS"
LIBS="-lplc3 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8784 "configure"
#line 8796 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
@@ -8791,7 +8803,7 @@ int main() {
PL_CreateOptState()
; return 0; }
EOF
if { (eval echo configure:8795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -8813,7 +8825,7 @@ MISSING_NSPR="$MISSING_NSPR -lplc3"
fi

echo $ac_n "checking for PL_GetEvent in -lplds3""... $ac_c" 1>&6
echo "configure:8817: checking for PL_GetEvent in -lplds3" >&5
echo "configure:8829: checking for PL_GetEvent in -lplds3" >&5
ac_lib_var=`echo plds3'_'PL_GetEvent | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
@@ -8821,7 +8833,7 @@ else
  ac_save_LIBS="$LIBS"
LIBS="-lplds3 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8825 "configure"
#line 8837 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
@@ -8832,7 +8844,7 @@ int main() {
PL_GetEvent()
; return 0; }
EOF
if { (eval echo configure:8836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
else
@@ -8909,7 +8921,7 @@ CXXFLAGS=`echo \
# Extract the first word of "makedepend", so it can be a program name with args.
set dummy makedepend; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:8913: checking for $ac_word" >&5
echo "configure:8925: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_SYSTEM_MAKEDEPEND'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
else