From 9ee1111d8b8a73eb0b642a3f2a6db2294fd79f1c Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 28 Aug 2007 06:36:31 +0000 Subject: [PATCH] added --enable-integrity-test and --disable-self-test options --- configure.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/configure.in b/configure.in index b0e343930..f643478ce 100644 --- a/configure.in +++ b/configure.in @@ -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 )