[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnet ChangeLog, 1.2750, 1.2751 configure.in, 1.149
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnet ChangeLog, 1.2750, 1.2751 configure.in, 1.149, 1.150 |
Date: |
Sat, 08 Nov 2003 21:43:17 +0000 |
Update of /cvsroot/dotgnu-pnet/pnet
In directory subversions:/tmp/cvs-serv13811
Modified Files:
ChangeLog configure.in
Log Message:
Use a better detection mechanism for systems that use <term.h>
instead of <termcap.h>.
Index: configure.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/configure.in,v
retrieving revision 1.149
retrieving revision 1.150
diff -C2 -d -r1.149 -r1.150
*** configure.in 3 Nov 2003 05:18:21 -0000 1.149
--- configure.in 8 Nov 2003 21:43:14 -0000 1.150
***************
*** 213,221 ****
AC_CHECK_LIB(z, inflate)
! dnl Collect up the libraries that we need for GNU readline.
AC_SUBST(TERMCAPLIBS)
TERMCAPLIBS=""
AC_CHECK_LIB(termcap, tgoto, [TERMCAPLIBS="-ltermcap"
! AC_DEFINE(HAVE_TGOTO, 1, [Define if you have the tgoto function.])], [])
dnl Checks for header files.
--- 213,229 ----
AC_CHECK_LIB(z, inflate)
! dnl Collect up the libraries that we need for termcap access.
AC_SUBST(TERMCAPLIBS)
TERMCAPLIBS=""
+ has_tgoto=no
AC_CHECK_LIB(termcap, tgoto, [TERMCAPLIBS="-ltermcap"
! has_tgoto=yes],
! [AC_CHECK_LIB(curses, tgoto, [TERMCAPLIBS="-lcurses"
! has_tgoto=yes],
! [AC_CHECK_LIB(ncurses, tgoto, [TERMCAPLIBS="-lncurses"
! has_tgoto=yes], [])])])
! if test "x$has_tgoto" = "xyes" ; then
! AC_DEFINE(HAVE_TGOTO, 1, [Define if you have the tgoto function.])
! fi
dnl Checks for header files.
***************
*** 229,234 ****
AC_CHECK_HEADERS(sys/socket.h netinet/in.h langinfo.h locale.h sys/ioctl.h)
AC_CHECK_HEADERS(sys/select.h netdb.h sys/cygwin.h dirent.h sys/utime.h
utime.h)
! AC_CHECK_HEADERS(linux/irda.h sys/utsname.h zlib.h term.h termcap.h)
! AC_CHECK_HEADERS(termios.h sys/termios.h)
dnl Check for "sin6_scope_id".
--- 237,254 ----
AC_CHECK_HEADERS(sys/socket.h netinet/in.h langinfo.h locale.h sys/ioctl.h)
AC_CHECK_HEADERS(sys/select.h netdb.h sys/cygwin.h dirent.h sys/utime.h
utime.h)
! AC_CHECK_HEADERS(linux/types.h)
! AC_CHECK_HEADERS([linux/irda.h], [], [],
! [[#ifdef HAVE_SYS_SOCKET_H
! #include <sys/socket.h>
! #endif
! #ifdef HAVE_LINUX_TYPES_H
! #include <linux/types.h>
! #endif]])
! AC_CHECK_HEADERS(sys/utsname.h zlib.h termcap.h)
! AC_CHECK_HEADERS(termios.h sys/termios.h curses.h)
! AC_CHECK_HEADERS([term.h], [], [],
! [[#ifdef HAVE_CURSES_H
! #include <curses.h>
! #endif]])
dnl Check for "sin6_scope_id".
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ChangeLog,v
retrieving revision 1.2750
retrieving revision 1.2751
diff -C2 -d -r1.2750 -r1.2751
*** ChangeLog 8 Nov 2003 10:44:10 -0000 1.2750
--- ChangeLog 8 Nov 2003 21:43:14 -0000 1.2751
***************
*** 1,3 ****
--- 1,8 ----
+ 2003-11-09 Rhys Weatherley <address@hidden>
+
+ * configure.in, support/console.c: use a better detection mechanism
+ for systems that use <term.h> instead of <termcap.h>.
+
2003-11-08 Rhys Weatherley <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnet ChangeLog, 1.2750, 1.2751 configure.in, 1.149, 1.150,
Rhys Weatherley <address@hidden> <=