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"
66 # Do the releases and library versioning according to following rules:
68 # - If any code has changed in library, increment [LIB]_REVISION
69 # - If functions were added, set [LIB]_REVISION to 0
70 # - If functions were added, removed or changed, increment [LIB]_CURRENT
71 # - If functions were added, increment [LIB]_AGE
72 # - If functions were removed, set [LIB]_AGE to 0
74 # where [LIB] is LIBSILC and LIBSILCCLIENT, and where "functions" means
75 # functions public interfaces.
77 # The LIB_BASE_VERSION defines the SILC software major.minor version and
78 # it is increment only when these version numbers actually change.
81 # Base version for libraries. Do not change this unless SILC version
90 # libsilcclient versions
91 LIBSILCCLIENT_CURRENT=0
92 LIBSILCCLIENT_REVISION=0
95 # Substitute the version numbers
96 AC_SUBST(LIB_BASE_VERSION)
97 AC_SUBST(LIBSILC_CURRENT)
98 AC_SUBST(LIBSILC_REVISION)
100 AC_SUBST(LIBSILCCLIENT_CURRENT)
101 AC_SUBST(LIBSILCCLIENT_REVISION)
102 AC_SUBST(LIBSILCCLIENT_AGE)
111 AC_PATH_PROG(sedpath, sed)
119 # More header checking
121 AC_CHECK_HEADERS(unistd.h string.h getopt.h errno.h fcntl.h assert.h)
122 AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/time.h stddef.h)
123 AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h xti.h netdb.h)
124 AC_CHECK_HEADERS(pwd.h grp.h termcap.h paths.h)
125 AC_CHECK_HEADERS(ncurses.h signal.h ctype.h utime.h)
126 AC_CHECK_HEADERS(arpa/inet.h sys/mman.h limits.h termios.h locale.h langinfo.h)
136 AC_CHECK_SIZEOF(long long, 0)
137 AC_SUBST(SILC_SIZEOF_LONG_LONG, $ac_cv_sizeof_long_long)
138 AC_CHECK_SIZEOF(long, 0)
139 AC_SUBST(SILC_SIZEOF_LONG, $ac_cv_sizeof_long)
140 AC_CHECK_SIZEOF(int, 0)
141 AC_SUBST(SILC_SIZEOF_INT, $ac_cv_sizeof_int)
142 AC_CHECK_SIZEOF(short, 0)
143 AC_SUBST(SILC_SIZEOF_SHORT, $ac_cv_sizeof_short)
144 AC_CHECK_SIZEOF(char, 0)
145 AC_SUBST(SILC_SIZEOF_CHAR, $ac_cv_sizeof_char)
146 AC_CHECK_SIZEOF(void *, 0)
147 AC_SUBST(SILC_SIZEOF_VOID_P, $ac_cv_sizeof_void_p)
149 # Function and library checking
151 AC_CHECK_FUNC(gethostbyname, [],
153 AC_CHECK_LIB(nsl, gethostbyname, LIBS="$LIBS -lnsl")
154 AC_CHECK_FUNC(res_gethostbyname, [],
155 AC_CHECK_LIB(resolv, res_gethostbyname, LIBS="$LIBS -lresolv")
158 AC_CHECK_FUNC(socket, [],
159 AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
161 AC_CHECK_FUNCS(gethostname gethostbyaddr getservbyname getservbyport)
162 AC_CHECK_FUNCS(select listen bind shutdown close connect setsockopt)
163 AC_CHECK_FUNCS(time ctime utime gettimeofday)
164 AC_CHECK_FUNCS(chmod fcntl stat fstat getenv putenv strerror)
165 AC_CHECK_FUNCS(getpid getgid getsid getpgid getpgrp getuid)
166 AC_CHECK_FUNCS(setgroups initgroups nl_langinfo)
167 AC_CHECK_FUNCS(strchr strstr strcpy strncpy memcpy memset memmove)
169 # SIM support checking
170 # XXX These needs to be changed as more supported platforms appear.
171 # XXX This probably needs to be made platform dependant check.
174 AC_MSG_CHECKING(for SIM support)
176 AC_CHECK_HEADERS(dlfcn.h,
177 AC_CHECK_LIB(dl, dlopen,
184 AC_CHECK_LIB(c, dlopen,
192 AM_CONDITIONAL(SILC_SIM, test x$sim_support = xtrue)
193 if test x$sim_support = xtrue; then
194 AC_MSG_RESULT(Enabled SIM support.)
196 AC_MSG_RESULT(No SIM support found.)
199 # lib/contrib conditionals
201 AC_CHECK_HEADER(regex.h, have_regex=1, have_regex=0)
202 AM_CONDITIONAL(HAVE_REGEX, test x$have_regex = x1)
203 AC_CHECK_FUNC(getopt_long, have_getopt_long=1, have_getopt_long=0)
204 AM_CONDITIONAL(HAVE_GETOPT_LONG, test x$have_getopt_long = x1)
208 ## Enable/disable checking
213 AC_MSG_CHECKING(whether to enable IPv6 support)
215 [ --enable-ipv6 enable IPv6 support],
217 case "${enableval}" in
236 if test x$check_ipv6 = xtrue; then
240 #ifdef HAVE_SYS_TYPES_H
241 #include <sys/types.h>
243 #ifdef HAVE_NETINET_TCP_H
244 #include <netinet/tcp.h>
249 #include <sys/socket.h>
250 #ifdef HAVE_NETINET_IN_H
251 #include <netinet/in.h>
255 struct sockaddr_in6 sin6;
256 int family = AF_INET6;
269 AC_MSG_CHECKING(whether to enable debugging)
272 [ --enable-debug enable debugging],
274 case "${enableval}" in
277 AC_DEFINE(SILC_DEBUG)
278 CFLAGS="-O -g $CFLAGS"
283 CFLAGS="-O2 -g $CFLAGS"
288 CFLAGS="-O2 -g $CFLAGS"
292 # Stack trace checking
294 AC_MSG_CHECKING(whether to enable stack tracing)
295 summary_stacktrace="no"
296 AC_ARG_ENABLE(stack-trace,
297 [ --enable-stack-trace enable memory stack trace],
299 case "${enableval}" in
302 AC_DEFINE(SILC_STACKTRACE)
303 summary_stacktrace="yes"
313 # Disable all assembler optimizations
315 AC_MSG_CHECKING(whether to enable assembler optimizations)
318 [ --disable-asm do not use assembler optimizations],
332 # Default installation destination
334 AC_PREFIX_DEFAULT(/usr/local/silc)
335 if test "x$prefix" != xNONE; then
336 silc_prefix="$prefix"
338 silc_prefix="$ac_default_prefix"
343 if test "x$sysconfdir" != 'x${prefix}/etc'; then
346 ETCDIR="$silc_prefix/etc"
350 [[ --with-etcdir=DIR directory for system files [/etc/silc]]],
361 AC_DEFINE_UNQUOTED(SILC_ETCDIR, "$ETCDIR")
365 HELPDIR="$silc_prefix/help"
367 [[ --with-helpdir=DIR directory for SILC help files [PREFIX/help]]],
378 AC_DEFINE_UNQUOTED(SILC_HELPDIR, "$HELPDIR")
382 DOCDIR="$silc_prefix/doc"
384 [[ --with-docdir=DIR directory for SILC documentation [PREFIX/doc]]],
395 AC_DEFINE_UNQUOTED(SILC_DOCDIR, "$DOCDIR")
397 # SIM modules directory
399 MODULESDIR="$silc_prefix/modules"
401 [[ --with-simdir=DIR directory for SIM modules [PREFIX/modules]]],
407 MODULESDIR="$withval"
412 AC_DEFINE_UNQUOTED(SILC_MODULESDIR, "$MODULESDIR")
416 LOGSDIR="$silc_prefix/logs"
418 [[ --with-logsdir=DIR directory for SILC Server logs [PREFIX/logs]]],
429 AC_DEFINE_UNQUOTED(SILC_LOGSDIR, "$LOGSDIR")
431 # silcd config file checking
433 summary_silcd_configfile="/etc/silc/silcd.conf"
434 AC_ARG_WITH(silcd-config-file,
435 [[ --with-silcd-config-file=FILE use FILE as default configuration file
436 for SILC Server [/etc/silc/silcd.conf]]],
437 AC_DEFINE_UNQUOTED(SILC_SERVER_CONFIG_FILE, "$withval")
438 summary_silcd_configfile="$withval"
441 # silcd pid file checking
443 if test "x$localstatedir" != 'x${prefix}/var'; then
444 PIDFILE="$localstatedir/silcd.pid"
446 PIDFILE="$silc_prefix/var/silcd.pid"
449 AC_ARG_WITH(silcd-pid-file,
450 [[ --with-silcd-pid-file=FILE use FILE as default pid file for SILC
451 Server [/var/run/silcd.pid]]],
465 ## With/without checkings
468 # SOCKS4 support checking
471 SAVE_CFLAGS="$CFLAGS"
472 SAVE_LDFLAGS="$LDFLAGS"
473 AC_MSG_CHECKING(whether to support SOCKS4)
475 [[ --with-socks4[=DIR] with SOCKS4 support [search in DIR/lib and DIR/include]]],
485 if test -d "$withval/include"; then
486 CFLAGS="$CFLAGS -I$withval/include"
488 if test -d "$withval/lib"; then
489 LDFLAGS="$LDFLAGS -L$withval/lib"
501 AC_MSG_ERROR(Could not find SOCKS4 library.)
503 CFLAGS="$SAVE_CFLAGS"
504 LDFLAGS="$SAVE_LDFLAGS"
510 # SOCKS5 support checking
513 SAVE_CFLAGS="$CFLAGS"
514 SAVE_LDFLAGS="$LDFLAGS"
515 AC_MSG_CHECKING(whether to support SOCKS5)
517 [[ --with-socks5[=DIR] with SOCKS5 support [search in DIR/lib and DIR/include]]],
527 if test -d "$withval/include"; then
528 CFLAGS="$CFLAGS -I$withval/include"
530 if test -d "$withval/lib"; then
531 LDFLAGS="$LDFLAGS -L$withval/lib"
534 LIBS="-lsocks5 $LIBS"
543 AC_MSG_ERROR(Could not find SOCKS5 library.)
545 CFLAGS="$SAVE_CFLAGS"
546 LDFLAGS="$SAVE_LDFLAGS"
552 if test "x$socks" = "x4"; then
554 CFLAGS="$CFLAGS -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dbind=Rbind -Daccept=Raccept -Dlisten=Rlisten -Dselect=Rselect"
557 if test "x$socks" = "x5"; then
560 AC_DEFINE(Rconnect, SOCKSconnect)
561 AC_DEFINE(Rgetsockname, SOCKSgetsockname)
562 AC_DEFINE(Rgetpeername, SOCKSgetpeername)
563 AC_DEFINE(Rbind, SOCKSbind)
564 AC_DEFINE(Raccept, SOCKSaccept)
565 AC_DEFINE(Rlisten, SOCKSlisten)
566 AC_DEFINE(Rselect, SOCKSselect)
567 AC_DEFINE(Rrecvfrom, SOCKSrecvfrom)
568 AC_DEFINE(Rsendto, SOCKSsendto)
569 AC_DEFINE(Rrecv, SOCKSrecv)
570 AC_DEFINE(Rsend, SOCKSsend)
571 AC_DEFINE(Rread, SOCKSread)
572 AC_DEFINE(Rwrite, SOCKSwrite)
573 AC_DEFINE(Rrresvport, SOCKSrresvport)
574 AC_DEFINE(Rshutdown, SOCKSshutdown)
575 AC_DEFINE(Rlisten, SOCKSlisten)
576 AC_DEFINE(Rclose, SOCKSclose)
577 AC_DEFINE(Rdup, SOCKSdup)
578 AC_DEFINE(Rdup2, SOCKSdup2)
579 AC_DEFINE(Rfclose, SOCKSfclose)
580 AC_DEFINE(Rgethostbyname, SOCKSgethostbyname)
583 # MP library checking. First check whether user wants to use GMP and use
584 # it if found. If not or not defined then compile the MPI library in the
589 SAVE_CFLAGS="$CFLAGS"
590 SAVE_LDFLAGS="$LDFLAGS"
591 AC_MSG_CHECKING(whether to search for GMP)
593 [[ --with-gmp[=DIR] use GMP instead of MPI [search in DIR/lib and DIR/include]]],
602 if test -d "$withval/include"; then
603 CFLAGS="$CFLAGS -I$withval/include"
605 if test -d "$withval/lib"; then
606 LDFLAGS="$LDFLAGS -L$withval/lib"
613 AC_CHECK_LIB(gmp, __gmpz_init,
616 AC_DEFINE(SILC_MP_GMP)
617 AC_MSG_RESULT(Using GMP as a MP library.)
621 CFLAGS="$SAVE_CFLAGS"
622 LDFLAGS="$SAVE_LDFLAGS"
628 AM_CONDITIONAL(SILC_MP_GMP, test x$mp_gmp = xtrue)
629 AM_CONDITIONAL(SILC_MP_NSS_MPI, test x$mp_gmp = xfalse)
630 if test x$mp_gmp = xfalse; then
631 AC_DEFINE(SILC_MP_NSS_MPI)
632 AC_MSG_RESULT(Using NSS MPI as a MP library.)
640 SAVE_CFLAGS="$CFLAGS"
641 SAVE_LDFLAGS="$LDFLAGS"
642 SAVE_CPPFLAGS="$CPPFLAGS"
643 AC_MSG_CHECKING(whether to implicit search for libiconv)
645 [[ --with-iconv[=DIR] use libiconv [search in DIR/include and DIR/lib]]],
651 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNC(iconv, has_iconv=true))
657 if test -d $withval/include; then
658 CPPFLAGS="$CPPFLAGS -I$withval/include"
659 CFLAGS="$CFLAGS -I$withval/include"
661 if test -d $withval/lib; then
662 LDFLAGS="$LDFLAGS -L$withval/lib"
669 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNCS(iconv,
676 if test x$check_iconv = xtrue; then
677 AC_MSG_RESULT(starting search...)
680 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
682 AC_CHECK_HEADERS(iconv.h,
685 AC_MSG_CHECKING(for iconv in -liconv)
692 iconv_t cd = iconv_open("", "");
693 iconv(cd, NULL, NULL, NULL, NULL);
698 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
705 CFLAGS="$SAVE_CFLAGS"
706 LDFLAGS="$SAVE_LDFLAGS"
707 CPPFLAGS="$SAVE_CPPFLAGS"
712 if test x$check_iconv = xtrue; then
713 # search for iconv library..
715 SAVE_CFLAGS="$CFLAGS"
716 SAVE_LDFLAGS="$LDFLAGS"
717 SAVE_CPPFLAGS="$CPPFLAGS"
719 for dir in `echo "/usr/local /usr/pkg /usr/contrib"`; do
720 if test x$has_iconv = xfalse; then
721 AC_MSG_RESULT(searching in $dir...)
723 if test -d $dir/include; then
724 CPPFLAGS="$CPPFLAGS -I$dir/include"
725 CFLAGS="$CFLAGS -I$dir/include"
727 if test -d $dir/lib; then
728 LDFLAGS="$LDFLAGS -L$dir/lib"
732 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
734 AC_CHECK_HEADERS(iconv.h,
737 AC_MSG_CHECKING(for iconv in -liconv)
744 iconv_t cd = iconv_open("", "");
745 iconv(cd, NULL, NULL, NULL, NULL);
751 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
758 CFLAGS="$SAVE_CFLAGS"
759 LDFLAGS="$SAVE_LDFLAGS"
760 CPPFLAGS="$SAVE_CPPFLAGS"
764 CFLAGS="$SAVE_CFLAGS"
765 LDFLAGS="$SAVE_LDFLAGS"
766 CPPFLAGS="$SAVE_CPPFLAGS"
772 if test x$has_iconv = xtrue; then
773 # (1) Some implementations of iconv won't convert from UTF-8 to UTF-8.
774 # (2) In glibc-2.1.2 and earlier there is a bug that messes up ob and
775 # obl when args 2 and 3 are 0 (fixed in glibc-2.1.3).
777 AC_CACHE_CHECK([whether this iconv is good enough], ac_iconv_good,
788 ob = buf, obl = sizeof(buf);
789 return ((cd = iconv_open("UTF-8", "UTF-8")) != (iconv_t)(-1) &&
790 (iconv(cd, 0, 0, &ob, &obl) ||
791 !(ob == buf && obl == sizeof(buf)) ||
806 if test x$ac_iconv_good = xno; then
807 AC_MSG_RESULT(Try using libiconv instead.)
811 # POSIX threads support
814 AC_MSG_CHECKING(whether to search for POSIX threads)
815 AC_ARG_WITH(pthreads,
816 [[ --with-pthreads[=DIR] use POSIX threads [search in DIR/include and DIR/lib]]],
823 if test -d $withval/include; then
824 CPPFLAGS="$CPPFLAGS -I$withval/include"
825 CFLAGS="$CFLAGS -I$withval/include"
827 if test -d $withval/lib; then
828 LDFLAGS="$LDFLAGS -L$withval/lib"
836 if test x$check_threads = xtrue; then
838 SAVE_CFLAGS="$CFLAGS"
839 SAVE_LDFLAGS="$LDFLAGS"
840 SAVE_CPPFLAGS="$CPPFLAGS"
843 AC_CHECK_HEADERS(pthread.h,
845 LIBS="$LIBS -lpthread"
846 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
851 LIBS="$SAVE_LIBS -pthread"
852 AC_CHECK_LIB(c_r, pthread_attr_init, has_threads=true, LIBS="$SAVE_LIBS")
861 # search for pthread library..
862 for dir in `echo "/usr/local /usr/pkg /usr/contrib /usr/pkg/pthreads /usr/local/pthreads"`; do
863 if test x$has_threads = xfalse; then
864 AC_MSG_RESULT(searching in $dir...)
866 if test -d $dir/include; then
867 CPPFLAGS="$CPPFLAGS -I$dir/include"
868 CFLAGS="$CFLAGS -I$dir/include"
870 if test -d $dir/lib; then
871 LDFLAGS="$LDFLAGS -L$dir/lib"
875 unset ac_cv_header__pthread_h_ ac_cv_header_pthread_h || true
877 AC_CHECK_HEADERS(pthread.h,
879 LIBS="$LIBS -lpthread"
880 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
885 CFLAGS="$SAVE_CFLAGS"
886 LDFLAGS="$SAVE_LDFLAGS"
887 CPPFLAGS="$SAVE_CPPFLAGS"
891 CFLAGS="$SAVE_CFLAGS"
892 LDFLAGS="$SAVE_LDFLAGS"
893 CPPFLAGS="$SAVE_CPPFLAGS"
903 AM_CONDITIONAL(SILC_THREADS, test x$has_threads = xtrue)
904 if test x$has_threads = xtrue; then
905 CFLAGS="$CFLAGS -D_REENTRANT"
907 # XXX possibly incomplete
910 CFLAGS="$CFLAGS -D_THREAD_SAFE"
911 if test x"$GCC" = xyes; then
912 CFLAGS="$CFLAGS -mthreads"
916 CFLAGS="$CFLAGS -D_THREAD_SAFE"
918 *-*-sysv5uw7*) # UnixWare 7
919 if test "$GCC" != "yes"; then
920 CFLAGS="$CFLAGS -Kthread"
922 CFLAGS="$CFLAGS -pthread"
926 CFLAGS="$CFLAGS -D_POSIX4A_DRAFT10_SOURCE"
930 AC_CHECK_FUNC(pthread_create)
931 AC_DEFINE(SILC_HAVE_PTHREAD)
932 AC_DEFINE(SILC_THREADS)
935 # Native WIN32 compilation under cygwin
937 AC_MSG_CHECKING(whether to compile native WIN32 code)
939 [ --with-win32 compile native WIN32 code (-mno-cygwin)],
942 AC_DEFINE(SILC_WIN32)
944 CFLAGS="-mno-cygwin $CFLAGS"
945 LIBS="$LIBS -lwsock32"
950 AM_CONDITIONAL(SILC_WIN32, test x$win32_support = xtrue)
952 # Native EPOC support (disabled by default)
954 AM_CONDITIONAL(SILC_EPOC, test xfalse = xtrue)
956 # Native BeOS support (disabled by default)
958 AM_CONDITIONAL(SILC_BEOS, test xfalse = xtrue)
960 # Native OS2 support (disabled by default)
962 AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue)
967 AC_MSG_CHECKING(whether to compile Irssi SILC Client)
969 [ --without-irssi compile without Irssi SILC Client],
973 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/irssi//'`
982 AC_MSG_CHECKING(whether to compile SILC Server)
984 [ --without-silcd compile without SILC Server],
988 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/silcd//'`
999 # Other configure scripts
1001 if test x$without_irssi = xfalse; then
1002 if test "x$silc_dist" = "xsilc-client" ||
1003 test "x$silc_dist" = "xsilc-toolkit"; then
1004 AC_CONFIG_SUBDIRS(irssi)
1008 if test x$mp_gmp = xfalse; then
1009 AC_CONFIG_SUBDIRS(lib/silcmath/mpi)
1012 #AC_CONFIG_SUBDIRS(lib/zlib)
1014 SILC_TOP_SRCDIR=`pwd`
1015 AC_SUBST(SILC_TOP_SRCDIR)
1016 #SILC_INSTALL_PREFIX=$ac_default_prefix
1017 #AC_SUBST(SILC_INSTALL_PREFIX)
1019 INCLUDE_DEFINES_INT="include \$(top_srcdir)/Makefile.defines_int"
1020 AC_SUBST(INCLUDE_DEFINES_INT)
1021 AC_SUBST(SILC_DIST_SUBDIRS)
1028 Makefile.defines_int
1032 lib/contrib/Makefile
1033 lib/silccore/Makefile
1034 lib/silccrypt/Makefile
1035 lib/silcmath/Makefile
1036 lib/silcmath/mpi/Makefile.defines
1037 lib/silcmath/mpi/Makefile.defines_int
1038 lib/silcsim/Makefile
1039 lib/silcske/Makefile
1040 lib/silcutil/Makefile
1041 lib/silcutil/unix/Makefile
1042 lib/silcutil/win32/Makefile
1043 lib/silcutil/beos/Makefile
1044 lib/silcutil/os2/Makefile
1045 lib/silcutil/epoc/Makefile
1046 lib/silcsftp/Makefile
1047 lib/silcsftp/tests/Makefile
1048 doc/example_silcd.conf
1049 includes/silcincludes.h
1052 if test "x$silc_dist" = "xsilc-client" ||
1053 test "x$silc_dist" = "xsilc-toolkit"; then
1054 AC_CONFIG_FILES(lib/silcclient/Makefile)
1057 if test x$without_irssi = xfalse ; then
1058 if test "x$silc_dist" = "xsilc-client" ||
1059 test "x$silc_dist" = "xsilc-toolkit"; then
1061 irssi/Makefile.defines
1062 irssi/Makefile.defines_int
1067 if test x$without_silcd = xfalse ; then
1068 if test "x$silc_dist" = "xsilc-server" ||
1069 test "x$silc_dist" = "xsilc-toolkit"; then
1076 if test "x$silc_dist" = "xsilc-toolkit"; then
1080 win32/libsilc/Makefile
1081 win32/libsilcclient/Makefile
1083 tutorial/Makefile.defines
1084 tutorial/Makefile.defines_int
1090 s_bindir=`eval echo $bindir`;s_bindir=`eval echo $s_bindir`
1091 s_sbindir=`eval echo $sbindir`;s_sbindir=`eval echo $s_sbindir`
1092 s_mandir=`eval echo $mandir`;s_mandir=`eval echo $s_mandir`
1093 s_includedir=`eval echo $includedir`;s_includedir=`eval echo $s_includedir`
1096 echo "SILC Configuration Summary:"
1097 echo "---------------------------"
1098 echo " Target host ...................: $target"
1099 echo " Compiler ......................: $CC"
1100 echo " CFLAGS ........................: $CFLAGS"
1101 echo " CPPFLAGS ......................: $CPPFLAGS"
1102 echo " LDFLAGS .......................: $LDFLAGS"
1103 echo " LIBS ..........................: $LIBS"
1105 echo " Installation prefix ...........: $prefix"
1106 echo " bin directory .................: $s_bindir"
1107 echo " sbin directory ................: $s_sbindir"
1108 echo " man directory .................: $s_mandir"
1109 echo " help directory ................: $HELPDIR"
1110 echo " doc directory .................: $DOCDIR"
1111 echo " logs directory ................: $LOGSDIR"
1112 echo " SIM directory .................: $MODULESDIR"
1113 echo " include directory .............: $s_includedir"
1116 if test "x$silc_dist" = "xsilc-client" ||
1117 test "x$silc_dist" = "xsilc-toolkit"; then
1119 if test x$without_irssi = xtrue; then
1122 echo " Compile SILC Client ...........: $irssi"
1125 if test "x$silc_dist" = "xsilc-server" ||
1126 test "x$silc_dist" = "xsilc-toolkit"; then
1128 if test x$without_silcd = xtrue; then
1131 echo " Compile SILC Server ...........: $silcd"
1132 echo " Server configuration file .....: $summary_silcd_configfile"
1133 echo " Server PID file ...............: $PIDFILE"
1136 if test x$sim_support = xfalse; then
1141 echo " SIM support ...................: $sim_support"
1142 echo " IPv6 support ..................: $summary_ipv6"
1143 echo " Assembler optimizations .......: $summary_asm"
1146 if test x$mp_gmp = xtrue; then
1149 echo " Arithmetic library ............: $mp"
1152 if test x$has_threads = xtrue; then
1155 echo " Multi-threads support .........: $threads"
1156 echo " Debugging enabled .............: $summary_debug"
1157 echo " Stack-trace enabled ...........: $summary_stacktrace"
1159 if test "x$silc_dist" = "xsilc-client"; then
1160 echo "Compile the sources with 'make' or 'gmake' command (GNU make is required)."
1162 echo "Compile the sources with 'make' or 'gmake' command."