How to replace configure.in.bot ?

Alexander Neundorf neundorf at kde.org
Fri Mar 17 19:05:24 CET 2006


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.

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)

Bye
Alex
-- 
Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de
Home: neundorf AT kde.org                - http://www.kde.org
      alex AT neundorf.net               - http://www.neundorf.net


More information about the Kde-buildsystem mailing list