added --enable-integrity-test and --disable-self-test options
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 28 Aug 2007 06:36:31 +0000 (06:36 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 28 Aug 2007 06:36:31 +0000 (06:36 -0000)
configure.in

index b0e3439..f643478 100644 (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
 )