Fix NetBSD and non-ncurses build. Simplify CPPFLAGS.
This commit is contained in:
parent
003ac6cca4
commit
f25e283f21
9 changed files with 3513 additions and 50 deletions
17
configure.ac
17
configure.ac
|
|
@ -3,6 +3,23 @@ AC_INIT([RT/TTS], [D.84.0], [felicity@loreley.flyingparchment.org.uk])
|
|||
AC_CONFIG_SRCDIR([tts.c])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
case $host_os in
|
||||
darwin*)
|
||||
CPPFLAGS="$CPPFLAGS -D_DARWIN_USE_64_BIT_INODE=1"
|
||||
;;
|
||||
linux*)
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64"
|
||||
;;
|
||||
netbsd*)
|
||||
CPPFLAGS="$CPPFLAGS -D_NETBSD_SOURCE"
|
||||
;;
|
||||
solaris*)
|
||||
CPPFLAGS="-D__EXTENSIONS__ -D_FILE_OFFSET_BITS=64"
|
||||
;;
|
||||
esac
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue