Ignore:
Timestamp:
Nov 10, 2003, 1:15:02 AM (17 years ago)
Author:
Sam Hocevar
Message:
  • Removed CPPFLAGS_slang and CPPFLAGS_ncurses, we now have config.h.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/configure.ac

    r78 r112  
    2222USE_SLANG=false
    2323USE_NCURSES=false
    24 if test "${enable_ncurses}" = "yes"
    25 then
     24if test "${enable_ncurses}" = "yes"; then
    2625  AC_CHECK_HEADER(ncurses.h,:,AC_MSG_ERROR([cannot find ncurses headers]))
    2726  AC_CHECK_LIB(ncurses,initscr,:,AC_MSG_ERROR([cannot find ncurses library]))
     27  AC_DEFINE(USE_NCURSES, 1, Define if the backend driver is ncurses)
    2828  USE_NCURSES=:
    29 else
    30   if test "${enable_slang}" != "no"
    31   then
    32     AC_CHECK_HEADER(slang.h,:,AC_MSG_ERROR([cannot find slang headers]))
    33     AC_CHECK_LIB(slang,SLkp_init,:,AC_MSG_ERROR([cannot find slang library]))
    34     USE_SLANG=:
    35   else
    36     :
    37   fi
     29elif test "${enable_slang}" != "no"; then
     30  AC_CHECK_HEADER(slang.h,:,AC_MSG_ERROR([cannot find slang headers]))
     31  AC_CHECK_LIB(slang,SLkp_init,:,AC_MSG_ERROR([cannot find slang library]))
     32  AC_DEFINE(USE_SLANG, 1, Define if the backend driver is slang)
     33  USE_SLANG=:
    3834fi
    3935
Note: See TracChangeset for help on using the changeset viewer.