@@ -1,5 +1,11 @@
2019-10-31 Christian Biesinger <cbiesinger@google.com>
+ * config.in: Regenerate.
+ * configure: Regenerate.
+ * configure.ac: Also check for strerror_r.
+
+2019-10-31 Christian Biesinger <cbiesinger@google.com>
+
* ax.h (debug_agent): Remove duplicate declaration.
2019-10-26 Tom de Vries <tdevries@suse.de>
@@ -229,6 +229,9 @@
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
+/* Define to 1 if you have the `strerror_r' function. */
+#undef HAVE_STRERROR_R
+
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
@@ -6448,7 +6448,7 @@
fi
-for ac_func in getauxval pread pwrite pread64 setns
+for ac_func in getauxval pread pwrite pread64 setns strerror_r
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -90,7 +90,7 @@
sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl
netinet/tcp.h arpa/inet.h)
AC_FUNC_FORK
-AC_CHECK_FUNCS(getauxval pread pwrite pread64 setns)
+AC_CHECK_FUNCS(getauxval pread pwrite pread64 setns strerror_r)
GDB_AC_COMMON