Fix usage of --enable-XXX

This commit is contained in:
sfilippone
2025-03-19 14:33:32 +01:00
parent cfd29707da
commit 31644c972a
2 changed files with 7 additions and 11 deletions
+2 -6
View File
@@ -1211,10 +1211,8 @@ AC_ARG_ENABLE(serial,
AS_HELP_STRING([--enable-serial],
[Specify whether to enable a fake mpi library to run in serial mode. ]),
[
pac_cv_serial_mpi="yes";
pac_cv_serial_mpi="$enableval";
]
dnl ,
dnl [pac_cv_serial_mpi="no";]
)
if test x"$pac_cv_serial_mpi" == x"yes" ; then
AC_MSG_RESULT([yes.])
@@ -1317,10 +1315,8 @@ AC_ARG_ENABLE(long-integers,
AS_HELP_STRING([--enable-long-integers],
[Specify usage of 64 bits integers. ]),
[
pac_cv_long_integers="yes";
pac_cv_long_integers="$enableval";
]
dnl ,
dnl [pac_cv_long_integers="no";]
)
if test x"$pac_cv_long_integers" == x"yes" ; then
AC_MSG_RESULT([yes.])
Vendored
+1 -1
View File
@@ -5754,7 +5754,7 @@ printf %s "checking whether we want serial mpi stubs... " >&6; }
if test ${enable_serial+y}
then :
enableval=$enable_serial;
pac_cv_serial_mpi="yes";
pac_cv_serial_mpi="$enableval";
fi