diff --git a/mozilla/nsprpub/config/rules.mk b/mozilla/nsprpub/config/rules.mk index 1699910d384..bab6f1eba50 100644 --- a/mozilla/nsprpub/config/rules.mk +++ b/mozilla/nsprpub/config/rules.mk @@ -109,7 +109,7 @@ ifdef LIBRARY_NAME ifeq (,$(filter-out WINNT WINCE OS2,$(OS_ARCH))) # -# Win95, Win16, and OS/2 require library names conforming to the 8.3 rule. +# Win95 and OS/2 require library names conforming to the 8.3 rule. # other platforms do not. # ifeq (,$(filter-out WIN95 WINCE OS2,$(OS_TARGET))) diff --git a/mozilla/nsprpub/configure b/mozilla/nsprpub/configure index 76b3007bcfa..d72fa95f625 100755 --- a/mozilla/nsprpub/configure +++ b/mozilla/nsprpub/configure @@ -2826,9 +2826,6 @@ fi # at lesser performance (the Win95 target uses threads; the WinNT target # uses fibers). # -# When OS_TARGET=WIN16 is specified, then a Windows 3.11 (16bit) target -# is built. See: win16_3.11.mk for lots more about the Win16 target. -# # If OS_TARGET is not specified, it defaults to $(OS_ARCH), i.e., no # cross-compilation. # @@ -2927,9 +2924,6 @@ fi if test "$OS_TARGET" = "WIN95"; then OS_RELEASE="4.0" fi -if test "$OS_TARGET" = "WIN16"; then - OS_RELEASE= -fi OS_CONFIG="${OS_TARGET}${OS_RELEASE}" # Check whether --enable-os2-high-mem or --disable-os2-high-mem was given. @@ -2981,17 +2975,17 @@ EOF DSO_LDOPTS='-brtl -bnortllib -bM:SRE -bnoentry -bexpall -blibpath:/usr/lib:/lib' ac_safe=`echo "sys/atomic_op.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for sys/atomic_op.h""... $ac_c" 1>&6 -echo "configure:2985: checking for sys/atomic_op.h" >&5 +echo "configure:2979: checking for sys/atomic_op.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:2995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:2989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -3148,7 +3142,7 @@ EOF _DEBUG_FLAGS='-gdwarf-2 -O0' MKSHLIB='$(CCC) $(DSO_LDOPTS) -o $@' echo $ac_n "checking for gethostbyaddr in -lbind""... $ac_c" 1>&6 -echo "configure:3152: checking for gethostbyaddr in -lbind" >&5 +echo "configure:3146: checking for gethostbyaddr in -lbind" >&5 ac_lib_var=`echo bind'_'gethostbyaddr | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -3156,7 +3150,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lbind $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:3165: \"$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 @@ -4128,9 +4122,6 @@ EOF WIN95) MDCPUCFG_H=_win95.cfg ;; - WIN16) - MDCPUCFG_H=_win16.cfg - ;; *) { echo "configure: error: Missing OS_TARGET for ${target}. Use --enable-win32-target to set." 1>&2; exit 1; } ;; @@ -4543,17 +4534,17 @@ EOF _OPTIMIZE_FLAGS="$_OPTIMIZE_FLAGS -Olimit 4000" ac_safe=`echo "machine/builtins.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for machine/builtins.h""... $ac_c" 1>&6 -echo "configure:4547: checking for machine/builtins.h" >&5 +echo "configure:4538: checking for machine/builtins.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:4557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:4548: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5082,7 +5073,7 @@ case $target in ;; *) echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6 -echo "configure:5086: checking for dlopen in -ldl" >&5 +echo "configure:5077: 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 @@ -5090,7 +5081,7 @@ else ac_save_LIBS="$LIBS" LIBS="-ldl $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5096: \"$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 @@ -5118,17 +5109,17 @@ if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 -echo "configure:5122: checking for dlfcn.h" >&5 +echo "configure:5113: checking for dlfcn.h" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:5132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:5123: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` if test -z "$ac_err"; then rm -rf conftest* @@ -5161,13 +5152,13 @@ esac if test $ac_cv_prog_gcc = yes; then echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 -echo "configure:5165: checking whether ${CC-cc} needs -traditional" >&5 +echo "configure:5156: 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 < Autoconf TIOCGETP @@ -5185,7 +5176,7 @@ rm -f conftest* if test $ac_cv_prog_gcc_traditional = no; then cat > conftest.$ac_ext < Autoconf TCGETA @@ -5209,12 +5200,12 @@ fi for ac_func in lchown strerror do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:5213: checking for $ac_func" >&5 +echo "configure:5204: 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 <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then +if { (eval echo configure:5232: \"$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 @@ -5278,7 +5269,7 @@ hpux*) if test -z "$GNU_CC"; then echo $ac_n "checking for +Olit support""... $ac_c" 1>&6 -echo "configure:5282: checking for +Olit support" >&5 +echo "configure:5273: 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 @@ -5317,7 +5308,7 @@ darwin*) *) echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6 -echo "configure:5321: checking for pthread_create in -lpthreads" >&5 +echo "configure:5312: checking for pthread_create in -lpthreads" >&5 echo " #include void *foo(void *v) { return v; } @@ -5339,7 +5330,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 -echo "configure:5343: checking for pthread_create in -lpthread" >&5 +echo "configure:5334: checking for pthread_create in -lpthread" >&5 echo " #include void *foo(void *v) { return v; } @@ -5361,7 +5352,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6 -echo "configure:5365: checking for pthread_create in -lc_r" >&5 +echo "configure:5356: checking for pthread_create in -lc_r" >&5 echo " #include void *foo(void *v) { return v; } @@ -5383,7 +5374,7 @@ echo " echo "$ac_t""no" 1>&6 echo $ac_n "checking for pthread_create in -lc""... $ac_c" 1>&6 -echo "configure:5387: checking for pthread_create in -lc" >&5 +echo "configure:5378: checking for pthread_create in -lc" >&5 echo " #include void *foo(void *v) { return v; } @@ -5515,7 +5506,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:5519: checking whether ${CC-cc} accepts -pthread" >&5 +echo "configure:5510: 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 @@ -5538,7 +5529,7 @@ echo "configure:5519: 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:5542: checking whether ${CC-cc} accepts -pthreads" >&5 +echo "configure:5533: 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/mozilla/nsprpub/configure.in b/mozilla/nsprpub/configure.in index 13698c2775e..b043f47089d 100644 --- a/mozilla/nsprpub/configure.in +++ b/mozilla/nsprpub/configure.in @@ -694,9 +694,6 @@ fi # at lesser performance (the Win95 target uses threads; the WinNT target # uses fibers). # -# When OS_TARGET=WIN16 is specified, then a Windows 3.11 (16bit) target -# is built. See: win16_3.11.mk for lots more about the Win16 target. -# # If OS_TARGET is not specified, it defaults to $(OS_ARCH), i.e., no # cross-compilation. # @@ -795,9 +792,6 @@ fi if test "$OS_TARGET" = "WIN95"; then OS_RELEASE="4.0" fi -if test "$OS_TARGET" = "WIN16"; then - OS_RELEASE= -fi OS_CONFIG="${OS_TARGET}${OS_RELEASE}" dnl ======================================================== @@ -1632,9 +1626,6 @@ tools are selected during the Xcode/Developer Tools installation.]) WIN95) MDCPUCFG_H=_win95.cfg ;; - WIN16) - MDCPUCFG_H=_win16.cfg - ;; *) AC_MSG_ERROR([Missing OS_TARGET for ${target}. Use --enable-win32-target to set.]) ;;