bug-ncurses
[Top][All Lists]
Advanced

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

Re: SIGWINCH configure check


From: Thomas E. Dickey
Subject: Re: SIGWINCH configure check
Date: Mon, 13 Aug 2001 05:21:18 -0400 (EDT)

On Mon, 13 Aug 2001, Mark E. wrote:

> Hi,
> This patch turns off SIGWINCH support if a system doesn't support it.
> Tested with DJGPP.

that should be redundant (what problem are you fixing?)

>
> *** configure.in.orig Sun Aug 12 18:03:34 2001
> --- configure.in      Mon Aug 13 00:04:50 2001
> *************** AC_ARG_ENABLE(sigwinch,
> *** 629,634 ****
> --- 629,639 ----
>       [  --enable-sigwinch       compile with SIGWINCH handler],
>       [with_sigwinch=$enableval],
>       [with_sigwinch=$with_ext_funcs])
> + dnl Don't use SIGWINCH logic when the system doesn't have SIGWINCH.
> + if test "$with_sigwinch" = yes; then
> +     AC_TRY_COMPILE([#include <signal.h>], [exit(SIGWINCH)],,
> +                    [with_sigwinch=no])
> + fi
>   AC_MSG_RESULT($with_sigwinch)
>   test "$with_sigwinch" = yes && AC_DEFINE(USE_SIGWINCH)
>
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>

-- 
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com




reply via email to

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