309 |
|
|
310 |
|
dnl Checks for header files. |
311 |
|
AC_HEADER_STDC |
312 |
< |
AC_CHECK_HEADERS(unistd.h fcntl.h sys/types.h sys/time.h sys/mman.h mach/mach.h) |
312 |
> |
AC_CHECK_HEADERS(unistd.h stdlib.h fcntl.h sys/types.h sys/time.h sys/mman.h mach/mach.h) |
313 |
|
AC_CHECK_HEADERS(readline.h history.h readline/readline.h readline/history.h) |
314 |
|
AC_CHECK_HEADERS(sys/socket.h sys/ioctl.h sys/filio.h sys/bitypes.h sys/wait.h) |
315 |
|
AC_CHECK_HEADERS(sys/poll.h sys/select.h) |
421 |
|
|
422 |
|
|
423 |
|
dnl AC_CHECK_FRAMEWORK($1=NAME, $2=INCLUDES) |
424 |
< |
AC_DEFUN(AC_CHECK_FRAMEWORK, [ |
424 |
> |
AC_DEFUN([AC_CHECK_FRAMEWORK], [ |
425 |
|
AS_VAR_PUSHDEF([ac_Framework], [ac_cv_framework_$1])dnl |
426 |
|
AC_CACHE_CHECK([whether compiler supports framework $1], |
427 |
|
ac_Framework, [ |
585 |
|
dnl $1 -- the macro to define |
586 |
|
dnl $2 -- the value to translate |
587 |
|
dnl $3 -- template name |
588 |
< |
AC_DEFUN(AC_TRANSLATE_DEFINE, [ |
588 |
> |
AC_DEFUN([AC_TRANSLATE_DEFINE], [ |
589 |
|
if [[ "x$2" = "xyes" -o "x$2" = "xguessing yes" ]]; then |
590 |
|
AC_DEFINE($1, 1, $3) |
591 |
|
fi |