Ignore:
Timestamp:
Nov 12, 2003, 7:41:02 PM (20 years ago)
Author:
Sam Hocevar
Message:
  • README: + Added a note about dos cross-compilation.
  • configure.ac: + Added a check for ScreenUpdate? in <pc.h>.
  • libee/graphics.c libee/ee.c: + Improved the conio port thanks to ScreenUpdate?().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/configure.ac

    r156 r158  
    1515AC_PROG_RANLIB
    1616
     17dnl AC_PROG_EGREP only exists in autoconf 2.54+, so we use AC_EGREP_CPP right
     18dnl now otherwise it might be set in an obscure if statement.
     19AC_EGREP_CPP(foo,foo)
     20
    1721AC_ARG_ENABLE(slang,
    1822  [  --enable-slang          slang graphics support (default enabled)])
     
    2731if test "${enable_conio}" = "yes"; then
    2832  AC_CHECK_HEADER(conio.h,:,AC_MSG_ERROR([cannot find conio.h header]))
     33  AC_MSG_CHECKING(for ScreenUpdate in pc.h)
     34  AC_EGREP_HEADER(ScreenUpdate,pc.h,[
     35    AC_MSG_RESULT(yes)
     36    AC_DEFINE(SCREENUPDATE_IN_PC_H, 1,
     37              Define if <pc.h> defines ScreenUpdate.)],[
     38    AC_MSG_RESULT(no)])
    2939  AC_DEFINE(USE_CONIO, 1, Define if the backend driver is conio.h)
    3040  USE_CONIO=:
Note: See TracChangeset for help on using the changeset viewer.