aboutsummaryrefslogtreecommitdiff
path: root/gnulib/config.in
diff options
context:
space:
mode:
authorChristian Biesinger <cbiesinger@google.com>2019-11-08 11:25:17 -0600
committerChristian Biesinger <cbiesinger@google.com>2019-11-15 11:48:08 -0800
commitf8e27d88e4c31089467d8717597c4153723081e6 (patch)
tree84708cf16eef4f4c3108b527622833ae1e227781 /gnulib/config.in
parent5abebf3c3fd28a148e43be587c4e4065a0e53ae9 (diff)
downloadgdb-f8e27d88e4c31089467d8717597c4153723081e6.zip
gdb-f8e27d88e4c31089467d8717597c4153723081e6.tar.gz
gdb-f8e27d88e4c31089467d8717597c4153723081e6.tar.bz2
Import the time_r gnulib module
This allows GDB to use localtime_r unconditionally. See https://lists.gnu.org/archive/html/bug-gnulib/2019-11/msg00022.html for details on the compile error mentioned below. gdb/ChangeLog: 2019-11-15 Christian Biesinger <cbiesinger@google.com> * gdbsupport/common-defs.h: Include time.h before pathmax.h to avoid compile errors. gnulib/ChangeLog: 2019-11-15 Christian Biesinger <cbiesinger@google.com> * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate. * import/Makefile.am: Update. * import/Makefile.in: Regenerate. * import/m4/gnulib-cache.m4: Update. * import/m4/gnulib-comp.m4: Update. * import/m4/time_r.m4: New file. * import/time_r.c: New file. * update-gnulib.sh: Import time_r. Change-Id: I53fc861b192940d613ca97f2910b4533c730f667
Diffstat (limited to 'gnulib/config.in')
-rw-r--r--gnulib/config.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnulib/config.in b/gnulib/config.in
index 727fb4f..068b540 100644
--- a/gnulib/config.in
+++ b/gnulib/config.in
@@ -273,6 +273,9 @@
/* Define to 1 when the gnulib module strtok_r should be tested. */
#undef GNULIB_TEST_STRTOK_R
+/* Define to 1 when the gnulib module time_r should be tested. */
+#undef GNULIB_TEST_TIME_R
+
/* Define to 1 when the gnulib module unsetenv should be tested. */
#undef GNULIB_TEST_UNSETENV
@@ -346,6 +349,10 @@
don't. */
#undef HAVE_DECL_ISBLANK
+/* Define to 1 if you have the declaration of `localtime_r', and to 0 if you
+ don't. */
+#undef HAVE_DECL_LOCALTIME_R
+
/* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you
don't. */
#undef HAVE_DECL_MBRTOWC
@@ -523,6 +530,9 @@
/* Define to 1 if you have the 'link' function. */
#undef HAVE_LINK
+/* Define to 1 if you have the 'localtime_r' function. */
+#undef HAVE_LOCALTIME_R
+
/* Define to 1 if the system has the type 'long long int'. */
#undef HAVE_LONG_LONG_INT