Skip to content

Commit b83d8f0

Browse files
author
Andras Fekete
committed
Make sure MAX_ECC_BITS >= MIN_ECC_BITS
1 parent 35ef7f4 commit b83d8f0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

configure.ac

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10011,3 +10011,10 @@ if test "$MINGW_LIB_WARNING" = "yes"
1001110011
then
1001210012
AC_MSG_WARN([Building with shared and static library at the same time on this system may cause export/import problems when using non contemporary GNU tools.])
1001310013
fi
10014+
10015+
if test -n "$WITH_MAX_ECC_BITS"; then
10016+
if test "$WITH_MAX_ECC_BITS" -lt "$ENABLED_ECCMINSZ"; then
10017+
AC_MSG_ERROR([--with-max-ecc-bits argument ($WITH_MAX_ECC_BITS) must be greater than --with-eccminsz argument ($ENABLED_ECCMINSZ)])
10018+
fi
10019+
fi
10020+

0 commit comments

Comments
 (0)