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

Side by Side Diff: configure.ac

Issue 27659: Check for the existence of crypt()
Patch Set: Created 3 years, 1 month 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 1670 matching lines...) Expand 10 before | Expand all | Expand 10 after
1681 # if so, only then enable the warning. 1681 # if so, only then enable the warning.
1682 if test $ac_cv_enable_unreachable_code_warning = yes && \ 1682 if test $ac_cv_enable_unreachable_code_warning = yes && \
1683 test "$Py_DEBUG" != "true" && \ 1683 test "$Py_DEBUG" != "true" && \
1684 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`" 1684 test -z "`$CC --version 2>/dev/null | grep 'Free Software Foundation'`"
1685 then 1685 then
1686 BASECFLAGS="$BASECFLAGS -Wunreachable-code" 1686 BASECFLAGS="$BASECFLAGS -Wunreachable-code"
1687 else 1687 else
1688 ac_cv_enable_unreachable_code_warning=no 1688 ac_cv_enable_unreachable_code_warning=no
1689 fi 1689 fi
1690 AC_MSG_RESULT($ac_cv_enable_unreachable_code_warning) 1690 AC_MSG_RESULT($ac_cv_enable_unreachable_code_warning)
1691
1692 AC_MSG_CHECKING(if we can make implicit function declaration an error in $CC )
1693 ac_save_cc="$CC"
1694 CC="$CC -Werror=implicit-function-declaration"
1695 AC_CACHE_VAL(ac_cv_enable_implicit_function_declaration_error,
1696 AC_COMPILE_IFELSE(
1697 [
1698 AC_LANG_PROGRAM([[]], [[]])
1699 ],[
1700 ac_cv_enable_implicit_function_declaration_error=yes
1701 ],[
1702 ac_cv_enable_implicit_function_declaration_error=no
1703 ]))
1704 CC="$ac_save_cc"
1705 AC_MSG_RESULT($ac_cv_enable_implicit_function_declaration_error)
1706
1707 if test $ac_cv_enable_implicit_function_declaration_error = yes
1708 then
1709 CFLAGS_NODIST="$CFLAGS_NODIST -Werror=implicit-function-declaration"
1710 fi
1691 1711
1692 # if using gcc on alpha, use -mieee to get (near) full IEEE 754 1712 # if using gcc on alpha, use -mieee to get (near) full IEEE 754
1693 # support. Without this, treatment of subnormals doesn't follow 1713 # support. Without this, treatment of subnormals doesn't follow
1694 # the standard. 1714 # the standard.
1695 case $host in 1715 case $host in
1696 alpha*) 1716 alpha*)
1697 BASECFLAGS="$BASECFLAGS -mieee" 1717 BASECFLAGS="$BASECFLAGS -mieee"
1698 ;; 1718 ;;
1699 esac 1719 esac
1700 1720
(...skipping 3723 matching lines...) Expand 10 before | Expand all | Expand 10 after
5424 5444
5425 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then 5445 if test "$Py_OPT" = 'false' -a "$Py_DEBUG" != 'true'; then
5426 echo "" >&AS_MESSAGE_FD 5446 echo "" >&AS_MESSAGE_FD
5427 echo "" >&AS_MESSAGE_FD 5447 echo "" >&AS_MESSAGE_FD
5428 echo "If you want a release build with all optimizations active (LTO, PGO, e tc)," >&AS_MESSAGE_FD 5448 echo "If you want a release build with all optimizations active (LTO, PGO, e tc)," >&AS_MESSAGE_FD
5429 echo "please run ./configure --enable-optimizations" >&AS_MESSAGE_FD 5449 echo "please run ./configure --enable-optimizations" >&AS_MESSAGE_FD
5430 echo "" >&AS_MESSAGE_FD 5450 echo "" >&AS_MESSAGE_FD
5431 echo "" >&AS_MESSAGE_FD 5451 echo "" >&AS_MESSAGE_FD
5432 fi 5452 fi
5433 5453
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+