fix --enable-pkcs7 configure.ac

This commit is contained in:
Chris Conlon 2014-01-10 16:11:17 -07:00
parent 1d67d9217e
commit 0024db221f

View File

@ -1215,14 +1215,14 @@ then
AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI -DHAVE_MAX_FRAGMENT -DHAVE_TRUNCATED_HMAC" AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI -DHAVE_MAX_FRAGMENT -DHAVE_TRUNCATED_HMAC"
fi fi
# PKCS#7 # PKCS7
AC_ARG_ENABLE([pkcs7], AC_ARG_ENABLE([pkcs7],
[ --enable-pkcs7 Enable PKCS7 (default: disabled)], [ --enable-pkcs7 Enable PKCS7 (default: disabled)],
[ ENABLED_PKCS7=$enableval ], [ ENABLED_PKCS7=$enableval ],
[ ENABLED_PKCS7=no ] [ ENABLED_PKCS7=no ],
) )
if test "ENABLED_PKCS7" = "yes" if test "$ENABLED_PKCS7" = "yes"
then then
AM_CFLAGS="$AM_CFLAGS -DHAVE_PKCS7" AM_CFLAGS="$AM_CFLAGS -DHAVE_PKCS7"
fi fi