Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 670729 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-1 / +15 lines)
Line  Link Here
0
-- a/m4/reorganization/clamdtop.m4
0
++ b/m4/reorganization/clamdtop.m4
Lines 4-15 Link Here
4
4
5
if test "$enable_clamdtop" != "no"; then
5
if test "$enable_clamdtop" != "no"; then
6
6
7
PKG_CHECK_MODULES([CURSES], [ncursesw],
8
		[CURSES_INCLUDE="<ncurses.h>";
9
		 HAVE_LIBNCURSES=yes],
10
		HAVE_LIBNCURSES=no])
11
12
if test "X$HAVE_LIBNCURSES" != "Xyes"; then
13
PKG_CHECK_MODULES([CURSES], [ncurses],
14
	    [CURSES_INCLUDE="<ncurses.h>";
15
	     HAVE_LIBNCURSES=yes],
16
	    HAVE_LIBNCURSES=no])
17
fi
18
19
if test "X$HAVE_LIBNCURSES" != "Xyes"; then
7
AC_LIB_FIND([ncurses], [ncurses/ncurses.h],
20
AC_LIB_FIND([ncurses], [ncurses/ncurses.h],
8
	    AC_LANG_PROGRAM([#include <ncurses/ncurses.h>],
21
	    AC_LANG_PROGRAM([#include <ncurses/ncurses.h>],
9
			    [initscr(); KEY_RESIZE;]),
22
			    [initscr(); KEY_RESIZE;]),
10
	    [CURSES_CPPFLAGS="$INCNCURSES"; CURSES_LIBS="$LTLIBNCURSES";
23
	    [CURSES_CPPFLAGS="$INCNCURSES"; CURSES_LIBS="$LTLIBNCURSES";
11
	     CURSES_INCLUDE="<ncurses/ncurses.h>"],
24
	     CURSES_INCLUDE="<ncurses/ncurses.h>"],
12
	    [])
25
	    [])
26
fi
13
27
14
if test "X$HAVE_LIBNCURSES" != "Xyes"; then
28
if test "X$HAVE_LIBNCURSES" != "Xyes"; then
15
    HAVE_LIBNCURSES=
29
    HAVE_LIBNCURSES=

Return to bug 670729