summaryrefslogtreecommitdiff
path: root/gcc/config.in
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-11-19 08:55:01 -0800
committerNathan Sidwell <nathan@acm.org>2020-11-19 09:56:30 -0800
commite1f07131e2d88b08f75ffea2a8dcfb16607629aa (patch)
treea8da3fe5a6d4bd977d72ad7b96a080b1def9ed96 /gcc/config.in
parent255483e5b70beade63efdf1f3efa6b814831da08 (diff)
downloadgcc-e1f07131e2d88b08f75ffea2a8dcfb16607629aa.tar.gz
config: Add tests for modules-desired features
this adds configure tests for features that modules can take advantage of -- and if they are not present has reduced or fallback functionality. gcc/ * configure.ac: Add tests for fstatat, sighandler_t, O_CLOEXEC, unix-domain and ipv6 sockets. * config.in: Rebuilt. * configure: Rebuilt.
Diffstat (limited to 'gcc/config.in')
-rw-r--r--gcc/config.in60
1 files changed, 48 insertions, 12 deletions
diff --git a/gcc/config.in b/gcc/config.in
index 6fae7b769b8..3221dae411c 100644
--- a/gcc/config.in
+++ b/gcc/config.in
@@ -302,6 +302,18 @@
#endif
+/* Define if AF_INET6 supported. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_AF_INET6
+#endif
+
+
+/* Define if AF_UNIX supported. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_AF_UNIX
+#endif
+
+
/* Define if your assembler supports architecture modifiers. */
#ifndef USED_FOR_TARGET
#undef HAVE_AS_ARCHITECTURE_MODIFIERS
@@ -564,12 +576,24 @@
#endif
+/* Define if the assembler understands -march=rv*_zifencei. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_AS_MARCH_ZIFENCEI
+#endif
+
+
/* Define if your assembler supports mfcr field. */
#ifndef USED_FOR_TARGET
#undef HAVE_AS_MFCRF
#endif
+/* Define if the assembler understands -misa-spec=. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_AS_MISA_SPEC
+#endif
+
+
/* Define if your Mac OS X assembler supports the -mmacos-version-min option.
*/
#ifndef USED_FOR_TARGET
@@ -643,18 +667,6 @@
#endif
-/* Define if your assembler supports -misa-spec=. */
-#ifndef USED_FOR_TARGET
-#undef HAVE_AS_MISA_SPEC
-#endif
-
-
-/* Define if your assembler supports -march=rv*_zifencei. */
-#ifndef USED_FOR_TARGET
-#undef HAVE_AS_MARCH_ZIFENCEI
-#endif
-
-
/* Define if your assembler supports relocs needed by -fpic. */
#ifndef USED_FOR_TARGET
#undef HAVE_AS_SMALL_PIC_RELOCS
@@ -1265,6 +1277,12 @@
#endif
+/* Define to 1 if you have the `fstatat' function. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_FSTATAT
+#endif
+
+
/* Define to 1 if you have the <ftw.h> header file. */
#ifndef USED_FOR_TARGET
#undef HAVE_FTW_H
@@ -1770,6 +1788,12 @@
#endif
+/* Define to 1 if you have the `posix_fallocate' function. */
+#ifndef USED_FOR_TARGET
+#undef HAVE_POSIX_FALLOCATE
+#endif
+
+
/* Define to 1 if you have the `putchar_unlocked' function. */
#ifndef USED_FOR_TARGET
#undef HAVE_PUTCHAR_UNLOCKED
@@ -1794,6 +1818,12 @@
#endif
+/* Define if <sys/signal.h> defines sighandler_t */
+#ifndef USED_FOR_TARGET
+#undef HAVE_SIGHANDLER_T
+#endif
+
+
/* Define if the system-provided CRTs are present on Solaris. */
#ifndef USED_FOR_TARGET
#undef HAVE_SOLARIS_CRTS
@@ -2033,6 +2063,12 @@
#endif
+/* Define if O_CLOEXEC supported by fcntl. */
+#ifndef USED_FOR_TARGET
+#undef HOST_HAS_O_CLOEXEC
+#endif
+
+
/* Define as const if the declaration of iconv() needs const. */
#ifndef USED_FOR_TARGET
#undef ICONV_CONST