summaryrefslogtreecommitdiff
path: root/gdb/gnulib/import/m4/gnulib-comp.m4
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gnulib/import/m4/gnulib-comp.m4')
-rw-r--r--gdb/gnulib/import/m4/gnulib-comp.m438
1 files changed, 38 insertions, 0 deletions
diff --git a/gdb/gnulib/import/m4/gnulib-comp.m4 b/gdb/gnulib/import/m4/gnulib-comp.m4
index 77c1b249e09..40ea88fad2c 100644
--- a/gdb/gnulib/import/m4/gnulib-comp.m4
+++ b/gdb/gnulib/import/m4/gnulib-comp.m4
@@ -41,6 +41,7 @@ AC_DEFUN([gl_EARLY],
# Code from module alloca:
# Code from module alloca-opt:
# Code from module configmake:
+ # Code from module errno:
# Code from module extensions:
AC_REQUIRE([gl_USE_SYSTEM_EXTENSIONS])
# Code from module extern-inline:
@@ -53,6 +54,7 @@ AC_DEFUN([gl_EARLY],
# Code from module frexp:
# Code from module frexpl:
# Code from module include_next:
+ # Code from module intprops:
# Code from module inttypes:
# Code from module inttypes-incomplete:
# Code from module isnand-nolibm:
@@ -75,8 +77,12 @@ AC_DEFUN([gl_EARLY],
# Code from module stddef:
# Code from module stdint:
# Code from module streq:
+ # Code from module strerror:
+ # Code from module strerror-override:
# Code from module string:
# Code from module strnlen1:
+ # Code from module strstr:
+ # Code from module strstr-simple:
# Code from module sys_types:
# Code from module unistd:
# Code from module update-copyright:
@@ -103,6 +109,7 @@ AC_DEFUN([gl_INIT],
gl_source_base='import'
gl_FUNC_ALLOCA
gl_CONFIGMAKE_PREP
+ gl_HEADER_ERRNO_H
AC_REQUIRE([gl_EXTERN_INLINE])
gl_FLOAT_H
if test $REPLACE_FLOAT_LDBL = 1; then
@@ -187,7 +194,28 @@ AC_DEFUN([gl_INIT],
AM_STDBOOL_H
gl_STDDEF_H
gl_STDINT_H
+ gl_FUNC_STRERROR
+ if test $REPLACE_STRERROR = 1; then
+ AC_LIBOBJ([strerror])
+ fi
+ gl_MODULE_INDICATOR([strerror])
+ gl_STRING_MODULE_INDICATOR([strerror])
+ AC_REQUIRE([gl_HEADER_ERRNO_H])
+ AC_REQUIRE([gl_FUNC_STRERROR_0])
+ if test -n "$ERRNO_H" || test $REPLACE_STRERROR_0 = 1; then
+ AC_LIBOBJ([strerror-override])
+ gl_PREREQ_SYS_H_WINSOCK2
+ fi
gl_HEADER_STRING_H
+ gl_FUNC_STRSTR
+ if test $REPLACE_STRSTR = 1; then
+ AC_LIBOBJ([strstr])
+ fi
+ gl_FUNC_STRSTR_SIMPLE
+ if test $REPLACE_STRSTR = 1; then
+ AC_LIBOBJ([strstr])
+ fi
+ gl_STRING_MODULE_INDICATOR([strstr])
gl_SYS_TYPES_H
AC_PROG_MKDIR_P
gl_UNISTD_H
@@ -340,6 +368,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/alloca.c
lib/alloca.in.h
lib/config.charset
+ lib/errno.in.h
lib/float+.h
lib/float.c
lib/float.in.h
@@ -349,6 +378,7 @@ AC_DEFUN([gl_FILE_LIST], [
lib/fpucw.h
lib/frexp.c
lib/frexpl.c
+ lib/intprops.h
lib/inttypes.in.h
lib/isnan.c
lib/isnand-nolibm.h
@@ -376,9 +406,13 @@ AC_DEFUN([gl_FILE_LIST], [
lib/stdint.in.h
lib/str-two-way.h
lib/streq.h
+ lib/strerror-override.c
+ lib/strerror-override.h
+ lib/strerror.c
lib/string.in.h
lib/strnlen1.c
lib/strnlen1.h
+ lib/strstr.c
lib/sys_types.in.h
lib/unistd.c
lib/unistd.in.h
@@ -390,6 +424,7 @@ AC_DEFUN([gl_FILE_LIST], [
m4/alloca.m4
m4/codeset.m4
m4/configmake.m4
+ m4/errno_h.m4
m4/exponentd.m4
m4/exponentl.m4
m4/extensions.m4
@@ -427,7 +462,10 @@ AC_DEFUN([gl_FILE_LIST], [
m4/stdbool.m4
m4/stddef_h.m4
m4/stdint.m4
+ m4/strerror.m4
m4/string_h.m4
+ m4/strstr.m4
+ m4/sys_socket_h.m4
m4/sys_types_h.m4
m4/unistd_h.m4
m4/warn-on-use.m4