+Sun May 13 19:32:09 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
+
+ * Do not compile anything in lib/silcsim/* if the SIM support
+ is not enabled. The tree should now compile without problems
+ under cygwin.
+
Thu May 10 22:49:51 EEST 2001 Pekka Riikonen <priikone@poseidon.pspt.fi>
* Compiled the SILC under cygwin. Compiled and tested briefly
o The CAST cipher is not compiled currently due to compilation errors;
check those. Cast is in lib/silccrypt/cast.c.
- o SIMs did not compile under cygwin.
-
TODO After 1.0
==============
# SIM support checking
# XXX These needs to be changed as more supported platforms appear.
# XXX This probably needs to be made platform dependant check.
+sim_support=false
+AM_CONDITIONAL(SILC_SIM, test x$sim_support = xtrue)
AC_CHECKING(for SIM support)
AC_CHECK_HEADERS(dlfcn.h,
AC_CHECK_LIB(dl, dlopen,
AC_DEFINE(SILC_SIM)
+ sim_support=true
+ AM_CONDITIONAL(SILC_SIM, test x$sim_support = xtrue)
AC_MSG_RESULT(enabled SIM support)
LIBS="$LIBS -ldl",
AC_MSG_RESULT(no SIM support found)),
AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
+if SILC_SIM
noinst_LIBRARIES = libsilcsim.a
+else
+noinst_LIBRARIES =
+endif
libsilcsim_a_SOURCES = \
silcsim.c \
md5.o \
sha1.o
+if SILC_SIM
all: $(SIM_CIPHER_OBJS) $(SIM_HASH_OBJS)
+endif
$(SIM_CIPHER_OBJS): ../silccrypt/libsilccrypt.a
rm -rf $*.c $*.o