pidgin: a34b3775: Properly detect libpanel by including nc...

darkrain42 at pidgin.im darkrain42 at pidgin.im
Thu Aug 20 00:15:44 EDT 2009


-----------------------------------------------------------------
Revision: a34b37757cd241377842a2da55e7c7ece45d69dd
Ancestor: fd4c0f3ddcd7c122d22e7fb569ff904e79df6ffb
Author: darkrain42 at pidgin.im
Date: 2009-08-20T03:40:09
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a34b37757cd241377842a2da55e7c7ece45d69dd

Modified files:
        ChangeLog configure.ac

ChangeLog: 

Properly detect libpanel by including ncurses libs in linking test.

Patch from Brad "brad0" Smith. Closes #9972.

-------------- next part --------------
============================================================
--- ChangeLog	cde4f5ed6ca7887db3afc48c7d7c3c91d6019d9c
+++ ChangeLog	bc611e2fa47ecfff0208e8c19b592a22eaed7390
@@ -7,6 +7,9 @@ version 2.6.2 (??/??/2009):
 	* Fix connecting to XMPP domains with no SRV records from Pidgin on
 	  Windows.
 
+	Finch:
+	* Properly detect libpanel on OpenBSD.  (Brad Smith)
+
 version 2.6.1 (08/18/2009):
 	* Fix a crash when some users send you a link in a Yahoo IM
 	* Fix compilation with GTK+ < 2.6.0
============================================================
--- configure.ac	25d35a51d820754c8e2468e3058657dcf4cd4c8b
+++ configure.ac	0f9d6ed87b23bf8288977c56348a59ecf7416f58
@@ -632,7 +632,8 @@ if test "x$enable_consoleui" = "xyes"; t
 		[ac_ncurses_includes="$withval"], [ac_ncurses_includes=""])
 if test "x$enable_consoleui" = "xyes"; then
 	AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no])
-	AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"], [enable_consoleui=no])
+	AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"],
+	    [enable_consoleui=no], [$GNT_LIBS])
 
 	if test "x$enable_consoleui" = "xyes"; then
 		dnl # Some distros put the headers in ncursesw/, some don't
@@ -675,7 +676,8 @@ if test "x$enable_consoleui" = "xyes"; t
 		# ncursesw was not found. Look for plain old ncurses
 		enable_consoleui=yes
 		AC_CHECK_LIB(ncurses, initscr, [GNT_LIBS="-lncurses"], [enable_consoleui=no])
-		AC_CHECK_LIB(panel, update_panels, [GNT_LIBS="$GNT_LIBS -lpanel"], [enable_consoleui=no])
+		AC_CHECK_LIB(panel, update_panels, [GNT_LIBS="$GNT_LIBS -lpanel"],
+		    [enable_consoleui=no], [$GNT_LIBS])
 		AC_DEFINE(NO_WIDECHAR, 1, [Define to 1 if you don't have wide-character support.])
 		if test x"$ac_ncurses_includes" != "x"; then
 			GNT_CFLAGS="-I$ac_ncurses_includes"


More information about the Commits mailing list