bug-ncurses
[Top][All Lists]
Advanced

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

Re: ncurses not building on the GNU system


From: Thomas Dickey
Subject: Re: ncurses not building on the GNU system
Date: Mon, 19 Sep 2005 08:55:21 -0400 (EDT)

On Mon, 19 Sep 2005, Alfred M. Szmidt wrote:

Hi,

As of right now ncurses doesn't build on the GNU system since
configure doesn't define _GNU_SOURCE, it only gets defined when you
compile ncurses on GNU/Linux.  The proper way to see if $host_os
equals the GNU system or a variant (GNU/Linux or GNU/k*BSD) is to
check that it equals to `*gnu*'.

The attached patch fixes the above problem in two places. The patch
was tested on GNU, GNU/k*bsd and GNU/Linux, and is for ncurses 5.4.


sorry, no. Do your homework first, so you don't have to make requests like this. Start with the ncurses faq. bye.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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