added --enable-integrity-test and --disable-self-test options
This commit is contained in:
@@ -242,6 +242,29 @@ AC_ARG_ENABLE(
|
|||||||
)
|
)
|
||||||
AM_CONDITIONAL(USE_UML, test x$uml = xtrue)
|
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 =========================
|
||||||
dnl check required programs
|
dnl check required programs
|
||||||
dnl =========================
|
dnl =========================
|
||||||
@@ -336,4 +359,5 @@ AC_OUTPUT(
|
|||||||
src/openac/Makefile
|
src/openac/Makefile
|
||||||
src/scepclient/Makefile
|
src/scepclient/Makefile
|
||||||
src/dumm/Makefile
|
src/dumm/Makefile
|
||||||
|
testing/Makefile
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user