2009-05-27 07:03:18 +04:00
|
|
|
dnl -*- shell-script -*-
|
|
|
|
dnl
|
|
|
|
dnl Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
|
|
|
|
dnl University Research and Technology
|
|
|
|
dnl Corporation. All rights reserved.
|
|
|
|
dnl Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
dnl of Tennessee Research Foundation. All rights
|
|
|
|
dnl reserved.
|
|
|
|
dnl Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
dnl University of Stuttgart. All rights reserved.
|
|
|
|
dnl Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
dnl All rights reserved.
|
2010-02-25 04:11:29 +03:00
|
|
|
dnl Copyright (c) 2006-2010 Cisco Systems, Inc. All rights reserved.
|
2009-05-27 07:03:18 +04:00
|
|
|
dnl Copyright (c) 2007 Sun Microsystems, Inc. All rights reserved.
|
|
|
|
dnl Copyright (c) 2009 IBM Corporation. All rights reserved.
|
2013-02-28 05:35:55 +04:00
|
|
|
dnl Copyright (c) 2009-2013 Los Alamos National Security, LLC. All rights
|
2009-05-27 07:03:18 +04:00
|
|
|
dnl reserved.
|
|
|
|
dnl Copyright (c) 2009 Oak Ridge National Labs. All rights reserved.
|
|
|
|
dnl
|
2016-11-04 15:01:42 +03:00
|
|
|
dnl Copyright (c) 2016 Intel, Inc. All rights reserved.
|
2009-05-27 07:03:18 +04:00
|
|
|
dnl $COPYRIGHT$
|
2015-06-24 06:59:57 +03:00
|
|
|
dnl
|
2009-05-27 07:03:18 +04:00
|
|
|
dnl Additional copyrights may follow
|
2015-06-24 06:59:57 +03:00
|
|
|
dnl
|
2009-05-27 07:03:18 +04:00
|
|
|
dnl $HEADER$
|
|
|
|
dnl
|
|
|
|
|
|
|
|
|
|
|
|
AC_DEFUN([ORTE_CONFIGURE_OPTIONS],[
|
2014-05-06 02:35:23 +04:00
|
|
|
opal_show_subtitle "ORTE Configuration options"
|
2009-05-27 07:03:18 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Do we want orterun's --prefix behavior to be enabled by default?
|
|
|
|
#
|
|
|
|
AC_MSG_CHECKING([if want orterun "--prefix" behavior to be enabled by default])
|
|
|
|
AC_ARG_ENABLE([orterun-prefix-by-default],
|
|
|
|
[AC_HELP_STRING([--enable-orterun-prefix-by-default],
|
|
|
|
[Make "orterun ..." behave exactly the same as "orterun --prefix \$prefix" (where \$prefix is the value given to --prefix in configure)])])
|
|
|
|
AC_ARG_ENABLE([mpirun-prefix-by-default],
|
|
|
|
[AC_HELP_STRING([--enable-mpirun-prefix-by-default],
|
|
|
|
[Synonym for --enable-orterun-prefix-by-default])])
|
|
|
|
if test "$enable_orterun_prefix_by_default" = ""; then
|
|
|
|
enable_orterun_prefix_by_default=$enable_mpirun_prefix_by_default
|
|
|
|
fi
|
|
|
|
if test "$enable_orterun_prefix_by_default" = "yes"; then
|
|
|
|
AC_MSG_RESULT([yes])
|
|
|
|
orte_want_orterun_prefix_by_default=1
|
|
|
|
else
|
|
|
|
AC_MSG_RESULT([no])
|
|
|
|
orte_want_orterun_prefix_by_default=0
|
|
|
|
fi
|
|
|
|
AC_DEFINE_UNQUOTED([ORTE_WANT_ORTERUN_PREFIX_BY_DEFAULT],
|
|
|
|
[$orte_want_orterun_prefix_by_default],
|
|
|
|
[Whether we want orterun to effect "--prefix $prefix" by default])
|
2009-09-10 00:58:22 +04:00
|
|
|
|
2010-04-27 02:15:57 +04:00
|
|
|
|
2009-05-27 07:03:18 +04:00
|
|
|
])dnl
|