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

Re: [Libvir] Problems installing libvir



On Tue, Apr 25, 2006 at 09:08:02AM -0400, Daniel Veillard wrote:

> > PS. Didn't Jim Fehlig mention that he has already fixed this?

 I don't remember too.

>   Hum, I don't remember that, maybe I missed a patch, right now there is
> only 
>    AC_CHECK_LIB(curses, initscr,
>      ...
> in the CVS configure.in so that's not fixed here,

 Possible fix (not tested):

AC_CHECK_LIB(curses, initscr, [VIRSH_LIBS="$VIRSH_LIBS -lcurses"], 
    [ AC_CHECK_LIB(ncurses, initscr, [VIRSH_LIBS="$VIRSH_LIBS -lncurses"], 
        [AC_MSG_ERROR([curses/ncurses library not found])], [$VIRSH_LIBS])
    ], [$VIRSH_LIBS])


 ... nice explosion of [([])].. .. :-)

    Karel


-- 
 Karel Zak  <kzak redhat com>


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