Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor cleanups to configure #2115

Merged
merged 1 commit into from
Dec 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 11 additions & 9 deletions config/prte_configure_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ AC_DEFINE_UNQUOTED([PRTE_WANT_PRTE_PREFIX_BY_DEFAULT],
AC_MSG_CHECKING([if want developer-level debugging code])
AC_ARG_ENABLE(debug,
AS_HELP_STRING([--enable-debug],
[enable developer-level debugging code (not for general MPI users!) (default: disabled)]))
[enable developer-level debugging code (not for general PRRTE users!) (default: disabled)]))
if test "$enable_debug" = "yes"; then
AC_MSG_RESULT([yes])
WANT_DEBUG=1
Expand Down Expand Up @@ -338,10 +338,10 @@ AC_ARG_WITH([package-string],
[AS_HELP_STRING([--with-package-string=STRING],
[Use a branding string throughout PRRTE])])
if test "$with_package_string" = "" || test "$with_package_string" = "no"; then
with_package_string="Open MPI $PRTE_CONFIGURE_USER@$PRTE_CONFIGURE_HOST Distribution"
with_package_string="PRRTE $PRTE_CONFIGURE_USER@$PRTE_CONFIGURE_HOST Distribution"
fi
AC_DEFINE_UNQUOTED([PRTE_PACKAGE_STRING], ["$with_package_string"],
[package/branding string for Open MPI])
[package/branding string for PRRTE])
AC_MSG_RESULT([$with_package_string])

#
Expand All @@ -350,7 +350,7 @@ AC_MSG_RESULT([$with_package_string])
AC_MSG_CHECKING([if want ident string])
AC_ARG_WITH([ident-string],
[AS_HELP_STRING([--with-ident-string=STRING],
[Embed an ident string into Open MPI object files])])
[Embed an ident string into PRRTE object files])])
if test "$with_ident_string" = "" || test "$with_ident_string" = "no"; then
with_ident_string="%VERSION%"
fi
Expand All @@ -365,7 +365,7 @@ with_ident_string="`echo $with_ident_string | sed -e 's/%VERSION%/$PRTE_VERSION/
with_ident_string="`eval echo $with_ident_string`"

AC_DEFINE_UNQUOTED([PRTE_IDENT_STRING], ["$with_ident_string"],
[ident string for Open MPI])
[ident string for PRRTE])
AC_MSG_RESULT([$with_ident_string])


Expand All @@ -386,10 +386,12 @@ AC_DEFINE_UNQUOTED([PRTE_ENABLE_GETPWUID], [$prte_want_getpwuid],

# some people don't want the legacy tools
AC_MSG_CHECKING([if want legacy tools installed])
AC_ARG_ENABLE([legacy-tools],
[AS_HELP_STRING([--disable-legacy-tools],
[Do not install the legacy tools (default: enabled)])])
if test "$enable_legacy_tools" = "no"; then
AC_ARG_WITH([legacy-tools],
[AS_HELP_STRING([--with-legacy-tools],
[Install the legacy tools. This creates symlinks from the
legacy tool names to their equivalent revised tool name
(e.g., "pterm" --> "prte-term"). (default: installed)])])
if test "$with_legacy_tools" = "no"; then
AC_MSG_RESULT([no])
prte_legacy_tools=no
PRTE_WANT_LEGACY_TOOLS=0
Expand Down
Loading