Skip to content

Commit d91e646

Browse files
authored
Merge pull request #8392 from cniethammer/autoconf-2.70-warning-fixes
Update bunch of obsolete autoconf macros
2 parents 76eaffa + a988a8f commit d91e646

File tree

70 files changed

+258
-255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+258
-255
lines changed

config/ompi_check_gpfs.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ AC_DEFUN([OMPI_CHECK_GPFS],[
3838

3939
# Get some configuration information
4040
AC_ARG_WITH([gpfs],
41-
[AC_HELP_STRING([--with-gpfs(=DIR)],
41+
[AS_HELP_STRING([--with-gpfs(=DIR)],
4242
[Build Gpfs support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
4343
OPAL_CHECK_WITHDIR([gpfs], [$with_gpfs], [include/gpfs.h])
4444

config/ompi_check_ime.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ AC_DEFUN([OMPI_CHECK_IME],[
2525

2626
# Get some configuration information
2727
AC_ARG_WITH([ime],
28-
[AC_HELP_STRING([--with-ime(=DIR)],
28+
[AS_HELP_STRING([--with-ime(=DIR)],
2929
[Build IME support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
3030
OPAL_CHECK_WITHDIR([ime], [$with_ime], [include/ime_native.h])
3131

config/ompi_check_libhcoll.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ AC_DEFUN([OMPI_CHECK_HCOLL],[
2020
OPAL_VAR_SCOPE_PUSH([ompi_check_hcoll_dir ompi_check_hcoll_libs ompi_check_hcoll_happy CPPFLAGS_save LDFLAGS_save LIBS_save])
2121

2222
AC_ARG_WITH([hcoll],
23-
[AC_HELP_STRING([--with-hcoll(=DIR)],
23+
[AS_HELP_STRING([--with-hcoll(=DIR)],
2424
[Build hcoll (Mellanox Hierarchical Collectives) support, optionally adding
2525
DIR/include and DIR/lib or DIR/lib64 to the search path for headers and libraries])])
2626

config/ompi_check_lustre.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ AC_DEFUN([OMPI_CHECK_LUSTRE],[
4242

4343
# Get some configuration information
4444
AC_ARG_WITH([lustre],
45-
[AC_HELP_STRING([--with-lustre(=DIR)],
45+
[AS_HELP_STRING([--with-lustre(=DIR)],
4646
[Build Lustre support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
4747
OPAL_CHECK_WITHDIR([lustre], [$with_lustre], [include/lustre/lustreapi.h])
4848

config/ompi_check_plfs.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ AC_DEFUN([OMPI_CHECK_PLFS],[
4242

4343
# Get some configuration information
4444
AC_ARG_WITH([plfs],
45-
[AC_HELP_STRING([--with-plfs(=DIR)],
45+
[AS_HELP_STRING([--with-plfs(=DIR)],
4646
[Build Plfs support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
4747
OPAL_CHECK_WITHDIR([plfs], [$with_plfs], [include/plfs.h])
4848

4949
AC_ARG_WITH([plfs-libs],
50-
[AC_HELP_STRING([--with-plfs-libs=LIBS],
50+
[AS_HELP_STRING([--with-plfs-libs=LIBS],
5151
[Libraries to link with for plfs])])
5252

5353
temp_with_plfs="$with_plfs"

config/ompi_check_psm2.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
AC_DEFUN([OMPI_CHECK_PSM2],[
3333
if test -z "$ompi_check_psm2_happy" ; then
3434
AC_ARG_WITH([psm2],
35-
[AC_HELP_STRING([--with-psm2(=DIR)],
35+
[AS_HELP_STRING([--with-psm2(=DIR)],
3636
[Build PSM2 (Intel PSM2) support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
3737
OPAL_CHECK_WITHDIR([psm2], [$with_psm2], [include/psm2.h])
3838
AC_ARG_WITH([psm2-libdir],
39-
[AC_HELP_STRING([--with-psm2-libdir=DIR],
39+
[AS_HELP_STRING([--with-psm2-libdir=DIR],
4040
[Search for PSM (Intel PSM2) libraries in DIR])])
4141
OPAL_CHECK_WITHDIR([psm2-libdir], [$with_psm2_libdir], [libpsm2.*])
4242

config/ompi_check_pvfs2.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ AC_DEFUN([OMPI_CHECK_PVFS2],[
3838

3939
# Get some configuration information
4040
AC_ARG_WITH([pvfs2],
41-
[AC_HELP_STRING([--with-pvfs2(=DIR)],
41+
[AS_HELP_STRING([--with-pvfs2(=DIR)],
4242
[Build Pvfs2 support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
4343
OPAL_CHECK_WITHDIR([pvfs2], [$with_pvfs2], [include/pvfs2.h])
4444

config/ompi_check_ucx.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ AC_DEFUN([OMPI_CHECK_UCX],[
2424

2525
AS_IF([test -z "$ompi_check_ucx_happy"],
2626
[AC_ARG_WITH([ucx],
27-
[AC_HELP_STRING([--with-ucx(=DIR)],
27+
[AS_HELP_STRING([--with-ucx(=DIR)],
2828
[Build with Unified Communication X library support])])
2929
OPAL_CHECK_WITHDIR([ucx], [$with_ucx], [include/ucp/api/ucp.h])
3030
AC_ARG_WITH([ucx-libdir],
31-
[AC_HELP_STRING([--with-ucx-libdir=DIR],
31+
[AS_HELP_STRING([--with-ucx-libdir=DIR],
3232
[Search for Unified Communication X libraries in DIR])])
3333
OPAL_CHECK_WITHDIR([ucx-libdir], [$with_ucx_libdir], [libucp.*])
3434

config/ompi_check_udapl.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ dnl
2727
# support, otherwise executes action-if-not-found
2828
AC_DEFUN([OMPI_CHECK_UDAPL],[
2929
AC_ARG_WITH([udapl],
30-
[AC_HELP_STRING([--with-udapl(=DIR)],
30+
[AS_HELP_STRING([--with-udapl(=DIR)],
3131
[Build uDAPL support, optionally adding DIR/include, DIR/lib, and DIR/lib64 to the search path for headers and libraries])])
3232
OPAL_CHECK_WITHDIR([udapl], [$with_udapl], [include/dat/udat.h])
3333
AC_ARG_WITH([udapl-libdir],
34-
[AC_HELP_STRING([--with-udapl-libdir=DIR],
34+
[AS_HELP_STRING([--with-udapl-libdir=DIR],
3535
[Search for uDAPL libraries in DIR])])
3636
OPAL_CHECK_WITHDIR([udapl-libdir], [$with_udapl_libdir], [libdat.*])
3737

config/ompi_configure_options.m4

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ opal_show_subtitle "OMPI Configuration options"
3434
# Disable MPI layer?
3535
#
3636
AC_ARG_ENABLE([mpi],
37-
[AC_HELP_STRING([--disable-mpi],
37+
[AS_HELP_STRING([--disable-mpi],
3838
[Disable building the MPI layer (default:enabled)])])
3939

4040
#
@@ -46,9 +46,9 @@ AC_ARG_ENABLE([mpi],
4646
#
4747

4848
AC_MSG_CHECKING([if want compile-time warnings inside of mpi.h])
49-
AC_ARG_ENABLE(mpi-interface-warning,
50-
AC_HELP_STRING([--enable-mpi-interface-warning],
51-
[enable compile-time warnings when deprecated MPI functions are used (default: enabled)]))
49+
AC_ARG_ENABLE([mpi-interface-warning],
50+
[AS_HELP_STRING([--enable-mpi-interface-warning],
51+
[enable compile-time warnings when deprecated MPI functions are used (default: enabled)])])
5252
if test "$enable_mpi_interface_warning" != "no"; then
5353
AC_MSG_RESULT([yes])
5454
OMPI_WANT_MPI_INTERFACE_WARNING=1
@@ -64,9 +64,9 @@ AC_DEFINE_UNQUOTED([OMPI_WANT_MPI_INTERFACE_WARNING], [$OMPI_WANT_MPI_INTERFACE_
6464
#
6565

6666
AC_MSG_CHECKING([if want sparse process groups])
67-
AC_ARG_ENABLE(sparse-groups,
68-
AC_HELP_STRING([--enable-sparse-groups],
69-
[enable sparse process groups (default: not enabled)]))
67+
AC_ARG_ENABLE([sparse-groups],
68+
[AS_HELP_STRING([--enable-sparse-groups],
69+
[enable sparse process groups (default: not enabled)])])
7070
if test "$enable_sparse_groups" = "yes"; then
7171
AC_MSG_RESULT([yes])
7272
GROUP_SPARSE=1
@@ -83,9 +83,9 @@ AC_DEFINE_UNQUOTED([OMPI_GROUP_SPARSE],$GROUP_SPARSE,
8383
#
8484

8585
AC_MSG_CHECKING([if want peruse support])
86-
AC_ARG_ENABLE(peruse,
87-
AC_HELP_STRING([--enable-peruse],
88-
[enable PERUSE interface (default: disabled)]))
86+
AC_ARG_ENABLE([peruse],
87+
[AS_HELP_STRING([--enable-peruse],
88+
[enable PERUSE interface (default: disabled)])])
8989
if test "$enable_peruse" = "yes"; then
9090
AC_MSG_RESULT([yes])
9191
WANT_PERUSE=1
@@ -102,9 +102,9 @@ AM_CONDITIONAL(WANT_PERUSE, test "$WANT_PERUSE" = "1")
102102
# Fortran MPI bindings
103103
#
104104
AC_MSG_CHECKING([if want Fortran MPI bindings])
105-
AC_ARG_ENABLE(mpi-fortran,
106-
AC_HELP_STRING([--enable-mpi-fortran],
107-
[specify which Fortran MPI bindings to build: yes, none (or no), best-effort, mpifh (build only mpif.h support), usempi (build mpif.h and the mpi module), or usempif08 (or all, build mpifh, the mpi module, and the mpi_f08 module) (default: "yes" if Fortran compiler found)]))
105+
AC_ARG_ENABLE([mpi-fortran],
106+
[AS_HELP_STRING([--enable-mpi-fortran],
107+
[specify which Fortran MPI bindings to build: yes, none (or no), best-effort, mpifh (build only mpif.h support), usempi (build mpif.h and the mpi module), or usempif08 (or all, build mpifh, the mpi module, and the mpi_f08 module) (default: "yes" if Fortran compiler found)])])
108108

109109
# These are the 4 monotonically-rising values indicating levels of
110110
# Fortran bindings support.
@@ -168,7 +168,7 @@ esac
168168

169169
# Remove these when we finally kill them once and for all
170170
AC_ARG_ENABLE([mpi1-compatibility],
171-
[AC_HELP_STRING([--enable-mpi1-compatibility],
171+
[AS_HELP_STRING([--enable-mpi1-compatibility],
172172
[Enable support for MPI-1.x functions removed from the current MPI standard (MPI-3.x). This option will go away in a future release of Open MPI (default: disabled)])])
173173

174174
if test "x$enable_mpi1_compatibility" = "xyes" ; then
@@ -183,7 +183,7 @@ AC_SUBST([OMPI_ENABLE_MPI1_COMPAT], [$ompi_mpi1_support])
183183
AM_CONDITIONAL([OMPI_ENABLE_MPI1_COMPAT],[test $ompi_mpi1_support = 1])
184184

185185
AC_ARG_ENABLE([grequest-extensions],
186-
[AC_HELP_STRING([--enable-grequest-extensions],
186+
[AS_HELP_STRING([--enable-grequest-extensions],
187187
[Enable support for Grequest extensions (default: disabled)])])
188188

189189
if test "x$enable_grequest_extensions" = "xyes" ; then
@@ -202,9 +202,9 @@ AM_CONDITIONAL([OMPI_ENABLE_GREQUEST_EXTENSIONS],[test $ompi_grequest_extensions
202202
#
203203

204204
AC_MSG_CHECKING([if want run-time MPI parameter checking])
205-
AC_ARG_WITH(mpi-param-check,
206-
AC_HELP_STRING([--with-mpi-param-check(=VALUE)],
207-
[behavior of MPI function parameter checking. Valid values are: always, never, runtime. If --with-mpi-param-check is specified with no VALUE argument, it is equivalent to a VALUE of "always"; --without-mpi-param-check is equivalent to "never" (default: runtime).]))
205+
AC_ARG_WITH([mpi-param-check],
206+
[AS_HELP_STRING([--with-mpi-param-check(=VALUE)],
207+
[behavior of MPI function parameter checking. Valid values are: always, never, runtime. If --with-mpi-param-check is specified with no VALUE argument, it is equivalent to a VALUE of "always"; --without-mpi-param-check is equivalent to "never" (default: runtime).])])
208208
mpi_param_check=ompi_mpi_param_check
209209
if test "$with_mpi_param_check" = "no" || \
210210
test "$with_mpi_param_check" = "never"; then
@@ -232,7 +232,7 @@ AC_DEFINE_UNQUOTED(OMPI_PARAM_CHECK, $ompi_param_check,
232232
[Whether we want to check MPI parameters never or possible (an integer constant)])
233233

234234
AC_ARG_ENABLE([io-ompio],
235-
[AC_HELP_STRING([--disable-io-ompio],
235+
[AS_HELP_STRING([--disable-io-ompio],
236236
[Disable the ompio MPI-IO component])])
237237

238238
])dnl

0 commit comments

Comments
 (0)