From b15c5d7a516d4e3466753e19df77d34b404d397e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 17 May 2021 20:34:52 -0400 Subject: sim: unify platform function & header tests Move the various platform tests up a level to avoid duplication across the ports. When building multiple versions, this speeds things up a bit. For now we move the obvious stuff up a level, but we don't turn own the config.h entirely just yet -- we still have some tests related to libraries that need consideration. --- sim/v850/config.in | 111 ----------------------------------------------------- 1 file changed, 111 deletions(-) (limited to 'sim/v850/config.in') diff --git a/sim/v850/config.in b/sim/v850/config.in index b6a4255..bcc3ce5 100644 --- a/sim/v850/config.in +++ b/sim/v850/config.in @@ -10,36 +10,12 @@ language is requested. */ #undef ENABLE_NLS -/* Define to 1 if you have the `chmod' function. */ -#undef HAVE_CHMOD - /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define if dv-sockser is usable. */ #undef HAVE_DV_SOCKSER -/* Define to 1 if you have the `execv' function. */ -#undef HAVE_EXECV - -/* Define to 1 if you have the `execve' function. */ -#undef HAVE_EXECVE - -/* Define to 1 if you have the header file. */ -#undef HAVE_FCNTL_H - -/* Define to 1 if you have the `fork' function. */ -#undef HAVE_FORK - -/* Define to 1 if you have the header file. */ -#undef HAVE_FPU_CONTROL_H - -/* Define to 1 if you have the `ftruncate' function. */ -#undef HAVE_FTRUNCATE - -/* Define to 1 if you have the `getrusage' function. */ -#undef HAVE_GETRUSAGE - /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H @@ -52,27 +28,9 @@ /* Define to 1 if you have the `socket' library (-lsocket). */ #undef HAVE_LIBSOCKET -/* Define to 1 if you have the `lstat' function. */ -#undef HAVE_LSTAT - /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H -/* Define to 1 if you have the `mmap' function. */ -#undef HAVE_MMAP - -/* Define to 1 if you have the `munmap' function. */ -#undef HAVE_MUNMAP - -/* Define to 1 if you have the `posix_fallocate' function. */ -#undef HAVE_POSIX_FALLOCATE - -/* Define to 1 if you have the `sigaction' function. */ -#undef HAVE_SIGACTION - -/* Define to 1 if the system has the type `socklen_t'. */ -#undef HAVE_SOCKLEN_T - /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -85,84 +43,18 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H -/* Define to 1 if you have the `strsignal' function. */ -#undef HAVE_STRSIGNAL - -/* Define to 1 if `st_atime' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_ATIME - -/* Define to 1 if `st_blksize' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_BLKSIZE - -/* Define to 1 if `st_blocks' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_BLOCKS - -/* Define to 1 if `st_ctime' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_CTIME - -/* Define to 1 if `st_dev' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_DEV - -/* Define to 1 if `st_gid' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_GID - -/* Define to 1 if `st_ino' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_INO - -/* Define to 1 if `st_mode' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_MODE - -/* Define to 1 if `st_mtime' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_MTIME - -/* Define to 1 if `st_nlink' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_NLINK - -/* Define to 1 if `st_rdev' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_RDEV - -/* Define to 1 if `st_size' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_SIZE - -/* Define to 1 if `st_uid' is a member of `struct stat'. */ -#undef HAVE_STRUCT_STAT_ST_UID - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_MMAN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_RESOURCE_H - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H -/* Define to 1 if you have the `time' function. */ -#undef HAVE_TIME - -/* Define to 1 if you have the `truncate' function. */ -#undef HAVE_TRUNCATE - /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H -/* Define to 1 if you have the `utime' function. */ -#undef HAVE_UTIME - -/* Define to 1 if you have the header file. */ -#undef HAVE_UTIME_H - /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H -/* Define to 1 if the system has the type `__int128'. */ -#undef HAVE___INT128 - -/* Define to 1 if you have the `__setfpucw' function. */ -#undef HAVE___SETFPUCW - /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR @@ -197,9 +89,6 @@ /* Bug reporting address */ #undef REPORT_BUGS_TO -/* Define as the return type of signal handlers (`int' or `void'). */ -#undef RETSIGTYPE - /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS -- cgit v1.1