Bug 1310197, follow up to previous commit, adding the change to file configure, which I missed when I landed Dragana's patch into the NSPR tree NSPR_4_15_BETA2
authorKai Engert <kaie@kuix.de>
Tue, 09 May 2017 16:41:26 +0200
changeset 4727 f869b8701568
parent 4726 4341e6258d2c
child 4728 fb76913f2e66
push id246
push userkaie@kuix.de
push date2017-05-09 14:41 +0000
bugs1310197
Bug 1310197, follow up to previous commit, adding the change to file configure, which I missed when I landed Dragana's patch into the NSPR tree
configure
--- a/configure
+++ b/configure
@@ -6555,16 +6555,21 @@ fi
     $as_echo "#define DARWIN 1" >>confdefs.h
 
     $as_echo "#define HAVE_BSD_FLOCK 1" >>confdefs.h
 
     $as_echo "#define HAVE_SOCKLEN_T 1" >>confdefs.h
 
     $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
+
     AS='$(CC) -x assembler-with-cpp'
     CFLAGS="$CFLAGS -Wall -fno-common"
     case "${target_cpu}" in
         arm*)
             CPU_ARCH=arm
             ;;
         i*86*|x86_64)
             if test -n "$USE_64"; then