bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH] configure: fix build on noMMU uclinuc targets


From: Yann E. MORIN
Subject: [PATCH] configure: fix build on noMMU uclinuc targets
Date: Sun, 21 Aug 2016 23:33:02 +0200

The ncurses buildsystem does not recognise 'uclinux' as being a 'linux',
so it falls back to generic checks, especially when trying to decide
what macros to define. So it misses defining absolutely required macros
when doing widechar, which break the build.

But 'uclinux' is just a 'linux' like any other in this respect.

Fixes:
    
http://autobuild.buildroot.org/results/d5c/d5c787d34acbfc0c0c7bd8cc0e15b5bc2460d88a/
    
http://autobuild.buildroot.org/results/fc4/fc4b41fb955c390913a879e0202760347ce29987/

Signed-off-by: "Yann E. MORIN" <address@hidden>
---
 aclocal.m4 | 2 +-
 configure  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 22627d4..dd50d5d 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -7876,7 +7876,7 @@ case $host_os in
        cf_xopen_source="-D_SGI_SOURCE"
        cf_XOPEN_SOURCE=
        ;;
-(linux*|gnu*|mint*|k*bsd*-gnu)
+(linux*|uclinux*|gnu*|mint*|k*bsd*-gnu)
        CF_GNU_SOURCE
        ;;
 (minix*)
diff --git a/configure b/configure
index 554cc81..811df32 100755
--- a/configure
+++ b/configure
@@ -7943,7 +7943,7 @@ case $host_os in
        cf_xopen_source="-D_SGI_SOURCE"
        cf_XOPEN_SOURCE=
        ;;
-(linux*|gnu*|mint*|k*bsd*-gnu)
+(linux*|uclinux*|gnu*|mint*|k*bsd*-gnu)
 
 echo "$as_me:7948: checking if we must define _GNU_SOURCE" >&5
 echo $ECHO_N "checking if we must define _GNU_SOURCE... $ECHO_C" >&6
-- 
2.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]