__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
-# --without-irssi
+# --with-irssi
#
-without_irssi=false
+without_irssi=true
AC_MSG_CHECKING(whether to compile Irssi SILC Client)
AC_ARG_WITH(irssi,
- [ --without-irssi compile without Irssi SILC Client],
+ [ --with-irssi compile with Irssi SILC Client],
[
- AC_MSG_RESULT(no)
- without_irssi=true
+ AC_MSG_RESULT(yes)
+ without_irssi=false
],
[
- AC_MSG_RESULT(yes)
+ AC_MSG_RESULT(no)
+ without_irssi=true
])
+AM_CONDITIONAL(with_irssi, test xwithout_irssi = xfalse)
-# --without-silcd
+# --with-silcd
#
-without_silcd=false
+without_silcd=true
AC_MSG_CHECKING(whether to compile SILC Server)
AC_ARG_WITH(silcd,
- [ --without-silcd compile without SILC Server],
+ [ --with-silcd compile with SILC Server],
[
- AC_MSG_RESULT(no)
- without_silcd=true
+ AC_MSG_RESULT(yes)
+ without_silcd=false
],
[
- AC_MSG_RESULT(yes)
+ AC_MSG_RESULT(no)
+ 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
+#endif SILC_DIST_INPLACE
libtoolfix=true
AC_MSG_CHECKING(whether to do libtoolfix)
## Misc
##
-# Make enable-shared aware
-AM_CONDITIONAL(SILC_ENABLE_SHARED, test "$enable_shared" = yes)
-
SILC_TOP_SRCDIR=`pwd`
# Included configure scripts
echo " etc directory .................: $ETCDIR"
echo " man directory .................: $s_mandir"
echo " doc directory .................: $DOCDIR"
-#ifdef SILC_DIST_CLIENT
-echo " help directory ................: $HELPDIR"
-#endif SILC_DIST_CLIENT
-#ifdef SILC_DIST_SERVER
-echo " logs directory ................: $LOGSDIR"
-#endif SILC_DIST_SERVER
#ifdef SILC_DIST_SIM
echo " SIM directory .................: $MODULESDIR"
#endif SILC_DIST_SIM
#ifdef SILC_DIST_SERVER
echo " Compile SILC Server ...........: $silcd"
-echo " Server configuration file .....: $summary_silcd_configfile"
-echo " Server PID file ...............: $PIDFILE"
#endif SILC_DIST_SERVER
#ifdef SILC_DIST_SIM