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=1
92 LIBSILCCLIENT_REVISION=1
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,
179 AC_CHECK_LIB(dl, dlopen,
186 AC_CHECK_LIB(c, dlopen,
194 AM_CONDITIONAL(SILC_SIM, test x$sim_support = xtrue)
195 if test x$sim_support = xtrue; then
196 AC_MSG_RESULT(Enabled SIM support.)
198 AC_MSG_RESULT(No SIM support found.)
201 # lib/contrib conditionals
203 AC_CHECK_HEADER(regex.h, have_regex=1, have_regex=0)
204 AM_CONDITIONAL(HAVE_REGEX, test x$have_regex = x1)
205 AC_CHECK_FUNC(getopt_long, have_getopt_long=1, have_getopt_long=0)
206 AM_CONDITIONAL(HAVE_GETOPT_LONG, test x$have_getopt_long = x1)
210 ## Enable/disable checking
215 AC_MSG_CHECKING(whether to enable IPv6 support)
217 [ --enable-ipv6 enable IPv6 support],
219 case "${enableval}" in
238 if test x$check_ipv6 = xtrue; then
242 #ifdef HAVE_SYS_TYPES_H
243 #include <sys/types.h>
245 #ifdef HAVE_NETINET_TCP_H
246 #include <netinet/tcp.h>
251 #include <sys/socket.h>
252 #ifdef HAVE_NETINET_IN_H
253 #include <netinet/in.h>
257 struct sockaddr_in6 sin6;
258 int family = AF_INET6;
271 AC_MSG_CHECKING(whether to enable debugging)
274 [ --enable-debug enable debugging],
276 case "${enableval}" in
279 AC_DEFINE(SILC_DEBUG)
280 CFLAGS="-O -g $CFLAGS"
285 CFLAGS="-O2 -g $CFLAGS"
290 CFLAGS="-O2 -g $CFLAGS"
294 # Stack trace checking
296 AC_MSG_CHECKING(whether to enable stack tracing)
297 summary_stacktrace="no"
298 AC_ARG_ENABLE(stack-trace,
299 [ --enable-stack-trace enable memory stack trace],
301 case "${enableval}" in
304 AC_DEFINE(SILC_STACKTRACE)
305 summary_stacktrace="yes"
315 # Disable all assembler optimizations
317 AC_MSG_CHECKING(whether to enable assembler optimizations)
320 [ --disable-asm do not use assembler optimizations],
334 # Default installation destination
336 AC_PREFIX_DEFAULT(/usr/local/silc)
337 if test "x$prefix" != xNONE; then
338 silc_prefix="$prefix"
340 silc_prefix="$ac_default_prefix"
345 if test "x$sysconfdir" != 'x${prefix}/etc'; then
348 ETCDIR="$silc_prefix/etc"
352 [[ --with-etcdir=DIR directory for system files [/etc/silc]]],
363 AC_DEFINE_UNQUOTED(SILC_ETCDIR, "$ETCDIR")
367 HELPDIR="$silc_prefix/help"
369 [[ --with-helpdir=DIR directory for SILC help files [PREFIX/help]]],
380 AC_DEFINE_UNQUOTED(SILC_HELPDIR, "$HELPDIR")
384 DOCDIR="$silc_prefix/doc"
386 [[ --with-docdir=DIR directory for SILC documentation [PREFIX/doc]]],
397 AC_DEFINE_UNQUOTED(SILC_DOCDIR, "$DOCDIR")
399 # SIM modules directory
401 MODULESDIR="$silc_prefix/modules"
403 [[ --with-simdir=DIR directory for SIM modules [PREFIX/modules]]],
409 MODULESDIR="$withval"
414 AC_DEFINE_UNQUOTED(SILC_MODULESDIR, "$MODULESDIR")
418 LOGSDIR="$silc_prefix/logs"
420 [[ --with-logsdir=DIR directory for SILC Server logs [PREFIX/logs]]],
431 AC_DEFINE_UNQUOTED(SILC_LOGSDIR, "$LOGSDIR")
433 # silcd config file checking
435 summary_silcd_configfile="/etc/silc/silcd.conf"
436 AC_ARG_WITH(silcd-config-file,
437 [[ --with-silcd-config-file=FILE use FILE as default configuration file
438 for SILC Server [/etc/silc/silcd.conf]]],
439 AC_DEFINE_UNQUOTED(SILC_SERVER_CONFIG_FILE, "$withval")
440 summary_silcd_configfile="$withval"
443 # silcd pid file checking
445 if test "x$localstatedir" != 'x${prefix}/var'; then
446 PIDFILE="$localstatedir/silcd.pid"
448 PIDFILE="$silc_prefix/var/silcd.pid"
451 AC_ARG_WITH(silcd-pid-file,
452 [[ --with-silcd-pid-file=FILE use FILE as default pid file for SILC
453 Server [/var/run/silcd.pid]]],
467 ## With/without checkings
470 # SOCKS4 support checking
473 SAVE_CFLAGS="$CFLAGS"
474 SAVE_LDFLAGS="$LDFLAGS"
475 AC_MSG_CHECKING(whether to support SOCKS4)
477 [[ --with-socks4[=DIR] with SOCKS4 support [search in DIR/lib and DIR/include]]],
487 if test -d "$withval/include"; then
488 CFLAGS="$CFLAGS -I$withval/include"
490 if test -d "$withval/lib"; then
491 LDFLAGS="$LDFLAGS -L$withval/lib"
503 AC_MSG_ERROR(Could not find SOCKS4 library.)
505 CFLAGS="$SAVE_CFLAGS"
506 LDFLAGS="$SAVE_LDFLAGS"
512 # SOCKS5 support checking
515 SAVE_CFLAGS="$CFLAGS"
516 SAVE_LDFLAGS="$LDFLAGS"
517 AC_MSG_CHECKING(whether to support SOCKS5)
519 [[ --with-socks5[=DIR] with SOCKS5 support [search in DIR/lib and DIR/include]]],
529 if test -d "$withval/include"; then
530 CFLAGS="$CFLAGS -I$withval/include"
532 if test -d "$withval/lib"; then
533 LDFLAGS="$LDFLAGS -L$withval/lib"
536 LIBS="-lsocks5 $LIBS"
545 AC_MSG_ERROR(Could not find SOCKS5 library.)
547 CFLAGS="$SAVE_CFLAGS"
548 LDFLAGS="$SAVE_LDFLAGS"
554 if test "x$socks" = "x4"; then
556 CFLAGS="$CFLAGS -Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dbind=Rbind -Daccept=Raccept -Dlisten=Rlisten -Dselect=Rselect"
559 if test "x$socks" = "x5"; then
562 AC_DEFINE(Rconnect, SOCKSconnect)
563 AC_DEFINE(Rgetsockname, SOCKSgetsockname)
564 AC_DEFINE(Rgetpeername, SOCKSgetpeername)
565 AC_DEFINE(Rbind, SOCKSbind)
566 AC_DEFINE(Raccept, SOCKSaccept)
567 AC_DEFINE(Rlisten, SOCKSlisten)
568 AC_DEFINE(Rselect, SOCKSselect)
569 AC_DEFINE(Rrecvfrom, SOCKSrecvfrom)
570 AC_DEFINE(Rsendto, SOCKSsendto)
571 AC_DEFINE(Rrecv, SOCKSrecv)
572 AC_DEFINE(Rsend, SOCKSsend)
573 AC_DEFINE(Rread, SOCKSread)
574 AC_DEFINE(Rwrite, SOCKSwrite)
575 AC_DEFINE(Rrresvport, SOCKSrresvport)
576 AC_DEFINE(Rshutdown, SOCKSshutdown)
577 AC_DEFINE(Rlisten, SOCKSlisten)
578 AC_DEFINE(Rclose, SOCKSclose)
579 AC_DEFINE(Rdup, SOCKSdup)
580 AC_DEFINE(Rdup2, SOCKSdup2)
581 AC_DEFINE(Rfclose, SOCKSfclose)
582 AC_DEFINE(Rgethostbyname, SOCKSgethostbyname)
585 # MP library checking. First check whether user wants to use GMP and use
586 # it if found. If not or not defined then compile the MPI library in the
591 SAVE_CFLAGS="$CFLAGS"
592 SAVE_LDFLAGS="$LDFLAGS"
593 AC_MSG_CHECKING(whether to search for GMP)
595 [[ --with-gmp[=DIR] use GMP instead of MPI [search in DIR/lib and DIR/include]]],
604 if test -d "$withval/include"; then
605 CFLAGS="$CFLAGS -I$withval/include"
607 if test -d "$withval/lib"; then
608 LDFLAGS="$LDFLAGS -L$withval/lib"
615 AC_CHECK_LIB(gmp, __gmpz_init,
618 AC_DEFINE(SILC_MP_GMP)
619 AC_MSG_RESULT(Using GMP as a MP library.)
623 CFLAGS="$SAVE_CFLAGS"
624 LDFLAGS="$SAVE_LDFLAGS"
630 AM_CONDITIONAL(SILC_MP_GMP, test x$mp_gmp = xtrue)
631 AM_CONDITIONAL(SILC_MP_NSS_MPI, test x$mp_gmp = xfalse)
632 if test x$mp_gmp = xfalse; then
633 AC_DEFINE(SILC_MP_NSS_MPI)
634 AC_MSG_RESULT(Using NSS MPI as a MP library.)
642 SAVE_CFLAGS="$CFLAGS"
643 SAVE_LDFLAGS="$LDFLAGS"
644 SAVE_CPPFLAGS="$CPPFLAGS"
645 AC_MSG_CHECKING(whether to implicit search for libiconv)
647 [[ --with-iconv[=DIR] use libiconv [search in DIR/include and DIR/lib]]],
652 AC_CHECK_HEADERS(iconv.h,
654 AC_CHECK_FUNC(iconv, has_iconv=true)
660 if test -d $withval/include; then
661 CPPFLAGS="$CPPFLAGS -I$withval/include"
662 CFLAGS="$CFLAGS -I$withval/include"
664 if test -d $withval/lib; then
665 LDFLAGS="$LDFLAGS -L$withval/lib"
672 AC_CHECK_HEADERS(iconv.h,
674 AC_CHECK_FUNCS(iconv,
682 if test x$check_iconv = xtrue; then
683 AC_MSG_RESULT(starting search...)
686 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
688 AC_CHECK_HEADERS(iconv.h,
691 AC_MSG_CHECKING(for iconv in -liconv)
698 iconv_t cd = iconv_open("", "");
699 iconv(cd, NULL, NULL, NULL, NULL);
704 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
711 CFLAGS="$SAVE_CFLAGS"
712 LDFLAGS="$SAVE_LDFLAGS"
713 CPPFLAGS="$SAVE_CPPFLAGS"
718 if test x$check_iconv = xtrue; then
719 # search for iconv library..
721 SAVE_CFLAGS="$CFLAGS"
722 SAVE_LDFLAGS="$LDFLAGS"
723 SAVE_CPPFLAGS="$CPPFLAGS"
725 for dir in `echo "/usr/local /usr/pkg /usr/contrib"`; do
726 if test x$has_iconv = xfalse; then
727 AC_MSG_RESULT(searching in $dir...)
729 if test -d $dir/include; then
730 CPPFLAGS="$CPPFLAGS -I$dir/include"
731 CFLAGS="$CFLAGS -I$dir/include"
733 if test -d $dir/lib; then
734 LDFLAGS="$LDFLAGS -L$dir/lib"
738 unset ac_cv_header__iconv_h_ ac_cv_header_iconv_h || true
740 AC_CHECK_HEADERS(iconv.h,
743 AC_MSG_CHECKING(for iconv in -liconv)
750 iconv_t cd = iconv_open("", "");
751 iconv(cd, NULL, NULL, NULL, NULL);
757 AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
764 CFLAGS="$SAVE_CFLAGS"
765 LDFLAGS="$SAVE_LDFLAGS"
766 CPPFLAGS="$SAVE_CPPFLAGS"
770 CFLAGS="$SAVE_CFLAGS"
771 LDFLAGS="$SAVE_LDFLAGS"
772 CPPFLAGS="$SAVE_CPPFLAGS"
778 if test x$has_iconv = xtrue; then
779 # (1) Some implementations of iconv won't convert from UTF-8 to UTF-8.
780 # (2) In glibc-2.1.2 and earlier there is a bug that messes up ob and
781 # obl when args 2 and 3 are 0 (fixed in glibc-2.1.3).
783 AC_CACHE_CHECK([whether this iconv is good enough], ac_iconv_good,
794 ob = buf, obl = sizeof(buf);
795 return ((cd = iconv_open("UTF-8", "UTF-8")) != (iconv_t)(-1) &&
796 (iconv(cd, 0, 0, &ob, &obl) ||
797 !(ob == buf && obl == sizeof(buf)) ||
812 if test x$ac_iconv_good = xno; then
813 AC_MSG_RESULT(Try using libiconv instead.)
817 # POSIX threads support
820 AC_MSG_CHECKING(whether to search for POSIX threads)
821 AC_ARG_WITH(pthreads,
822 [[ --with-pthreads[=DIR] use POSIX threads [search in DIR/include and DIR/lib]]],
829 if test -d $withval/include; then
830 CPPFLAGS="$CPPFLAGS -I$withval/include"
831 CFLAGS="$CFLAGS -I$withval/include"
833 if test -d $withval/lib; then
834 LDFLAGS="$LDFLAGS -L$withval/lib"
842 if test x$check_threads = xtrue; then
844 SAVE_CFLAGS="$CFLAGS"
845 SAVE_LDFLAGS="$LDFLAGS"
846 SAVE_CPPFLAGS="$CPPFLAGS"
849 AC_CHECK_HEADERS(pthread.h,
851 LIBS="$LIBS -lpthread"
852 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
857 LIBS="$SAVE_LIBS -pthread"
858 AC_CHECK_LIB(c_r, pthread_attr_init, has_threads=true, LIBS="$SAVE_LIBS")
867 # search for pthread library..
868 for dir in `echo "/usr/local /usr/pkg /usr/contrib /usr/pkg/pthreads /usr/local/pthreads"`; do
869 if test x$has_threads = xfalse; then
870 AC_MSG_RESULT(searching in $dir...)
872 if test -d $dir/include; then
873 CPPFLAGS="$CPPFLAGS -I$dir/include"
874 CFLAGS="$CFLAGS -I$dir/include"
876 if test -d $dir/lib; then
877 LDFLAGS="$LDFLAGS -L$dir/lib"
881 unset ac_cv_header__pthread_h_ ac_cv_header_pthread_h || true
883 AC_CHECK_HEADERS(pthread.h,
885 LIBS="$LIBS -lpthread"
886 AC_CHECK_LIB(pthread, pthread_attr_init, has_threads=true,
891 CFLAGS="$SAVE_CFLAGS"
892 LDFLAGS="$SAVE_LDFLAGS"
893 CPPFLAGS="$SAVE_CPPFLAGS"
897 CFLAGS="$SAVE_CFLAGS"
898 LDFLAGS="$SAVE_LDFLAGS"
899 CPPFLAGS="$SAVE_CPPFLAGS"
909 AM_CONDITIONAL(SILC_THREADS, test x$has_threads = xtrue)
910 if test x$has_threads = xtrue; then
911 CFLAGS="$CFLAGS -D_REENTRANT"
913 # XXX possibly incomplete
916 CFLAGS="$CFLAGS -D_THREAD_SAFE"
917 if test x"$GCC" = xyes; then
918 CFLAGS="$CFLAGS -mthreads"
922 CFLAGS="$CFLAGS -D_THREAD_SAFE"
924 *-*-sysv5uw7*) # UnixWare 7
925 if test "$GCC" != "yes"; then
926 CFLAGS="$CFLAGS -Kthread"
928 CFLAGS="$CFLAGS -pthread"
932 CFLAGS="$CFLAGS -D_POSIX4A_DRAFT10_SOURCE"
936 AC_CHECK_FUNC(pthread_create)
937 AC_DEFINE(SILC_HAVE_PTHREAD)
938 AC_DEFINE(SILC_THREADS)
941 # Native WIN32 compilation under cygwin
943 AC_MSG_CHECKING(whether to compile native WIN32 code)
945 [ --with-win32 compile native WIN32 code (-mno-cygwin)],
948 AC_DEFINE(SILC_WIN32)
950 CFLAGS="-mno-cygwin $CFLAGS"
951 LIBS="$LIBS -lwsock32"
956 AM_CONDITIONAL(SILC_WIN32, test x$win32_support = xtrue)
958 # Native EPOC support (disabled by default)
960 AM_CONDITIONAL(SILC_EPOC, test xfalse = xtrue)
962 # Native BeOS support (disabled by default)
964 AM_CONDITIONAL(SILC_BEOS, test xfalse = xtrue)
966 # Native OS2 support (disabled by default)
968 AM_CONDITIONAL(SILC_OS2, test xfalse = xtrue)
973 AC_MSG_CHECKING(whether to compile Irssi SILC Client)
975 [ --without-irssi compile without Irssi SILC Client],
979 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/irssi//'`
988 AC_MSG_CHECKING(whether to compile SILC Server)
990 [ --without-silcd compile without SILC Server],
994 SILC_DIST_SUBDIRS=`echo $SILC_DIST_SUBDIRS | $sedpath -e 's/silcd//'`
1001 AC_MSG_CHECKING(whether to do libtoolfix)
1002 AC_ARG_WITH(libtoolfix,
1003 [ --without-libtoolfix Do not fix libtool, for package builders],
1013 AC_DEFINE_UNQUOTED(SILC_ETCDIR, "$ETCDIR")
1021 # Other configure scripts
1023 if test x$without_irssi = xfalse; then
1024 if test "x$silc_dist" = "xsilc-client" ||
1025 test "x$silc_dist" = "xsilc-toolkit"; then
1026 AC_CONFIG_SUBDIRS(irssi)
1030 if test x$mp_gmp = xfalse; then
1031 AC_CONFIG_SUBDIRS(lib/silcmath/mpi)
1034 #AC_CONFIG_SUBDIRS(lib/zlib)
1036 SILC_TOP_SRCDIR=`pwd`
1037 AC_SUBST(SILC_TOP_SRCDIR)
1038 #SILC_INSTALL_PREFIX=$ac_default_prefix
1039 #AC_SUBST(SILC_INSTALL_PREFIX)
1041 INCLUDE_DEFINES_INT="include \$(top_srcdir)/Makefile.defines_int"
1042 AC_SUBST(INCLUDE_DEFINES_INT)
1043 AC_SUBST(SILC_DIST_SUBDIRS)
1046 # Fix the libtool to support run-time configuration. This allows us
1047 # to in run-time specify when to compile shared/static libraries without
1048 # need to reconfigure the entire libtool.
1050 if test x$libtoolfix = xtrue; then
1051 ./libtoolfix $SILC_TOP_SRCDIR/ltmain.sh
1053 AM_CONDITIONAL(SILC_LIBTOOLFIX, test x$libtoolfix = xtrue)
1062 Makefile.defines_int
1066 lib/contrib/Makefile
1067 lib/silccore/Makefile
1068 lib/silccore/tests/Makefile
1069 lib/silccrypt/Makefile
1070 lib/silccrypt/tests/Makefile
1071 lib/silcmath/Makefile
1072 lib/silcmath/mpi/Makefile.defines
1073 lib/silcmath/mpi/Makefile.defines_int
1074 lib/silcsim/Makefile
1075 lib/silcske/Makefile
1076 lib/silcutil/Makefile
1077 lib/silcutil/unix/Makefile
1078 lib/silcutil/win32/Makefile
1079 lib/silcutil/beos/Makefile
1080 lib/silcutil/os2/Makefile
1081 lib/silcutil/epoc/Makefile
1082 lib/silcsftp/Makefile
1083 lib/silcsftp/tests/Makefile
1084 doc/example_silcd.conf
1085 includes/silcincludes.h
1088 if test "x$silc_dist" = "xsilc-client" ||
1089 test "x$silc_dist" = "xsilc-toolkit"; then
1090 AC_CONFIG_FILES(lib/silcclient/Makefile)
1093 if test x$without_irssi = xfalse ; then
1094 if test "x$silc_dist" = "xsilc-client" ||
1095 test "x$silc_dist" = "xsilc-toolkit"; then
1097 irssi/Makefile.defines
1098 irssi/Makefile.defines_int
1103 if test x$without_silcd = xfalse ; then
1104 if test "x$silc_dist" = "xsilc-server" ||
1105 test "x$silc_dist" = "xsilc-toolkit"; then
1112 if test "x$silc_dist" = "xsilc-toolkit"; then
1116 win32/libsilc/Makefile
1117 win32/libsilcclient/Makefile
1119 tutorial/Makefile.defines
1120 tutorial/Makefile.defines_int
1126 s_bindir=`eval echo $bindir`;s_bindir=`eval echo $s_bindir`
1127 s_sbindir=`eval echo $sbindir`;s_sbindir=`eval echo $s_sbindir`
1128 s_mandir=`eval echo $mandir`;s_mandir=`eval echo $s_mandir`
1129 s_includedir=`eval echo $includedir`;s_includedir=`eval echo $s_includedir`
1132 echo "SILC Configuration Summary:"
1133 echo "---------------------------"
1134 echo " Target host ...................: $target"
1135 echo " Compiler ......................: $CC"
1136 echo " CFLAGS ........................: $CFLAGS"
1137 echo " CPPFLAGS ......................: $CPPFLAGS"
1138 echo " LDFLAGS .......................: $LDFLAGS"
1139 echo " LIBS ..........................: $LIBS"
1141 echo " Installation prefix ...........: $prefix"
1142 echo " bin directory .................: $s_bindir"
1143 echo " sbin directory ................: $s_sbindir"
1144 echo " man directory .................: $s_mandir"
1145 echo " help directory ................: $HELPDIR"
1146 echo " doc directory .................: $DOCDIR"
1147 echo " logs directory ................: $LOGSDIR"
1148 echo " SIM directory .................: $MODULESDIR"
1149 echo " include directory .............: $s_includedir"
1152 if test "x$silc_dist" = "xsilc-client" ||
1153 test "x$silc_dist" = "xsilc-toolkit"; then
1155 if test x$without_irssi = xtrue; then
1158 echo " Compile SILC Client ...........: $irssi"
1161 if test "x$silc_dist" = "xsilc-server" ||
1162 test "x$silc_dist" = "xsilc-toolkit"; then
1164 if test x$without_silcd = xtrue; then
1167 echo " Compile SILC Server ...........: $silcd"
1168 echo " Server configuration file .....: $summary_silcd_configfile"
1169 echo " Server PID file ...............: $PIDFILE"
1172 if test x$sim_support = xfalse; then
1177 echo " SIM support ...................: $sim_support"
1178 echo " IPv6 support ..................: $summary_ipv6"
1179 echo " Assembler optimizations .......: $summary_asm"
1182 if test x$mp_gmp = xtrue; then
1185 echo " Arithmetic library ............: $mp"
1188 if test x$has_threads = xtrue; then
1191 echo " Multi-threads support .........: $threads"
1192 echo " Debugging enabled .............: $summary_debug"
1193 echo " Stack-trace enabled ...........: $summary_stacktrace"
1195 if test "x$silc_dist" = "xsilc-client"; then
1196 echo "Compile the sources with 'make' or 'gmake' command (GNU make is required)."
1198 echo "Compile the sources with 'make' or 'gmake' command."