diff options
author | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-11-20 21:13:16 (GMT) |
---|---|---|
committer | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-11-20 21:13:16 (GMT) |
commit | 164eea5443f56411d0e617389fa22b2025683f50 (patch) | |
tree | e2b99dbac67d49d47103a182854d528ed0e2d4de /configure.ac | |
parent | 9f64de8ba4973124764f8da56cad0fda8a4fac16 (diff) | |
parent | 1016b2ff00665203ae01d82520dac497ac89e5e7 (diff) | |
download | cpython-164eea5443f56411d0e617389fa22b2025683f50.zip cpython-164eea5443f56411d0e617389fa22b2025683f50.tar.gz cpython-164eea5443f56411d0e617389fa22b2025683f50.tar.bz2 |
Rename the new --with-optimiations flag to --enable-optimizations.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 73927b1..d4f71aa 100644 --- a/configure.ac +++ b/configure.ac @@ -1281,8 +1281,8 @@ fi], AC_SUBST(DEF_MAKE_ALL_RULE) AC_SUBST(DEF_MAKE_RULE) Py_OPT='false' -AC_MSG_CHECKING(for --with-optimizations) -AC_ARG_WITH(optimizations, AS_HELP_STRING([--with-optimizations], [Enable expensive optimizations (PGO, etc). Disabled by default.]), +AC_MSG_CHECKING(for --enable-optimizations) +AC_ARG_ENABLE(optimizations, AS_HELP_STRING([--enable-optimizations], [Enable expensive optimizations (PGO, etc). Disabled by default.]), [ if test "$withval" != no then @@ -1405,7 +1405,7 @@ case $CC in LLVM_PROF_ERR=yes if test "${REQUIRE_PGO}" = "yes" then - AC_MSG_ERROR([llvm-profdata is required for a --with-optimizations build but could not be found.]) + AC_MSG_ERROR([llvm-profdata is required for a --enable-optimizations build but could not be found.]) fi fi ;; @@ -1421,7 +1421,7 @@ case $CC in LLVM_PROF_ERR=yes if test "${REQUIRE_PGO}" = "yes" then - AC_MSG_ERROR([llvm-profdata is required for a --with-optimizations build but could not be found.]) + AC_MSG_ERROR([llvm-profdata is required for a --enable-optimizations build but could not be found.]) fi fi ;; @@ -5395,7 +5395,7 @@ if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then echo "" >&AS_MESSAGE_FD echo "" >&AS_MESSAGE_FD echo "If you want a release build with all optimizations active (LTO, PGO, etc)," >&AS_MESSAGE_FD - echo "please run ./configure --with-optimizations" >&AS_MESSAGE_FD + echo "please run ./configure --enable-optimizations" >&AS_MESSAGE_FD echo "" >&AS_MESSAGE_FD echo "" >&AS_MESSAGE_FD fi |