diff options
author | cvs2hg <devnull@localhost> | 2003-07-10 17:34:09 +0000 |
---|---|---|
committer | cvs2hg <devnull@localhost> | 2003-07-10 17:34:09 +0000 |
commit | cdee56d778a9aee0f84e0bf64acb94fe4892bc8b (patch) | |
tree | 2117fc0f35f1bb157a086be94659335ff3281d56 | |
parent | 9681819e2e405b239c08f558caf2dfdfb7ec8a87 (diff) | |
download | nspr-hg-cdee56d778a9aee0f84e0bf64acb94fe4892bc8b.tar.gz |
fixup commit for tag 'NSPR_4_4_RTM'NSPR_4_4_RTM
-rwxr-xr-x | admin/repackage.sh | 8 | ||||
-rwxr-xr-x | configure | 41 | ||||
-rw-r--r-- | configure.in | 3 | ||||
-rw-r--r-- | pr/include/prinit.h | 4 | ||||
-rw-r--r-- | pr/src/misc/Makefile.in | 10 | ||||
-rw-r--r-- | pr/tests/vercheck.c | 12 |
6 files changed, 45 insertions, 33 deletions
diff --git a/admin/repackage.sh b/admin/repackage.sh index 999aa0e0..d333c185 100755 --- a/admin/repackage.sh +++ b/admin/repackage.sh @@ -60,10 +60,10 @@ # # These variables should be modified for each NSPR release. # -FROMTOP=/share/builds/components/nspr20/v4.3 -TOTOP=./v4.3 -NSPRDIR=nspr-4.3 -SOURCETAG=NSPR_4_3_RTM +FROMTOP=/share/builds/components/nspr20/v4.4 +TOTOP=./v4.4 +NSPRDIR=nspr-4.4 +SOURCETAG=NSPR_4_4_RTM # # enumerate Unix object directories on /s/b/c @@ -680,7 +680,7 @@ test "$host_alias" != "$target_alias" && MOD_MAJOR_VERSION=4 -MOD_MINOR_VERSION=3 +MOD_MINOR_VERSION=4 MOD_PATCH_VERSION=0 NSPR_MODNAME=nspr20 _HAVE_PTHREADS= @@ -4473,6 +4473,7 @@ EOF CFLAGS="$CFLAGS -xs" CXXFLAGS="$CXXFLAGS -xs" fi + _OPTIMIZE_FLAGS=-xO4 fi if test -n "$USE_64" && test -z "$GNU_CC"; then CC="$CC -xarch=v9" @@ -4720,12 +4721,12 @@ esac if test -z "$SKIP_LIBRARY_CHECKS"; then echo $ac_n "checking for dlopen""... $ac_c" 1>&6 -echo "configure:4724: checking for dlopen" >&5 +echo "configure:4725: checking for dlopen" >&5 if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4729 "configure" +#line 4730 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen(); below. */ @@ -4748,7 +4749,7 @@ dlopen(); ; return 0; } EOF -if { (eval echo configure:4752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_dlopen=yes" else @@ -4767,7 +4768,7 @@ else echo "$ac_t""no" 1>&6 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:4771: checking for dlopen in -ldl" >&5 +echo "configure:4772: checking for dlopen in -ldl" >&5 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -4775,7 +4776,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <<EOF -#line 4779 "configure" +#line 4780 "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 @@ -4786,7 +4787,7 @@ int main() { dlopen() ; return 0; } EOF -if { (eval echo configure:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -4814,13 +4815,13 @@ fi if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:4818: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:4819: checking whether ${CC-cc} needs -traditional" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_pattern="Autoconf.*'x'" cat > conftest.$ac_ext <<EOF -#line 4824 "configure" +#line 4825 "configure" #include "confdefs.h" #include <sgtty.h> Autoconf TIOCGETP @@ -4838,7 +4839,7 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext <<EOF -#line 4842 "configure" +#line 4843 "configure" #include "confdefs.h" #include <termio.h> Autoconf TCGETA @@ -4862,12 +4863,12 @@ fi for ac_func in lchown strerror do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:4866: checking for $ac_func" >&5 +echo "configure:4867: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <<EOF -#line 4871 "configure" +#line 4872 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func(); below. */ @@ -4890,7 +4891,7 @@ $ac_func(); ; return 0; } EOF -if { (eval echo configure:4894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:4895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -4929,7 +4930,7 @@ hpux*) if test -z "$GNU_CC"; then echo $ac_n "checking for +Olit support""... $ac_c" 1>&6 -echo "configure:4933: checking for +Olit support" >&5 +echo "configure:4934: checking for +Olit support" >&5 if eval "test \"`echo '$''{'ac_cv_hpux_usable_olit_option'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -4963,7 +4964,7 @@ esac echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6 -echo "configure:4967: checking for pthread_create in -lpthreads" >&5 +echo "configure:4968: checking for pthread_create in -lpthreads" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -4985,7 +4986,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 -echo "configure:4989: checking for pthread_create in -lpthread" >&5 +echo "configure:4990: checking for pthread_create in -lpthread" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -5007,7 +5008,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 -echo "configure:5011: checking for pthread_create in -lc_r" >&5 +echo "configure:5012: checking for pthread_create in -lc_r" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -5029,7 +5030,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6 -echo "configure:5033: checking for pthread_create in -lc" >&5 +echo "configure:5034: checking for pthread_create in -lc" >&5 echo " #include <pthread.h> void *foo(void *v) { return v; } @@ -5181,7 +5182,7 @@ if test -n "$USE_PTHREADS"; then rm -f conftest* ac_cv_have_dash_pthread=no echo $ac_n "checking whether ${CC-cc} accepts -pthread""... $ac_c" 1>&6 -echo "configure:5185: checking whether ${CC-cc} accepts -pthread" >&5 +echo "configure:5186: checking whether ${CC-cc} accepts -pthread" >&5 echo 'int main() { return 0; }' | cat > conftest.c ${CC-cc} -pthread -o conftest conftest.c > conftest.out 2>&1 if test $? -eq 0; then @@ -5204,7 +5205,7 @@ echo "configure:5185: checking whether ${CC-cc} accepts -pthread" >&5 ac_cv_have_dash_pthreads=no if test "$ac_cv_have_dash_pthread" = "no"; then echo $ac_n "checking whether ${CC-cc} accepts -pthreads""... $ac_c" 1>&6 -echo "configure:5208: checking whether ${CC-cc} accepts -pthreads" >&5 +echo "configure:5209: checking whether ${CC-cc} accepts -pthreads" >&5 echo 'int main() { return 0; }' | cat > conftest.c ${CC-cc} -pthreads -o conftest conftest.c > conftest.out 2>&1 if test $? -eq 0; then diff --git a/configure.in b/configure.in index 3abf69ba..1d530d73 100644 --- a/configure.in +++ b/configure.in @@ -43,7 +43,7 @@ dnl ======================================================== dnl = Defaults dnl ======================================================== MOD_MAJOR_VERSION=4 -MOD_MINOR_VERSION=3 +MOD_MINOR_VERSION=4 MOD_PATCH_VERSION=0 NSPR_MODNAME=nspr20 _HAVE_PTHREADS= @@ -1687,6 +1687,7 @@ mips-sony-newsos*) CFLAGS="$CFLAGS -xs" CXXFLAGS="$CXXFLAGS -xs" fi + _OPTIMIZE_FLAGS=-xO4 fi if test -n "$USE_64" && test -z "$GNU_CC"; then CC="$CC -xarch=v9" diff --git a/pr/include/prinit.h b/pr/include/prinit.h index 64ca8cc3..e73dce7f 100644 --- a/pr/include/prinit.h +++ b/pr/include/prinit.h @@ -60,11 +60,11 @@ PR_BEGIN_EXTERN_C ** The format of the version string is ** "<major version>.<minor version>[.<patch level>] [<Beta>]" */ -#define PR_VERSION "4.4 Beta" +#define PR_VERSION "4.4" #define PR_VMAJOR 4 #define PR_VMINOR 4 #define PR_VPATCH 0 -#define PR_BETA PR_TRUE +#define PR_BETA PR_FALSE /* ** PRVersionCheck diff --git a/pr/src/misc/Makefile.in b/pr/src/misc/Makefile.in index 5949d507..afc4b631 100644 --- a/pr/src/misc/Makefile.in +++ b/pr/src/misc/Makefile.in @@ -82,6 +82,16 @@ RELEASE_BINS = $(srcdir)/compile-et.pl $(srcdir)/prerr.properties include $(topsrcdir)/config/rules.mk +# Prevent floating point errors caused by MSVC 6.0 Processor Pack +# optimizations (bug 207421). This disables optimizations that +# could change the precision of floating-point calculations for +# this single compilation unit. +ifeq ($(NS_USE_GCC)_$(OS_ARCH),_WINNT) +$(OBJDIR)/prdtoa.$(OBJ_SUFFIX): prdtoa.c + @$(MAKE_OBJDIR) + $(CC) -Fo$@ -c $(CFLAGS) -Op $(call abspath,$<) +endif + # # Generate prerr.h, prerr.c, and prerr.properties from prerr.et. # diff --git a/pr/tests/vercheck.c b/pr/tests/vercheck.c index 9cec4302..093ab673 100644 --- a/pr/tests/vercheck.c +++ b/pr/tests/vercheck.c @@ -49,13 +49,13 @@ #include <stdlib.h> /* - * This release (4.3) is backward compatible with the - * 4.0.x, 4.1.x, and 4.2.x releases. It, of course, is compatible - * with itself. + * This release (4.4) is backward compatible with the + * 4.0.x, 4.1.x, 4.2.x, and 4.3.x releases. It, of course, + * is compatible with itself. */ static char *compatible_version[] = { "4.0", "4.0.1", "4.1", "4.1.1", "4.1.2", "4.1.3", - "4.2", "4.2.1", "4.2.2", PR_VERSION + "4.2", "4.2.1", "4.2.2", "4.3", PR_VERSION }; /* @@ -70,8 +70,8 @@ static char *incompatible_version[] = { "3.0", "3.0.1", "3.1", "3.1.1", "3.1.2", "3.1.3", "3.5", "3.5.1", - "4.3.3", - "4.4", "4.4.1", + "4.4.3", + "4.5", "4.5.1", "10.0", "11.1", "12.14.20" }; |