Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
change the help and message for the new option
  • Loading branch information
pxinwr committed Dec 30, 2020
commit 90e411405072249945e8249c15d99f0fe98e9bba
18 changes: 9 additions & 9 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ Optional Features:
--enable-big-digits[=15|30]
use big digits (30 or 15 bits) for Python longs
(default is system-dependent)]
--enable-test-modules enable test modules (default is yes)
--disable-test-modules don't build nor install test modules

Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
Expand Down Expand Up @@ -17726,24 +17726,25 @@ $as_echo "no" >&6; }
fi


# Check whether to enable test modules. Any values other than no will be treated as yes.
# If this option is set to no, "make install" will not install test suites. Also setup.py
# will not build test extension modules.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-test-modules" >&5
$as_echo_n "checking for --enable-test-modules... " >&6; }
# Check whether to disable test modules. Once set, setup.py will not build
# test extension modules and "make install" will not install test suites.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --disable-test-modules" >&5
$as_echo_n "checking for --disable-test-modules... " >&6; }
# Check whether --enable-test-modules was given.
if test "${enable_test_modules+set}" = set; then :
enableval=$enable_test_modules;
fi

if test "$enable_test_modules" = no; then
TEST_MODULES=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
else
TEST_MODULES=yes
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi

{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $TEST_MODULES" >&5
$as_echo "$TEST_MODULES" >&6; }


# generate output files
Expand Down Expand Up @@ -19071,4 +19072,3 @@ if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
echo "" >&6
echo "" >&6
fi

10 changes: 5 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -5833,19 +5833,19 @@ else
fi],
[AC_MSG_RESULT(no)])

# Check whether to enable test modules. Any values other than no will be treated as yes.
# If this option is set to no, "make install" will not install test suites. Also setup.py
# will not build test extension modules.
AC_MSG_CHECKING(for --enable-test-modules)
# Check whether to disable test modules. Once set, setup.py will not build
# test extension modules and "make install" will not install test suites.
AC_MSG_CHECKING(for --disable-test-modules)
AC_ARG_ENABLE(test-modules,
AS_HELP_STRING([--disable-test-modules], [don't build nor install test modules]))
if test "$enable_test_modules" = no; then
TEST_MODULES=no
AC_MSG_RESULT(yes)
else
TEST_MODULES=yes
AC_MSG_RESULT(no)
fi
AC_SUBST(TEST_MODULES)
AC_MSG_RESULT($TEST_MODULES)


# generate output files
Expand Down