@@ -7460,15 +7460,6 @@ for builtin_hash in $with_builtin_hashlib_hashes; do
74607460done
74617461IFS=$as_save_IFS
74627462
7463- # builtin HACL* HMAC module
7464- AC_MSG_CHECKING ( [ for --with-builtin-hashlib-hmac=yes,no] )
7465- AC_ARG_WITH ( [ builtin-hashlib-hmac] ,
7466- [ AS_HELP_STRING ( [ --with-builtin-hashlib-hmac] ,
7467- [ use builtin HACL* HMAC when possible @<:@ default is yes@:>@ ] ) ] ,
7468- [ with_builtin_hashlib_hmac=$with_val] ,
7469- [ with_builtin_hashlib_hmac=yes] )
7470- AC_MSG_RESULT ( [ $with_builtin_hashlib_hmac] )
7471-
74727463# Check whether to disable test modules. Once set, setup.py will not build
74737464# test extension modules and "make install" will not install test suites.
74747465AC_MSG_CHECKING ( [ for --disable-test-modules] )
@@ -7810,9 +7801,7 @@ PY_STDLIB_MOD([_sha2], [test "$with_builtin_sha2" = yes])
78107801PY_STDLIB_MOD([ _sha3] , [ test "$with_builtin_sha3" = yes] )
78117802PY_STDLIB_MOD([ _blake2] , [ test "$with_builtin_blake2" = yes] )
78127803
7813- dnl We always build the '_hmac' extension module but falls back
7814- dnl to the Python implementation if needs arise.
7815- PY_STDLIB_MOD([ _hmac] , [ test "$with_builtin_hashlib_hmac" = yes] )
7804+ PY_STDLIB_MOD_SIMPLE([ _hmac] )
78167805
78177806LIBHACL_CFLAGS='-I$(srcdir)/Modules/_hacl -I$(srcdir)/Modules/_hacl/include -D_BSD_SOURCE -D_DEFAULT_SOURCE $(PY_STDMODULE_CFLAGS) $(CCSHARED)'
78187807case "$ac_sys_system" in
0 commit comments