Ignore:
Timestamp:
Feb 2, 2004, 2:51:55 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac src/graphics: + Check for resize_term and resizeterm in -lncurses.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r362 r364  
    128128      AC_DEFINE(USE_NCURSES, 1, Define to activate the ncurses backend driver)
    129129      CACA_LIBS="${CACA_LIBS} -lncurses"
    130       CACA_DRIVERS="${CACA_DRIVERS} ncurses"])])
     130      CACA_DRIVERS="${CACA_DRIVERS} ncurses"
     131      dnl  Check for resizeterm or resize_term
     132      SAVED_LIBS="${LIBS}"
     133      LIBS="${LIBS} -lncurses"
     134      AC_CHECK_FUNCS(resizeterm resize_term)
     135      LIBS="${SAVED_LIBS}"])])
    131136  if test "${ac_cv_my_have_ncurses}" = "no" -a "${enable_ncurses}" = "yes"; then
    132137    AC_MSG_ERROR([cannot find ncurses development files])
Note: See TracChangeset for help on using the changeset viewer.