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)
112 AC_PATH_PROG(sedpath, sed)
120 # More header checking
122 AC_CHECK_HEADERS(unistd.h string.h getopt.h errno.h fcntl.h assert.h)
123 AC_CHECK_HEADERS(sys/types.h sys/stat.h sys/time.h stddef.h)
124 AC_CHECK_HEADERS(netinet/in.h netinet/tcp.h xti.h netdb.h)
125 AC_CHECK_HEADERS(pwd.h grp.h termcap.h paths.h)
126 AC_CHECK_HEADERS(ncurses.h signal.h ctype.h utime.h)
127 AC_CHECK_HEADERS(arpa/inet.h sys/mman.h limits.h termios.h locale.h langinfo.h)
137 AC_CHECK_SIZEOF(long long, 0)
138 AC_SUBST(SILC_SIZEOF_LONG_LONG, $ac_cv_sizeof_long_long)
139 AC_CHECK_SIZEOF(long, 0)
140 AC_SUBST(SILC_SIZEOF_LONG, $ac_cv_sizeof_long)
141 AC_CHECK_SIZEOF(int, 0)
142 AC_SUBST(SILC_SIZEOF_INT, $ac_cv_sizeof_int)
143 AC_CHECK_SIZEOF(short, 0)
144 AC_SUBST(SILC_SIZEOF_SHORT, $ac_cv_sizeof_short)
145 AC_CHECK_SIZEOF(char, 0)
146 AC_SUBST(SILC_SIZEOF_CHAR, $ac_cv_sizeof_char)
147 AC_CHECK_SIZEOF(void *, 0)
148 AC_SUBST(SILC_SIZEOF_VOID_P, $ac_cv_sizeof_void_p)
150 # Function and library checking
152 AC_CHECK_FUNC(gethostbyname, [],
154 AC_CHECK_LIB(nsl, gethostbyname, LIBS="$LIBS -lnsl")
155 AC_CHECK_FUNC(res_gethostbyname, [],
156 AC_CHECK_LIB(resolv, res_gethostbyname, LIBS="$LIBS -lresolv")
159 AC_CHECK_FUNC(socket, [],
160 AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket")
162 AC_CHECK_FUNCS(gethostname gethostbyaddr getservbyname getservbyport)
163 AC_CHECK_FUNCS(select listen bind shutdown close connect setsockopt)
164 AC_CHECK_FUNCS(time ctime utime gettimeofday)
165 AC_CHECK_FUNCS(chmod fcntl stat fstat getenv putenv strerror)
166 AC_CHECK_FUNCS(getpid getgid getsid getpgid getpgrp getuid)
167 AC_CHECK_FUNCS(setgroups initgroups nl_langinfo)
168 AC_CHECK_FUNCS(strchr strstr strcpy strncpy memcpy memset memmove)
170 # SIM support checking
171 # XXX These needs to be changed as more supported platforms appear.
172 # XXX This probably needs to be made platform dependant check.
175 AC_MSG_CHECKING(for SIM support)
177 AC_CHECK_HEADERS(dlfcn.h,
178 AC_CHECK_LIB(dl, dlopen,
185 AC_CHECK_LIB(c, dlopen,
193 AM_CONDITIONAL(SILC_SIM, test x$sim_support = xtrue)
194 if test x$sim_support = xtrue; then
195 AC_MSG_RESULT(Enabled SIM support.)
197 AC_MSG_RESULT(No SIM support found.)
200 # lib/contrib conditionals
202 AC_CHECK_HEADER(regex.h, have_regex=1, have_regex=0)
203 AM_CONDITIONAL(HAVE_REGEX, test x$have_regex = x1)
204 AC_CHECK_FUNC(getopt_long, have_getopt_long=1, have_getopt_long=0)
205 AM_CONDITIONAL(HAVE_GETOPT_LONG, test x$have_getopt_long = x1)
209 ## Enable/disable checking
214 AC_MSG_CHECKING(whether to enable IPv6 support)
216 [ --enable-ipv6 enable IPv6 support],
218 case "${enableval}" in
237 if test x$check_ipv6 = xtrue; then
241 #ifdef HAVE_SYS_TYPES_H
242 #include <sys/types.h>
244 #ifdef HAVE_NETINET_TCP_H
245 #include <netinet/tcp.h>
250 #include <sys/socket.h>
251 #ifdef HAVE_NETINET_IN_H
252 #include <netinet/in.h>
256 struct sockaddr_in6 sin6;
257 int family = AF_INET6;
270 AC_MSG_CHECKING(whether to enable debugging)
273 [ --enable-debug enable debugging],
275 case "${enableval}" in
278 AC_DEFINE(SILC_DEBUG)
279 CFLAGS="-O -g $CFLAGS"
284 CFLAGS="-O2 -g $CFLAGS"
289 CFLAGS="-O2 -g $CFLAGS"
293 # Stack trace checking
295 AC_MSG_CHECKING(whether to enable stack tracing)
296 summary_stacktrace="no"
297 AC_ARG_ENABLE(stack-trace,
298 [ --enable-stack-trace enable memory stack trace],
300 case "${enableval}" in
303 AC_DEFINE(SILC_STACKTRACE)
304 summary_stacktrace="yes"
314 # Disable all assembler optimizations
316 AC_MSG_CHECKING(whether to enable assembler optimizations)
319 [ --disable-asm do not use assembler optimizations],
333 # Default installation destination
335 AC_PREFIX_DEFAULT(/usr/local/silc)
336 if test "x$prefix" != xNONE; then
337 silc_prefix="$prefix"
339 silc_prefix="$ac_default_prefix"
344 if test "x$sysconfdir" != 'x${prefix}/etc'; then
347 ETCDIR="$silc_prefix/etc"
351 [[ --with-etcdir=DIR directory for system files [/etc/silc]]],
362 AC_DEFINE_UNQUOTED(SILC_ETCDIR, "$ETCDIR")
366 HELPDIR="$silc_prefix/help"
368 [[ --with-helpdir=DIR directory for SILC help files [PREFIX/help]]],
379 AC_DEFINE_UNQUOTED(SILC_HELPDIR, "$HELPDIR")
383 DOCDIR="$silc_prefix/doc"
385 [[ --with-docdir=DIR directory for SILC documentation [PREFIX/doc]]],
396 AC_DEFINE_UNQUOTED(SILC_DOCDIR, "$DOCDIR")
398 # SIM modules directory
400 MODULESDIR="$silc_prefix/modules"
402 [[ --with-simdir=DIR directory for SIM modules [PREFIX/modules]]],
408 MODULESDIR="$withval"
413 AC_DEFINE_UNQUOTED(SILC_MODULESDIR, "$MODULESDIR")
417 LOGSDIR="$silc_prefix/logs"
419 [[ --with-logsdir=DIR directory for SILC Server logs [PREFIX/logs]]],
430 AC_DEFINE_UNQUOTED(SILC_LOGSDIR, "$LOGSDIR")
432 # silcd config file checking
434 summary_silcd_configfile="/etc/silc/silcd.conf"
435 AC_ARG_WITH(silcd-config-file,
436 [[ --with-silcd-config-file=FILE use FILE as default configuration file
437 for SILC Server [/etc/silc/silcd.conf]]],
438 AC_DEFINE_UNQUOTED(SILC_SERVER_CONFIG_FILE, "$withval")
439 summary_silcd_configfile="$withval"
442 # silcd pid file checking
444 if test "x$localstatedir" != 'x${prefix}/var'; then
445 PIDFILE="$localstatedir/silcd.pid"
447 PIDFILE="$silc_prefix/var/silcd.pid"
450 AC_ARG_WITH(silcd-pid-file,
451 [[ --with-silcd-pid-file=FILE use FILE as default pid file for SILC
452 Server [/var/run/silcd.pid]]],
466 ## With/without checkings
469 # SOCKS4 support checking
472 SAVE_CFLAGS="$CFLAGS"
473 SAVE_LDFLAGS="$LDFLAGS"
474 AC_MSG_CHECKING(whether to support SOCKS4)
476 [[ --with-socks4[=DIR] with SOCKS4 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"
502 AC_MSG_ERROR(Could not find SOCKS4 library.)
504 CFLAGS="$SAVE_CFLAGS"
505 LDFLAGS="$SAVE_LDFLAGS"
511 # SOCKS5 support checking
514 SAVE_CFLAGS="$CFLAGS"
515 SAVE_LDFLAGS="$LDFLAGS"
516 AC_MSG_CHECKING(whether to support SOCKS5)
518 [[ --with-socks5[=DIR] with SOCKS5 support [search in DIR/lib and DIR/include]]],
528 if test -d "$withval/include"; then
529 CFLAGS="$CFLAGS -I$withval/include"
531 if test -d "$withval/lib"; then
532 LDFLAGS="$LDFLAGS -L$withval/lib"
535 LIBS="-lsocks5 $LIBS"
544 AC_MSG_ERROR(Could not find SOCKS5 library.)
546 CFLAGS="$SAVE_CFLAGS"
547 LDFLAGS="$SAVE_LDFLAGS"
553 if test "x$socks" = "x4"; then
555 CFLAGS="$CFLAGS -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dbind=Rbind -Daccept=Raccept -Dlisten=Rlisten -Dselect=Rselect"
558 if test "x$socks" = "x5"; then
561 AC_DEFINE(Rconnect, SOCKSconnect)
562 AC_DEFINE(Rgetsockname, SOCKSgetsockname)
563 AC_DEFINE(Rgetpeername, SOCKSgetpeername)
564 AC_DEFINE(Rbind, SOCKSbind)
565 AC_DEFINE(Raccept, SOCKSaccept)
566 AC_DEFINE(Rlisten, SOCKSlisten)
567 AC_DEFINE(Rselect, SOCKSselect)
568 AC_DEFINE(Rrecvfrom, SOCKSrecvfrom)
569 AC_DEFINE(Rsendto, SOCKSsendto)
570 AC_DEFINE(Rrecv, SOCKSrecv)
571 AC_DEFINE(Rsend, SOCKSsend)
572 AC_DEFINE(Rread, SOCKSread)
573 AC_DEFINE(Rwrite, SOCKSwrite)
574 AC_DEFINE(Rrresvport, SOCKSrresvport)
575 AC_DEFINE(Rshutdown, SOCKSshutdown)
576 AC_DEFINE(Rlisten, SOCKSlisten)
577 AC_DEFINE(Rclose, SOCKSclose)
578 AC_DEFINE(Rdup, SOCKSdup)
579 AC_DEFINE(Rdup2, SOCKSdup2)
580 AC_DEFINE(Rfclose, SOCKSfclose)
581 AC_DEFINE(Rgethostbyname, SOCKSgethostbyname)
584 # MP library checking. First check whether user wants to use GMP and use
585 # it if found. If not or not defined then compile the MPI library in the
590 SAVE_CFLAGS="$CFLAGS"
591 SAVE_LDFLAGS="$LDFLAGS"
592 AC_MSG_CHECKING(whether to search for GMP)
594 [[ --with-gmp[=DIR] use GMP instead of MPI [search in DIR/lib and DIR/include]]],
603 if test -d "$withval/include"; then
604 CFLAGS="$CFLAGS -I$withval/include"
606 if test -d "$withval/lib"; then
607 LDFLAGS="$LDFLAGS -L$withval/lib"
614 AC_CHECK_LIB(gmp, __gmpz_init,
617 AC_DEFINE(SILC_MP_GMP)
618 AC_MSG_RESULT(Using GMP as a MP library.)
622 CFLAGS="$SAVE_CFLAGS"
623 LDFLAGS="$SAVE_LDFLAGS"
629 AM_CONDITIONAL(SILC_MP_GMP, test x$mp_gmp = xtrue)
630 AM_CONDITIONAL(SILC_MP_NSS_MPI, test x$mp_gmp = xfalse)
631 if test x$mp_gmp = xfalse; then
632 AC_DEFINE(SILC_MP_NSS_MPI)
633 AC_MSG_RESULT(Using NSS MPI as a MP library.)
641 SAVE_CFLAGS="$CFLAGS"
642 SAVE_LDFLAGS="$LDFLAGS"
643 SAVE_CPPFLAGS="$CPPFLAGS"
644 AC_MSG_CHECKING(whether to implicit search for libiconv)
646 [[ --with-iconv[=DIR] use libiconv [search in DIR/include and DIR/lib]]],
652 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNC(iconv, has_iconv=true))
658 if test -d $withval/include; then
659 CPPFLAGS="$CPPFLAGS -I$withval/include"
660 CFLAGS="$CFLAGS -I$withval/include"
662 if test -d $withval/lib; then
663 LDFLAGS="$LDFLAGS -L$withval/lib"
670 AC_CHECK_HEADERS(iconv.h, AC_CHECK_FUNCS(iconv,
677 if test x$check_iconv = xtrue; then
678 AC_MSG_RESULT(starting search...)
681 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
683 AC_CHECK_HEADERS(iconv.h,
686 AC_MSG_CHECKING(for iconv in -liconv)
693 iconv_t cd = iconv_open("", "");
694 iconv(cd, NULL, NULL, NULL, NULL);
699 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
706 CFLAGS="$SAVE_CFLAGS"
707 LDFLAGS="$SAVE_LDFLAGS"
708 CPPFLAGS="$SAVE_CPPFLAGS"
713 if test x$check_iconv = xtrue; then
714 # search for iconv library..
716 SAVE_CFLAGS="$CFLAGS"
717 SAVE_LDFLAGS="$LDFLAGS"
718 SAVE_CPPFLAGS="$CPPFLAGS"
720 for dir in `echo "/usr/local /usr/pkg /usr/contrib"`; do
721 if test x$has_iconv = xfalse; then
722 AC_MSG_RESULT(searching in $dir...)
724 if test -d $dir/include; then
725 CPPFLAGS="$CPPFLAGS -I$dir/include"
726 CFLAGS="$CFLAGS -I$dir/include"
728 if test -d $dir/lib; then
729 LDFLAGS="$LDFLAGS -L$dir/lib"
733 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
735 AC_CHECK_HEADERS(iconv.h,
738 AC_MSG_CHECKING(for iconv in -liconv)
745 iconv_t cd = iconv_open("", "");
746 iconv(cd, NULL, NULL, NULL, NULL);
752 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
759 CFLAGS="$SAVE_CFLAGS"
760 LDFLAGS="$SAVE_LDFLAGS"
761 CPPFLAGS="$SAVE_CPPFLAGS"
765 CFLAGS="$SAVE_CFLAGS"
766 LDFLAGS="$SAVE_LDFLAGS"
767 CPPFLAGS="$SAVE_CPPFLAGS"
773 if test x$has_iconv = xtrue; then
774 # (1) Some implementations of iconv won't convert from UTF-8 to UTF-8.
775 # (2) In glibc-2.1.2 and earlier there is a bug that messes up ob and
776 # obl when args 2 and 3 are 0 (fixed in glibc-2.1.3).
778 AC_CACHE_CHECK([whether this iconv is good enough], ac_iconv_good,
789 ob = buf, obl = sizeof(buf);
790 return ((cd = iconv_open("UTF-8", "UTF-8")) != (iconv_t)(-1) &&
791 (iconv(cd, 0, 0, &ob, &obl) ||
792 !(ob == buf && obl == sizeof(buf)) ||
807 if test x$ac_iconv_good = xno; then
808 AC_MSG_RESULT(Try using libiconv instead.)
812 # POSIX threads support
815 AC_MSG_CHECKING(whether to search for POSIX threads)
816 AC_ARG_WITH(pthreads,
817 [[ --with-pthreads[=DIR] use POSIX threads [search in DIR/include and DIR/lib]]],
824 if test -d $withval/include; then
825 CPPFLAGS="$CPPFLAGS -I$withval/include"
826 CFLAGS="$CFLAGS -I$withval/include"
828 if test -d $withval/lib; then
829 LDFLAGS="$LDFLAGS -L$withval/lib"
837 if test x$check_threads = xtrue; then
839 SAVE_CFLAGS="$CFLAGS"
840 SAVE_LDFLAGS="$LDFLAGS"
841 SAVE_CPPFLAGS="$CPPFLAGS"
844 AC_CHECK_HEADERS(pthread.h,
846 LIBS="$LIBS -lpthread"
847 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
852 LIBS="$SAVE_LIBS -pthread"
853 AC_CHECK_LIB(c_r, pthread_attr_init, has_threads=true, LIBS="$SAVE_LIBS")
862 # search for pthread library..
863 for dir in `echo "/usr/local /usr/pkg /usr/contrib /usr/pkg/pthreads /usr/local/pthreads"`; do
864 if test x$has_threads = xfalse; then
865 AC_MSG_RESULT(searching in $dir...)
867 if test -d $dir/include; then
868 CPPFLAGS="$CPPFLAGS -I$dir/include"
869 CFLAGS="$CFLAGS -I$dir/include"
871 if test -d $dir/lib; then
872 LDFLAGS="$LDFLAGS -L$dir/lib"
876 unset ac_cv_header__pthread_h_ ac_cv_header_pthread_h || true
878 AC_CHECK_HEADERS(pthread.h,
880 LIBS="$LIBS -lpthread"
881 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
886 CFLAGS="$SAVE_CFLAGS"
887 LDFLAGS="$SAVE_LDFLAGS"
888 CPPFLAGS="$SAVE_CPPFLAGS"
892 CFLAGS="$SAVE_CFLAGS"
893 LDFLAGS="$SAVE_LDFLAGS"
894 CPPFLAGS="$SAVE_CPPFLAGS"
904 AM_CONDITIONAL(SILC_THREADS, test x$has_threads = xtrue)
905 if test x$has_threads = xtrue; then
906 CFLAGS="$CFLAGS -D_REENTRANT"
908 # XXX possibly incomplete
911 CFLAGS="$CFLAGS -D_THREAD_SAFE"
912 if test x"$GCC" = xyes; then
913 CFLAGS="$CFLAGS -mthreads"
917 CFLAGS="$CFLAGS -D_THREAD_SAFE"
919 *-*-sysv5uw7*) # UnixWare 7
920 if test "$GCC" != "yes"; then
921 CFLAGS="$CFLAGS -Kthread"
923 CFLAGS="$CFLAGS -pthread"
927 CFLAGS="$CFLAGS -D_POSIX4A_DRAFT10_SOURCE"
931 AC_CHECK_FUNC(pthread_create)
932 AC_DEFINE(SILC_HAVE_PTHREAD)
933 AC_DEFINE(SILC_THREADS)
936 # Native WIN32 compilation under cygwin
938 AC_MSG_CHECKING(whether to compile native WIN32 code)
940 [ --with-win32 compile native WIN32 code (-mno-cygwin)],
943 AC_DEFINE(SILC_WIN32)
945 CFLAGS="-mno-cygwin $CFLAGS"
946 LIBS="$LIBS -lwsock32"
951 AM_CONDITIONAL(SILC_WIN32, test x$win32_support = xtrue)
953 # Native EPOC support (disabled by default)
955 AM_CONDITIONAL(SILC_EPOC, test xfalse = xtrue)
957 # Native BeOS support (disabled by default)
959 AM_CONDITIONAL(SILC_BEOS, test xfalse = xtrue)
961 # Native OS2 support (disabled by default)
963 AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue)
968 AC_MSG_CHECKING(whether to compile Irssi SILC Client)
970 [ --without-irssi compile without Irssi SILC Client],
974 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/irssi//'`
983 AC_MSG_CHECKING(whether to compile SILC Server)
985 [ --without-silcd compile without SILC Server],
989 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/silcd//'`
1000 # Other configure scripts
1002 if test x$without_irssi = xfalse; then
1003 if test "x$silc_dist" = "xsilc-client" ||
1004 test "x$silc_dist" = "xsilc-toolkit"; then
1005 AC_CONFIG_SUBDIRS(irssi)
1009 if test x$mp_gmp = xfalse; then
1010 AC_CONFIG_SUBDIRS(lib/silcmath/mpi)
1013 #AC_CONFIG_SUBDIRS(lib/zlib)
1015 SILC_TOP_SRCDIR=`pwd`
1016 AC_SUBST(SILC_TOP_SRCDIR)
1017 #SILC_INSTALL_PREFIX=$ac_default_prefix
1018 #AC_SUBST(SILC_INSTALL_PREFIX)
1020 INCLUDE_DEFINES_INT="include \$(top_srcdir)/Makefile.defines_int"
1021 AC_SUBST(INCLUDE_DEFINES_INT)
1022 AC_SUBST(SILC_DIST_SUBDIRS)
1029 Makefile.defines_int
1033 lib/contrib/Makefile
1034 lib/silccore/Makefile
1035 lib/silccrypt/Makefile
1036 lib/silccrypt/tests/Makefile
1037 lib/silcmath/Makefile
1038 lib/silcmath/mpi/Makefile.defines
1039 lib/silcmath/mpi/Makefile.defines_int
1040 lib/silcsim/Makefile
1041 lib/silcske/Makefile
1042 lib/silcutil/Makefile
1043 lib/silcutil/unix/Makefile
1044 lib/silcutil/win32/Makefile
1045 lib/silcutil/beos/Makefile
1046 lib/silcutil/os2/Makefile
1047 lib/silcutil/epoc/Makefile
1048 lib/silcsftp/Makefile
1049 lib/silcsftp/tests/Makefile
1050 doc/example_silcd.conf
1051 includes/silcincludes.h
1054 if test "x$silc_dist" = "xsilc-client" ||
1055 test "x$silc_dist" = "xsilc-toolkit"; then
1056 AC_CONFIG_FILES(lib/silcclient/Makefile)
1059 if test x$without_irssi = xfalse ; then
1060 if test "x$silc_dist" = "xsilc-client" ||
1061 test "x$silc_dist" = "xsilc-toolkit"; then
1063 irssi/Makefile.defines
1064 irssi/Makefile.defines_int
1069 if test x$without_silcd = xfalse ; then
1070 if test "x$silc_dist" = "xsilc-server" ||
1071 test "x$silc_dist" = "xsilc-toolkit"; then
1078 if test "x$silc_dist" = "xsilc-toolkit"; then
1082 win32/libsilc/Makefile
1083 win32/libsilcclient/Makefile
1085 tutorial/Makefile.defines
1086 tutorial/Makefile.defines_int
1092 s_bindir=`eval echo $bindir`;s_bindir=`eval echo $s_bindir`
1093 s_sbindir=`eval echo $sbindir`;s_sbindir=`eval echo $s_sbindir`
1094 s_mandir=`eval echo $mandir`;s_mandir=`eval echo $s_mandir`
1095 s_includedir=`eval echo $includedir`;s_includedir=`eval echo $s_includedir`
1098 echo "SILC Configuration Summary:"
1099 echo "---------------------------"
1100 echo " Target host ...................: $target"
1101 echo " Compiler ......................: $CC"
1102 echo " CFLAGS ........................: $CFLAGS"
1103 echo " CPPFLAGS ......................: $CPPFLAGS"
1104 echo " LDFLAGS .......................: $LDFLAGS"
1105 echo " LIBS ..........................: $LIBS"
1107 echo " Installation prefix ...........: $prefix"
1108 echo " bin directory .................: $s_bindir"
1109 echo " sbin directory ................: $s_sbindir"
1110 echo " man directory .................: $s_mandir"
1111 echo " help directory ................: $HELPDIR"
1112 echo " doc directory .................: $DOCDIR"
1113 echo " logs directory ................: $LOGSDIR"
1114 echo " SIM directory .................: $MODULESDIR"
1115 echo " include directory .............: $s_includedir"
1118 if test "x$silc_dist" = "xsilc-client" ||
1119 test "x$silc_dist" = "xsilc-toolkit"; then
1121 if test x$without_irssi = xtrue; then
1124 echo " Compile SILC Client ...........: $irssi"
1127 if test "x$silc_dist" = "xsilc-server" ||
1128 test "x$silc_dist" = "xsilc-toolkit"; then
1130 if test x$without_silcd = xtrue; then
1133 echo " Compile SILC Server ...........: $silcd"
1134 echo " Server configuration file .....: $summary_silcd_configfile"
1135 echo " Server PID file ...............: $PIDFILE"
1138 if test x$sim_support = xfalse; then
1143 echo " SIM support ...................: $sim_support"
1144 echo " IPv6 support ..................: $summary_ipv6"
1145 echo " Assembler optimizations .......: $summary_asm"
1148 if test x$mp_gmp = xtrue; then
1151 echo " Arithmetic library ............: $mp"
1154 if test x$has_threads = xtrue; then
1157 echo " Multi-threads support .........: $threads"
1158 echo " Debugging enabled .............: $summary_debug"
1159 echo " Stack-trace enabled ...........: $summary_stacktrace"
1161 if test "x$silc_dist" = "xsilc-client"; then
1162 echo "Compile the sources with 'make' or 'gmake' command (GNU make is required)."
1164 echo "Compile the sources with 'make' or 'gmake' command."