Created SILC Crypto Toolkit git repository.
[crypto.git] / lib / silccrypt / configure.ad
index 721bea2aca855da7f26da32ae1ffbabd8f6a566a..53949e4ad360ba7b11d654cee5cd1fb3763b7316 100644 (file)
@@ -1,10 +1,9 @@
-#ifdef SILC_DIST_CRYPTO
 #
 #  lib/silccrypt/configure.ad
 #
 #  Author: Pekka Riikonen <priikone@silcnet.org>
 #
-#  Copyright (C) 2006 - 2007 Pekka Riikonen
+#  Copyright (C) 2006 - 2008 Pekka Riikonen
 #
 #  This program is free software; you can redistribute it and/or modify
 #  it under the terms of the GNU General Public License as published by
@@ -16,8 +15,6 @@
 #  GNU General Public License for more details.
 #
 
-if test x$compile_libs = xtrue; then
-
 AC_MSG_NOTICE([configuring crypto library])
 SILC_CRYPTO_CFLAGS=
 
@@ -25,7 +22,7 @@ aes_asm=false
 
 case "$host_cpu" in
   i?86)
-    AC_DEFINE([SILC_SHA256_ASM], [], [SILC_SHA256_ASM])
+    AC_DEFINE([SILC_SHA256_X86], [], [SILC_SHA256_X86])
 
     if test "${pic_mode:-default}" != "yes" ; then
       # Don't enable ASM AES with shared libs as the code doesn't support PIC.
@@ -56,16 +53,5 @@ fi
 
 AC_SUBST(SILC_CRYPTO_CFLAGS)
 
-AC_CONFIG_FILES(
-lib/silccrypt/Makefile
-#ifdef SILC_DIST_INPLACE
-lib/silccrypt/tests/Makefile
-#endif SILC_DIST_INPLACE
-)
-
-fi     # compile_libs
-
 # AM_CONDITIONAL is so bad that it itself cannot be defined in conditional
 AM_CONDITIONAL(SILC_AES_ASM, test x$aes_asm = xtrue)
-
-#endif SILC_DIST_CRYPTO