binutils-gdb/libiberty/config.in

578 lines
15 KiB
Plaintext
Raw Normal View History

2004-01-10 12:04:05 +08:00
/* config.in. Generated from configure.ac by autoheader. */
2009-08-22 22:31:16 +08:00
/* Define if building universal (internal helper macro) */
#undef AC_APPLE_UNIVERSAL_BUILD
2004-01-10 12:04:05 +08:00
/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
This function is required for alloca.c support on those systems. */
#undef CRAY_STACKSEG_END
2003-02-13 10:10:04 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <alloca.h> header file. */
#undef HAVE_ALLOCA_H
2001-11-16 03:06:06 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `asprintf' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_ASPRINTF
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `atexit' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_ATEXIT
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `basename' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_BASENAME
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `bcmp' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_BCMP
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `bcopy' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_BCOPY
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `bsearch' function. */
#undef HAVE_BSEARCH
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `bzero' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_BZERO
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `calloc' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_CALLOC
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `canonicalize_file_name' function. */
#undef HAVE_CANONICALIZE_FILE_NAME
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `clock' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_CLOCK
2005-04-12 23:04:41 +08:00
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
don't. */
#undef HAVE_DECL_ASPRINTF
2010-10-07 07:01:30 +08:00
/* Define to 1 if you have the declaration of `basename(char *)', and to 0 if
you don't. */
2005-04-12 23:04:41 +08:00
#undef HAVE_DECL_BASENAME
2005-05-25 05:01:33 +08:00
/* Define to 1 if you have the declaration of `calloc', and to 0 if you don't.
*/
#undef HAVE_DECL_CALLOC
2005-04-12 23:04:41 +08:00
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
#undef HAVE_DECL_FFS
2005-05-25 05:01:33 +08:00
/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
*/
#undef HAVE_DECL_GETENV
2005-07-22 11:16:33 +08:00
/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
*/
#undef HAVE_DECL_GETOPT
2005-05-25 05:01:33 +08:00
/* Define to 1 if you have the declaration of `malloc', and to 0 if you don't.
*/
#undef HAVE_DECL_MALLOC
/* Define to 1 if you have the declaration of `realloc', and to 0 if you
don't. */
#undef HAVE_DECL_REALLOC
/* Define to 1 if you have the declaration of `sbrk', and to 0 if you don't.
*/
#undef HAVE_DECL_SBRK
2005-05-29 03:49:24 +08:00
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
don't. */
#undef HAVE_DECL_SNPRINTF
/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
don't. */
#undef HAVE_DECL_STRNLEN
2014-11-17 10:30:13 +08:00
/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
*/
#undef HAVE_DECL_STRTOL
/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
don't. */
#undef HAVE_DECL_STRTOLL
/* Define to 1 if you have the declaration of `strtoul', and to 0 if you
don't. */
#undef HAVE_DECL_STRTOUL
/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
don't. */
#undef HAVE_DECL_STRTOULL
/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
don't. */
#undef HAVE_DECL_STRVERSCMP
2005-04-12 23:04:41 +08:00
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
don't. */
#undef HAVE_DECL_VASPRINTF
2005-05-29 03:49:24 +08:00
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
don't. */
#undef HAVE_DECL_VSNPRINTF
/* Define to 1 if you have the `dup3' function. */
#undef HAVE_DUP3
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <fcntl.h> header file. */
#undef HAVE_FCNTL_H
/* Define to 1 if you have the `ffs' function. */
2001-11-28 10:11:49 +08:00
#undef HAVE_FFS
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
/* Define to 1 if you have the `getcwd' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_GETCWD
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `getpagesize' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_GETPAGESIZE
2011-07-22 22:37:58 +08:00
/* Define to 1 if you have the `getrlimit' function. */
#undef HAVE_GETRLIMIT
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `getrusage' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_GETRUSAGE
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `getsysinfo' function. */
2003-02-22 06:12:51 +08:00
#undef HAVE_GETSYSINFO
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `gettimeofday' function. */
#undef HAVE_GETTIMEOFDAY
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `index' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_INDEX
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `insque' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_INSQUE
/* Define to 1 if the system has the type `intptr_t'. */
#undef HAVE_INTPTR_T
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <limits.h> header file. */
#undef HAVE_LIMITS_H
2014-11-17 10:30:13 +08:00
/* Define if you have the `long long' type. */
#undef HAVE_LONG_LONG
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <machine/hal_sysinfo.h> header file. */
#undef HAVE_MACHINE_HAL_SYSINFO_H
/* Define to 1 if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H
/* Define to 1 if you have the `memchr' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_MEMCHR
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `memcmp' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_MEMCMP
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `memcpy' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_MEMCPY
2009-03-28 07:07:30 +08:00
/* Define to 1 if you have the `memmem' function. */
#undef HAVE_MEMMEM
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `memmove' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_MEMMOVE
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the `memset' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_MEMSET
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `mkstemps' function. */
#undef HAVE_MKSTEMPS
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define to 1 if you have the `on_exit' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_ON_EXIT
Synchronize libiberty with gcc and add --no-recruse-limit option to tools that support name demangling. This patch addresses the multitude of bug reports about resource exhaustion in libiberty's name demangling code. It adds a limit to the amount of recursion that is allowed, before an error is triggered. It also adds a new demangling option to disable this limit. (The limit is enabled by default). PR 87681 PR 87675 PR 87636 PR 87335 libiberty * cp-demangle.h (struct d_info): Add recursion_limit field. * cp-demangle.c (d_function_type): If the recursion limit is enabled and reached, return with a failure result. (d_demangle_callback): If the recursion limit is enabled, check for a mangled string that is so long that there is not enough stack space for the local arrays. * cplus-dem.c (struct work): Add recursion_level field. (demangle_nested_args): If the recursion limit is enabled and reached, return with a failure result. include * demangle.h (DMGL_RECURSE_LIMIT): Define. (DEMANGLE_RECURSION_LIMIT): Prototype. binutuils * addr2line.c (demangle_flags): New static variable. (long_options): Add --recurse-limit and --no-recurse-limit. (translate_address): Pass demangle_flags to bfd_demangle. (main): Handle --recurse-limit and --no-recurse-limit options. * cxxfilt.c (flags): Add DMGL_RECURSE_LIMIT. (long_options): Add --recurse-limit and --no-recurse-limit. (main): Handle new options. * dlltool.c (gen_def_file): Include DMGL_RECURSE_LIMIT in flags passed to cplus_demangle. * nm.c (demangle_flags): New static variable. (long_options): Add --recurse-limit and --no-recurse-limit. (main): Handle new options. * objdump.c (demangle_flags): New static variable. (usage): Add --recurse-limit and --no-recurse-limit. (long_options): Likewise. (objdump_print_symname): Pass demangle_flags to bfd_demangle. (disassemble_section): Likewise. (dump_dymbols): Likewise. (main): Handle new options. * prdbg.c (demangle_flags): New static variable. (tg_variable): Pass demangle_flags to demangler. (tg_start_function): Likewise. * stabs.c (demangle_flags): New static variable. (stab_demangle_template): Pass demangle_flags to demangler. (stab_demangle_v3_argtypes): Likewise. (stab_demangle_v3_arg): Likewise. * doc/binutuls.texi: Document new command line options. * NEWS: Mention the new feature. * testsuite/config/default.exp (CXXFILT): Define if not already defined. (CXXFILTFLAGS): Likewise. * testsuite/binutils-all/cxxfilt.exp: New file. Runs a few simple tests of the cxxfilt program.
2018-12-07 19:32:55 +08:00
/* Define to 1 if you have the `pipe2' function. */
#undef HAVE_PIPE2
/* Define to 1 if you have the <process.h> header file. */
#undef HAVE_PROCESS_H
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `psignal' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_PSIGNAL
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `pstat_getdynamic' function. */
2003-02-22 01:33:57 +08:00
#undef HAVE_PSTAT_GETDYNAMIC
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `pstat_getstatic' function. */
2003-02-22 01:33:57 +08:00
#undef HAVE_PSTAT_GETSTATIC
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `putenv' function. */
#undef HAVE_PUTENV
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `random' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_RANDOM
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `realpath' function. */
#undef HAVE_REALPATH
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `rename' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_RENAME
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `rindex' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_RINDEX
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `sbrk' function. */
#undef HAVE_SBRK
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `setenv' function. */
#undef HAVE_SETENV
2010-10-07 07:01:30 +08:00
/* Define to 1 if you have the `setproctitle' function. */
#undef HAVE_SETPROCTITLE
2011-07-22 22:37:58 +08:00
/* Define to 1 if you have the `setrlimit' function. */
#undef HAVE_SETRLIMIT
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `sigsetmask' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_SIGSETMASK
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `snprintf' function. */
2003-04-17 07:09:21 +08:00
#undef HAVE_SNPRINTF
/* Define to 1 if you have the `spawnve' function. */
#undef HAVE_SPAWNVE
/* Define to 1 if you have the `spawnvpe' function. */
#undef HAVE_SPAWNVPE
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
2005-04-12 03:32:04 +08:00
/* Define to 1 if you have the <stdio_ext.h> header file. */
#undef HAVE_STDIO_EXT_H
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the `stpcpy' function. */
2003-04-16 11:51:54 +08:00
#undef HAVE_STPCPY
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `stpncpy' function. */
2003-04-16 11:51:54 +08:00
#undef HAVE_STPNCPY
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strcasecmp' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRCASECMP
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strchr' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRCHR
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strdup' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRDUP
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strerror' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRERROR
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the `strncasecmp' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRNCASECMP
2005-03-25 12:57:08 +08:00
/* Define to 1 if you have the `strndup' function. */
#undef HAVE_STRNDUP
2012-10-10 11:11:33 +08:00
/* Define to 1 if you have the `strnlen' function. */
#undef HAVE_STRNLEN
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strrchr' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRRCHR
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strsignal' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRSIGNAL
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strstr' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRSTR
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strtod' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRTOD
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strtol' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRTOL
2014-11-17 10:30:13 +08:00
/* Define to 1 if you have the `strtoll' function. */
#undef HAVE_STRTOLL
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `strtoul' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_STRTOUL
2014-11-17 10:30:13 +08:00
/* Define to 1 if you have the `strtoull' function. */
#undef HAVE_STRTOULL
/* Define to 1 if you have the `strverscmp' function. */
#undef HAVE_STRVERSCMP
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `sysconf' function. */
1999-05-03 15:29:11 +08:00
#undef HAVE_SYSCONF
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `sysctl' function. */
2003-02-23 01:08:34 +08:00
#undef HAVE_SYSCTL
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `sysmp' function. */
2003-02-22 06:12:51 +08:00
#undef HAVE_SYSMP
2004-01-10 12:04:05 +08:00
/* Define if you have the sys_errlist variable. */
#undef HAVE_SYS_ERRLIST
2003-02-22 06:12:51 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/mman.h> header file. */
#undef HAVE_SYS_MMAN_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define if you have the sys_nerr variable. */
#undef HAVE_SYS_NERR
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
1999-05-03 15:29:11 +08:00
2010-11-21 12:01:17 +08:00
/* Define to 1 if you have the <sys/prctl.h> header file. */
#undef HAVE_SYS_PRCTL_H
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/pstat.h> header file. */
#undef HAVE_SYS_PSTAT_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
2003-04-17 07:09:21 +08:00
2004-01-10 12:04:05 +08:00
/* Define if you have the sys_siglist variable. */
#undef HAVE_SYS_SIGLIST
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/sysctl.h> header file. */
#undef HAVE_SYS_SYSCTL_H
2001-11-27 05:23:10 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/sysinfo.h> header file. */
#undef HAVE_SYS_SYSINFO_H
2001-11-28 10:11:49 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/sysmp.h> header file. */
#undef HAVE_SYS_SYSMP_H
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/systemcfg.h> header file. */
#undef HAVE_SYS_SYSTEMCFG_H
2003-02-22 06:12:51 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/table.h> header file. */
#undef HAVE_SYS_TABLE_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/time.h> header file. */
#undef HAVE_SYS_TIME_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
#undef HAVE_SYS_WAIT_H
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `table' function. */
#undef HAVE_TABLE
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `times' function. */
#undef HAVE_TIMES
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <time.h> header file. */
#undef HAVE_TIME_H
2003-02-21 09:35:29 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `tmpnam' function. */
#undef HAVE_TMPNAM
2004-01-10 12:04:05 +08:00
/* Define if you have the \`uintptr_t' type. */
#undef HAVE_UINTPTR_T
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
2003-02-23 01:08:34 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `vasprintf' function. */
#undef HAVE_VASPRINTF
2003-02-22 06:12:51 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `vfork' function. */
#undef HAVE_VFORK
2003-02-22 06:12:51 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the <vfork.h> header file. */
#undef HAVE_VFORK_H
2003-02-23 01:08:34 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `vfprintf' function. */
#undef HAVE_VFPRINTF
2003-02-22 06:12:51 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `vprintf' function. */
#undef HAVE_VPRINTF
1999-05-03 15:29:11 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `vsprintf' function. */
#undef HAVE_VSPRINTF
2005-04-03 04:20:01 +08:00
/* Define to 1 if you have the `wait3' function. */
#undef HAVE_WAIT3
/* Define to 1 if you have the `wait4' function. */
#undef HAVE_WAIT4
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the `waitpid' function. */
#undef HAVE_WAITPID
2003-06-20 04:05:36 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if `fork' works. */
#undef HAVE_WORKING_FORK
/* Define to 1 if `vfork' works. */
#undef HAVE_WORKING_VFORK
/* Define to 1 if you have the `_doprnt' function. */
#undef HAVE__DOPRNT
/* Define if you have the _system_configuration variable. */
#undef HAVE__SYSTEM_CONFIGURATION
2005-04-12 03:32:04 +08:00
/* Define to 1 if you have the `__fsetlocking' function. */
#undef HAVE___FSETLOCKING
2004-01-10 12:04:05 +08:00
/* Define if canonicalize_file_name is not declared in system header files. */
#undef NEED_DECLARATION_CANONICALIZE_FILE_NAME
/* Define if errno must be declared even when <errno.h> is included. */
#undef NEED_DECLARATION_ERRNO
2004-01-10 12:04:05 +08:00
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
#undef NO_MINUS_C_MINUS_O
2001-11-28 10:11:49 +08:00
2004-01-10 12:04:05 +08:00
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
2004-01-10 12:04:05 +08:00
/* Define to the full name of this package. */
#undef PACKAGE_NAME
2004-01-10 12:04:05 +08:00
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
2004-01-10 12:04:05 +08:00
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
2009-08-22 22:31:16 +08:00
/* Define to the home page for this package. */
#undef PACKAGE_URL
2004-01-10 12:04:05 +08:00
/* Define to the version of this package. */
#undef PACKAGE_VERSION
2001-03-07 02:27:14 +08:00
2009-08-22 22:31:16 +08:00
/* The size of `int', as computed by sizeof. */
2004-12-11 06:04:41 +08:00
#undef SIZEOF_INT
2014-11-17 10:30:13 +08:00
/* The size of `long', as computed by sizeof. */
#undef SIZEOF_LONG
/* The size of `long long', as computed by sizeof. */
#undef SIZEOF_LONG_LONG
/* The size of `size_t', as computed by sizeof. */
#undef SIZEOF_SIZE_T
2004-01-10 12:04:05 +08:00
/* Define if you know the direction of stack growth for your system; otherwise
it will be automatically deduced at run-time. STACK_DIRECTION > 0 => grows
toward higher addresses STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
2001-03-07 02:27:14 +08:00
#undef STACK_DIRECTION
2004-01-10 12:04:05 +08:00
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
2003-06-13 09:50:48 +08:00
2004-01-10 12:04:05 +08:00
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
2004-04-23 02:39:03 +08:00
/* Define to an unsigned 64-bit type available in the compiler. */
#undef UNSIGNED_64BIT_TYPE
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE
#endif
/* Enable GNU extensions on systems that have them. */
#ifndef _GNU_SOURCE
# undef _GNU_SOURCE
#endif
/* Enable threading extensions on Solaris. */
#ifndef _POSIX_PTHREAD_SEMANTICS
# undef _POSIX_PTHREAD_SEMANTICS
#endif
/* Enable extensions on HP NonStop. */
#ifndef _TANDEM_SOURCE
# undef _TANDEM_SOURCE
#endif
/* Enable general extensions on Solaris. */
#ifndef __EXTENSIONS__
# undef __EXTENSIONS__
#endif
2009-08-22 22:31:16 +08:00
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif
Bump to autoconf 2.69 and automake 1.15.1 When trying to run the update-gnulib.sh script in gdb, I get this: Error: Wrong automake version (Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ =:+{}]+)}/ at /opt/automake/1.11.1/bin/automake line 4113.), we need 1.11.1. Aborting. Apparently, it's an issue with a regex in automake that triggers a warning starting with Perl 5.22. It has been fixed in automake 1.15.1. So I think it's a good excuse to bump the versions of autoconf and automake used in the gnulib import. And to avoid requiring multiple builds of autoconf/automake, it was suggested that we bump the required version of those tools for all binutils-gdb. For autoconf, the 2.69 version is universally available, so it's an easy choice. For automake, different distros and distro versions have different automake versions. But 1.15.1 seems to be the most readily available as a package. In any case, it's easy to build it from source. I removed the version checks from AUTOMAKE_OPTIONS and AC_PREREQ, because I don't think they are useful in our case. They only specify a lower bound for the acceptable version of automake/autoconf. That's useful if you let the user choose the version of the tool they want to use, but want to set a minimum version (because you use a feature that was introduced in that version). In our case, we force people to use a specific version anyway. For the autoconf version, we have the check in config/override.m4 that enforces the version we want. It will be one less thing to update next time we change autotools version. I hit a few categories of problems that required some changes. They are described below along with the chosen solutions. Problem 1: configure.ac:17: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:17: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation Solution 1: Adjust the code based on the example at that URL. Problem 2 (in zlib/): Makefile.am: error: required file './INSTALL' not found Makefile.am: 'automake --add-missing' can install 'INSTALL' Makefile.am: error: required file './NEWS' not found Makefile.am: error: required file './AUTHORS' not found Makefile.am: error: required file './COPYING' not found Makefile.am: 'automake --add-missing' can install 'COPYING' Solution 2: Add the foreign option to AUTOMAKE_OPTIONS. Problem 3: doc/Makefile.am:20: error: support for Cygnus-style trees has been removed Solution 3: Remove the cygnus options. Problem 4: Makefile.am:656: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Solution 4: Rename "INCLUDES = " to "AM_CPPFLAGS += " (because AM_CPPFLAGS is already defined earlier). Problem 5: doc/Makefile.am:71: warning: suffix '.texinfo' for Texinfo files is discouraged; use '.texi' instead doc/Makefile.am: warning: Oops! doc/Makefile.am: It appears this file (or files included by it) are triggering doc/Makefile.am: an undocumented, soon-to-be-removed automake hack. doc/Makefile.am: Future automake versions will no longer place in the builddir doc/Makefile.am: (rather than in the srcdir) the generated '.info' files that doc/Makefile.am: appear to be cleaned, by e.g. being listed in CLEANFILES or doc/Makefile.am: DISTCLEANFILES. doc/Makefile.am: If you want your '.info' files to be placed in the builddir doc/Makefile.am: rather than in the srcdir, you have to use the shiny new doc/Makefile.am: 'info-in-builddir' automake option. Solution 5: Rename .texinfo files to .texi. Problem 6: doc/Makefile.am: warning: Oops! doc/Makefile.am: It appears this file (or files included by it) are triggering doc/Makefile.am: an undocumented, soon-to-be-removed automake hack. doc/Makefile.am: Future automake versions will no longer place in the builddir doc/Makefile.am: (rather than in the srcdir) the generated '.info' files that doc/Makefile.am: appear to be cleaned, by e.g. being listed in CLEANFILES or doc/Makefile.am: DISTCLEANFILES. doc/Makefile.am: If you want your '.info' files to be placed in the builddir doc/Makefile.am: rather than in the srcdir, you have to use the shiny new doc/Makefile.am: 'info-in-builddir' automake option. Solution 6: Remove the hack at the bottom of doc/Makefile.am and use the info-in-builddir automake option. Problem 7: doc/Makefile.am:35: error: required file '../texinfo.tex' not found doc/Makefile.am:35: 'automake --add-missing' can install 'texinfo.tex' Solution 7: Use the no-texinfo.tex automake option. We also have one in texinfo/texinfo.tex, not sure if we should point to that, or move it (or a newer version of it added with automake --add-missing) to top-level. Problem 8: Makefile.am:131: warning: source file 'config/tc-aarch64.c' is in a subdirectory, Makefile.am:131: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. Solution 8: Use subdir-objects, that means adjusting references to some .o that will now be in config/. Problem 9: configure.ac:375: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2601: _AC_COMPILE_IFELSE is expanded from... ../../lib/autoconf/general.m4:2617: AC_COMPILE_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2042: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2063: AC_CACHE_CHECK is expanded from... configure.ac:375: the top level Solution 9: Use AC_LANG_SOURCE, or use proper quoting. Problem 10 (in intl/): configure.ac:7: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS /usr/share/aclocal/threadlib.m4:36: gl_THREADLIB_EARLY_BODY is expanded from... /usr/share/aclocal/threadlib.m4:29: gl_THREADLIB_EARLY is expanded from... /usr/share/aclocal/threadlib.m4:318: gl_THREADLIB is expanded from... /usr/share/aclocal/lock.m4:9: gl_LOCK is expanded from... /usr/share/aclocal/intl.m4:211: gt_INTL_SUBDIR_CORE is expanded from... /usr/share/aclocal/intl.m4:25: AM_INTL_SUBDIR is expanded from... /usr/share/aclocal/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:7: the top level Solution 10: Add AC_USE_SYSTEM_EXTENSIONS in configure.ac. ChangeLog: * libtool.m4: Use AC_LANG_SOURCE. * configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE. * README-maintainer-mode: Update version requirements. * ar-lib: New file. * test-driver: New file. * configure: Re-generate. bfd/ChangeLog: * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. (INCLUDES): Rename to ... (AM_CPPFLAGS): ... this. * configure.ac: Remove AC_PREREQ. * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove 1.9, cygnus, add info-in-builddir no-texinfo.tex. (info_TEXINFOS): Rename bfd.texinfo to bfd.texi. * doc/bfd.texinfo: Rename to ... * doc/bfd.texi: ... this. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. * doc/Makefile.in: Re-generate. binutils/ChangeLog: * configure.ac: Remove AC_PREREQ. * doc/Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus, add info-in-builddir no-texinfo.tex. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. * doc/Makefile.in: Re-generate. config/ChangeLog: * override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69. etc/ChangeLog: * configure.in: Remove AC_PREREQ. * configure: Re-generate. gas/ChangeLog: * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11, add subdir-objects. (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O): Add config/ prefix. * configure.ac (TARG_CPU_O, OBJ_FORMAT_O, ATOF_TARG_O, emfiles, extra_objects): Add config/ prefix. * doc/as.texinfo: Rename to... * doc/as.texi: ... this. * doc/Makefile.am: Rename as.texinfo to as.texi throughout. Remove DISTCLEANFILES hack. (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add no-texinfo.tex and info-in-builddir. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. * doc/Makefile.in: Re-generate. gdb/ChangeLog: * common/common-defs.h (PACKAGE_NAME, PACKAGE_VERSION, PACKAGE_STRING, PACKAGE_TARNAME): Undefine. * configure.ac: Remove AC_PREREQ, add missing quoting. * gnulib/configure.ac: Modernize usage of AC_INIT/AM_INIT_AUTOMAKE. Remove AC_PREREQ. * gnulib/update-gnulib.sh (AUTOCONF_VERSION): Bump to 2.69. (AUTOMAKE_VERSION): Bump to 1.15.1. * configure: Re-generate. * config.in: Re-generate. * aclocal.m4: Re-generate. * gnulib/aclocal.m4: Re-generate. * gnulib/config.in: Re-generate. * gnulib/configure: Re-generate. * gnulib/import/Makefile.in: Re-generate. gdb/gdbserver/ChangeLog: * configure.ac: Remove AC_PREREQ, add missing quoting. * configure: Re-generate. * config.in: Re-generate. * aclocal.m4: Re-generate. gdb/testsuite/ChangeLog: * configure.ac: Remove AC_PREREQ. * configure: Re-generate. gold/ChangeLog: * configure.ac: Remove AC_PREREQ, add missing quoting and usage of AC_LANG_SOURCE. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate. * testsuite/Makefile.in: Re-generate. gprof/ChangeLog: * configure.ac: Remove AC_PREREQ. * Makefile.am: Remove DISTCLEANFILES hack. (AUTOMAKE_OPTIONS): Remove 1.11, add info-in-builddir. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate. * gconfig.in: Re-generate. intl/ChangeLog: * configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ. * configure: Re-generate. * config.h.in: Re-generate. * aclocal.m4: Re-generate. ld/ChangeLog: * configure.ac: Remove AC_PREREQ. * Makefile.am: Remove DISTCLEANFILES hack, rename ld.texinfo to ld.texi, ldint.texinfo to ldint.texi throughout. (AUTOMAKE_OPTIONS): Add info-in-builddir. * README: Rename ld.texinfo to ld.texi, ldint.texinfo to ldint.texi throughout. * gen-doc.texi: Likewise. * h8-doc.texi: Likewise. * ld.texinfo: Rename to ... * ld.texi: ... this. * ldint.texinfo: Rename to ... * ldint.texi: ... this. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * config.in: Re-generate. * configure: Re-generate. libdecnumber/ChangeLog: * configure.ac: Remove AC_PREREQ. * configure: Re-generate. * aclocal.m4. libiberty/ChangeLog: * configure.ac: Remove AC_PREREQ. * configure: Re-generate. * config.in: Re-generate. opcodes/ChangeLog: * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.11. * configure.ac: Remove AC_PREREQ. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate. readline/ChangeLog.gdb: * configure: Re-generate. * examples/rlfe/configure: Re-generate. sim/ChangeLog: * All configure.ac: Remove AC_PREREQ. * All configure: Re-generate. zlib/ChangeLog.bin-gdb: * configure.ac: Modernize AC_INIT call, remove AC_PREREQ. * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8, cygnus, add foreign. * Makefile.in: Re-generate. * aclocal.m4: Re-generate. * configure: Re-generate.
2018-06-20 04:54:48 +08:00
/* Enable large inode numbers on Mac OS X 10.5. */
#ifndef _DARWIN_USE_64_BIT_INODE
# define _DARWIN_USE_64_BIT_INODE 1
#endif
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to 1 if on MINIX. */
#undef _MINIX
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
2004-01-10 12:04:05 +08:00
/* Define to empty if `const' does not conform to ANSI C. */
#undef const
2004-03-10 08:01:28 +08:00
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
2004-01-10 12:04:05 +08:00
#undef inline
2004-03-10 08:01:28 +08:00
#endif
2004-01-10 12:04:05 +08:00
/* Define to the type of a signed integer type wide enough to hold a pointer,
if such a type exists, and if the system does not define it. */
#undef intptr_t
2004-01-10 12:04:05 +08:00
/* Define to `int' if <sys/types.h> does not define. */
#undef pid_t
2010-11-02 23:20:47 +08:00
/* Define to `int' if <sys/types.h> does not define. */
#undef ssize_t
/* Define to the type of an unsigned integer type wide enough to hold a
pointer, if such a type exists, and if the system does not define it. */
2004-01-10 12:04:05 +08:00
#undef uintptr_t
/* Define as `fork' if `vfork' does not work. */
#undef vfork