Update libgo/configure to restore it to the master version.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 18 Nov 2016 04:05:10 +0000 (04:05 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 18 Nov 2016 04:05:10 +0000 (04:05 +0000)
Update a few binary files that were changed in the master gc repo,
copied into the gofrontend repo, but not correctly copied into the GCC
repo.  The changes are all minor and do not affect any actual tests.
Two instances of "http" changed to "https", and two timestamps were
zeroed out.

From-SVN: r242582

libgo/configure
libgo/go/archive/zip/testdata/readme.notzip
libgo/go/archive/zip/testdata/readme.zip
libgo/go/compress/gzip/testdata/issue6550.gz
libgo/go/encoding/json/testdata/code.json.gz

index 868adcd488140272e873615366d3410363c8a704..9eac5c0e5c5f510fba10254ee23d65a5232623a0 100755 (executable)
@@ -810,6 +810,7 @@ enable_werror
 enable_version_specific_runtime_libs
 with_libffi
 with_libatomic
+with_system_libunwind
 '
       ac_precious_vars='build_alias
 host_alias
@@ -1459,6 +1460,7 @@ Optional Packages:
                           both]
   --without-libffi        don't use libffi
   --without-libatomic     don't use libatomic
+  --with-system-libunwind use installed libunwind
 
 Some influential environment variables:
   CC          C compiler command
@@ -2483,6 +2485,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+
+
+
 ac_config_headers="$ac_config_headers config.h"
 
 
@@ -3467,12 +3472,10 @@ done
 
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdio.h>
+
 int
 main ()
 {
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
 
   ;
   return 0;
@@ -11206,7 +11209,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11207 "configure"
+#line 11212 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -14679,7 +14682,42 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
  esac
 
 
-GCC_CHECK_UNWIND_GETIPINFO
+
+
+# Check whether --with-system-libunwind was given.
+if test "${with_system_libunwind+set}" = set; then :
+  withval=$with_system_libunwind;
+fi
+
+  # If system-libunwind was not specifically set, pick a default setting.
+  if test x$with_system_libunwind = x; then
+    case ${target} in
+      ia64-*-hpux*) with_system_libunwind=yes ;;
+      *) with_system_libunwind=no ;;
+    esac
+  fi
+  # Based on system-libunwind and target, do we have ipinfo?
+  if  test x$with_system_libunwind = xyes; then
+    case ${target} in
+      ia64-*-*) have_unwind_getipinfo=no ;;
+      *) have_unwind_getipinfo=yes ;;
+    esac
+  else
+    # Darwin before version 9 does not have _Unwind_GetIPInfo.
+
+    case ${target} in
+      *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
+      *) have_unwind_getipinfo=yes ;;
+    esac
+
+  fi
+
+  if test x$have_unwind_getipinfo = xyes; then
+
+$as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
+
+  fi
+
 
 for ac_header in port.h sched.h semaphore.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/event.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h
 do :
@@ -16269,6 +16307,8 @@ ac_configure_args="${multilib_arg} ${ac_configure_args}"
 multi_basedir="$multi_basedir"
 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 CC="$CC"
+CXX="$CXX"
+GFORTRAN="$GFORTRAN"
 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
 
index 06668c4c1c01901d5738e9583cacb5671a19130b..81737275c6ebf5ea69b992753ab4050f031f31b8 100644 (file)
Binary files a/libgo/go/archive/zip/testdata/readme.notzip and b/libgo/go/archive/zip/testdata/readme.notzip differ
index db3bb900e4e9f30bafa25fec963df4dba21a464d..5642a67e77d5f5a45c92ea701801ae0b993f4724 100644 (file)
Binary files a/libgo/go/archive/zip/testdata/readme.zip and b/libgo/go/archive/zip/testdata/readme.zip differ
index 57972b636680170bbe26d3876481b24f54d4ab55..82b4af102632c3f97bd4957e71ea519751ea0ea8 100644 (file)
Binary files a/libgo/go/compress/gzip/testdata/issue6550.gz and b/libgo/go/compress/gzip/testdata/issue6550.gz differ
index 0e2895b53acb27b9486131d64420dc2ac422897b..1572a92bfbdfe99c28195104740d1f4b1e560f66 100644 (file)
Binary files a/libgo/go/encoding/json/testdata/code.json.gz and b/libgo/go/encoding/json/testdata/code.json.gz differ