Build tls_test script only if TLS stack is enabled
authorMartin Willi <martin@revosec.ch>
Tue, 7 Sep 2010 08:21:44 +0000 (10:21 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 7 Sep 2010 08:21:44 +0000 (10:21 +0200)
scripts/Makefile.am

index 6a8c404..41a45f5 100644 (file)
@@ -3,7 +3,10 @@ AM_CFLAGS = \
 -DPLUGINS="\"${scripts_plugins}\""
 
 noinst_PROGRAMS = bin2array bin2sql id2sql key2keyid keyid2sql \
-       thread_analysis dh_speed pubkey_speed crypt_burn tls_test
+       thread_analysis dh_speed pubkey_speed crypt_burn
+if USE_TLS
+       noinst_PROGRAMS += tls_test
+endif
 bin2array_SOURCES = bin2array.c
 bin2sql_SOURCES = bin2sql.c
 id2sql_SOURCES = id2sql.c