4 # Author: Pekka Riikonen <priikone@silcnet.org>
6 # Copyright (C) 2000 - 2002 Pekka Riikonen
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
19 AC_INIT(includes/silcversion.h)
21 # Put here any platform specific stuff
36 # ./prepare script will automatically put the correct version. Do not edit!
38 AM_INIT_AUTOMAKE(SILC_PACKAGE, SILC_VERSION)
40 AC_CONFIG_HEADERS(includes/silcdefs.h)
49 # Distribution definition. ./prepare will automatically add here a correct
52 silc_dist=SILC_PACKAGE
53 SILC_DIST_SUBDIRS="SILC_DISTRIBUTION_SUBDIRS"
54 AC_DEFINE(SILC_DIST_DEFINE)
60 CFLAGS="-Wall -finline-functions $CFLAGS"
69 AC_PATH_PROG(sedpath, sed)
77 # More header checking
79 AC_CHECK_HEADERS(unistd.h string.h getopt.h errno.h fcntl.h assert.h)
80 AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/time.h stddef.h)
81 AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h xti.h netdb.h)
82 AC_CHECK_HEADERS(pwd.h grp.h termcap.h paths.h)
83 AC_CHECK_HEADERS(ncurses.h signal.h ctype.h utime.h)
84 AC_CHECK_HEADERS(arpa/inet.h sys/mman.h limits.h termios.h locale.h langinfo.h)
94 AC_CHECK_SIZEOF(long long, 0)
95 AC_SUBST(SILC_SIZEOF_LONG_LONG, $ac_cv_sizeof_long_long)
96 AC_CHECK_SIZEOF(long, 0)
97 AC_SUBST(SILC_SIZEOF_LONG, $ac_cv_sizeof_long)
98 AC_CHECK_SIZEOF(int, 0)
99 AC_SUBST(SILC_SIZEOF_INT, $ac_cv_sizeof_int)
100 AC_CHECK_SIZEOF(short, 0)
101 AC_SUBST(SILC_SIZEOF_SHORT, $ac_cv_sizeof_short)
102 AC_CHECK_SIZEOF(char, 0)
103 AC_SUBST(SILC_SIZEOF_CHAR, $ac_cv_sizeof_char)
104 AC_CHECK_SIZEOF(void *, 0)
105 AC_SUBST(SILC_SIZEOF_VOID_P, $ac_cv_sizeof_void_p)
107 # Function and library checking
109 AC_CHECK_FUNC(gethostbyname, [],
111 AC_CHECK_LIB(nsl, gethostbyname, LIBS="$LIBS -lnsl")
112 AC_CHECK_FUNC(res_gethostbyname, [],
113 AC_CHECK_LIB(resolv, res_gethostbyname, LIBS="$LIBS -lresolv")
116 AC_CHECK_FUNC(socket, [],
117 AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
119 AC_CHECK_FUNCS(gethostname gethostbyaddr getservbyname getservbyport)
120 AC_CHECK_FUNCS(select listen bind shutdown close connect setsockopt)
121 AC_CHECK_FUNCS(time ctime utime gettimeofday)
122 AC_CHECK_FUNCS(chmod fcntl stat fstat getenv putenv strerror)
123 AC_CHECK_FUNCS(getpid getgid getsid getpgid getpgrp getuid)
124 AC_CHECK_FUNCS(setgroups initgroups nl_langinfo)
125 AC_CHECK_FUNCS(strchr strstr strcpy strncpy memcpy memset memmove)
127 # SIM support checking
128 # XXX These needs to be changed as more supported platforms appear.
129 # XXX This probably needs to be made platform dependant check.
132 AC_MSG_CHECKING(for SIM support)
134 AC_CHECK_HEADERS(dlfcn.h,
135 AC_CHECK_LIB(dl, dlopen,
142 AC_CHECK_LIB(c, dlopen,
150 AM_CONDITIONAL(SILC_SIM, test x$sim_support = xtrue)
151 if test x$sim_support = xtrue; then
152 AC_MSG_RESULT(Enabled SIM support.)
154 AC_MSG_RESULT(No SIM support found.)
157 # lib/contrib conditionals
159 AC_CHECK_HEADER(regex.h, have_regex=1, have_regex=0)
160 AM_CONDITIONAL(HAVE_REGEX, test x$have_regex = x1)
161 AC_CHECK_FUNC(getopt_long, have_getopt_long=1, have_getopt_long=0)
162 AM_CONDITIONAL(HAVE_GETOPT_LONG, test x$have_getopt_long = x1)
166 ## Enable/disable checking
171 AC_MSG_CHECKING(whether to enable IPv6 support)
173 [ --enable-ipv6 enable IPv6 support],
175 case "${enableval}" in
194 if test x$check_ipv6 = xtrue; then
198 #ifdef HAVE_SYS_TYPES_H
199 #include <sys/types.h>
201 #ifdef HAVE_NETINET_TCP_H
202 #include <netinet/tcp.h>
207 #include <sys/socket.h>
208 #ifdef HAVE_NETINET_IN_H
209 #include <netinet/in.h>
213 struct sockaddr_in6 sin6;
214 int family = AF_INET6;
227 AC_MSG_CHECKING(whether to enable debugging)
230 [ --enable-debug enable debugging],
232 case "${enableval}" in
235 AC_DEFINE(SILC_DEBUG)
236 CFLAGS="-O -g $CFLAGS"
241 CFLAGS="-O2 -g $CFLAGS"
246 CFLAGS="-O2 -g $CFLAGS"
250 # Stack trace checking
252 AC_MSG_CHECKING(whether to enable stack tracing)
253 summary_stacktrace="no"
254 AC_ARG_ENABLE(stack-trace,
255 [ --enable-stack-trace enable memory stack trace],
257 case "${enableval}" in
260 AC_DEFINE(SILC_STACKTRACE)
261 summary_stacktrace="yes"
271 # Disable all assembler optimizations
273 AC_MSG_CHECKING(whether to enable assembler optimizations)
276 [ --disable-asm do not use assembler optimizations],
290 # Default installation destination
292 AC_PREFIX_DEFAULT(/usr/local/silc)
293 if test "x$prefix" != xNONE; then
294 silc_prefix="$prefix"
296 silc_prefix="$ac_default_prefix"
301 if test "x$sysconfdir" != 'x${prefix}/etc'; then
304 ETCDIR="$silc_prefix/etc"
308 [[ --with-etcdir=DIR directory for system files [/etc/silc]]],
319 AC_DEFINE_UNQUOTED(SILC_ETCDIR, "$ETCDIR")
323 HELPDIR="$silc_prefix/help"
325 [[ --with-helpdir=DIR directory for SILC help files [PREFIX/help]]],
336 AC_DEFINE_UNQUOTED(SILC_HELPDIR, "$HELPDIR")
340 DOCDIR="$silc_prefix/doc"
342 [[ --with-docdir=DIR directory for SILC documentation [PREFIX/doc]]],
353 AC_DEFINE_UNQUOTED(SILC_DOCDIR, "$DOCDIR")
355 # SIM modules directory
357 MODULESDIR="$silc_prefix/modules"
359 [[ --with-simdir=DIR directory for SIM modules [PREFIX/modules]]],
365 MODULESDIR="$withval"
370 AC_DEFINE_UNQUOTED(SILC_MODULESDIR, "$MODULESDIR")
374 LOGSDIR="$silc_prefix/logs"
376 [[ --with-logsdir=DIR directory for SILC Server logs [PREFIX/logs]]],
387 AC_DEFINE_UNQUOTED(SILC_LOGSDIR, "$LOGSDIR")
391 MANDIR="$silc_prefix/man"
393 [[ --with-mandir=DIR directory for SILC manual pages [PREFIX/man]]],
404 AC_DEFINE_UNQUOTED(SILC_MANDIR, "$MANDIR")
406 # silcd config file checking
408 summary_silcd_configfile="/etc/silc/silcd.conf"
409 AC_ARG_WITH(silcd-config-file,
410 [[ --with-silcd-config-file=FILE use FILE as default configuration file
411 for SILC Server [/etc/silc/silcd.conf]]],
412 AC_DEFINE_UNQUOTED(SILC_SERVER_CONFIG_FILE, "$withval")
413 summary_silcd_configfile="$withval"
416 # silcd pid file checking
418 if test "x$localstatedir" != 'x${prefix}/var'; then
419 PIDFILE="$localstatedir/silcd.pid"
421 PIDFILE="$silc_prefix/var/silcd.pid"
424 AC_ARG_WITH(silcd-pid-file,
425 [[ --with-silcd-pid-file=FILE use FILE as default pid file for SILC
426 Server [/var/run/silcd.pid]]],
440 ## With/without checkings
443 # SOCKS4 support checking
447 AC_MSG_CHECKING(whether to support SOCKS4)
449 [[ --with-socks4[=DIR] with SOCKS4 support [search in DIR/lib and DIR/include]]],
464 if test -d "$withval/include"; then
465 CFLAGS="$CFLAGS -I$withval/include"
467 CFLAGS="$CFLAGS -I$withval"
469 if test -d "$withval/lib"; then
470 withval="-L$withval/lib -lsocks"
472 withval="-L$withval -lsocks"
475 LIBS="$withval $LIBS"
484 AC_MSG_ERROR(Could not find SOCKS4 library.)
492 # SOCKS5 support checking
496 AC_MSG_CHECKING(whether to support SOCKS5)
498 [[ --with-socks5[=DIR] with SOCKS5 support [search in DIR/lib and DIR/include]]],
507 LIBS="-lsocks5 $LIBS"
513 if test -d "$withval/include"; then
514 CFLAGS="$CFLAGS -I$withval/include"
516 CFLAGS="$CFLAGS -I$withval"
518 if test -d "$withval/lib"; then
519 withval="-L$withval/lib -lsocks5"
521 withval="-L$withval -lsocks5"
524 LIBS="$withval $LIBS"
533 AC_MSG_ERROR(Could not find SOCKS5 library.)
541 if test "x$socks" = "x4"; then
543 CFLAGS="$CFLAGS -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dbind=Rbind -Daccept=Raccept -Dlisten=Rlisten -Dselect=Rselect"
546 if test "x$socks" = "x5"; then
549 AC_DEFINE(Rconnect, SOCKSconnect)
550 AC_DEFINE(Rgetsockname, SOCKSgetsockname)
551 AC_DEFINE(Rgetpeername, SOCKSgetpeername)
552 AC_DEFINE(Rbind, SOCKSbind)
553 AC_DEFINE(Raccept, SOCKSaccept)
554 AC_DEFINE(Rlisten, SOCKSlisten)
555 AC_DEFINE(Rselect, SOCKSselect)
556 AC_DEFINE(Rrecvfrom, SOCKSrecvfrom)
557 AC_DEFINE(Rsendto, SOCKSsendto)
558 AC_DEFINE(Rrecv, SOCKSrecv)
559 AC_DEFINE(Rsend, SOCKSsend)
560 AC_DEFINE(Rread, SOCKSread)
561 AC_DEFINE(Rwrite, SOCKSwrite)
562 AC_DEFINE(Rrresvport, SOCKSrresvport)
563 AC_DEFINE(Rshutdown, SOCKSshutdown)
564 AC_DEFINE(Rlisten, SOCKSlisten)
565 AC_DEFINE(Rclose, SOCKSclose)
566 AC_DEFINE(Rdup, SOCKSdup)
567 AC_DEFINE(Rdup2, SOCKSdup2)
568 AC_DEFINE(Rfclose, SOCKSfclose)
569 AC_DEFINE(Rgethostbyname, SOCKSgethostbyname)
572 # MP library checking. First check whether user wants to use GMP and use
573 # it if found. If not or not defined then compile the MPI library in the
579 AC_MSG_CHECKING(whether to search for GMP)
581 [[ --with-gmp[=DIR] use GMP instead of MPI [search in DIR/lib and DIR/include]]],
594 if test -d "$withval/include"; then
595 CFLAGS="$CFLAGS -I$withval/include"
597 CFLAGS="$CFLAGS -I$withval"
599 if test -d "$withval/lib"; then
600 withval="-L$withval/lib -lgmp"
602 withval="-L$withval -lgmp"
605 LIBS="$withval $LIBS"
609 AC_CHECK_LIB(gmp, __gmpz_init,
612 AC_DEFINE(SILC_MP_GMP)
613 AC_MSG_RESULT(Using GMP as a MP library.)
623 AM_CONDITIONAL(SILC_MP_GMP, test x$mp_gmp = xtrue)
624 AM_CONDITIONAL(SILC_MP_NSS_MPI, test x$mp_gmp = xfalse)
625 if test x$mp_gmp = xfalse; then
626 AC_DEFINE(SILC_MP_NSS_MPI)
627 AC_MSG_RESULT(Using NSS MPI as a MP library.)
634 AC_MSG_CHECKING(whether to implicit search for libiconv)
636 [[ --with-iconv[=DIR] use libiconv [search in DIR/include and DIR/lib]]],
642 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNC(iconv, has_iconv=true))
648 if test -d $withval/include; then
649 CPPFLAGS="$CPPFLAGS -I$withval/include"
650 CFLAGS="$CFLAGS -I$withval/include"
652 if test -d $withval/lib; then
653 LDFLAGS="$LDFLAGS -L$withval/lib"
660 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNCS(iconv,
667 if test x$check_iconv = xtrue; then
668 AC_MSG_RESULT(starting search...)
671 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
673 AC_CHECK_HEADERS(iconv.h,
676 AC_MSG_CHECKING(for iconv in -liconv)
683 iconv_t cd = iconv_open("", "");
684 iconv(cd, NULL, NULL, NULL, NULL);
689 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
699 if test x$check_iconv = xtrue; then
700 # search for iconv library..
701 SAVE_CPPFLAGS="$CPPFLAGS"
702 SAVE_CFLAGS="$CFLAGS"
703 SAVE_LDFLAGS="$LDFLAGS"
705 for dir in `echo "/usr/local /usr/pkg /usr/contrib"`; do
706 if test x$has_iconv = xfalse; then
707 AC_MSG_RESULT(searching in $dir...)
709 CPPFLAGS="$SAVE_CPPFLAGS"
710 CFLAGS="$SAVE_CFLAGS"
711 LDFLAGS="$SAVE_LDFLAGS"
713 if test -d $dir/include; then
714 CPPFLAGS="$CPPFLAGS -I$dir/include"
715 CFLAGS="$CFLAGS -I$dir/include"
717 if test -d $dir/lib; then
718 LDFLAGS="$LDFLAGS -L$dir/lib"
722 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
724 AC_CHECK_HEADERS(iconv.h,
727 AC_MSG_CHECKING(for iconv in -liconv)
734 iconv_t cd = iconv_open("", "");
735 iconv(cd, NULL, NULL, NULL, NULL);
741 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
752 if test x$has_iconv = xtrue; then
753 # (1) Some implementations of iconv won't convert from UTF-8 to UTF-8.
754 # (2) In glibc-2.1.2 and earlier there is a bug that messes up ob and
755 # obl when args 2 and 3 are 0 (fixed in glibc-2.1.3).
757 AC_CACHE_CHECK([whether this iconv is good enough], ac_iconv_good,
768 ob = buf, obl = sizeof(buf);
769 return ((cd = iconv_open("UTF-8", "UTF-8")) != (iconv_t)(-1) &&
770 (iconv(cd, 0, 0, &ob, &obl) ||
771 !(ob == buf && obl == sizeof(buf)) ||
786 if test x$ac_iconv_good = xno; then
787 AC_MSG_RESULT(Try using libiconv instead.)
791 # POSIX threads support
794 AC_MSG_CHECKING(whether to search for POSIX threads)
795 AC_ARG_WITH(pthreads,
796 [[ --with-pthreads[=DIR] use POSIX threads [search in DIR/include and DIR/lib]]],
803 if test -d $withval/include; then
804 CPPFLAGS="$CPPFLAGS -I$withval/include"
805 CFLAGS="$CFLAGS -I$withval/include"
807 if test -d $withval/lib; then
808 LDFLAGS="$LDFLAGS -L$withval/lib"
816 if test x$check_threads = xtrue; then
818 AC_CHECK_HEADERS(pthread.h,
821 LIBS="$LIBS -lpthread"
822 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
827 LIBS="$SAVE_LIBS -pthread"
828 AC_CHECK_LIB(c_r, pthread_attr_init, has_threads=true)
834 # search for pthread library..
835 SAVE_CPPFLAGS="$CPPFLAGS"
836 SAVE_CFLAGS="$CFLAGS"
837 SAVE_LDFLAGS="$LDFLAGS"
839 for dir in `echo "/usr/local /usr/pkg /usr/contrib /usr/pkg/pthreads /usr/local/pthreads"`; do
840 if test x$has_threads = xfalse; then
841 AC_MSG_RESULT(searching in $dir...)
843 CPPFLAGS="$SAVE_CPPFLAGS"
844 CFLAGS="$SAVE_CFLAGS"
845 LDFLAGS="$SAVE_LDFLAGS"
847 if test -d $dir/include; then
848 CPPFLAGS="$CPPFLAGS -I$dir/include"
849 CFLAGS="$CFLAGS -I$dir/include"
851 if test -d $dir/lib; then
852 LDFLAGS="$LDFLAGS -L$dir/lib"
856 unset ac_cv_header__pthread_h_ ac_cv_header_pthread_h || true
858 AC_CHECK_HEADERS(pthread.h,
860 LIBS="$LIBS -lpthread"
861 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
872 AM_CONDITIONAL(SILC_THREADS, test x$has_threads = xtrue)
873 if test x$has_threads = xtrue; then
874 CFLAGS="$CFLAGS -D_REENTRANT"
876 # XXX possibly incomplete
879 CFLAGS="$CFLAGS -D_THREAD_SAFE"
880 if test x"$GCC" = xyes; then
881 CFLAGS="$CFLAGS -mthreads"
885 CFLAGS="$CFLAGS -D_THREAD_SAFE"
887 *-*-sysv5uw7*) # UnixWare 7
888 if test "$GCC" != "yes"; then
889 CFLAGS="$CFLAGS -Kthread"
891 CFLAGS="$CFLAGS -pthread"
895 CFLAGS="$CFLAGS -D_POSIX4A_DRAFT10_SOURCE"
899 AC_CHECK_FUNC(pthread_create)
900 AC_DEFINE(SILC_HAVE_PTHREAD)
901 AC_DEFINE(SILC_THREADS)
904 # Native WIN32 compilation under cygwin
906 AC_MSG_CHECKING(whether to compile native WIN32 code)
908 [ --with-win32 compile native WIN32 code (-mno-cygwin)],
911 AC_DEFINE(SILC_WIN32)
913 CFLAGS="-mno-cygwin $CFLAGS"
914 LIBS="$LIBS -lwsock32"
919 AM_CONDITIONAL(SILC_WIN32, test x$win32_support = xtrue)
921 # Native EPOC support (disabled by default)
923 AM_CONDITIONAL(SILC_EPOC, test xfalse = xtrue)
925 # Native BeOS support (disabled by default)
927 AM_CONDITIONAL(SILC_BEOS, test xfalse = xtrue)
929 # Native OS2 support (disabled by default)
931 AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue)
936 AC_MSG_CHECKING(whether to compile Irssi SILC Client)
938 [ --without-irssi compile without Irssi SILC Client],
942 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/irssi//'`
951 AC_MSG_CHECKING(whether to compile SILC Server)
953 [ --without-silcd compile without SILC Server],
957 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/silcd//'`
968 # Other configure scripts
970 if test x$without_irssi = xfalse; then
971 if test "x$silc_dist" = "xsilc-client" ||
972 test "x$silc_dist" = "xsilc-toolkit"; then
973 AC_CONFIG_SUBDIRS(irssi)
977 if test x$mp_gmp = xfalse; then
978 AC_CONFIG_SUBDIRS(lib/silcmath/mpi)
981 #AC_CONFIG_SUBDIRS(lib/zlib)
983 SILC_TOP_SRCDIR=`pwd`
984 AC_SUBST(SILC_TOP_SRCDIR)
985 #SILC_INSTALL_PREFIX=$ac_default_prefix
986 #AC_SUBST(SILC_INSTALL_PREFIX)
988 INCLUDE_DEFINES_INT="include \$(top_srcdir)/Makefile.defines_int"
989 AC_SUBST(INCLUDE_DEFINES_INT)
990 AC_SUBST(SILC_DIST_SUBDIRS)
1001 lib/contrib/Makefile
1002 lib/silccore/Makefile
1003 lib/silccrypt/Makefile
1004 lib/silcmath/Makefile
1005 lib/silcmath/mpi/Makefile.defines
1006 lib/silcmath/mpi/Makefile.defines_int
1007 lib/silcsim/Makefile
1008 lib/silcske/Makefile
1009 lib/silcutil/Makefile
1010 lib/silcutil/unix/Makefile
1011 lib/silcutil/win32/Makefile
1012 lib/silcutil/beos/Makefile
1013 lib/silcutil/os2/Makefile
1014 lib/silcutil/epoc/Makefile
1015 lib/silcsftp/Makefile
1016 lib/silcsftp/tests/Makefile
1017 doc/example_silcd.conf
1018 includes/silcincludes.h
1021 if test "x$silc_dist" = "xsilc-client" ||
1022 test "x$silc_dist" = "xsilc-toolkit"; then
1023 AC_CONFIG_FILES(lib/silcclient/Makefile)
1026 if test x$without_irssi = xfalse ; then
1027 if test "x$silc_dist" = "xsilc-client" ||
1028 test "x$silc_dist" = "xsilc-toolkit"; then
1030 irssi/Makefile.defines
1031 irssi/Makefile.defines_int
1036 if test x$without_silcd = xfalse ; then
1037 if test "x$silc_dist" = "xsilc-server" ||
1038 test "x$silc_dist" = "xsilc-toolkit"; then
1045 if test "x$silc_dist" = "xsilc-toolkit"; then
1049 win32/libsilc/Makefile
1050 win32/libsilcclient/Makefile
1052 tutorial/Makefile.defines
1053 tutorial/Makefile.defines_int
1059 s_bindir=`eval echo $bindir`;s_bindir=`eval echo $s_bindir`
1060 s_sbindir=`eval echo $sbindir`;s_sbindir=`eval echo $s_sbindir`
1061 s_includedir=`eval echo $includedir`;s_includedir=`eval echo $s_includedir`
1064 echo "SILC Configuration Summary:"
1065 echo "---------------------------"
1066 echo " Target host ...................: $target"
1067 echo " Compiler ......................: $CC"
1068 echo " CFLAGS ........................: $CFLAGS"
1069 echo " CPPFLAGS ......................: $CPPFLAGS"
1070 echo " LDFLAGS .......................: $LDFLAGS"
1071 echo " LIBS ..........................: $LIBS"
1073 echo " Installation prefix ...........: $prefix"
1074 echo " bin directory .................: $s_bindir"
1075 echo " sbin directory ................: $s_sbindir"
1076 echo " man directory .................: $MANDIR"
1077 echo " help directory ................: $HELPDIR"
1078 echo " doc directory .................: $DOCDIR"
1079 echo " logs directory ................: $LOGSDIR"
1080 echo " SIM directory .................: $MODULESDIR"
1081 echo " include directory .............: $s_includedir"
1084 if test "x$silc_dist" = "xsilc-client" ||
1085 test "x$silc_dist" = "xsilc-toolkit"; then
1087 if test x$without_irssi = xtrue; then
1090 echo " Compile SILC Client ...........: $irssi"
1093 if test "x$silc_dist" = "xsilc-server" ||
1094 test "x$silc_dist" = "xsilc-toolkit"; then
1096 if test x$without_silcd = xtrue; then
1099 echo " Compile SILC Server ...........: $silcd"
1100 echo " Server configuration file .....: $summary_silcd_configfile"
1101 echo " Server PID file ...............: $PIDFILE"
1104 if test x$sim_support = xfalse; then
1109 echo " SIM support ...................: $sim_support"
1110 echo " IPv6 support ..................: $summary_ipv6"
1111 echo " Assmebler optimizations .......: $summary_asm"
1114 if test x$mp_gmp = xtrue; then
1117 echo " Arithmetic library ............: $mp"
1120 if test x$has_threads = xtrue; then
1123 echo " Multi-threads support .........: $threads"
1124 echo " Debugging enabled .............: $summary_debug"
1125 echo " Stack-trace enabled ...........: $summary_stacktrace"
1127 if test "x$silc_dist" = "xsilc-client"; then
1128 echo "Compile the sources with 'make' or 'gmake' command (GNU make is required)."
1130 echo "Compile the sources with 'make' or 'gmake' command."