Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh-4.3.4-dev-2.tar.gz
- X-seq: zsh-workers 24108
- From: Peter Stephenson <pws@xxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxxxxx>
- Subject: Re: zsh-4.3.4-dev-2.tar.gz
- Date: Tue, 20 Nov 2007 15:59:20 +0000
- In-reply-to: <20071120154246.30388170@news01>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <11649.1195558694@xxxxxxx>	<4742DC87.5030901@xxxxxxxxxxxxxxxxxxx>	<20071120141442.55f7ac28@news01>	<4742F733.4030908@xxxxxxxxxxxxxxxxxxx>	<20071120154246.30388170@news01>
On Tue, 20 Nov 2007 15:42:46 +0000
Peter Stephenson <pws@xxxxxxx> 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
 
Messages sorted by:
Reverse Date,
Date,
Thread,
Author