2006-08-05 07:10:59 +08:00
|
|
|
/* config.in. Generated from configure.ac by autoheader. */
|
|
|
|
|
2012-05-17 23:13:28 +08:00
|
|
|
/* Check that config.h is #included before system headers
|
|
|
|
(this works only for glibc, but that should be enough). */
|
2012-09-11 06:30:57 +08:00
|
|
|
#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__) && !defined(__CONFIG_H__)
|
2012-05-17 23:13:28 +08:00
|
|
|
# error config.h must be #included before system headers
|
|
|
|
#endif
|
|
|
|
#define __CONFIG_H__ 1
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define if building universal (internal helper macro) */
|
|
|
|
#undef AC_APPLE_UNIVERSAL_BUILD
|
|
|
|
|
2017-08-08 05:55:39 +08:00
|
|
|
/* Set the default --hash-style value */
|
|
|
|
#undef DEFAULT_HASH_STYLE
|
|
|
|
|
2016-06-22 20:39:22 +08:00
|
|
|
/* Define to 1 if you want to enable -z relro in ELF linker by default. */
|
|
|
|
#undef DEFAULT_LD_Z_RELRO
|
|
|
|
|
2006-08-05 07:10:59 +08:00
|
|
|
/* Define to 1 if translation of program messages to the user's native
|
|
|
|
language is requested. */
|
|
|
|
#undef ENABLE_NLS
|
|
|
|
|
2008-09-20 06:54:57 +08:00
|
|
|
/* Define to enable linker plugins */
|
|
|
|
#undef ENABLE_PLUGINS
|
|
|
|
|
2007-10-17 14:24:50 +08:00
|
|
|
/* Define to do multi-threaded linking */
|
|
|
|
#undef ENABLE_THREADS
|
|
|
|
|
2008-02-07 04:32:10 +08:00
|
|
|
/* Default big endian (true or false) */
|
|
|
|
#undef GOLD_DEFAULT_BIG_ENDIAN
|
|
|
|
|
|
|
|
/* Default machine code */
|
|
|
|
#undef GOLD_DEFAULT_MACHINE
|
|
|
|
|
2009-03-24 08:31:29 +08:00
|
|
|
/* Default OSABI code */
|
|
|
|
#undef GOLD_DEFAULT_OSABI
|
|
|
|
|
2008-02-07 04:32:10 +08:00
|
|
|
/* Default size (32 or 64) */
|
|
|
|
#undef GOLD_DEFAULT_SIZE
|
|
|
|
|
2009-03-02 10:45:29 +08:00
|
|
|
/* Define to 1 if you have the <byteswap.h> header file. */
|
|
|
|
#undef HAVE_BYTESWAP_H
|
|
|
|
|
2009-03-18 06:25:30 +08:00
|
|
|
/* Define to 1 if you have the `chsize' function. */
|
|
|
|
#undef HAVE_CHSIZE
|
|
|
|
|
2009-05-16 02:32:13 +08:00
|
|
|
/* Define to 1 if you have the declaration of `asprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_ASPRINTF
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `basename', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_BASENAME
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `ffs', and to 0 if you don't. */
|
|
|
|
#undef HAVE_DECL_FFS
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
|
|
|
|
*/
|
2009-06-24 02:10:42 +08:00
|
|
|
#undef HAVE_DECL_MEMMEM
|
|
|
|
|
2009-05-16 02:32:13 +08:00
|
|
|
/* Define to 1 if you have the declaration of `snprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_SNPRINTF
|
|
|
|
|
2009-06-24 02:10:42 +08:00
|
|
|
/* Define to 1 if you have the declaration of `strndup', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRNDUP
|
|
|
|
|
2009-05-16 02:32:13 +08:00
|
|
|
/* Define to 1 if you have the declaration of `strverscmp', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_STRVERSCMP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `vasprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_VASPRINTF
|
|
|
|
|
|
|
|
/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you
|
|
|
|
don't. */
|
|
|
|
#undef HAVE_DECL_VSNPRINTF
|
|
|
|
|
2013-01-11 22:36:36 +08:00
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
|
|
#undef HAVE_DLFCN_H
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the <ext/hash_map> header file. */
|
|
|
|
#undef HAVE_EXT_HASH_MAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <ext/hash_set> header file. */
|
|
|
|
#undef HAVE_EXT_HASH_SET
|
|
|
|
|
2012-06-07 06:12:47 +08:00
|
|
|
/* Define to 1 if you have the `fallocate' function. */
|
|
|
|
#undef HAVE_FALLOCATE
|
|
|
|
|
2009-03-28 13:22:30 +08:00
|
|
|
/* Define to 1 if you have the `ffsll' function. */
|
|
|
|
#undef HAVE_FFSLL
|
|
|
|
|
2009-03-18 06:25:30 +08:00
|
|
|
/* Define to 1 if you have the `ftruncate' function. */
|
|
|
|
#undef HAVE_FTRUNCATE
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
|
2012-04-05 16:43:41 +08:00
|
|
|
/* Define if your <locale.h> file defines LC_MESSAGES. */
|
|
|
|
#undef HAVE_LC_MESSAGES
|
|
|
|
|
2012-04-07 00:49:02 +08:00
|
|
|
/* Define to 1 if you have the <locale.h> header file. */
|
|
|
|
#undef HAVE_LOCALE_H
|
|
|
|
|
2007-10-12 13:51:25 +08:00
|
|
|
/* Define to 1 if you have the `mallinfo' function. */
|
|
|
|
#undef HAVE_MALLINFO
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
|
|
#undef HAVE_MEMORY_H
|
|
|
|
|
2011-04-13 02:06:16 +08:00
|
|
|
/* Define to 1 if you have the `mmap' function. */
|
|
|
|
#undef HAVE_MMAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the mremap function with MREMAP_MAYMOVE support */
|
2009-03-28 07:21:09 +08:00
|
|
|
#undef HAVE_MREMAP
|
|
|
|
|
2008-04-17 15:12:00 +08:00
|
|
|
/* Define if compiler supports #pragma omp threadprivate */
|
|
|
|
#undef HAVE_OMP_SUPPORT
|
|
|
|
|
2009-03-18 06:25:30 +08:00
|
|
|
/* Define to 1 if you have the `posix_fallocate' function. */
|
|
|
|
#undef HAVE_POSIX_FALLOCATE
|
|
|
|
|
2007-09-25 14:43:17 +08:00
|
|
|
/* Define to 1 if you have the `pread' function. */
|
|
|
|
#undef HAVE_PREAD
|
|
|
|
|
Replace thread config with automatic config using ax_pthread.m4.
The autotools library macro (AX_PTHREAD) is now used to detect if
pthreads is present and multi-threaded linking in gold is automatically
enabled if it is found. This enables multi-threaded gold on platforms
where pthreads is enabled via other methods than just -lpthread
(e.g., MinGW).
2018-06-19 Joshua Watt <jpewhacker@gmail.com>
Cary Coutant <ccoutant@gmail.com>
gold/
* configure.ac: Replace manual thread configuration with AX_PTHREAD.
Add --enable-threads=auto.
* Makefile.am (THREADFLAGS, THREADLIBS): New defines.
(AM_CFLAGS, AM_CXXFLAGS): Add $(THREADFLAGS.
(THREADSLIB): Remove; change all references to THREADLIBS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (THREADSLIB): Replace with...
(THREADFLAGS, THREADLIBS): ... these.
(LDADD): Remove; add as individual defines for...
(object_unittest, binary_unittest, leb128_unittest)
(overflow_unittest): ... these tests.
(tls_test, tls_pic_test, tls_pie_test, tls_pie_pic_test)
(tls_shared_test, tls_shared_ie_test, tls_shared_gd_to_ie_test)
(tls_shared_gnu2_gd_to_ie_test, tls_shared_gnu2_test_LDFLAGS)
(tls_shared_nonpic_test_LDFLAGS): Add $(THREADFLAGS) and ($THREADLIBS).
* testsuite/Makefile.in: Regenerate.
2018-06-20 09:57:28 +08:00
|
|
|
/* Have PTHREAD_PRIO_INHERIT. */
|
|
|
|
#undef HAVE_PTHREAD_PRIO_INHERIT
|
|
|
|
|
2009-10-10 07:20:44 +08:00
|
|
|
/* Define to 1 if you have the `readv' function. */
|
|
|
|
#undef HAVE_READV
|
|
|
|
|
2012-04-07 00:49:02 +08:00
|
|
|
/* Define to 1 if you have the `setlocale' function. */
|
|
|
|
#undef HAVE_SETLOCALE
|
|
|
|
|
2009-11-06 23:47:06 +08:00
|
|
|
/* Define if struct stat has a field st_mtim with timespec for mtime */
|
|
|
|
#undef HAVE_STAT_ST_MTIM
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
|
|
#undef HAVE_STDINT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
|
|
#undef HAVE_STDLIB_H
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
2009-12-18 00:02:03 +08:00
|
|
|
/* Define to 1 if you have the `sysconf' function. */
|
|
|
|
#undef HAVE_SYSCONF
|
|
|
|
|
2011-04-13 02:06:16 +08:00
|
|
|
/* Define to 1 if you have the <sys/mman.h> header file. */
|
|
|
|
#undef HAVE_SYS_MMAN_H
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
|
2007-09-05 04:00:53 +08:00
|
|
|
/* Define to support 32-bit big-endian targets */
|
|
|
|
#undef HAVE_TARGET_32_BIG
|
|
|
|
|
|
|
|
/* Define to support 32-bit little-endian targets */
|
|
|
|
#undef HAVE_TARGET_32_LITTLE
|
|
|
|
|
|
|
|
/* Define to support 64-bit big-endian targets */
|
|
|
|
#undef HAVE_TARGET_64_BIG
|
|
|
|
|
|
|
|
/* Define to support 64-bit little-endian targets */
|
|
|
|
#undef HAVE_TARGET_64_LITTLE
|
|
|
|
|
2008-03-27 07:36:46 +08:00
|
|
|
/* Define if attributes work on C++ templates */
|
|
|
|
#undef HAVE_TEMPLATE_ATTRIBUTES
|
|
|
|
|
2009-12-18 00:02:03 +08:00
|
|
|
/* Define to 1 if you have the `times' function. */
|
|
|
|
#undef HAVE_TIMES
|
|
|
|
|
2012-07-10 22:54:29 +08:00
|
|
|
/* Define if std::tr1::hash<off_t> is usable */
|
|
|
|
#undef HAVE_TR1_HASH_OFF_T
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the <tr1/unordered_map> header file. */
|
|
|
|
#undef HAVE_TR1_UNORDERED_MAP
|
|
|
|
|
2009-04-25 03:33:42 +08:00
|
|
|
/* Define if ::std::tr1::unordered_map::rehash is usable */
|
|
|
|
#undef HAVE_TR1_UNORDERED_MAP_REHASH
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the <tr1/unordered_set> header file. */
|
|
|
|
#undef HAVE_TR1_UNORDERED_SET
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
|
|
#undef HAVE_UNISTD_H
|
|
|
|
|
2013-12-19 07:53:05 +08:00
|
|
|
/* Define to 1 if you have the <unordered_map> header file. */
|
|
|
|
#undef HAVE_UNORDERED_MAP
|
|
|
|
|
|
|
|
/* Define to 1 if you have the <unordered_set> header file. */
|
|
|
|
#undef HAVE_UNORDERED_SET
|
|
|
|
|
2013-01-11 22:36:36 +08:00
|
|
|
/* Define to 1 if you have the <windows.h> header file. */
|
|
|
|
#undef HAVE_WINDOWS_H
|
|
|
|
|
2011-11-03 12:32:01 +08:00
|
|
|
/* Default library search path */
|
|
|
|
#undef LIB_PATH
|
|
|
|
|
|
|
|
/* Whether configured as a native linker */
|
|
|
|
#undef NATIVE_LINKER
|
|
|
|
|
2006-08-05 07:10:59 +08:00
|
|
|
/* Name of package */
|
|
|
|
#undef PACKAGE
|
|
|
|
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
|
|
|
|
/* Define to the full name of this package. */
|
|
|
|
#undef PACKAGE_NAME
|
|
|
|
|
|
|
|
/* Define to the full name and version of this package. */
|
|
|
|
#undef PACKAGE_STRING
|
|
|
|
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
|
|
#undef PACKAGE_TARNAME
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Define to the home page for this package. */
|
|
|
|
#undef PACKAGE_URL
|
|
|
|
|
2006-08-05 07:10:59 +08:00
|
|
|
/* Define to the version of this package. */
|
|
|
|
#undef PACKAGE_VERSION
|
|
|
|
|
Replace thread config with automatic config using ax_pthread.m4.
The autotools library macro (AX_PTHREAD) is now used to detect if
pthreads is present and multi-threaded linking in gold is automatically
enabled if it is found. This enables multi-threaded gold on platforms
where pthreads is enabled via other methods than just -lpthread
(e.g., MinGW).
2018-06-19 Joshua Watt <jpewhacker@gmail.com>
Cary Coutant <ccoutant@gmail.com>
gold/
* configure.ac: Replace manual thread configuration with AX_PTHREAD.
Add --enable-threads=auto.
* Makefile.am (THREADFLAGS, THREADLIBS): New defines.
(AM_CFLAGS, AM_CXXFLAGS): Add $(THREADFLAGS.
(THREADSLIB): Remove; change all references to THREADLIBS.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (THREADSLIB): Replace with...
(THREADFLAGS, THREADLIBS): ... these.
(LDADD): Remove; add as individual defines for...
(object_unittest, binary_unittest, leb128_unittest)
(overflow_unittest): ... these tests.
(tls_test, tls_pic_test, tls_pie_test, tls_pie_pic_test)
(tls_shared_test, tls_shared_ie_test, tls_shared_gd_to_ie_test)
(tls_shared_gnu2_gd_to_ie_test, tls_shared_gnu2_test_LDFLAGS)
(tls_shared_nonpic_test_LDFLAGS): Add $(THREADFLAGS) and ($THREADLIBS).
* testsuite/Makefile.in: Regenerate.
2018-06-20 09:57:28 +08:00
|
|
|
/* Define to necessary symbol if this constant uses a non-standard name on
|
|
|
|
your system. */
|
|
|
|
#undef PTHREAD_CREATE_JOINABLE
|
|
|
|
|
2006-09-27 05:00:34 +08:00
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
|
|
#undef STDC_HEADERS
|
|
|
|
|
2007-10-04 13:49:04 +08:00
|
|
|
/* System root for target files */
|
|
|
|
#undef TARGET_SYSTEM_ROOT
|
|
|
|
|
|
|
|
/* Whether the system root can be relocated */
|
|
|
|
#undef TARGET_SYSTEM_ROOT_RELOCATABLE
|
|
|
|
|
2009-08-23 00:56:56 +08:00
|
|
|
/* Enable extensions on AIX 3, Interix. */
|
|
|
|
#ifndef _ALL_SOURCE
|
|
|
|
# undef _ALL_SOURCE
|
|
|
|
#endif
|
2007-10-25 02:11:23 +08:00
|
|
|
/* Enable GNU extensions on systems that have them. */
|
|
|
|
#ifndef _GNU_SOURCE
|
|
|
|
# undef _GNU_SOURCE
|
|
|
|
#endif
|
2009-08-23 00:56:56 +08:00
|
|
|
/* 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
|
|
|
|
|
|
|
|
|
|
|
|
/* Version number of package */
|
|
|
|
#undef VERSION
|
|
|
|
|
|
|
|
/* 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
|
|
|
|
|
|
|
|
/* 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
|