configure --enable-reserved-header-bits=N: fix range of accepted N

It ranges between 0 and 31, not 0 and 21.
master
Xavier Leroy 2020-10-09 14:50:13 +02:00
parent 86c8a98f3c
commit 53ed75072d
2 changed files with 2 additions and 2 deletions

2
configure generated vendored
View File

@ -3225,7 +3225,7 @@ if test "${enable_reserved_header_bits+set}" = set; then :
0) :
with_profinfo=false
profinfo_width=0 ;; #(
[1-9]|1[0-9]|2[0-1]) :
[1-9]|[1-2][0-9]|3[0-1]) :
with_profinfo=true
profinfo_width="$enable_reserved_header_bits" ;; #(
*) :

View File

@ -311,7 +311,7 @@ AC_ARG_ENABLE([reserved-header-bits],
[0],
[with_profinfo=false
profinfo_width=0],
[[[1-9]]|1[[0-9]]|2[[0-1]]],
[[[1-9]]|[[1-2]][[0-9]]|3[[0-1]]],
[with_profinfo=true
profinfo_width="$enable_reserved_header_bits"],
[AC_MSG_ERROR([invalid argument to --enable-reserved-header-bits])])])