diff --git a/configure.ac b/configure.ac index 3b9e712d4b..daa54567a4 100644 --- a/configure.ac +++ b/configure.ac @@ -1101,7 +1101,7 @@ ompi_show_title "Library and Function tests" # vscanf AC_CHECK_LIB([util], [openpty], [WRAPPER_EXTRA_LIBS="$WRAPPER_EXTRA_LIBS -lutil" LIBLAM_EXTRA_LIBS="$LIBLAMEXTRALIBS -lutil" LIBS="$LIBS -lutil]") -AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf openpty isatty htonl ntohl htons ntohs getpwuid]) +AC_CHECK_FUNCS([asprintf snprintf vasprintf vsnprintf openpty isatty htonl ntohl htons ntohs getpwuid fork waitpid execve]) # # Make sure we can copy va_lists (need check declared, not linkable) diff --git a/orte/mca/pls/fork/configure.m4 b/orte/mca/pls/fork/configure.m4 new file mode 100644 index 0000000000..8477fb5409 --- /dev/null +++ b/orte/mca/pls/fork/configure.m4 @@ -0,0 +1,22 @@ +# -*- shell-script -*- +# +# Copyright (c) 2004-2005 The Trustees of Indiana University. +# All rights reserved. +# Copyright (c) 2004-2005 The Trustees of the University of Tennessee. +# All rights reserved. +# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, +# University of Stuttgart. All rights reserved. +# Copyright (c) 2004-2005 The Regents of the University of California. +# All rights reserved. +# $COPYRIGHT$ +# +# Additional copyrights may follow +# +# $HEADER$ +# + +# MCA_pls_fork_CONFIG([action-if-found], [action-if-not-found]) +# ----------------------------------------------------------- +AC_DEFUN([MCA_pls_fork_CONFIG],[ + AC_CHECK_FUNC([fork], [$1], [$2]) +])dnl diff --git a/orte/mca/pls/rsh/configure.m4 b/orte/mca/pls/rsh/configure.m4 new file mode 100644 index 0000000000..a6a03ad197 --- /dev/null +++ b/orte/mca/pls/rsh/configure.m4 @@ -0,0 +1,22 @@ +# -*- shell-script -*- +# +# Copyright (c) 2004-2005 The Trustees of Indiana University. +# All rights reserved. +# Copyright (c) 2004-2005 The Trustees of the University of Tennessee. +# All rights reserved. +# Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, +# University of Stuttgart. All rights reserved. +# Copyright (c) 2004-2005 The Regents of the University of California. +# All rights reserved. +# $COPYRIGHT$ +# +# Additional copyrights may follow +# +# $HEADER$ +# + +# MCA_pls_rsh_CONFIG([action-if-found], [action-if-not-found]) +# ----------------------------------------------------------- +AC_DEFUN([MCA_pls_rsh_CONFIG],[ + AC_CHECK_FUNC([fork], [$1], [$2]) +])dnl