diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-02-23 11:03:38 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-05 22:23:36 +0200 |
commit | 75b3dd4cbffb6e4534128278300ed6c8a3ab7506 (patch) | |
tree | c09fcfbd7a6a3aa67c970934c09b087e7950d83f /nsprpub/configure | |
parent | a421f38160599152cd409e4fabd434a224f78487 (diff) | |
download | UXP-75b3dd4cbffb6e4534128278300ed6c8a3ab7506.tar UXP-75b3dd4cbffb6e4534128278300ed6c8a3ab7506.tar.gz UXP-75b3dd4cbffb6e4534128278300ed6c8a3ab7506.tar.lz UXP-75b3dd4cbffb6e4534128278300ed6c8a3ab7506.tar.xz UXP-75b3dd4cbffb6e4534128278300ed6c8a3ab7506.zip |
Update NSPR to 4.18
Diffstat (limited to 'nsprpub/configure')
-rwxr-xr-x | nsprpub/configure | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/nsprpub/configure b/nsprpub/configure index b8ad2b4eb..19e9fa60f 100755 --- a/nsprpub/configure +++ b/nsprpub/configure @@ -2488,7 +2488,7 @@ test -n "$target_alias" && program_prefix=${target_alias}- MOD_MAJOR_VERSION=4 -MOD_MINOR_VERSION=16 +MOD_MINOR_VERSION=18 MOD_PATCH_VERSION=0 NSPR_MODNAME=nspr20 _HAVE_PTHREADS= @@ -6560,11 +6560,13 @@ fi $as_echo "#define HAVE_POINTER_LOCALTIME_R 1" >>confdefs.h + HOST_DARWIN_MAJOR=`echo "$build_os" | sed -E -e 's/^darwin([0-9]+).*$/\1/'` + if test "$HOST_DARWIN_MAJOR" -ge 15 ; then $as_echo "#define HAS_CONNECTX 1" >>confdefs.h - fi + fi AS='$(CC) -x assembler-with-cpp' CFLAGS="$CFLAGS -Wall -fno-common" case "${target_cpu}" in @@ -8472,19 +8474,12 @@ case "$target" in fi if test "$USE_PTHREADS"; then - if echo "$OS_RELEASE" | egrep '^(B.10.10|B.10.20)' >/dev/null; then - $as_echo "#define _REENTRANT 1" >>confdefs.h - - $as_echo "#define _PR_DCETHREADS 1" >>confdefs.h - - else - cat >>confdefs.h <<_ACEOF + cat >>confdefs.h <<_ACEOF #define _POSIX_C_SOURCE 199506L _ACEOF - $as_echo "#define _PR_HAVE_THREADSAFE_GETHOST 1" >>confdefs.h + $as_echo "#define _PR_HAVE_THREADSAFE_GETHOST 1" >>confdefs.h - fi fi if test "$USE_USER_PTHREADS"; then cat >>confdefs.h <<_ACEOF |