added --enable-integrity-test and --disable-self-test options

This commit is contained in:
Andreas Steffen 2007-08-28 06:36:31 +00:00
parent 0739cca9d1
commit 9ee1111d8b
1 changed files with 24 additions and 0 deletions

View File

@ -242,6 +242,29 @@ AC_ARG_ENABLE(
)
AM_CONDITIONAL(USE_UML, test x$uml = xtrue)
AC_ARG_ENABLE(
[integrity-test],
AS_HELP_STRING([--enable-integrity-test],[enable the integrity test of the crypto library (default is NO).]),
[if test x$enableval = xyes; then
integrity_test=true
AC_DEFINE(INTEGRITY_TEST)
fi]
)
AM_CONDITIONAL(USE_INTEGRITY_TEST, test x$integrity_test = xtrue)
AC_ARG_ENABLE(
[self_test],
AS_HELP_STRING([--disable-self-test],[disable the self-test of crypto library (default is NO).]),
[if test x$enableval = xyes; then
self_test=true
else
self_test=false
AC_DEFINE(NO_SELF_TEST)
fi],
self_test=true
)
AM_CONDITIONAL(USE_SELF_TEST, test x$self_test = xtrue)
dnl =========================
dnl check required programs
dnl =========================
@ -336,4 +359,5 @@ AC_OUTPUT(
src/openac/Makefile
src/scepclient/Makefile
src/dumm/Makefile
testing/Makefile
)