Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/apache2/llvm/config/llvm/Config Disable HAVE_TERMIN...



details:   https://anonhg.NetBSD.org/src/rev/9826165f2eb9
branches:  trunk
changeset: 969386:9826165f2eb9
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Feb 19 09:59:39 2020 +0000

description:
Disable HAVE_TERMINFO and HAVE_TERMIOS_H for ./build.sh tools build

These headers enable optional features and are not portable to all host
Operating Systems.

Speculative fix for certain Linux distributions.

diffstat:

 external/apache2/llvm/config/llvm/Config/config.h.in |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r 6625aacf2485 -r 9826165f2eb9 external/apache2/llvm/config/llvm/Config/config.h.in
--- a/external/apache2/llvm/config/llvm/Config/config.h.in      Wed Feb 19 09:00:43 2020 +0000
+++ b/external/apache2/llvm/config/llvm/Config/config.h.in      Wed Feb 19 09:59:39 2020 +0000
@@ -312,11 +312,15 @@
 /* Define to 1 if you have the <sys/uio.h> header file. */
 #define HAVE_SYS_UIO_H 1
 
+#if !HAVE_NBTOOL_CONFIG_H
 /* Define if the setupterm() function is supported this platform. */
 #define HAVE_TERMINFO 1
+#endif
 
+#if !HAVE_NBTOOL_CONFIG_H
 /* Define to 1 if you have the <termios.h> header file. */
 #define HAVE_TERMIOS_H 1
+#endif
 
 /* Define to 1 if the system has the type `uint64_t'. */
 #define HAVE_UINT64_T 1



Home | Main Index | Thread Index | Old Index