diff options
author | Pedro Alves <palves@redhat.com> | 2015-04-08 18:10:21 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-04-09 10:36:05 +0100 |
commit | 421693b020bf6e306c6c795541d0bd9dad0db1f1 (patch) | |
tree | 9b0a7d01da1405618fcdb0de400db88ba7c2fbb5 /gdb/gnulib/config.in | |
parent | f543dc83b84d8ebcd0899dfd16215b884b7762fa (diff) | |
download | gdb-421693b020bf6e306c6c795541d0bd9dad0db1f1.zip gdb-421693b020bf6e306c6c795541d0bd9dad0db1f1.tar.gz gdb-421693b020bf6e306c6c795541d0bd9dad0db1f1.tar.bz2 |
Import strtok_r gnulib module
gdb/linux-tdep.c recently gained a strtok_r use. That broke
--enable-targets=all with some versions of mingw64, which don't have
strtok_r:
https://sourceware.org/ml/gdb-patches/2015-04/msg00266.html
Fix that by importing the strtok_r gnulib module.
gdb/ChangeLog:
2015-04-09 Pedro Alves <palves@redhat.com>
* gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add strtok_r.
* gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/strtok_r.m4.
* gnulib/configure, gnulib/config.in, gnulib/aclocal.m4: Regenerate.
* gnulib/import/Makefile.am: Update.
* gnulib/import/Makefile.in: Update.
* gnulib/import/m4/gnulib-cache.m4: Update.
* gnulib/import/m4/gnulib-comp.m4: Update.
* gnulib/import/m4/strtok_r.m4: New file.
* gnulib/import/strtok_r.c: New file.
Diffstat (limited to 'gdb/gnulib/config.in')
-rw-r--r-- | gdb/gnulib/config.in | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/gnulib/config.in b/gdb/gnulib/config.in index 5d8018d..8201b6d 100644 --- a/gdb/gnulib/config.in +++ b/gdb/gnulib/config.in @@ -117,6 +117,9 @@ /* Define to 1 when the gnulib module strstr should be tested. */ #undef GNULIB_TEST_STRSTR +/* Define to 1 when the gnulib module strtok_r should be tested. */ +#undef GNULIB_TEST_STRTOK_R + /* Define to 1 if you have the `alarm' function. */ #undef HAVE_ALARM @@ -165,6 +168,10 @@ */ #undef HAVE_DECL_MEMMEM +/* Define to 1 if you have the declaration of `strtok_r', and to 0 if you + don't. */ +#undef HAVE_DECL_STRTOK_R + /* Define to 1 if you have the declaration of `towlower', and to 0 if you don't. */ #undef HAVE_DECL_TOWLOWER @@ -1062,6 +1069,9 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H +/* Define to 1 if you have the `strtok_r' function. */ +#undef HAVE_STRTOK_R + /* Define to 1 if you have the `symlink' function. */ #undef HAVE_SYMLINK |