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"
70 AC_PATH_PROG(sedpath, sed)
78 # More header checking
80 AC_CHECK_HEADERS(unistd.h string.h getopt.h errno.h fcntl.h assert.h)
81 AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/time.h stddef.h)
82 AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h xti.h netdb.h)
83 AC_CHECK_HEADERS(pwd.h grp.h termcap.h paths.h)
84 AC_CHECK_HEADERS(ncurses.h signal.h ctype.h utime.h)
85 AC_CHECK_HEADERS(arpa/inet.h sys/mman.h limits.h termios.h locale.h langinfo.h)
95 AC_CHECK_SIZEOF(long long, 0)
96 AC_SUBST(SILC_SIZEOF_LONG_LONG, $ac_cv_sizeof_long_long)
97 AC_CHECK_SIZEOF(long, 0)
98 AC_SUBST(SILC_SIZEOF_LONG, $ac_cv_sizeof_long)
99 AC_CHECK_SIZEOF(int, 0)
100 AC_SUBST(SILC_SIZEOF_INT, $ac_cv_sizeof_int)
101 AC_CHECK_SIZEOF(short, 0)
102 AC_SUBST(SILC_SIZEOF_SHORT, $ac_cv_sizeof_short)
103 AC_CHECK_SIZEOF(char, 0)
104 AC_SUBST(SILC_SIZEOF_CHAR, $ac_cv_sizeof_char)
105 AC_CHECK_SIZEOF(void *, 0)
106 AC_SUBST(SILC_SIZEOF_VOID_P, $ac_cv_sizeof_void_p)
108 # Function and library checking
110 AC_CHECK_FUNC(gethostbyname, [],
112 AC_CHECK_LIB(nsl, gethostbyname, LIBS="$LIBS -lnsl")
113 AC_CHECK_FUNC(res_gethostbyname, [],
114 AC_CHECK_LIB(resolv, res_gethostbyname, LIBS="$LIBS -lresolv")
117 AC_CHECK_FUNC(socket, [],
118 AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
120 AC_CHECK_FUNCS(gethostname gethostbyaddr getservbyname getservbyport)
121 AC_CHECK_FUNCS(select listen bind shutdown close connect setsockopt)
122 AC_CHECK_FUNCS(time ctime utime gettimeofday)
123 AC_CHECK_FUNCS(chmod fcntl stat fstat getenv putenv strerror)
124 AC_CHECK_FUNCS(getpid getgid getsid getpgid getpgrp getuid)
125 AC_CHECK_FUNCS(setgroups initgroups nl_langinfo)
126 AC_CHECK_FUNCS(strchr strstr strcpy strncpy memcpy memset memmove)
128 # SIM support checking
129 # XXX These needs to be changed as more supported platforms appear.
130 # XXX This probably needs to be made platform dependant check.
133 AC_MSG_CHECKING(for SIM support)
135 AC_CHECK_HEADERS(dlfcn.h,
136 AC_CHECK_LIB(dl, dlopen,
143 AC_CHECK_LIB(c, dlopen,
151 AM_CONDITIONAL(SILC_SIM, test x$sim_support = xtrue)
152 if test x$sim_support = xtrue; then
153 AC_MSG_RESULT(Enabled SIM support.)
155 AC_MSG_RESULT(No SIM support found.)
158 # lib/contrib conditionals
160 AC_CHECK_HEADER(regex.h, have_regex=1, have_regex=0)
161 AM_CONDITIONAL(HAVE_REGEX, test x$have_regex = x1)
162 AC_CHECK_FUNC(getopt_long, have_getopt_long=1, have_getopt_long=0)
163 AM_CONDITIONAL(HAVE_GETOPT_LONG, test x$have_getopt_long = x1)
167 ## Enable/disable checking
172 AC_MSG_CHECKING(whether to enable IPv6 support)
174 [ --enable-ipv6 enable IPv6 support],
176 case "${enableval}" in
195 if test x$check_ipv6 = xtrue; then
199 #ifdef HAVE_SYS_TYPES_H
200 #include <sys/types.h>
202 #ifdef HAVE_NETINET_TCP_H
203 #include <netinet/tcp.h>
208 #include <sys/socket.h>
209 #ifdef HAVE_NETINET_IN_H
210 #include <netinet/in.h>
214 struct sockaddr_in6 sin6;
215 int family = AF_INET6;
228 AC_MSG_CHECKING(whether to enable debugging)
231 [ --enable-debug enable debugging],
233 case "${enableval}" in
236 AC_DEFINE(SILC_DEBUG)
237 CFLAGS="-O -g $CFLAGS"
242 CFLAGS="-O2 -g $CFLAGS"
247 CFLAGS="-O2 -g $CFLAGS"
251 # Stack trace checking
253 AC_MSG_CHECKING(whether to enable stack tracing)
254 summary_stacktrace="no"
255 AC_ARG_ENABLE(stack-trace,
256 [ --enable-stack-trace enable memory stack trace],
258 case "${enableval}" in
261 AC_DEFINE(SILC_STACKTRACE)
262 summary_stacktrace="yes"
272 # Disable all assembler optimizations
274 AC_MSG_CHECKING(whether to enable assembler optimizations)
277 [ --disable-asm do not use assembler optimizations],
291 # Default installation destination
293 AC_PREFIX_DEFAULT(/usr/local/silc)
294 if test "x$prefix" != xNONE; then
295 silc_prefix="$prefix"
297 silc_prefix="$ac_default_prefix"
302 if test "x$sysconfdir" != 'x${prefix}/etc'; then
305 ETCDIR="$silc_prefix/etc"
309 [[ --with-etcdir=DIR directory for system files [/etc/silc]]],
320 AC_DEFINE_UNQUOTED(SILC_ETCDIR, "$ETCDIR")
324 HELPDIR="$silc_prefix/help"
326 [[ --with-helpdir=DIR directory for SILC help files [PREFIX/help]]],
337 AC_DEFINE_UNQUOTED(SILC_HELPDIR, "$HELPDIR")
341 DOCDIR="$silc_prefix/doc"
343 [[ --with-docdir=DIR directory for SILC documentation [PREFIX/doc]]],
354 AC_DEFINE_UNQUOTED(SILC_DOCDIR, "$DOCDIR")
356 # SIM modules directory
358 MODULESDIR="$silc_prefix/modules"
360 [[ --with-simdir=DIR directory for SIM modules [PREFIX/modules]]],
366 MODULESDIR="$withval"
371 AC_DEFINE_UNQUOTED(SILC_MODULESDIR, "$MODULESDIR")
375 LOGSDIR="$silc_prefix/logs"
377 [[ --with-logsdir=DIR directory for SILC Server logs [PREFIX/logs]]],
388 AC_DEFINE_UNQUOTED(SILC_LOGSDIR, "$LOGSDIR")
390 # silcd config file checking
392 summary_silcd_configfile="/etc/silc/silcd.conf"
393 AC_ARG_WITH(silcd-config-file,
394 [[ --with-silcd-config-file=FILE use FILE as default configuration file
395 for SILC Server [/etc/silc/silcd.conf]]],
396 AC_DEFINE_UNQUOTED(SILC_SERVER_CONFIG_FILE, "$withval")
397 summary_silcd_configfile="$withval"
400 # silcd pid file checking
402 if test "x$localstatedir" != 'x${prefix}/var'; then
403 PIDFILE="$localstatedir/silcd.pid"
405 PIDFILE="$silc_prefix/var/silcd.pid"
408 AC_ARG_WITH(silcd-pid-file,
409 [[ --with-silcd-pid-file=FILE use FILE as default pid file for SILC
410 Server [/var/run/silcd.pid]]],
424 ## With/without checkings
427 # SOCKS4 support checking
430 SAVE_CFLAGS="$CFLAGS"
431 SAVE_LDFLAGS="$LDFLAGS"
432 AC_MSG_CHECKING(whether to support SOCKS4)
434 [[ --with-socks4[=DIR] with SOCKS4 support [search in DIR/lib and DIR/include]]],
444 if test -d "$withval/include"; then
445 CFLAGS="$CFLAGS -I$withval/include"
447 if test -d "$withval/lib"; then
448 LDFLAGS="$LDFLAGS -L$withval/lib"
460 AC_MSG_ERROR(Could not find SOCKS4 library.)
462 CFLAGS="$SAVE_CFLAGS"
463 LDFLAGS="$SAVE_LDFLAGS"
469 # SOCKS5 support checking
472 SAVE_CFLAGS="$CFLAGS"
473 SAVE_LDFLAGS="$LDFLAGS"
474 AC_MSG_CHECKING(whether to support SOCKS5)
476 [[ --with-socks5[=DIR] with SOCKS5 support [search in DIR/lib and DIR/include]]],
486 if test -d "$withval/include"; then
487 CFLAGS="$CFLAGS -I$withval/include"
489 if test -d "$withval/lib"; then
490 LDFLAGS="$LDFLAGS -L$withval/lib"
493 LIBS="-lsocks5 $LIBS"
502 AC_MSG_ERROR(Could not find SOCKS5 library.)
504 CFLAGS="$SAVE_CFLAGS"
505 LDFLAGS="$SAVE_LDFLAGS"
511 if test "x$socks" = "x4"; then
513 CFLAGS="$CFLAGS -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dbind=Rbind -Daccept=Raccept -Dlisten=Rlisten -Dselect=Rselect"
516 if test "x$socks" = "x5"; then
519 AC_DEFINE(Rconnect, SOCKSconnect)
520 AC_DEFINE(Rgetsockname, SOCKSgetsockname)
521 AC_DEFINE(Rgetpeername, SOCKSgetpeername)
522 AC_DEFINE(Rbind, SOCKSbind)
523 AC_DEFINE(Raccept, SOCKSaccept)
524 AC_DEFINE(Rlisten, SOCKSlisten)
525 AC_DEFINE(Rselect, SOCKSselect)
526 AC_DEFINE(Rrecvfrom, SOCKSrecvfrom)
527 AC_DEFINE(Rsendto, SOCKSsendto)
528 AC_DEFINE(Rrecv, SOCKSrecv)
529 AC_DEFINE(Rsend, SOCKSsend)
530 AC_DEFINE(Rread, SOCKSread)
531 AC_DEFINE(Rwrite, SOCKSwrite)
532 AC_DEFINE(Rrresvport, SOCKSrresvport)
533 AC_DEFINE(Rshutdown, SOCKSshutdown)
534 AC_DEFINE(Rlisten, SOCKSlisten)
535 AC_DEFINE(Rclose, SOCKSclose)
536 AC_DEFINE(Rdup, SOCKSdup)
537 AC_DEFINE(Rdup2, SOCKSdup2)
538 AC_DEFINE(Rfclose, SOCKSfclose)
539 AC_DEFINE(Rgethostbyname, SOCKSgethostbyname)
542 # MP library checking. First check whether user wants to use GMP and use
543 # it if found. If not or not defined then compile the MPI library in the
548 SAVE_CFLAGS="$CFLAGS"
549 SAVE_LDFLAGS="$LDFLAGS"
550 AC_MSG_CHECKING(whether to search for GMP)
552 [[ --with-gmp[=DIR] use GMP instead of MPI [search in DIR/lib and DIR/include]]],
561 if test -d "$withval/include"; then
562 CFLAGS="$CFLAGS -I$withval/include"
564 if test -d "$withval/lib"; then
565 LDFLAGS="$LDFLAGS -L$withval/lib"
572 AC_CHECK_LIB(gmp, __gmpz_init,
575 AC_DEFINE(SILC_MP_GMP)
576 AC_MSG_RESULT(Using GMP as a MP library.)
580 CFLAGS="$SAVE_CFLAGS"
581 LDFLAGS="$SAVE_LDFLAGS"
587 AM_CONDITIONAL(SILC_MP_GMP, test x$mp_gmp = xtrue)
588 AM_CONDITIONAL(SILC_MP_NSS_MPI, test x$mp_gmp = xfalse)
589 if test x$mp_gmp = xfalse; then
590 AC_DEFINE(SILC_MP_NSS_MPI)
591 AC_MSG_RESULT(Using NSS MPI as a MP library.)
599 SAVE_CFLAGS="$CFLAGS"
600 SAVE_LDFLAGS="$LDFLAGS"
601 SAVE_CPPFLAGS="$CPPFLAGS"
602 AC_MSG_CHECKING(whether to implicit search for libiconv)
604 [[ --with-iconv[=DIR] use libiconv [search in DIR/include and DIR/lib]]],
610 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNC(iconv, has_iconv=true))
616 if test -d $withval/include; then
617 CPPFLAGS="$CPPFLAGS -I$withval/include"
618 CFLAGS="$CFLAGS -I$withval/include"
620 if test -d $withval/lib; then
621 LDFLAGS="$LDFLAGS -L$withval/lib"
628 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNCS(iconv,
635 if test x$check_iconv = xtrue; then
636 AC_MSG_RESULT(starting search...)
639 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
641 AC_CHECK_HEADERS(iconv.h,
644 AC_MSG_CHECKING(for iconv in -liconv)
651 iconv_t cd = iconv_open("", "");
652 iconv(cd, NULL, NULL, NULL, NULL);
657 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
664 CFLAGS="$SAVE_CFLAGS"
665 LDFLAGS="$SAVE_LDFLAGS"
666 CPPFLAGS="$SAVE_CPPFLAGS"
671 if test x$check_iconv = xtrue; then
672 # search for iconv library..
674 SAVE_CFLAGS="$CFLAGS"
675 SAVE_LDFLAGS="$LDFLAGS"
676 SAVE_CPPFLAGS="$CPPFLAGS"
678 for dir in `echo "/usr/local /usr/pkg /usr/contrib"`; do
679 if test x$has_iconv = xfalse; then
680 AC_MSG_RESULT(searching in $dir...)
682 if test -d $dir/include; then
683 CPPFLAGS="$CPPFLAGS -I$dir/include"
684 CFLAGS="$CFLAGS -I$dir/include"
686 if test -d $dir/lib; then
687 LDFLAGS="$LDFLAGS -L$dir/lib"
691 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
693 AC_CHECK_HEADERS(iconv.h,
696 AC_MSG_CHECKING(for iconv in -liconv)
703 iconv_t cd = iconv_open("", "");
704 iconv(cd, NULL, NULL, NULL, NULL);
710 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
717 CFLAGS="$SAVE_CFLAGS"
718 LDFLAGS="$SAVE_LDFLAGS"
719 CPPFLAGS="$SAVE_CPPFLAGS"
723 CFLAGS="$SAVE_CFLAGS"
724 LDFLAGS="$SAVE_LDFLAGS"
725 CPPFLAGS="$SAVE_CPPFLAGS"
731 if test x$has_iconv = xtrue; then
732 # (1) Some implementations of iconv won't convert from UTF-8 to UTF-8.
733 # (2) In glibc-2.1.2 and earlier there is a bug that messes up ob and
734 # obl when args 2 and 3 are 0 (fixed in glibc-2.1.3).
736 AC_CACHE_CHECK([whether this iconv is good enough], ac_iconv_good,
747 ob = buf, obl = sizeof(buf);
748 return ((cd = iconv_open("UTF-8", "UTF-8")) != (iconv_t)(-1) &&
749 (iconv(cd, 0, 0, &ob, &obl) ||
750 !(ob == buf && obl == sizeof(buf)) ||
765 if test x$ac_iconv_good = xno; then
766 AC_MSG_RESULT(Try using libiconv instead.)
770 # POSIX threads support
773 AC_MSG_CHECKING(whether to search for POSIX threads)
774 AC_ARG_WITH(pthreads,
775 [[ --with-pthreads[=DIR] use POSIX threads [search in DIR/include and DIR/lib]]],
782 if test -d $withval/include; then
783 CPPFLAGS="$CPPFLAGS -I$withval/include"
784 CFLAGS="$CFLAGS -I$withval/include"
786 if test -d $withval/lib; then
787 LDFLAGS="$LDFLAGS -L$withval/lib"
795 if test x$check_threads = xtrue; then
797 SAVE_CFLAGS="$CFLAGS"
798 SAVE_LDFLAGS="$LDFLAGS"
799 SAVE_CPPFLAGS="$CPPFLAGS"
802 AC_CHECK_HEADERS(pthread.h,
804 LIBS="$LIBS -lpthread"
805 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
810 LIBS="$SAVE_LIBS -pthread"
811 AC_CHECK_LIB(c_r, pthread_attr_init, has_threads=true, LIBS="$SAVE_LIBS")
820 # search for pthread library..
821 for dir in `echo "/usr/local /usr/pkg /usr/contrib /usr/pkg/pthreads /usr/local/pthreads"`; do
822 if test x$has_threads = xfalse; then
823 AC_MSG_RESULT(searching in $dir...)
825 if test -d $dir/include; then
826 CPPFLAGS="$CPPFLAGS -I$dir/include"
827 CFLAGS="$CFLAGS -I$dir/include"
829 if test -d $dir/lib; then
830 LDFLAGS="$LDFLAGS -L$dir/lib"
834 unset ac_cv_header__pthread_h_ ac_cv_header_pthread_h || true
836 AC_CHECK_HEADERS(pthread.h,
838 LIBS="$LIBS -lpthread"
839 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
844 CFLAGS="$SAVE_CFLAGS"
845 LDFLAGS="$SAVE_LDFLAGS"
846 CPPFLAGS="$SAVE_CPPFLAGS"
850 CFLAGS="$SAVE_CFLAGS"
851 LDFLAGS="$SAVE_LDFLAGS"
852 CPPFLAGS="$SAVE_CPPFLAGS"
862 AM_CONDITIONAL(SILC_THREADS, test x$has_threads = xtrue)
863 if test x$has_threads = xtrue; then
864 CFLAGS="$CFLAGS -D_REENTRANT"
866 # XXX possibly incomplete
869 CFLAGS="$CFLAGS -D_THREAD_SAFE"
870 if test x"$GCC" = xyes; then
871 CFLAGS="$CFLAGS -mthreads"
875 CFLAGS="$CFLAGS -D_THREAD_SAFE"
877 *-*-sysv5uw7*) # UnixWare 7
878 if test "$GCC" != "yes"; then
879 CFLAGS="$CFLAGS -Kthread"
881 CFLAGS="$CFLAGS -pthread"
885 CFLAGS="$CFLAGS -D_POSIX4A_DRAFT10_SOURCE"
889 AC_CHECK_FUNC(pthread_create)
890 AC_DEFINE(SILC_HAVE_PTHREAD)
891 AC_DEFINE(SILC_THREADS)
894 # Native WIN32 compilation under cygwin
896 AC_MSG_CHECKING(whether to compile native WIN32 code)
898 [ --with-win32 compile native WIN32 code (-mno-cygwin)],
901 AC_DEFINE(SILC_WIN32)
903 CFLAGS="-mno-cygwin $CFLAGS"
904 LIBS="$LIBS -lwsock32"
909 AM_CONDITIONAL(SILC_WIN32, test x$win32_support = xtrue)
911 # Native EPOC support (disabled by default)
913 AM_CONDITIONAL(SILC_EPOC, test xfalse = xtrue)
915 # Native BeOS support (disabled by default)
917 AM_CONDITIONAL(SILC_BEOS, test xfalse = xtrue)
919 # Native OS2 support (disabled by default)
921 AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue)
926 AC_MSG_CHECKING(whether to compile Irssi SILC Client)
928 [ --without-irssi compile without Irssi SILC Client],
932 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/irssi//'`
941 AC_MSG_CHECKING(whether to compile SILC Server)
943 [ --without-silcd compile without SILC Server],
947 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/silcd//'`
958 # Other configure scripts
960 if test x$without_irssi = xfalse; then
961 if test "x$silc_dist" = "xsilc-client" ||
962 test "x$silc_dist" = "xsilc-toolkit"; then
963 AC_CONFIG_SUBDIRS(irssi)
967 if test x$mp_gmp = xfalse; then
968 AC_CONFIG_SUBDIRS(lib/silcmath/mpi)
971 #AC_CONFIG_SUBDIRS(lib/zlib)
973 SILC_TOP_SRCDIR=`pwd`
974 AC_SUBST(SILC_TOP_SRCDIR)
975 #SILC_INSTALL_PREFIX=$ac_default_prefix
976 #AC_SUBST(SILC_INSTALL_PREFIX)
978 INCLUDE_DEFINES_INT="include \$(top_srcdir)/Makefile.defines_int"
979 AC_SUBST(INCLUDE_DEFINES_INT)
980 AC_SUBST(SILC_DIST_SUBDIRS)
992 lib/silccore/Makefile
993 lib/silccrypt/Makefile
994 lib/silcmath/Makefile
995 lib/silcmath/mpi/Makefile.defines
996 lib/silcmath/mpi/Makefile.defines_int
999 lib/silcutil/Makefile
1000 lib/silcutil/unix/Makefile
1001 lib/silcutil/win32/Makefile
1002 lib/silcutil/beos/Makefile
1003 lib/silcutil/os2/Makefile
1004 lib/silcutil/epoc/Makefile
1005 lib/silcsftp/Makefile
1006 lib/silcsftp/tests/Makefile
1007 doc/example_silcd.conf
1008 includes/silcincludes.h
1011 if test "x$silc_dist" = "xsilc-client" ||
1012 test "x$silc_dist" = "xsilc-toolkit"; then
1013 AC_CONFIG_FILES(lib/silcclient/Makefile)
1016 if test x$without_irssi = xfalse ; then
1017 if test "x$silc_dist" = "xsilc-client" ||
1018 test "x$silc_dist" = "xsilc-toolkit"; then
1020 irssi/Makefile.defines
1021 irssi/Makefile.defines_int
1026 if test x$without_silcd = xfalse ; then
1027 if test "x$silc_dist" = "xsilc-server" ||
1028 test "x$silc_dist" = "xsilc-toolkit"; then
1035 if test "x$silc_dist" = "xsilc-toolkit"; then
1039 win32/libsilc/Makefile
1040 win32/libsilcclient/Makefile
1042 tutorial/Makefile.defines
1043 tutorial/Makefile.defines_int
1049 s_bindir=`eval echo $bindir`;s_bindir=`eval echo $s_bindir`
1050 s_sbindir=`eval echo $sbindir`;s_sbindir=`eval echo $s_sbindir`
1051 s_mandir=`eval echo $mandir`;s_mandir=`eval echo $s_mandir`
1052 s_includedir=`eval echo $includedir`;s_includedir=`eval echo $s_includedir`
1055 echo "SILC Configuration Summary:"
1056 echo "---------------------------"
1057 echo " Target host ...................: $target"
1058 echo " Compiler ......................: $CC"
1059 echo " CFLAGS ........................: $CFLAGS"
1060 echo " CPPFLAGS ......................: $CPPFLAGS"
1061 echo " LDFLAGS .......................: $LDFLAGS"
1062 echo " LIBS ..........................: $LIBS"
1064 echo " Installation prefix ...........: $prefix"
1065 echo " bin directory .................: $s_bindir"
1066 echo " sbin directory ................: $s_sbindir"
1067 echo " man directory .................: $s_mandir"
1068 echo " help directory ................: $HELPDIR"
1069 echo " doc directory .................: $DOCDIR"
1070 echo " logs directory ................: $LOGSDIR"
1071 echo " SIM directory .................: $MODULESDIR"
1072 echo " include directory .............: $s_includedir"
1075 if test "x$silc_dist" = "xsilc-client" ||
1076 test "x$silc_dist" = "xsilc-toolkit"; then
1078 if test x$without_irssi = xtrue; then
1081 echo " Compile SILC Client ...........: $irssi"
1084 if test "x$silc_dist" = "xsilc-server" ||
1085 test "x$silc_dist" = "xsilc-toolkit"; then
1087 if test x$without_silcd = xtrue; then
1090 echo " Compile SILC Server ...........: $silcd"
1091 echo " Server configuration file .....: $summary_silcd_configfile"
1092 echo " Server PID file ...............: $PIDFILE"
1095 if test x$sim_support = xfalse; then
1100 echo " SIM support ...................: $sim_support"
1101 echo " IPv6 support ..................: $summary_ipv6"
1102 echo " Assembler optimizations .......: $summary_asm"
1105 if test x$mp_gmp = xtrue; then
1108 echo " Arithmetic library ............: $mp"
1111 if test x$has_threads = xtrue; then
1114 echo " Multi-threads support .........: $threads"
1115 echo " Debugging enabled .............: $summary_debug"
1116 echo " Stack-trace enabled ...........: $summary_stacktrace"
1118 if test "x$silc_dist" = "xsilc-client"; then
1119 echo "Compile the sources with 'make' or 'gmake' command (GNU make is required)."
1121 echo "Compile the sources with 'make' or 'gmake' command."