vte r2382 - trunk



Author: chpe
Date: Sun Mar 15 12:56:33 2009
New Revision: 2382
URL: http://svn.gnome.org/viewvc/vte?rev=2382&view=rev

Log:
	Bug 575398 â configure warns about term.h under OpenSolaris

	* configure.in: Fix curses detection on solaris. Patch by David	Adam.

Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Sun Mar 15 12:56:33 2009
@@ -315,8 +315,11 @@
               ;;
   libcurses)  # Need curses.h and term.h
               AC_CHECK_HEADERS([curses.h term.h],[],
-                [AC_MSG_ERROR([curses headers not found])])
-              LIBS="-lncurses $LIBS"
+                [AC_MSG_ERROR([curses headers not found])],
+                [[#ifdef HAVE_CURSES_H
+                  #include <curses.h>
+                  #endif]])
+              LIBS="-lcurses $LIBS"
               ;;
   libtermcap) # Need termcap.h
               AC_CHECK_HEADERS([termcap.h],[],



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