| 263 |
*-*-linux*) |
*-*-linux*) |
| 264 |
CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE" |
CCOPTIONS="-Dlinux -D_POSIX_SOURCE -D_BSD_SOURCE" |
| 265 |
;; |
;; |
|
*-*-freebsd*|*-*-netbsd*|*-*-openbsd*) |
|
|
;; |
|
|
*-*-bsdi*) |
|
|
;; |
|
| 266 |
*-*-darwin*) |
*-*-darwin*) |
| 267 |
# Unfortunately, autoconf (at least 2.57) does not recognize |
# Unfortunately, autoconf (at least 2.57) does not recognize |
| 268 |
# proper CPP. (Normal cpp-precomp nor auto-retrying in basic mode does |
# proper CPP. (Normal cpp-precomp nor auto-retrying in basic mode does |
| 315 |
fi |
fi |
| 316 |
INSTPGMFLAGS= |
INSTPGMFLAGS= |
| 317 |
else |
else |
| 318 |
CDEBUGFLAGS="" |
CDEBUGFLAGS=${CDEBUGFLAGS:-""} |
| 319 |
INSTPGMFLAGS="-s" |
INSTPGMFLAGS="-s" |
| 320 |
fi |
fi |
| 321 |
AC_SUBST(CCOPTIONS) |
AC_SUBST(CCOPTIONS) |
| 366 |
malloc.h strings.h memory.h \ |
malloc.h strings.h memory.h \ |
| 367 |
curses.h ncurses.h sgtty.h term.h termio.h termios.h \ |
curses.h ncurses.h sgtty.h term.h termio.h termios.h \ |
| 368 |
) |
) |
|
dnl If you don't use ansidecl.h, use this (and modify Wnn/jserver/error.c) |
|
|
dnl AC_CHECK_HEADERS(stdarg.h varargs.h, break) |
|
| 369 |
|
|
| 370 |
dnl |
dnl |
| 371 |
dnl Checks for typedefs, structures, and compiler characteristics. |
dnl Checks for typedefs, structures, and compiler characteristics. |
| 373 |
AC_TYPE_MODE_T |
AC_TYPE_MODE_T |
| 374 |
AC_HEADER_TIME |
AC_HEADER_TIME |
| 375 |
|
|
| 376 |
dnl AC_CHECK_TYPES(time_t, |
dnl AC_CHECK_TYPES(time_t,, |
| 377 |
dnl AC_DEFINE(time_t, long, [Define missing time_t.]), |
dnl AC_DEFINE(time_t, long, [Define missing time_t.]), |
| 378 |
dnl [INCLUDES = time.h]) |
dnl [INCLUDES = time.h]) |
| 379 |
AC_CHECK_TYPES(socklen_t, |
AC_CHECK_TYPES(socklen_t,, |
| 380 |
AC_DEFINE(socklen_t, int, [Define missing socklen_t.]), |
AC_DEFINE(socklen_t, int, [Define missing socklen_t.]), |
| 381 |
[INCLUDES = sys/socket.h]) |
[#include <sys/socket.h>]) |
| 382 |
|
|
| 383 |
dnl |
dnl |
| 384 |
dnl Checks for symbol |
dnl Checks for symbol |