__SILC_ENABLE_DEBUG=""
AC_PROG_RANLIB
+#ifndef SILC_DIST_TOOLKIT
AC_DISABLE_SHARED
+#endif SILC_DIST_TOOLKIT
AC_PROG_LIBTOOL
# Header checking
#
AC_CHECK_HEADER(regex.h,
[
- AC_DEFINE([HAVE_REGEX], [], [HAVE_REGEX])
+ AC_DEFINE([HAVE_REGEX_H], [], [HAVE_REGEX_H])
have_regex=1
], have_regex=0
)
#
AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue)
+# Make enable-shared aware
+AM_CONDITIONAL(SILC_ENABLE_SHARED, test "$enable_shared" = yes)
+
#ifdef SILC_DIST_TOOLKIT
# --with-irssi
#
AC_MSG_RESULT(no)
without_irssi=true
])
+AM_CONDITIONAL(with_irssi, test xwithout_irssi = xfalse)
# --with-silcd
#
without_silcd=true
])
#endif SILC_DIST_TOOLKIT
+#ifdef SILC_DIST_CLIENT
+AM_CONDITIONAL(with_irssi, true)
+#endif SILC_DIST_CLIENT
#ifdef SILC_DIST_INPLACE
without_irssi=false
without_silcd=false
## Misc
##
-# Make enable-shared aware
-AM_CONDITIONAL(SILC_ENABLE_SHARED, test "$enable_shared" = yes)
-
SILC_TOP_SRCDIR=`pwd`
# Included configure scripts