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

Side by Side Diff: configure.ac

Issue 27744: Add AF_ALG (Linux Kernel crypto) to socket module
Patch Set: Created 3 years, 6 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
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.6) 6 m4_define(PYTHON_VERSION, 3.6)
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 3818 matching lines...) Expand 10 before | Expand all | Expand 10 after
3829 AC_MSG_CHECKING(for sockaddr_storage) 3829 AC_MSG_CHECKING(for sockaddr_storage)
3830 AC_CACHE_VAL(ac_cv_struct_sockaddr_storage, 3830 AC_CACHE_VAL(ac_cv_struct_sockaddr_storage,
3831 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ 3831 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
3832 # include <sys/types.h> 3832 # include <sys/types.h>
3833 # include <sys/socket.h>]], [[struct sockaddr_storage s]])], 3833 # include <sys/socket.h>]], [[struct sockaddr_storage s]])],
3834 [ac_cv_struct_sockaddr_storage=yes], 3834 [ac_cv_struct_sockaddr_storage=yes],
3835 [ac_cv_struct_sockaddr_storage=no])) 3835 [ac_cv_struct_sockaddr_storage=no]))
3836 AC_MSG_RESULT($ac_cv_struct_sockaddr_storage) 3836 AC_MSG_RESULT($ac_cv_struct_sockaddr_storage)
3837 if test $ac_cv_struct_sockaddr_storage = yes; then 3837 if test $ac_cv_struct_sockaddr_storage = yes; then
3838 AC_DEFINE(HAVE_SOCKADDR_STORAGE, 1, [struct sockaddr_storage (sys/socket .h)]) 3838 AC_DEFINE(HAVE_SOCKADDR_STORAGE, 1, [struct sockaddr_storage (sys/socket .h)])
3839 fi
3840
3841 AC_MSG_CHECKING(for sockaddr_alg)
3842 AC_CACHE_VAL(ac_cv_struct_sockaddr_alg,
3843 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
3844 # include <sys/types.h>
3845 # include <sys/socket.h>
3846 # include <linux/if_alg.h>]], [[struct sockaddr_alg s]])],
3847 [ac_cv_struct_sockaddr_alg=yes],
3848 [ac_cv_struct_sockaddr_alg=no]))
3849 AC_MSG_RESULT($ac_cv_struct_sockaddr_alg)
3850 if test $ac_cv_struct_sockaddr_alg = yes; then
3851 AC_DEFINE(HAVE_SOCKADDR_ALG, 1, [struct sockaddr_alg (linux/if_alg.h)])
3839 fi 3852 fi
3840 3853
3841 # checks for compiler characteristics 3854 # checks for compiler characteristics
3842 3855
3843 AC_C_CHAR_UNSIGNED 3856 AC_C_CHAR_UNSIGNED
3844 AC_C_CONST 3857 AC_C_CONST
3845 3858
3846 works=no 3859 works=no
3847 AC_MSG_CHECKING(for working volatile) 3860 AC_MSG_CHECKING(for working volatile)
3848 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[volatile int x; x = 0;]])], 3861 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[volatile int x; x = 0;]])],
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
5333 if test ! -f Modules/Setup.local 5346 if test ! -f Modules/Setup.local
5334 then 5347 then
5335 echo "# Edit this file for local setup changes" >Modules/Setup.local 5348 echo "# Edit this file for local setup changes" >Modules/Setup.local
5336 fi 5349 fi
5337 5350
5338 echo "creating Makefile" >&AS_MESSAGE_FD 5351 echo "creating Makefile" >&AS_MESSAGE_FD
5339 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \ 5352 $SHELL $srcdir/Modules/makesetup -c $srcdir/Modules/config.c.in \
5340 -s Modules Modules/Setup.config \ 5353 -s Modules Modules/Setup.config \
5341 Modules/Setup.local Modules/Setup 5354 Modules/Setup.local Modules/Setup
5342 mv config.c Modules 5355 mv config.c Modules
OLDNEW
« no previous file with comments | « configure ('k') | Doc/library/socket.rst » ('j') | Doc/library/socket.rst » ('J')

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