By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 2109
Collapse All | Expand All

(-)CMakeLists.txt.orig2 (-10 / +23 lines)
Lines 456-471 Link Here
456
endif( HAVE_RES_INIT)
456
endif( HAVE_RES_INIT)
457
457
458
set( CMAKE_REQUIRED_LIBRARIES util )
458
set( CMAKE_REQUIRED_LIBRARIES util )
459
check_c_source_runs("
459
if( HAVE_PTY_H )
460
    #include <pty.h>
460
  check_c_source_runs("
461
    int main(int argc, char* argv) {
461
      #include <pty.h>
462
      int master_fd, slave_fd;
462
      int main(int argc, char* argv) {
463
      int result;
463
        int master_fd, slave_fd;
464
      result = openpty(&master_fd, &slave_fd, 0, 0, 0);
464
        int result;
465
      return 0;
465
        result = openpty(&master_fd, &slave_fd, 0, 0, 0);
466
  }"
466
        return 0;
467
  HAVE_OPENPTY
467
    }"
468
)
468
    HAVE_OPENPTY
469
  )
470
elseif( HAVE_UTIL_H )
471
  check_c_source_runs("
472
      #include <util.h>
473
      int main(int argc, char* argv) {
474
        int master_fd, slave_fd;
475
        int result;
476
        result = openpty(&master_fd, &slave_fd, 0, 0, 0);
477
        return 0;
478
    }"
479
    HAVE_OPENPTY
480
  )
481
endif( )
469
if( HAVE_OPENPTY )
482
if( HAVE_OPENPTY )
470
  set( LIB_UTIL util )
483
  set( LIB_UTIL util )
471
endif( )
484
endif( )

Return to bug 2109