2004-01-10 02:17:41 +00:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
2000-07-23 19:18:32 +00:00
|
|
|
|
2009-08-22 13:22:20 +00:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2004-01-10 02:17:41 +00: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 01:54:07 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <alloca.h> header file. */
|
|
|
|
#undef HAVE_ALLOCA_H
|
2001-11-15 18:11:24 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `asprintf' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_ASPRINTF
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `atexit' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_ATEXIT
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `basename' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_BASENAME
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `bcmp' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_BCMP
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `bcopy' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_BCOPY
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `bsearch' function. */
|
2000-12-26 22:16:22 +00:00
|
|
|
#undef HAVE_BSEARCH
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `bzero' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_BZERO
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `calloc' function. */
|
1998-11-18 19:49:11 +00:00
|
|
|
#undef HAVE_CALLOC
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `canonicalize_file_name' function. */
|
2003-02-20 22:11:13 +00:00
|
|
|
#undef HAVE_CANONICALIZE_FILE_NAME
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `clock' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_CLOCK
|
|
|
|
|
2005-04-12 14:23:48 +00:00
|
|
|
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_ASPRINTF
|
|
|
|
|
2010-10-06 22:02:58 +00:00
|
|
|
/* Define to 1 if you have the declaration of `basename(char *)', and to 0 if
|
|
|
|
you don't. */
|
2005-04-12 14:23:48 +00:00
|
|
|
#undef HAVE_DECL_BASENAME
|
|
|
|
|
2005-05-24 20:48:25 +00: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 14:23:48 +00:00
|
|
|
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
|
|
|
|
#undef HAVE_DECL_FFS
|
|
|
|
|
2005-05-24 20:48:25 +00: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 03:14:38 +00:00
|
|
|
/* Define to 1 if you have the declaration of `getopt', and to 0 if you don't.
|
|
|
|
*/
|
|
|
|
#undef HAVE_DECL_GETOPT
|
|
|
|
|
2005-05-24 20:48:25 +00: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-28 11:40:59 +00:00
|
|
|
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_SNPRINTF
|
|
|
|
|
2017-05-31 04:16:45 +00:00
|
|
|
/* Define to 1 if you have the declaration of `strnlen', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRNLEN
|
|
|
|
|
2014-10-28 09:43:20 +00: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
|
|
|
|
|
2005-07-07 02:09:25 +00:00
|
|
|
/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRVERSCMP
|
|
|
|
|
2005-04-12 14:23:48 +00:00
|
|
|
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_VASPRINTF
|
|
|
|
|
2005-05-28 11:40:59 +00:00
|
|
|
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_VSNPRINTF
|
|
|
|
|
2010-11-04 23:37:04 +00:00
|
|
|
/* Define to 1 if you have the `dup3' function. */
|
|
|
|
#undef HAVE_DUP3
|
|
|
|
|
2004-01-10 02:17:41 +00: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 01:37:24 +00:00
|
|
|
#undef HAVE_FFS
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `fork' function. */
|
|
|
|
#undef HAVE_FORK
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `getcwd' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_GETCWD
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `getpagesize' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_GETPAGESIZE
|
|
|
|
|
2011-07-22 08:33:37 +00:00
|
|
|
/* Define to 1 if you have the `getrlimit' function. */
|
|
|
|
#undef HAVE_GETRLIMIT
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `getrusage' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_GETRUSAGE
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `getsysinfo' function. */
|
2003-02-21 20:33:50 +00:00
|
|
|
#undef HAVE_GETSYSINFO
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `gettimeofday' function. */
|
1999-06-21 05:01:18 +00:00
|
|
|
#undef HAVE_GETTIMEOFDAY
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `index' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_INDEX
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `insque' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_INSQUE
|
|
|
|
|
2009-09-04 14:33:16 +00:00
|
|
|
/* Define to 1 if the system has the type `intptr_t'. */
|
|
|
|
#undef HAVE_INTPTR_T
|
|
|
|
|
2004-01-10 02:17:41 +00: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-10-28 09:43:20 +00:00
|
|
|
/* Define if you have the `long long' type. */
|
|
|
|
#undef HAVE_LONG_LONG
|
|
|
|
|
2004-01-10 02:17:41 +00: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. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_MEMCHR
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `memcmp' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_MEMCMP
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `memcpy' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_MEMCPY
|
|
|
|
|
2009-03-27 22:38:23 +00:00
|
|
|
/* Define to 1 if you have the `memmem' function. */
|
|
|
|
#undef HAVE_MEMMEM
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `memmove' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_MEMMOVE
|
|
|
|
|
2004-01-10 02:17:41 +00: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. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_MEMSET
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `mkstemps' function. */
|
1999-04-15 22:05:35 +00:00
|
|
|
#undef HAVE_MKSTEMPS
|
|
|
|
|
2004-01-10 02:17:41 +00: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. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_ON_EXIT
|
|
|
|
|
2018-10-01 18:46:51 +00:00
|
|
|
/* Define to 1 if you have the `pipe2' function. */
|
|
|
|
#undef HAVE_PIPE2
|
|
|
|
|
[PATCH v3] libiberty: Use posix_spawn in pex-unix when available.
Hi,
This patch implements pex_unix_exec_child using posix_spawn when
available.
This should especially benefit recent macOS (where vfork just calls
fork), but should have equivalent or faster performance on all
platforms.
In addition, the implementation is substantially simpler than the
vfork+exec code path.
Tested on x86_64-linux.
v2: Fix error handling (previously the function would be run twice in
case of error), and don't use a macro that changes control flow.
v3: Match file style for error-handling blocks, don't close
in/out/errdes on error, and check close() for errors.
libiberty/
* configure.ac (AC_CHECK_HEADERS): Add spawn.h.
(checkfuncs): Add posix_spawn, posix_spawnp.
(AC_CHECK_FUNCS): Add posix_spawn, posix_spawnp.
* aclocal.m4, configure, config.in: Rebuild.
* pex-unix.c [HAVE_POSIX_SPAWN] (pex_unix_exec_child): New function.
2023-11-10 04:01:07 +00:00
|
|
|
/* Define to 1 if you have the `posix_spawn' function. */
|
|
|
|
#undef HAVE_POSIX_SPAWN
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `posix_spawnp' function. */
|
|
|
|
#undef HAVE_POSIX_SPAWNP
|
|
|
|
|
2010-11-04 23:37:04 +00:00
|
|
|
/* Define to 1 if you have the <process.h> header file. */
|
|
|
|
#undef HAVE_PROCESS_H
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `psignal' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_PSIGNAL
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `pstat_getdynamic' function. */
|
2003-02-21 05:02:44 +00:00
|
|
|
#undef HAVE_PSTAT_GETDYNAMIC
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `pstat_getstatic' function. */
|
2003-02-21 05:02:44 +00:00
|
|
|
#undef HAVE_PSTAT_GETSTATIC
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `putenv' function. */
|
1999-06-21 05:01:18 +00:00
|
|
|
#undef HAVE_PUTENV
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `random' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_RANDOM
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `realpath' function. */
|
2003-02-20 22:11:13 +00:00
|
|
|
#undef HAVE_REALPATH
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `rename' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_RENAME
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `rindex' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_RINDEX
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `sbrk' function. */
|
1999-04-15 22:05:35 +00:00
|
|
|
#undef HAVE_SBRK
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `setenv' function. */
|
1999-06-21 05:01:18 +00:00
|
|
|
#undef HAVE_SETENV
|
|
|
|
|
2010-10-06 22:02:58 +00:00
|
|
|
/* Define to 1 if you have the `setproctitle' function. */
|
|
|
|
#undef HAVE_SETPROCTITLE
|
|
|
|
|
2011-07-22 08:33:37 +00:00
|
|
|
/* Define to 1 if you have the `setrlimit' function. */
|
|
|
|
#undef HAVE_SETRLIMIT
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `sigsetmask' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_SIGSETMASK
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `snprintf' function. */
|
2003-04-16 22:42:07 +00:00
|
|
|
#undef HAVE_SNPRINTF
|
|
|
|
|
2010-11-04 23:37:04 +00:00
|
|
|
/* Define to 1 if you have the `spawnve' function. */
|
|
|
|
#undef HAVE_SPAWNVE
|
|
|
|
|
|
|
|
/* Define to 1 if you have the `spawnvpe' function. */
|
|
|
|
#undef HAVE_SPAWNVPE
|
|
|
|
|
[PATCH v3] libiberty: Use posix_spawn in pex-unix when available.
Hi,
This patch implements pex_unix_exec_child using posix_spawn when
available.
This should especially benefit recent macOS (where vfork just calls
fork), but should have equivalent or faster performance on all
platforms.
In addition, the implementation is substantially simpler than the
vfork+exec code path.
Tested on x86_64-linux.
v2: Fix error handling (previously the function would be run twice in
case of error), and don't use a macro that changes control flow.
v3: Match file style for error-handling blocks, don't close
in/out/errdes on error, and check close() for errors.
libiberty/
* configure.ac (AC_CHECK_HEADERS): Add spawn.h.
(checkfuncs): Add posix_spawn, posix_spawnp.
(AC_CHECK_FUNCS): Add posix_spawn, posix_spawnp.
* aclocal.m4, configure, config.in: Rebuild.
* pex-unix.c [HAVE_POSIX_SPAWN] (pex_unix_exec_child): New function.
2023-11-10 04:01:07 +00:00
|
|
|
/* Define to 1 if you have the <spawn.h> header file. */
|
|
|
|
#undef HAVE_SPAWN_H
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
2005-04-11 17:49:47 +00:00
|
|
|
/* Define to 1 if you have the <stdio_ext.h> header file. */
|
|
|
|
#undef HAVE_STDIO_EXT_H
|
|
|
|
|
2004-01-10 02:17:41 +00: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 02:56:46 +00:00
|
|
|
#undef HAVE_STPCPY
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `stpncpy' function. */
|
2003-04-16 02:56:46 +00:00
|
|
|
#undef HAVE_STPNCPY
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strcasecmp' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRCASECMP
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strchr' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRCHR
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strdup' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRDUP
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRERROR
|
|
|
|
|
2004-01-10 02:17:41 +00: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. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRNCASECMP
|
|
|
|
|
2005-03-25 04:41:41 +00:00
|
|
|
/* Define to 1 if you have the `strndup' function. */
|
|
|
|
#undef HAVE_STRNDUP
|
|
|
|
|
2012-09-18 16:03:01 +00:00
|
|
|
/* Define to 1 if you have the `strnlen' function. */
|
|
|
|
#undef HAVE_STRNLEN
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strrchr' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRRCHR
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strsignal' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRSIGNAL
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strstr' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRSTR
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strtod' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRTOD
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strtol' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRTOL
|
|
|
|
|
2014-10-28 09:43:20 +00:00
|
|
|
/* Define to 1 if you have the `strtoll' function. */
|
|
|
|
#undef HAVE_STRTOLL
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `strtoul' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_STRTOUL
|
|
|
|
|
2014-10-28 09:43:20 +00:00
|
|
|
/* Define to 1 if you have the `strtoull' function. */
|
|
|
|
#undef HAVE_STRTOULL
|
|
|
|
|
2005-07-07 02:09:25 +00:00
|
|
|
/* Define to 1 if you have the `strverscmp' function. */
|
|
|
|
#undef HAVE_STRVERSCMP
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `sysconf' function. */
|
1998-05-16 06:20:36 +00:00
|
|
|
#undef HAVE_SYSCONF
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `sysctl' function. */
|
2003-02-22 15:17:36 +00:00
|
|
|
#undef HAVE_SYSCTL
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `sysmp' function. */
|
2003-02-21 20:15:39 +00:00
|
|
|
#undef HAVE_SYSMP
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define if you have the sys_errlist variable. */
|
|
|
|
#undef HAVE_SYS_ERRLIST
|
2003-02-21 20:33:50 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
|
|
|
#undef HAVE_SYS_FILE_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
|
|
#undef HAVE_SYS_MMAN_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define if you have the sys_nerr variable. */
|
|
|
|
#undef HAVE_SYS_NERR
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/param.h> header file. */
|
|
|
|
#undef HAVE_SYS_PARAM_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2010-11-21 03:29:27 +00:00
|
|
|
/* Define to 1 if you have the <sys/prctl.h> header file. */
|
|
|
|
#undef HAVE_SYS_PRCTL_H
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/pstat.h> header file. */
|
|
|
|
#undef HAVE_SYS_PSTAT_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/resource.h> header file. */
|
|
|
|
#undef HAVE_SYS_RESOURCE_H
|
2003-04-16 22:42:07 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define if you have the sys_siglist variable. */
|
|
|
|
#undef HAVE_SYS_SIGLIST
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/sysctl.h> header file. */
|
|
|
|
#undef HAVE_SYS_SYSCTL_H
|
2001-11-26 20:02:19 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/sysinfo.h> header file. */
|
|
|
|
#undef HAVE_SYS_SYSINFO_H
|
2001-11-28 01:37:24 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/sysmp.h> header file. */
|
|
|
|
#undef HAVE_SYS_SYSMP_H
|
2000-07-23 19:13:46 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/systemcfg.h> header file. */
|
|
|
|
#undef HAVE_SYS_SYSTEMCFG_H
|
2003-02-21 20:33:50 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/table.h> header file. */
|
|
|
|
#undef HAVE_SYS_TABLE_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
|
|
#undef HAVE_SYS_TIME_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#undef HAVE_SYS_TYPES_H
|
1998-10-13 22:59:40 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
|
|
|
#undef HAVE_SYS_WAIT_H
|
1998-05-16 06:20:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `table' function. */
|
|
|
|
#undef HAVE_TABLE
|
2000-04-28 01:42:43 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `times' function. */
|
|
|
|
#undef HAVE_TIMES
|
1998-05-21 07:52:41 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <time.h> header file. */
|
|
|
|
#undef HAVE_TIME_H
|
2003-02-21 00:27:04 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `tmpnam' function. */
|
|
|
|
#undef HAVE_TMPNAM
|
1999-06-21 05:01:18 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define if you have the \`uintptr_t' type. */
|
|
|
|
#undef HAVE_UINTPTR_T
|
1999-08-31 00:50:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
2003-02-22 15:17:36 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `vasprintf' function. */
|
|
|
|
#undef HAVE_VASPRINTF
|
2003-02-21 20:33:50 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `vfork' function. */
|
|
|
|
#undef HAVE_VFORK
|
2003-02-21 20:15:39 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the <vfork.h> header file. */
|
|
|
|
#undef HAVE_VFORK_H
|
2003-02-22 15:39:16 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `vfprintf' function. */
|
|
|
|
#undef HAVE_VFPRINTF
|
2003-02-21 20:33:50 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `vprintf' function. */
|
|
|
|
#undef HAVE_VPRINTF
|
1998-10-13 23:08:18 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `vsprintf' function. */
|
|
|
|
#undef HAVE_VSPRINTF
|
2000-07-23 16:05:03 +00:00
|
|
|
|
2005-04-02 19:57:12 +00: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 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `waitpid' function. */
|
|
|
|
#undef HAVE_WAITPID
|
2003-06-19 19:04:03 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if `fork' works. */
|
|
|
|
#undef HAVE_WORKING_FORK
|
|
|
|
|
|
|
|
/* Define to 1 if `vfork' works. */
|
|
|
|
#undef HAVE_WORKING_VFORK
|
|
|
|
|
libiberty: Use x86 HW optimized sha1
Nick has approved this patch (+ small ld change to use it for --build-id=),
so I'm commiting it to GCC as master as well.
If anyone from ARM would be willing to implement it similarly with
vsha1{cq,mq,pq,h,su0q,su1q}_u32 intrinsics, it could be a useful linker
speedup on those hosts as well, the intent in sha1.c was that
sha1_hw_process_bytes, sha1_hw_process_block functions
would be defined whenever
defined (HAVE_X86_SHA1_HW_SUPPORT) || defined (HAVE_WHATEVERELSE_SHA1_HW_SUPPORT)
but the body of sha1_hw_process_block and sha1_choose_process_bytes
would then have #elif defined (HAVE_WHATEVERELSE_SHA1_HW_SUPPORT) for
the other arch support, similarly for any target attributes on
sha1_hw_process_block if needed.
2023-11-28 Jakub Jelinek <jakub@redhat.com>
include/
* sha1.h (sha1_process_bytes_fn): New typedef.
(sha1_choose_process_bytes): Declare.
libiberty/
* configure.ac (HAVE_X86_SHA1_HW_SUPPORT): New check.
* sha1.c: If HAVE_X86_SHA1_HW_SUPPORT is defined, include x86intrin.h
and cpuid.h.
(sha1_hw_process_bytes, sha1_hw_process_block,
sha1_choose_process_bytes): New functions.
* config.in: Regenerated.
* configure: Regenerated.
2023-11-28 12:14:05 +00:00
|
|
|
/* Define if you have x86 SHA1 HW acceleration support. */
|
|
|
|
#undef HAVE_X86_SHA1_HW_SUPPORT
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the `_doprnt' function. */
|
|
|
|
#undef HAVE__DOPRNT
|
|
|
|
|
|
|
|
/* Define if you have the _system_configuration variable. */
|
|
|
|
#undef HAVE__SYSTEM_CONFIGURATION
|
2003-05-07 18:07:58 +00:00
|
|
|
|
2005-04-11 17:49:47 +00:00
|
|
|
/* Define to 1 if you have the `__fsetlocking' function. */
|
|
|
|
#undef HAVE___FSETLOCKING
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define if canonicalize_file_name is not declared in system header files. */
|
|
|
|
#undef NEED_DECLARATION_CANONICALIZE_FILE_NAME
|
2003-05-07 18:07:58 +00:00
|
|
|
|
2000-07-23 16:05:03 +00:00
|
|
|
/* Define if errno must be declared even when <errno.h> is included. */
|
|
|
|
#undef NEED_DECLARATION_ERRNO
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
|
|
|
#undef NO_MINUS_C_MINUS_O
|
2001-11-28 01:37:24 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
2000-11-22 08:32:26 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
2000-11-22 08:32:26 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
2000-11-22 08:32:26 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
2009-08-22 13:22:20 +00:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
libiberty:
* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
* configure.in: Replace all alloca logic with a simple use of
the above new macro.
* config.table: Kill *-*-beos* entry.
* config/mh-beos: Delete.
* configure, config.in: Regenerate.
* Makefile.in (ALLOCA, HFILES): Kill.
(REQUIRED_OFILES): Add alloca.o.
(alloca.o): Depend on libiberty.h.
(argv.o): Don't depend on alloca-conf.h.
* alloca-conf.h: Delete.
* alloca.c: Include libiberty.h. Kill all #ifdef emacs
blocks. Provide the C alloca unconditionally. Use PTR where
appropriate. Make i00afunc static.
* argv.c: Don't include alloca-conf.h.
include:
* libiberty.h: Prototype C_alloca; define alloca to either
__builtin_alloca or C_alloca as appropriate.
gcc:
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
AC_FUNC_ALLOCA.
* configure, config.in: Regenerate.
* config.gcc: Remove references to deleted files.
* genattr.c, genattrtab.c, genextract.c, genoutput.c,
genrecog.c, rtl.c: Do not use alloca anywhere.
* Makefile.in, build-make, system.h, config/x-interix,
config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
config/arc/xm-arc.h, config/arm/xm-arm.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/i370/x-oe,
config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
config/i386/x-ncr3000, config/i386/x-sco5,
config/i386/xm-dgux.h, config/i860/x-sysv4,
config/i960/xm-i960.h, config/m32r/xm-m32r.h,
config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m69k/x-mot3300,
config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
config/m68k/xm-mot3300.h, config/m88k/x-dolph,
config/m88k/x-sysv4, config/m88k/x-tekXD88,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/x-iris, config/mips/x-iris3,
config/mips/x-sni-svr4, config/mips/x-sysv,
config/mips/xm-iris6.h, config/mips/xm-mips.h,
config/mips/xm-nws3250v4.h, config/pa/x-hpux,
config/pa/x-pa-mpeix, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/romp/xm-romp.h,
config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-rs6000,
config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/x-sysv4, config/sparc/xm-linux.h,
config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
config/vax/xm-vms.h: Eradicate all references to alloca and
related stuff.
* config/xm-alloca.h, config/clipper/x-clix,
config/i386/xm-sysv4.h, config/i860/x-fx2800,
config/i860/x-sysv3, config/m88k/x-sysv3,
config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
(contained only alloca related hacks).
* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
USE_C_ALLOCA.
From-SVN: r40259
2001-03-06 09:52:35 +00:00
|
|
|
|
2009-08-22 13:22:20 +00:00
|
|
|
/* The size of `int', as computed by sizeof. */
|
2004-12-10 21:25:00 +00:00
|
|
|
#undef SIZEOF_INT
|
|
|
|
|
2014-10-28 09:43:20 +00: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
|
|
|
|
|
2015-11-09 04:54:15 +00:00
|
|
|
/* The size of `size_t', as computed by sizeof. */
|
|
|
|
#undef SIZEOF_SIZE_T
|
|
|
|
|
2004-01-10 02:17:41 +00: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 */
|
aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
libiberty:
* aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
* configure.in: Replace all alloca logic with a simple use of
the above new macro.
* config.table: Kill *-*-beos* entry.
* config/mh-beos: Delete.
* configure, config.in: Regenerate.
* Makefile.in (ALLOCA, HFILES): Kill.
(REQUIRED_OFILES): Add alloca.o.
(alloca.o): Depend on libiberty.h.
(argv.o): Don't depend on alloca-conf.h.
* alloca-conf.h: Delete.
* alloca.c: Include libiberty.h. Kill all #ifdef emacs
blocks. Provide the C alloca unconditionally. Use PTR where
appropriate. Make i00afunc static.
* argv.c: Don't include alloca-conf.h.
include:
* libiberty.h: Prototype C_alloca; define alloca to either
__builtin_alloca or C_alloca as appropriate.
gcc:
* aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE
AC_FUNC_ALLOCA.
* configure, config.in: Regenerate.
* config.gcc: Remove references to deleted files.
* genattr.c, genattrtab.c, genextract.c, genoutput.c,
genrecog.c, rtl.c: Do not use alloca anywhere.
* Makefile.in, build-make, system.h, config/x-interix,
config/x-svr4, config/xm-interix.h, config/xm-openbsd.h,
config/alpha/xm-alpha.h, config/alpha/xm-vms.h,
config/arc/xm-arc.h, config/arm/xm-arm.h,
config/d30v/xm-d30v.h, config/dsp16xx/xm-dsp16xx.h,
config/h8300/xm-h8300.h, config/i370/x-oe,
config/i370/xm-linux.h, config/i386/x-aix, config/i386/x-beos,
config/i386/x-ncr3000, config/i386/x-sco5,
config/i386/xm-dgux.h, config/i860/x-sysv4,
config/i960/xm-i960.h, config/m32r/xm-m32r.h,
config/m68k/x-crds, config/m68k/x-dpx2, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m69k/x-mot3300,
config/m68k/x-mot3300-gas, config/m68k/xm-amix.h,
config/m68k/xm-hp320.h, config/m68k/xm-m68kv.h,
config/m68k/xm-mot3300.h, config/m88k/x-dolph,
config/m88k/x-sysv4, config/m88k/x-tekXD88,
config/m88k/xm-m88k.h, config/mcore/xm-mcore.h,
config/mips/x-iris, config/mips/x-iris3,
config/mips/x-sni-svr4, config/mips/x-sysv,
config/mips/xm-iris6.h, config/mips/xm-mips.h,
config/mips/xm-nws3250v4.h, config/pa/x-hpux,
config/pa/x-pa-mpeix, config/pa/xm-pa.h,
config/pa/xm-pa64hpux.h, config/pa/xm-pahpux.h,
config/pa/xm-papro.h, config/romp/xm-romp.h,
config/rs6000/x-aix31, config/rs6000/x-aix41,
config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-rs6000,
config/rs6000/x-sysv4, config/rs6000/xm-rs6000.h,
config/rs6000/xm-sysv4.h, config/sh/xm-sh.h,
config/sparc/x-sysv4, config/sparc/xm-linux.h,
config/sparc/xm-pbd.h, config/sparc/xm-sparc.h,
config/vax/xm-vms.h: Eradicate all references to alloca and
related stuff.
* config/xm-alloca.h, config/clipper/x-clix,
config/i386/xm-sysv4.h, config/i860/x-fx2800,
config/i860/x-sysv3, config/m88k/x-sysv3,
config/sparc/xm-sol2.h, config/we32k/x-we32k: Delete
(contained only alloca related hacks).
* config/i386/xm-beos.h, config/rs6000/xm-beos.h: Just define
USE_C_ALLOCA.
From-SVN: r40259
2001-03-06 09:52:35 +00:00
|
|
|
#undef STACK_DIRECTION
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
2003-06-09 05:20:02 +00:00
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
|
|
#undef TIME_WITH_SYS_TIME
|
|
|
|
|
2004-04-22 17:35:44 +00:00
|
|
|
/* Define to an unsigned 64-bit type available in the compiler. */
|
|
|
|
#undef UNSIGNED_64BIT_TYPE
|
|
|
|
|
2015-05-22 20:53:45 +00:00
|
|
|
/* 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 13:22:20 +00: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
|
2003-02-20 22:11:13 +00:00
|
|
|
|
Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856).
This patch updates GCC to use autoconf 2.69 and automake 1.15.1.
(That's not the latest automake version, but it's the one used by
binutils-gdb, with which consistency is desirable, and in any case
seems a useful incremental update that should make a future update to
1.16.1 easier.)
The changes are generally similar to the binutils-gdb ones, and are
copied from there where shared files and directories are involved
(there are some further changes to such shared directories, however,
which I'd expect to apply to binutils-gdb once this patch is in GCC).
Largely, obsolete AC_PREREQ calls are removed, while many
AC_LANG_SOURCE calls are added to avoid warnings from aclocal and
autoconf. Multilib support is no longer included in core automake,
meaning that multilib.am needs copying from automake's contrib
directory into the GCC source tree. Autoconf 2.69 has Go support, so
local copies of that support are removed. I hope the D support will
soon be submitted to upstream autoconf so the local copy of that can
be removed in a future update. Changes to how automake generates
runtest calls mean quotes are removed from RUNTEST definitions in five
lib*/testsuite/Makefile.am files (libatomic, libgomp, libitm,
libphobos, libvtv; some others have RUNTEST definitions without
quotes, which are still OK); libgo and libphobos also get
-Wno-override added to AM_INIT_AUTOMAKE so those overrides of RUNTEST
do not generate automake warnings.
Note that the regeneration did not include regeneration of
fixincludes/config.h.in (attempting such regeneration resulted in all
the USED_FOR_TARGET conditionals disappearing; and I don't see
anything in the fixincludes/ directory that would result in such
conditionals being generated, unlike in the gcc/ directory). Also
note that libvtv/testsuite/other-tests/Makefile.in was not
regenerated; that directory is not listed as a subdirectory for which
Makefile.in gets regenerated by calling "automake" in libvtv/, so I'm
not sure how it's meant to be regenerated.
While I mostly fixed warnings should running aclocal / automake /
autoconf, there were various such warnings from automake in the
libgfortran, libgo, libgomp, liboffloadmic, libsanitizer, libphobos
directories that I did not fix, preferring to leave those to the
relevant subsystem maintainers. Specifically, most of those warnings
were of the following form (example from libgfortran):
Makefile.am:48: warning: source file 'caf/single.c' is in a subdirectory,
Makefile.am:48: 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.
I think it's best for the relevant maintainers to add subdir-objects
and do any other associated Makefile.am changes needed. In some cases
the paths in the warnings involved ../; I don't know if that adds any
extra complications to the use of subdir-objects.
I've tested this with native, cross and Canadian cross builds. The
risk of any OS-specific issues should I hope be rather lower than if a
libtool upgrade were included (we *should* do such an upgrade at some
point, but it's more complicated - it involves identifying all our
local libtool changes to see if any aren't included in the upstream
version we update to, and reverting an upstream libtool patch that's
inappropriate for use in GCC); I think it would be better to get this
update into GCC so that people can test in different configurations
and we can fix any issues found, rather than to try to get more and
more testing done before it goes in.
top level:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* multilib.am: New file. From automake.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ, use AC_LANG_SOURCE.
* ar-lib: New file.
* test-driver: New file.
* configure: Re-generate.
config:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* math.m4, tls.m4: Use AC_LANG_SOURCE.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* override.m4 (_GCC_AUTOCONF_VERSION): Bump from 2.64 to 2.69.
fixincludes:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, configure: Regenerate.
gcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use single
line for second argument of AC_DEFINE_UNQUOTED.
* doc/install.texi (Tools/packages necessary for modifying GCC):
Update to autoconf 2.69 and automake 1.15.1.
* aclocal.m4, config.in, configure: Regenerate.
gnattools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
gotools:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* config/go.m4: Remove file.
* Makefile.am (ACLOCAL_AMFLAGS): Do not use -I ./config.
* configure.ac: Remove AC_PREREQ. Do not include config/go.m4.
* Makefile.in, aclocal.m4, configure: Regenerate.
intl:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Add AC_USE_SYSTEM_EXTENSIONS, remove AC_PREREQ.
* configure: Re-generate.
* config.h.in: Re-generate.
* aclocal.m4: Re-generate.
libada:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* configure: Regenerate.
libatomic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* acinclude.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libbacktrace:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libcc1:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libcpp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* aclocal.m4, config.in, configure: Regenerate.
libdecnumber:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* aclocal.m4.
libffi:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove doc/libffi.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, fficonfig.h.in,
include/Makefile.in, man/Makefile.in, testsuite/Makefile.in:
Regenerate.
libgcc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* configure: Regenerate.
libgfortran:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libgo [logically part of this change but omitted from the commit]:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* config/go.m4: Remove file.
* config/libtool.m4: Use AC_LANG_SOURCE.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE. Use
-Wno-override in AM_INIT_AUTOMAKE call.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libgomp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libgomp.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libhsail-rt:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure: Regenerate.
libiberty:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* configure.ac: Remove AC_PREREQ.
* configure: Re-generate.
* config.in: Re-generate.
libitm:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Add info-in-builddir.
(CLEANFILES): Remove libitm.info.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
libobjc:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ.
* aclocal.m4, config.h.in, configure: Regenerate.
liboffloadmic:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* plugin/Makefile.am: Include multilib.am.
* plugin/configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, plugin/Makefile.in,
plugin/aclocal.m4, plugin/configure: Regenerate.
libphobos:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use -Wno-override in
AM_INIT_AUTOMAKE call.
* m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
* m4/druntime/os.m4: Use AC_LANG_SOURCE.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
src/Makefile.in, testsuite/Makefile.in: Regenerate.
libquadmath:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.8. Add info-in-builddir.
(all-local): Define outside conditional code.
(CLEANFILES): Remove libquadmath.info.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
libsanitizer:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, asan/Makefile.in, configure,
interception/Makefile.in, libbacktrace/Makefile.in,
lsan/Makefile.in, sanitizer_common/Makefile.in, tsan/Makefile.in,
ubsan/Makefile.in: Regenerate.
libssp:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
(AUTOMAKE_OPTIONS): Remove 1.9.5.
* configure.ac: Remove AC_PREREQ. Quote argument to
AC_RUN_IFELSE.
* Makefile.in, aclocal.m4, configure: Regenerate.
libstdc++-v3:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* Makefile.in, aclocal.m4, configure, doc/Makefile.in,
include/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
python/Makefile.in, src/Makefile.in, src/c++11/Makefile.in,
src/c++17/Makefile.in, src/c++98/Makefile.in,
src/filesystem/Makefile.in, testsuite/Makefile.in: Regenerate.
libvtv:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
* configure.ac: Remove AC_PREREQ.
* testsuite/Makefile.am (RUNTEST): Remove quotes.
* Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
Regenerate.
lto-plugin:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* configure.ac: Remove AC_PREREQ. Use AC_LANG_SOURCE.
* Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
zlib:
2018-10-31 Joseph Myers <joseph@codesourcery.com>
PR bootstrap/82856
* Makefile.am: Include multilib.am.
Merge from binutils-gdb:
2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
* 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.
From-SVN: r265695
2018-10-31 17:03:16 +00: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
|
|
|
|
|
2008-10-07 16:44:19 +00:00
|
|
|
/* 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
|
|
|
|
|
2015-05-22 20:53:45 +00:00
|
|
|
/* 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 02:17:41 +00:00
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
|
|
#undef const
|
|
|
|
|
2004-03-09 23:02:47 +00: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 02:17:41 +00:00
|
|
|
#undef inline
|
2004-03-09 23:02:47 +00:00
|
|
|
#endif
|
2004-01-10 02:17:41 +00:00
|
|
|
|
2009-09-04 14:33:16 +00: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. */
|
2009-09-03 16:46:00 +00:00
|
|
|
#undef intptr_t
|
|
|
|
|
2004-01-10 02:17:41 +00:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef pid_t
|
|
|
|
|
2010-11-02 14:40:44 +00:00
|
|
|
/* Define to `int' if <sys/types.h> does not define. */
|
|
|
|
#undef ssize_t
|
|
|
|
|
2009-09-04 14:33:16 +00:00
|
|
|
/* 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 02:17:41 +00:00
|
|
|
#undef uintptr_t
|
|
|
|
|
|
|
|
/* Define as `fork' if `vfork' does not work. */
|
|
|
|
#undef vfork
|