1 |
# -*- Autoconf -*- |
# -*- Autoconf -*- |
2 |
# Checks required to run `subpipe'. |
# Checks required to run `subpipe'. |
3 |
# |
# |
4 |
# Copyright (C) 2002 Free Software Foundation, Inc. |
# Copyright (C) 2002, 2003 Free Software Foundation, Inc. |
5 |
# |
# |
6 |
# This program is free software; you can redistribute it and/or modify |
# This program is free software; you can redistribute it and/or modify |
7 |
# it under the terms of the GNU General Public License as published by |
# it under the terms of the GNU General Public License as published by |
23 |
AC_DEFUN([BISON_PREREQ_SUBPIPE], |
AC_DEFUN([BISON_PREREQ_SUBPIPE], |
24 |
[ |
[ |
25 |
AC_TYPE_PID_T |
AC_TYPE_PID_T |
26 |
AC_CHECK_HEADERS([fcntl.h sys/wait.h]) |
AC_CHECK_HEADERS([fcntl.h]) |
27 |
AC_HEADER_SYS_WAIT |
AC_HEADER_SYS_WAIT |
28 |
AC_CHECK_FUNCS(dup2 waitpid) |
AC_CHECK_FUNCS(dup2 waitpid) |
29 |
AC_FUNC_FORK |
AC_FUNC_FORK |