diff options
author | Tom Tromey <tromey@redhat.com> | 2013-04-24 10:45:45 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-08 12:29:26 -0700 |
commit | 3266f10be2daf35319101f299ae988aa2bbd5297 (patch) | |
tree | e630e7c209a981097d1398996f40518cdf55810f /gdb/gdbserver/config.in | |
parent | db0fec5c4881dc2e65eeba47cd574379c03a4cf4 (diff) | |
download | gdb-3266f10be2daf35319101f299ae988aa2bbd5297.zip gdb-3266f10be2daf35319101f299ae988aa2bbd5297.tar.gz gdb-3266f10be2daf35319101f299ae988aa2bbd5297.tar.bz2 |
introduce common.m4
It has bothered me for a while that files in common/ use macros
defined via autoconf checks, but rely on each configure.ac doing the
proper checks independently.
This patch introduces common/common.m4 which consolidates the checks
assumed by code in common.
The rule I propose is that if something is needed or used by common,
it should be checked for by common.m4. However, if the check is also
needed by gdb or gdbserver, then it should be duplicated there.
Built and regtested on x86-64 Fedora 18 (though this is hardly the
most strenuous case) and using the Fedora 18 mingw cross compilers. I
also examined the config.in diffs to ensure that symbols did not go
missing.
2013-11-08 Tom Tromey <tromey@redhat.com>
* acinclude.m4: Include common.m4.
* common/common.m4: New file.
* configure, config.in: Rebuild.
* configure.ac: Use GDB_AC_COMMON.
2013-11-08 Tom Tromey <tromey@redhat.com>
* acinclude.m4: Include common.m4, codeset.m4.
* configure, config.in: Rebuild.
* configure.ac: Use GDB_AC_COMMON.
Diffstat (limited to 'gdb/gdbserver/config.in')
-rw-r--r-- | gdb/gdbserver/config.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in index 9398413..bd5c586 100644 --- a/gdb/gdbserver/config.in +++ b/gdb/gdbserver/config.in @@ -70,9 +70,15 @@ /* Define to 1 if you have the `fdwalk' function. */ #undef HAVE_FDWALK +/* Define to 1 if you have the `getrlimit' function. */ +#undef HAVE_GETRLIMIT + /* Define to 1 if you have the <inttypes.h> header file. */ #undef HAVE_INTTYPES_H +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ +#undef HAVE_LANGINFO_CODESET + /* Define to 1 if you have the `dl' library (-ldl). */ #undef HAVE_LIBDL @@ -94,6 +100,9 @@ /* Define if the target supports PTRACE_PEEKUSR for register access. */ #undef HAVE_LINUX_USRREGS +/* Define to 1 if you have the <locale.h> header file. */ +#undef HAVE_LOCALE_H + /* Define if <thread_db.h> has lwpid_t. */ #undef HAVE_LWPID_T @@ -118,6 +127,9 @@ /* Define if you support the personality syscall. */ #undef HAVE_PERSONALITY +/* Define to 1 if you have the `pipe' function. */ +#undef HAVE_PIPE + /* Define to 1 if you have the `pipe2' function. */ #undef HAVE_PIPE2 @@ -155,6 +167,9 @@ /* Define to 1 if you have the <signal.h> header file. */ #undef HAVE_SIGNAL_H +/* Define to 1 if you have the `socketpair' function. */ +#undef HAVE_SOCKETPAIR + /* Define to 1 if the system has the type `socklen_t'. */ #undef HAVE_SOCKLEN_T @@ -193,6 +208,9 @@ /* Define to 1 if you have the <sys/reg.h> header file. */ #undef HAVE_SYS_REG_H +/* Define to 1 if you have the <sys/resource.h> header file. */ +#undef HAVE_SYS_RESOURCE_H + /* Define to 1 if you have the <sys/socket.h> header file. */ #undef HAVE_SYS_SOCKET_H |