macro_bool_to_01 not defining stuff right in kdeedu?

Benjamin Reed rangerrick at gmail.com
Tue Dec 19 21:43:07 CET 2006


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 */

Any idea where the disconnect is?


More information about the Kde-buildsystem mailing list