Changeset 3488 for neercs/trunk


Ignore:
Timestamp:
May 20, 2009, 12:14:11 AM (11 years ago)
Author:
Sam Hocevar
Message:

Add a configure test for dirty rectangle support in libcaca until we make
a release that we can build-depend on.

Location:
neercs/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/configure.ac

    r2995 r3488  
    4343AC_SUBST(PAM_LIBS)
    4444
     45AC_CHECK_LIB(caca, caca_clear_dirty_rectangle_list,
     46 [AC_DEFINE(HAVE_CACA_DIRTY_RECTANGLES, 1, [libcaca has dirty rectangles])])
     47
    4548AC_CHECK_LIB(util, forkpty, UTIL_LIBS="${UTIL_LIBS} -lutil")
    4649AC_SUBST(UTIL_LIBS)
  • neercs/trunk/src/server.c

    r3477 r3488  
    140140        }
    141141        fcntl(screen_list->socket[SOCK_CLIENT], F_SETFL, O_NONBLOCK);
     142#if defined HAVE_CACA_DIRTY_RECTANGLES
    142143        caca_clear_dirty_rectangle_list(screen_list->cv);
     144#endif
    143145    }
    144146    free(buf);
Note: See TracChangeset for help on using the changeset viewer.