From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28064 invoked from network); 8 May 2001 18:38:47 -0000 Received: from sunsite.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 8 May 2001 18:38:47 -0000 Received: (qmail 24834 invoked by alias); 8 May 2001 18:38:41 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 14270 Received: (qmail 24492 invoked from network); 8 May 2001 18:37:45 -0000 Message-ID: To: zsh-workers@sunsite.dk (Zsh hackers list) Subject: Re: Termcap saga again In-Reply-To: Your message of "Tue, 08 May 2001 18:07:40 -0000." <1010508180740.ZM7293@candle.brasslantern.com> Date: Tue, 08 May 2001 19:25:17 +0100 From: Peter Stephenson Bart wrote: > The `printf(*test)' is only necessary if they're changed to LINKs. (I had > overlooked that before.) So if it's not AC_TRY_COMPILE that is causing > the error, then you can drop my patch entirely. In that case I shall commit the following. Are we any nearer to being stable? I don't know whether I'll get round to that math fix in the next few days. Maybe I'll produce 4.0.1-pre-4 tomorrow anyway. Index: acconfig.h =================================================================== RCS file: /cvsroot/zsh/zsh/acconfig.h,v retrieving revision 1.9 diff -u -r1.9 acconfig.h --- acconfig.h 2001/04/26 15:48:14 1.9 +++ acconfig.h 2001/05/08 18:22:07 @@ -318,5 +318,8 @@ /* Define if you have the terminfo strnames symbol. */ #undef HAVE_STRNAMES +/* Define if we have curses.h */ +#undef HAVE_CURSES_H + /* Define if term.h chokes without curses.h */ #undef TERM_H_NEEDS_CURSES_H Index: configure.in =================================================================== RCS file: /cvsroot/zsh/zsh/configure.in,v retrieving revision 1.53 diff -u -r1.53 configure.in --- configure.in 2001/05/02 16:48:32 1.53 +++ configure.in 2001/05/08 18:22:13 @@ -562,7 +562,12 @@ AC_SEARCH_LIBS(tgetent, [$termcap_curses_order]) case "$LIBS" in *curses*) -AC_CHECK_HEADERS(curses.h term.h) +AC_CACHE_CHECK(for curses.h, ac_cv_header_curses_h, +AC_TRY_COMPILE([#include ], [], +[ac_cv_header_curses_h=yes +AC_DEFINE(HAVE_CURSES_H)], +ac_cv_header_curses_h=no)) +AC_CHECK_HEADERS(term.h) if test x$ac_cv_header_term_h = xyes; then AC_MSG_CHECKING(if term.h needs curses.h) -- Peter Stephenson Software Engineer CSR Ltd., Unit 300, Science Park, Milton Road, Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************