macro_bool_to_01 not defining stuff right in kdeedu?

Alexander Neundorf neundorf at kde.org
Tue Dec 19 23:20:30 CET 2006


On Tuesday 19 December 2006 21:43, Benjamin Reed wrote:
> in kdeedu's ConfigureChecks.cmake, I see this:
>
>   check_include_files(termios.h TERMIOS_FOUND)
>   macro_bool_to_01(TERMIOS_FOUND HAVE_TERMIOS_H)
>
> ...from what I can tell, it's supposed to define HAVE_TERMIOS_H to 1
> or 0 depending on whether termios.h is found.
>
> My CMakeCache.txt in kdeedu seems to think it's there:
>
>   //Have include TERMIOS_FOUND
>   TERMIOS_FOUND:INTERNAL=1
>
> ...but a grep of the build tree shows that HAVE_TERMIOS_H never gets set:
>
>   $ grep -r HAVE_TERMIOS .
>   ./config.h:/* #undef   HAVE_TERMIOS 1 */

HAVE_TERMIOS <-> HAVE_TERMIOS_H

Fixed.

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