Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

Side by Side Diff: configure.ac

Issue 27659: Check for the existence of crypt()
Patch Set: Created 3 years, 2 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dnl *********************************************** 1 dnl ***********************************************
2 dnl * Please run autoreconf to test your changes! * 2 dnl * Please run autoreconf to test your changes! *
3 dnl *********************************************** 3 dnl ***********************************************
4 4
5 # Set VERSION so we only need to edit in one place (i.e., here) 5 # Set VERSION so we only need to edit in one place (i.e., here)
6 m4_define(PYTHON_VERSION, 3.7) 6 m4_define(PYTHON_VERSION, 3.7)
7 7
8 AC_PREREQ(2.65) 8 AC_PREREQ(2.65)
9 9
10 AC_INIT(python, PYTHON_VERSION, https://bugs.python.org/) 10 AC_INIT(python, PYTHON_VERSION, https://bugs.python.org/)
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 # if so, only then enable the warning. 1669 # if so, only then enable the warning.
1670 if test $ac_cv_enable_unreachable_code_warning = yes && \ 1670 if test $ac_cv_enable_unreachable_code_warning = yes && \
1671 test "$Py_DEBUG" != "true" && \ 1671 test "$Py_DEBUG" != "true" && \
1672 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`" 1672 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
1673 then 1673 then
1674 BASECFLAGS="$BASECFLAGS -Wunreachable-code" 1674 BASECFLAGS="$BASECFLAGS -Wunreachable-code"
1675 else 1675 else
1676 ac_cv_enable_unreachable_code_warning=no 1676 ac_cv_enable_unreachable_code_warning=no
1677 fi 1677 fi
1678 AC_MSG_RESULT($ac_cv_enable_unreachable_code_warning) 1678 AC_MSG_RESULT($ac_cv_enable_unreachable_code_warning)
1679
1680 AC_MSG_CHECKING(if we can make implicit function declaration an error in $CC )
1681 ac_save_cc="$CC"
1682 CC="$CC -Werror=implicit-function-declaration"
1683 save_CFLAGS="$CFLAGS"
Martin Panter 2017/01/16 01:49:00 I don’t think CFLAGS needs saving and restoring, b
1684 AC_CACHE_VAL(ac_cv_enable_implicit_function_declaration_error,
1685 AC_COMPILE_IFELSE(
1686 [
1687 AC_LANG_PROGRAM([[]], [[]])
1688 ],[
1689 ac_cv_enable_implicit_function_declaration_error=yes
1690 ],[
1691 ac_cv_enable_implicit_function_declaration_error=no
1692 ]))
1693 CFLAGS="$save_CFLAGS"
1694 CC="$ac_save_cc"
1695 AC_MSG_RESULT($ac_cv_enable_implicit_function_declaration_error)
1696
1697 if test $ac_cv_enable_implicit_function_declaration_error = yes
1698 then
1699 CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
1700 fi
1679 1701
1680 # if using gcc on alpha, use -mieee to get (near) full IEEE 754 1702 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
1681 # support. Without this, treatment of subnormals doesn't follow 1703 # support. Without this, treatment of subnormals doesn't follow
1682 # the standard. 1704 # the standard.
1683 case $host in 1705 case $host in
1684 alpha*) 1706 alpha*)
1685 BASECFLAGS="$BASECFLAGS -mieee" 1707 BASECFLAGS="$BASECFLAGS -mieee"
1686 ;; 1708 ;;
1687 esac 1709 esac
1688 1710
(...skipping 3721 matching lines...) Expand 10 before | Expand all | Expand 10 after
5410 5432
5411 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then 5433 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
5412 echo "" >&AS_MESSAGE_FD 5434 echo "" >&AS_MESSAGE_FD
5413 echo "" >&AS_MESSAGE_FD 5435 echo "" >&AS_MESSAGE_FD
5414 echo "If you want a release build with all optimizations active (LTO, PGO, e tc)," >&AS_MESSAGE_FD 5436 echo "If you want a release build with all optimizations active (LTO, PGO, e tc)," >&AS_MESSAGE_FD
5415 echo "please run ./configure --enable-optimizations" >&AS_MESSAGE_FD 5437 echo "please run ./configure --enable-optimizations" >&AS_MESSAGE_FD
5416 echo "" >&AS_MESSAGE_FD 5438 echo "" >&AS_MESSAGE_FD
5417 echo "" >&AS_MESSAGE_FD 5439 echo "" >&AS_MESSAGE_FD
5418 fi 5440 fi
5419 5441
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+