| 1 |
# spawn-pipe.m4 |
| 2 |
# serial 3 |
| 3 |
dnl Copyright (C) 2004, 2008-2024 Free Software Foundation, Inc. |
| 4 |
dnl This file is free software; the Free Software Foundation |
| 5 |
dnl gives unlimited permission to copy and/or distribute it, |
| 6 |
dnl with or without modifications, as long as this notice is preserved. |
| 7 |
dnl This file is offered as-is, without any warranty. |
| 8 |
|
| 9 |
AC_DEFUN([gl_SPAWN_PIPE], |
| 10 |
[ |
| 11 |
AC_REQUIRE([AC_CANONICAL_HOST]) |
| 12 |
|
| 13 |
dnl Prerequisites of lib/spawn-pipe.c. |
| 14 |
AC_REQUIRE([AC_TYPE_MODE_T]) |
| 15 |
|
| 16 |
dnl Prerequisites of lib/os2-spawn.c. |
| 17 |
case "$host_os" in |
| 18 |
os2*) AC_CHECK_HEADERS_ONCE([libcx/spawn2.h]) ;; |
| 19 |
esac |
| 20 |
]) |