Report found openssl version on failure.

This commit is contained in:
Mark Andrews 2001-08-23 06:33:10 +00:00
parent d20b7d6bea
commit bd1db480f3

View file

@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.291 $)
AC_REVISION($Revision: 1.292 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
@ -325,6 +325,9 @@ case "$use_openssl" in
int main() {
if (OPENSSL_VERSION_NUMBER >= 0x0090581fL)
return (0);
printf("\n\nFound OPENSSL_VERSION_NUMBER %#010x\n",
OPENSSL_VERSION_NUMBER);
printf("Require OPENSSL_VERSION_NUMBER 0x0090581f or greater\n\n");
return (1);
}
],