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 f869b8701568e60599165ce1efc3b38f962e4955
parent 4726 4341e6258d2c4a3e8421618a6f41f09f554c78d9
child 4728 fb76913f2e66baa0fe894418d557c06880720a8f
push id246
push userkaie@kuix.de
push dateTue, 09 May 2017 14:41:10 +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