rogue4, arogue5: improve portability.
Most changes merely prevent including header files that don't exist. All games now build and run on MinGW, though bugs remain.
This commit is contained in:
parent
120beada5a
commit
be61b1a69e
5 changed files with 46 additions and 40 deletions
|
|
@ -14,9 +14,7 @@ AC_PROG_CC
|
|||
MP_WITH_CURSES
|
||||
# Checks for header files.
|
||||
AC_HEADER_STDC
|
||||
AC_CHECK_HEADERS([arpa/inet.h sys/utsname.h pwd.h fcntl.h limits.h nlist.h stdlib.h string.h sys/ioctl.h termios.h unistd.h utmp.h term.h ncurses/term.h process.h])
|
||||
# WARN: the sources often don't include the headers when needed. That is one
|
||||
# reason why adding "-Wall" to CFLAGS produces 1246 lines of messages.
|
||||
AC_CHECK_HEADERS([arpa/inet.h sys/utsname.h pwd.h fcntl.h limits.h nlist.h stdlib.h string.h sys/ioctl.h termios.h unistd.h utmpx.h term.h ncurses/term.h process.h])
|
||||
|
||||
# Checks for typedefs, structures, and compiler characteristics.
|
||||
AC_TYPE_UID_T
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue