Ignore:
Timestamp:
Dec 23, 2002, 11:06:27 AM (18 years ago)
Author:
Sam Hocevar
Message:
  • added support for --disable-slang.
  • fixed an overflow in the tunnel update code.
  • fragbomb is now 'f', not 'd'.
  • added a missing call to init_bonus().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/configure.ac

    r39 r51  
    1414AC_PROG_CPP
    1515
     16AC_ARG_ENABLE(slang,
     17  [  --enable-slang          slang graphics support (default enabled)])
    1618AC_ARG_ENABLE(ncurses,
    17   [  --enable-ncurses        ncurses interface support (default is slang)])
     19  [  --enable-ncurses        ncurses graphics support (default disabled)])
    1820
    1921if test "${enable_ncurses}" = "yes"
     
    2224  AC_CHECK_LIB(ncurses,initscr,:,AC_MSG_ERROR([cannot find ncurses library]))
    2325else
    24   AC_CHECK_HEADER(slang.h,:,AC_MSG_ERROR([cannot find slang headers]))
    25   AC_CHECK_LIB(slang,SLkp_init,:,AC_MSG_ERROR([cannot find slang library]))
     26  if test "${enable_slang}" != "no"
     27  then
     28    AC_CHECK_HEADER(slang.h,:,AC_MSG_ERROR([cannot find slang headers]))
     29    AC_CHECK_LIB(slang,SLkp_init,:,AC_MSG_ERROR([cannot find slang library]))
     30  else
     31    :
     32  fi
    2633fi
    2734
     35AM_CONDITIONAL(USE_SLANG, test "${enable_slang}" != "no")
    2836AM_CONDITIONAL(USE_NCURSES, test "${enable_ncurses}" = "yes")
    2937
Note: See TracChangeset for help on using the changeset viewer.