From: Peter Stephenson <pws@csr.com>
To: "Zsh Hackers' List" <zsh-workers@sunsite.dk>
Subject: Re: zsh-4.3.4-dev-2.tar.gz
Date: Tue, 20 Nov 2007 15:59:20 +0000 [thread overview]
Message-ID: <20071120155920.759153a1@news01> (raw)
In-Reply-To: <20071120154246.30388170@news01>
On Tue, 20 Nov 2007 15:42:46 +0000
Peter Stephenson <pws@csr.com> wrote:
> Aieee.
Gaah.
> +dnl If our terminal library is not ncurses, don't try including
> +dnl any ncurses headers.
> +AH_TEMPLATE([ZSH_IGNORE_NCURSES],
> +[Define to 1 to ignore any ncurses library headers found on the system.])
> +case $LIBS in
> + ncurses*) ;;
> + *)
> + AC_DEFINE(ZSH_IGNORE_NCURSES) ;;
> +esac
> +
Nope.
Index: configure.ac
===================================================================
RCS file: /cvsroot/zsh/zsh/configure.ac,v
retrieving revision 1.80
diff -u -r1.80 configure.ac
--- configure.ac 20 Nov 2007 15:48:51 -0000 1.80
+++ configure.ac 20 Nov 2007 15:58:07 -0000
@@ -720,16 +720,6 @@
AC_MSG_RESULT(no)
fi
-dnl If our terminal library is not ncurses, don't try including
-dnl any ncurses headers.
-AH_TEMPLATE([ZSH_IGNORE_NCURSES],
-[Define to 1 to ignore any ncurses library headers found on the system.])
-case $LIBS in
- ncurses*) ;;
- *)
- AC_DEFINE(ZSH_IGNORE_NCURSES) ;;
-esac
-
AC_MSG_CHECKING(if boolcodes is available)
AC_TRY_LINK([#ifdef TERM_H_NEEDS_CURSES_H
#include <curses.h>
@@ -768,6 +758,17 @@
AC_MSG_RESULT($strnames)
])
+
+dnl If our terminal library is not ncurses, don't try including
+dnl any ncurses headers.
+AH_TEMPLATE([ZSH_IGNORE_NCURSES],
+[Define to 1 to ignore any ncurses library headers found on the system.])
+case $LIBS in
+ -lncurses*) ;;
+ *)
+ AC_DEFINE(ZSH_IGNORE_NCURSES) ;;
+esac
+
dnl Some systems (Solaris 2.x, Linux Redhat 5.x) require
dnl libnsl (Network Services Library) to find yp_all
next prev parent reply other threads:[~2007-11-20 15:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <11649.1195558694@csr.com>
[not found] ` <4742E805.5030402@math.technion.ac.il>
2007-11-20 14:08 ` zsh-4.3.4-dev-2.tar.gz Peter Stephenson
[not found] ` <4742DC87.5030901@math.technion.ac.il>
2007-11-20 14:14 ` zsh-4.3.4-dev-2.tar.gz Peter Stephenson
2007-11-20 15:03 ` zsh-4.3.4-dev-2.tar.gz Zvi Har'El
2007-11-20 15:11 ` zsh-4.3.4-dev-2.tar.gz Zvi Har'El
2007-11-20 15:42 ` zsh-4.3.4-dev-2.tar.gz Peter Stephenson
2007-11-20 15:59 ` Peter Stephenson [this message]
2007-11-21 9:40 ` zsh-4.3.4-dev-2.tar.gz Vincent Lefevre
2007-11-21 9:49 ` zsh-4.3.4-dev-2.tar.gz Peter Stephenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071120155920.759153a1@news01 \
--to=pws@csr.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).