mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
21c74b6ea4
memmem is not POSIX so the system may lack it. Then libiberty will provide an implementation, but it's a "supplemental function" and not declared in libiberty.h. We need to declare the prototype to use it then. See libiberty doc at https://gcc.gnu.org/onlinedocs/libiberty/Supplemental-Functions.html. Tested by bootstrapping GCC in the following container environments on x86_64-linux-gnu: 1. "Vanilla" system with memmem in Glibc. 2. memmem removed from string.h. 3. memmem removed from both string.h and libc.so. For 3, also verified that memmem from libiberty is linked into fixincl executable. Ok for trunk? fixincludes/ChangeLog: PR other/109293 * configure.ac (AC_CHECK_DECLS): Add memmem. * configure: Regenerate. * config.h.in: Regenerate. * system.h (memmem): Declare if HAVE_DECL_MEMMEM is zero.
254 lines
7.1 KiB
C
254 lines
7.1 KiB
C
/* config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Defined to the executable file extension on the host system */
|
|
#undef EXE_EXT
|
|
|
|
/* Define to 1 if you have the `clearerr_unlocked' function. */
|
|
#undef HAVE_CLEARERR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `abort', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ABORT
|
|
|
|
/* 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(char *)', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_BASENAME
|
|
|
|
/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_CLEARERR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `errno', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_ERRNO
|
|
|
|
/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_FEOF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FERROR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FFLUSH_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fgetc_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FGETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FGETS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fileno_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FILENO_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fprintf_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPRINTF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FPUTS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FREAD_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_FWRITE_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_GETCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_GETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `memmem', and to 0 if you don't.
|
|
*/
|
|
#undef HAVE_DECL_MEMMEM
|
|
|
|
/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
|
|
you don't. */
|
|
#undef HAVE_DECL_PUTCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
|
|
don't. */
|
|
#undef HAVE_DECL_PUTC_UNLOCKED
|
|
|
|
/* 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 <fcntl.h> header file. */
|
|
#undef HAVE_FCNTL_H
|
|
|
|
/* Define to 1 if you have the `feof_unlocked' function. */
|
|
#undef HAVE_FEOF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `ferror_unlocked' function. */
|
|
#undef HAVE_FERROR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fflush_unlocked' function. */
|
|
#undef HAVE_FFLUSH_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fgetc_unlocked' function. */
|
|
#undef HAVE_FGETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fgets_unlocked' function. */
|
|
#undef HAVE_FGETS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fileno_unlocked' function. */
|
|
#undef HAVE_FILENO_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fprintf_unlocked' function. */
|
|
#undef HAVE_FPRINTF_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fputc_unlocked' function. */
|
|
#undef HAVE_FPUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fputs_unlocked' function. */
|
|
#undef HAVE_FPUTS_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fread_unlocked' function. */
|
|
#undef HAVE_FREAD_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `fwrite_unlocked' function. */
|
|
#undef HAVE_FWRITE_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `getchar_unlocked' function. */
|
|
#undef HAVE_GETCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `getc_unlocked' function. */
|
|
#undef HAVE_GETC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define if mmap with MAP_ANON(YMOUS) works. */
|
|
#undef HAVE_MMAP_ANON
|
|
|
|
/* Define if mmap of /dev/zero works. */
|
|
#undef HAVE_MMAP_DEV_ZERO
|
|
|
|
/* Define if read-only mmap of a plain file works. */
|
|
#undef HAVE_MMAP_FILE
|
|
|
|
/* Define to 1 if you have the `putchar_unlocked' function. */
|
|
#undef HAVE_PUTCHAR_UNLOCKED
|
|
|
|
/* Define to 1 if you have the `putc_unlocked' function. */
|
|
#undef HAVE_PUTC_UNLOCKED
|
|
|
|
/* Define to 1 if you have the <stddef.h> header file. */
|
|
#undef HAVE_STDDEF_H
|
|
|
|
/* 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
|
|
|
|
/* Define to 1 if you have the <sys/file.h> header file. */
|
|
#undef HAVE_SYS_FILE_H
|
|
|
|
/* Define to 1 if you have the <sys/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
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* 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
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* Defined to the best working sed program on the host system */
|
|
#undef SED_PROGRAM
|
|
|
|
/* Define if testing and fixing are done by separate process */
|
|
#undef SEPARATE_FIX_PROC
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* 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
|
|
|
|
|
|
/* 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
|
|
|
|
/* Define to xatexit if the host system does not support atexit */
|
|
#undef atexit
|
|
|
|
/* Define to empty if `const' does not conform to ANSI C. */
|
|
#undef const
|
|
|
|
/* Define to xexit if the host system does not support atexit */
|
|
#undef exit
|