--- makeconfig 2007/04/14 15:26:00 1.14 +++ makeconfig 2009/05/26 21:04:15 1.15 @@ -393,6 +393,25 @@ ! fi +if test x$have_openssl = xyes +then + compile_check stack_of 'for STACK_OF()' '#define HAVE_STACK_OF' <<\! +#include +#include +#include +#include +#include + +int main(void) +{ + STACK_OF(GENERAL_NAME) *gens = NULL; + printf("%p", gens); /* to make it used */ + SSLv23_client_method(); + PEM_read_PrivateKey(0, 0, 0, 0); + return 0; +} +! +fi cat >$tmp2.c <<\! #include