3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/hwloc/ncurses.patch
Ludovic Courtès 73b7a7fea7 hwloc 1.0rc1.
svn path=/nixpkgs/trunk/; revision=21166
2010-04-19 14:06:07 +00:00

14 lines
585 B
Diff

Help `configure' find `tparm' in libncurses.
--- a/config/hwloc.m4 2010-04-19 14:25:53.000000000 +0200
+++ b/config/hwloc.m4 2010-04-19 14:24:23.000000000 +0200
@@ -285,7 +285,7 @@ EOF])
LIBS=
AC_CHECK_HEADERS([curses.h], [
AC_CHECK_HEADERS([term.h], [
- AC_SEARCH_LIBS([tparm], [termcap curses], [
+ AC_SEARCH_LIBS([tparm], [ncurses termcap curses], [
AC_SUBST([HWLOC_TERMCAP_LIBS], ["$LIBS"])
AC_DEFINE([HWLOC_HAVE_LIBTERMCAP], [1],
[Define to 1 if you have a library providing the termcap interface])