This commit is contained in:
briano%netscape.com 1999-04-08 01:32:30 +00:00
Родитель 0626682fe8
Коммит a2fe29de20
1 изменённых файлов: 21 добавлений и 22 удалений

43
configure поставляемый
Просмотреть файл

@ -7974,12 +7974,11 @@ EOF
EOF
;;
alpha*-*-osf*)
if test "$GNU_CC"; then
cat >> confdefs.h <<\EOF
cat >> confdefs.h <<\EOF
#define _REENTRANT 1
EOF
else
if test ! "$GNU_CC"; then
CFLAGS="$CFLAGS -pthread"
CXXFLAGS="$CXXFLAGS -pthread"
fi ;;
@ -8013,13 +8012,13 @@ else
fi
echo $ac_n "checking "for PR_GetCurrentThread in -lnspr3"""... $ac_c" 1>&6
echo "configure:8017: checking "for PR_GetCurrentThread in -lnspr3"" >&5
echo "configure:8016: 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 8023 "configure"
#line 8022 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -8029,7 +8028,7 @@ else
}
EOF
if { (eval echo configure:8033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8032: \"$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
@ -8050,7 +8049,7 @@ LIBS=$_SAVE_LIBS
case "$target" in
*-*-solaris*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:8054: checking for pthread_attr_init in -lpthread" >&5
echo "configure:8053: 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
@ -8058,7 +8057,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8062 "configure"
#line 8061 "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
@ -8069,7 +8068,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:8073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8072: \"$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
@ -8091,7 +8090,7 @@ fi
;;
*-*-linux*)
echo $ac_n "checking for pthread_attr_init in -lpthread""... $ac_c" 1>&6
echo "configure:8095: checking for pthread_attr_init in -lpthread" >&5
echo "configure:8094: 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
@ -8099,7 +8098,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8103 "configure"
#line 8102 "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
@ -8110,7 +8109,7 @@ int main() {
pthread_attr_init()
; return 0; }
EOF
if { (eval echo configure:8114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8113: \"$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
@ -8133,13 +8132,13 @@ fi
esac
echo $ac_n "checking "for PR_GetCurrentThread in -lnspr3 with thread lib"""... $ac_c" 1>&6
echo "configure:8137: checking "for PR_GetCurrentThread in -lnspr3 with thread lib"" >&5
echo "configure:8136: 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 8143 "configure"
#line 8142 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <nspr.h>
@ -8149,7 +8148,7 @@ else
}
EOF
if { (eval echo configure:8153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
if { (eval echo configure:8152: \"$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
@ -8167,7 +8166,7 @@ fi
echo $ac_n "checking for PL_CreateOptState in -lplc3""... $ac_c" 1>&6
echo "configure:8171: checking for PL_CreateOptState in -lplc3" >&5
echo "configure:8170: 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
@ -8175,7 +8174,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplc3 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8179 "configure"
#line 8178 "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
@ -8186,7 +8185,7 @@ int main() {
PL_CreateOptState()
; return 0; }
EOF
if { (eval echo configure:8190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8189: \"$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
@ -8208,7 +8207,7 @@ MISSING_NSPR="$MISSING_NSPR -lplc3"
fi
echo $ac_n "checking for PL_GetEvent in -lplds3""... $ac_c" 1>&6
echo "configure:8212: checking for PL_GetEvent in -lplds3" >&5
echo "configure:8211: 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
@ -8216,7 +8215,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lplds3 $NSPR_LIBS $LIBS"
cat > conftest.$ac_ext <<EOF
#line 8220 "configure"
#line 8219 "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
@ -8227,7 +8226,7 @@ int main() {
PL_GetEvent()
; return 0; }
EOF
if { (eval echo configure:8231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
if { (eval echo configure:8230: \"$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
@ -8294,7 +8293,7 @@ then
# 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:8298: checking for $ac_word" >&5
echo "configure:8297: 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