diff options
author | Alan Modra <amodra@gmail.com> | 2021-04-05 15:31:53 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-04-05 15:31:53 +0930 |
commit | c774eab1c82f49f0f719fd7e51e5988c62082118 (patch) | |
tree | e8f1d3c42cdf376a768fe11cca195261ddeb04ac /ld/config.in | |
parent | 23d613801dfb97757f0e8eaf260d154f3e6750b1 (diff) | |
download | gdb-c774eab1c82f49f0f719fd7e51e5988c62082118.zip gdb-c774eab1c82f49f0f719fd7e51e5988c62082118.tar.gz gdb-c774eab1c82f49f0f719fd7e51e5988c62082118.tar.bz2 |
C99 ld configury
* configure.ac: Move initfini-array arg handling earlier. Don't
check for string.h, strings.h, stdlib.h, or locale.h. Do check
for inttypes.h, stdint.h, sys/types.h. Don't check for
setlocale, free, getev or strstr.
(AC_ISC_POSIX): Don't invoke.
* sysdep.h: Include string.h and stdlib.h unconditionally. Test
HAVE_SYS_TYPE_H and HAVE_SYS_STAT_H. Remove strstr, free and
getenv fallback declarations.
* ld.h: Don't test HAVE_LOCALE_H.
* ldmain.c: Don't test HAVE_SETLOCALE.
* config.in: Regenerate.
* configure: Regenerate.
Diffstat (limited to 'ld/config.in')
-rw-r--r-- | ld/config.in | 37 |
1 files changed, 2 insertions, 35 deletions
diff --git a/ld/config.in b/ld/config.in index 7b60d77..1e78b00 100644 --- a/ld/config.in +++ b/ld/config.in @@ -57,14 +57,6 @@ don't. */ #undef HAVE_DECL_ENVIRON -/* Define to 1 if you have the declaration of `free', and to 0 if you don't. - */ -#undef HAVE_DECL_FREE - -/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't. - */ -#undef HAVE_DECL_GETENV - /* Is the prototype for getopt in <unistd.h> in the expected format? */ #undef HAVE_DECL_GETOPT @@ -72,14 +64,6 @@ */ #undef HAVE_DECL_SBRK -/* Define to 1 if you have the declaration of `strstr', and to 0 if you don't. - */ -#undef HAVE_DECL_STRSTR - -/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. - */ -#undef HAVE_DIRENT_H - /* Define to 1 if you have the <dlfcn.h> header file. */ #undef HAVE_DLFCN_H @@ -107,9 +91,6 @@ /* Define to 1 if you have the <limits.h> header file. */ #undef HAVE_LIMITS_H -/* Define to 1 if you have the <locale.h> header file. */ -#undef HAVE_LOCALE_H - /* Define to 1 if you have the `lseek' function. */ #undef HAVE_LSEEK @@ -122,9 +103,6 @@ /* Define to 1 if you have a working `mmap' system call. */ #undef HAVE_MMAP -/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ -#undef HAVE_NDIR_H - /* Define to 1 if you have the `open' function. */ #undef HAVE_OPEN @@ -134,9 +112,6 @@ /* Define to 1 if you have the `sbrk' function. */ #undef HAVE_SBRK -/* Define to 1 if you have the `setlocale' function. */ -#undef HAVE_SETLOCALE - /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H @@ -149,16 +124,11 @@ /* Define to 1 if you have the <string.h> header file. */ #undef HAVE_STRING_H -/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_DIR_H - /* Define to 1 if you have the <sys/file.h> header file. */ #undef HAVE_SYS_FILE_H -/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. - */ -#undef HAVE_SYS_NDIR_H +/* Define to 1 if you have the <sys/mman.h> header file. */ +#undef HAVE_SYS_MMAN_H /* Define to 1 if you have the <sys/param.h> header file. */ #undef HAVE_SYS_PARAM_H @@ -212,9 +182,6 @@ /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -/* Define if you can safely include both <string.h> and <strings.h>. */ -#undef STRING_WITH_STRINGS - /* Define to 1 if you want to support the --error-handling-script command line option. */ #undef SUPPORT_ERROR_HANDLING_SCRIPT |