check for openssl/pkcs12.h
authorDaniel Stenberg <daniel@haxx.se>
Sun, 19 Dec 2004 09:36:54 +0000 (09:36 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 19 Dec 2004 09:36:54 +0000 (09:36 +0000)
configure.ac

index 3cff1e1..a03be20 100644 (file)
@@ -808,6 +808,9 @@ else
 
     if test X"$OPENSSL_ENABLED" = X"1"; then
        AC_DEFINE(USE_SSLEAY, 1, [if SSL is enabled])
+
+       dnl is there a pkcs12.h header present?
+       AC_CHECK_HEADERS(openssl/pkcs12.h)
     fi
     USE_SSLEAY="$OPENSSL_ENABLED"
     AC_SUBST(USE_SSLEAY)