How to replace configure.in.bot ?

Laurent Montel montel at kde.org
Fri Mar 17 19:09:45 CET 2006


On Friday 17 March 2006 19:05, Alexander Neundorf wrote:
> On Friday 17 March 2006 19:00, Laurent Montel wrote:
> > Hi,
> > How to replace it ?
> > With autoconf/unsermake we have this file which inform when lib is not
> > good. For example 'to compile it install lib<foo> >= <version>'
> > Is it possible to have this message ?
> >
> > Perhaps we must use "MESSAGE(STATUS "...")" ?
>
> Not sure what configure.in.bot does.

Just explain why check lib is not ok.

> Maybe something like this ?
>
> find_package(JPEG)
>
> if (JPEG_FOUND)
>    add_subdirectory(foo)
> else (JPEG_FOUND)
>    message(STATUS "To compile foo install the JPEG library")
> endif (JPEG_FOUND)

Ok I will use it.

> Bye
> Alex


More information about the Kde-buildsystem mailing list