dnl Copyright © 2007 Pippijn van Steenhoven / The Ermyth Team dnl Copyright © 2005 Atheme Development Group dnl Rights to this code are documented in doc/pod/license.pod. dnl dnl $Id: configure.ac,v 1.8 2007/08/28 17:08:06 pippijn Exp $ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT([ermyth], [2.3], [ermyth@one09.net]) AC_CONFIG_HEADER(include/sysconf.h) AC_CONFIG_AUX_DIR(autoconf) AC_COPYRIGHT([$Id: configure.ac,v 1.8 2007/08/28 17:08:06 pippijn Exp $]) AC_PREFIX_DEFAULT(~/PACKAGE) dnl Automake compatibility. AC_SUBST([PACKAGE], [AC_PACKAGE_TARNAME]) AC_SUBST([VERSION], [AC_PACKAGE_VERSION]) AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]) dnl dnl Look for programs dnl AC_PATH_PROG(RM, rm) AC_PATH_PROG(MV, mv) AC_PATH_PROG(CP, cp) AC_PATH_PROG(LN, ln) AC_PATH_PROG(TAR, tar) AC_PATH_PROG(AR, ar) AC_PATH_PROG(RANLIB, ranlib) AC_PATH_PROG(PKG_CONFIG, pkg-config, no) AC_MSG_CHECKING(glib >= 2.10) if $PKG_CONFIG glib-2.0 --atleast-version 2.10; then CXXFLAGS="$CXXFLAGS `$PKG_CONFIG glib-2.0 --cflags`" LIBS="$LIBS `$PKG_CONFIG glib-2.0 --libs`" AC_MSG_RESULT(ok) else AC_MSG_ERROR(no) fi AC_PATH_PROG(PERL, perl5.8) if test -z "$PERL"; then AC_PATH_PROG(PERL, perl5) if test -z "$PERL"; then AC_PATH_PROG(PERL, perl) if test -z "$PERL"; then AC_MSG_ERROR([perl 5.8 or higher must be in your PATH, check the README]) fi fi fi dnl dnl Source generation dnl dnl CALLBACKS=`$PERL $srcdir/include/common/gencallbacks.pl 7` dnl AC_SUBST(CALLBACKS) dnl dnl GNU gettext dnl AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([0.16.1]) if test "$prefix" = "NONE"; then prefix="${ac_default_prefix}" fi LOCALEDIR='${datadir}/locale' AC_SUBST(LOCALEDIR) dnl dnl Language specific checks dnl AC_LANG(C++) AC_PROG_CXX AC_PROG_INSTALL AC_EXEEXT AC_PROG_MAKE_SET MKDEP="$CXX -MM" AC_SUBST(MKDEP) AC_CHECK_SIZEOF(void *,4) AC_CHECK_SIZEOF(char, 4) AC_CHECK_SIZEOF(int, 4) AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(float, 4) AC_CHECK_SIZEOF(double, 8) AC_CHECK_SIZEOF(long double, 0) AC_CHECK_SIZEOF(long, 4) AC_CHECK_SIZEOF(long long, 0) AC_CHECK_SIZEOF(time_t, 4) AC_CHECK_SIZEOF(size_t, 4) dnl dnl Checks for header files. dnl AC_CHECK_HEADERS(getopt.h link.h valgrind/memcheck.h) AC_CHECK_HEADER(tr1/unordered_map, [], [AC_MSG_ERROR([Your compiler must support the Library Technical Report 1 extensions.])]) AC_DEFINE(_REENTRANT, [1], [Define this]) #-------------------------------------------------- # AC_ARG_WITH(boost, # AC_HELP_STRING([--with-boost=DIR],[location of boost distribution]), # [ # CPPFLAGS="$CPPFLAGS -I${withval}" # ], # [ # BOOSTDIR="`pwd`/../boost_1_34_0" # if test -d "${BOOSTDIR}"; then # CPPFLAGS="$CPPFLAGS -I${BOOSTDIR}" # else # BOOSTDIR="`pwd`/../boost_1_33_1" # if test -d "${BOOSTDIR}"; then # CPPFLAGS="$CPPFLAGS -I${BOOSTDIR}" # else # BOOSTDIR="`pwd`/../boost_1_33_0" # if test -d "${BOOSTDIR}"; then # CPPFLAGS="$CPPFLAGS -I${BOOSTDIR}" # fi # fi # fi # ]) # # AC_CHECK_HEADER([boost/noncopyable.hpp],, # [ # echo "Can't find boost headers. Please check the location of the boost" # echo "distribution and rerun configure using the --with-boost=DIR option." # exit 1 # ],[]) # # AC_CHECK_HEADER([boost/date_time/posix_time/posix_time_types.hpp],, # [ # echo "Can't find boost date-time headers. Please check the location of the boost" # echo "distribution and rerun configure using the --with-boost=DIR option." # exit 1 # ],[]) # # AC_CHECK_HEADER([boost/regex.hpp],, # [ # echo "Can't find boost regular expressions headers. Please check the location of the boost" # echo "distribution and rerun configure using the --with-boost=DIR option." # exit 1 # ],[]) # # AC_CHECK_HEADER([boost/thread.hpp],, # [ # echo "Can't find boost threads headers. Please check the location of the boost" # echo "distribution and rerun configure using the --with-boost=DIR option." # exit 1 # ],[]) # # #-------------------------------------------------- echo echo "Library functions" echo #-------------------------------------------------- # # AC_CHECK_LIB(boost_thread, _init,, # AC_MSG_ERROR([$PACKAGE requires boost threads to be installed to work. # Download Boost at http://www.boost.org/ # ])) # LIBS="$LIBS -lboost_thread" # # AC_CHECK_LIB(boost_regex, _init,, # AC_MSG_ERROR([$PACKAGE requires boost regex to be installed to work. # Download Boost at http://www.boost.org/ # ])) # LIBS="$LIBS -lboost_regex" # # AC_CHECK_LIB(boost_date_time, _init,, # AC_MSG_ERROR([$PACKAGE requires boost date and time to be installed to work. # Download Boost at http://www.boost.org/ # ])) # LIBS="$LIBS -lboost_date_time" #-------------------------------------------------- dnl Checks for library functions. AC_TYPE_SIGNAL AC_CHECK_FUNCS([strlcpy strlcat gettimeofday umask mmap arc4random getrlimit fork getpid execve strcasestr]) AC_CHECK_FUNC(gethostbyname,, AC_CHECK_LIB(nsl, gethostbyname)) AC_CHECK_FUNC(select, SOCKET_ENGINE="select",) AC_CHECK_FUNC(poll, SOCKET_ENGINE="poll",) POSIX_CRYPTC="" AC_CHECK_LIB(crypt, crypt, [ POSIX_CRYPTC="posix.C" LIBS="$LIBS -lcrypt" ]) AC_MSG_CHECKING(for libresolv) AC_TRY_LINK([ #include #include #include ],[ res_init (); ],[resolv_link=yes],[resolv_link=no]) if test x$resolv_link = xyes; then AC_MSG_RESULT(ok) AC_DEFINE(HAVE_LIBRESOLV, 1, Define if you have libresolv) LIBS="$LIBS -lresolv" else AC_MSG_RESULT([no, unable to link]) fi AC_MSG_CHECKING(for $PERL suitability) if $PERL -MExtUtils::Embed -e "use v5.8" >/dev/null 2>&1; then save_CXXFLAGS="$CXXFLAGS" save_LIBS="$LIBS" xPERLFLAGS="`$PERL -MExtUtils::Embed -e ccopts`" CXXFLAGS="$CXXFLAGS $xPERLFLAGS" LIBS="$LIBS `$PERL -MExtUtils::Embed -e ldopts`" AC_TRY_LINK([ #include #include #include ],[ PerlInterpreter *perl = perl_alloc (); ],[perl_link=yes],[perl_link=no]) CXXFLAGS="$save_CXXFLAGS" LIBS="$save_LIBS" if test x$perl_link = xyes; then AC_MSG_RESULT(ok) AC_DEFINE(ENABLE_PERL, 1, Define if you can embed a perl interpreter) PERLFLAGS="$xPERLFLAGS" PERLLIB="`$PERL -MExtUtils::Embed -e ldopts`" PERLPRIVLIBEXP="`$PERL -MConfig -e 'print $Config{privlibexp}'`" CPPFLAGS="$CPPFLAGS $PERLFLAGS" HAVE_PERL="yes" else AC_MSG_RESULT([no, unable to link]) HAVE_PERL="no" fi else AC_MSG_RESULT([no working perl found, or perl not version >= 5.8]) HAVE_PERL="no" fi AC_SUBST(PERLLIB) AC_SUBST(PERLFLAGS) AC_SUBST(PERLPRIVLIBEXP) AC_SUBST(PERL) AC_SUBST(HAVE_PERL) AC_SUBST(SOCKET_ENGINE) AC_SUBST(POSIX_CRYPTC) echo echo "Tweaks" echo DOCDIR='${prefix}/doc' MODDIR='${exec_prefix}' SHAREDIR='${prefix}' LOGDIR='${prefix}/var' DATADIR='${prefix}/etc' RUNDIR='${prefix}/var' dnl dnl Verbose makefiles dnl SILENT="yes" AC_MSG_CHECKING(if you want verbose makefiles) AC_ARG_ENABLE(verbose-make, AC_HELP_STRING([--enable-verbose-make],[ Use verbose makefiles.]), [SILENT="$enableval"]) AC_MSG_RESULT($enableval) if test "$SILENT" = no; then SILENT="" else SILENT="-s" fi AC_SUBST(SILENT) dnl dnl Absolute paths dnl abspaths="no" AC_MSG_CHECKING(if you want to use absolute paths when building) AC_ARG_ENABLE(absolute-paths, AC_HELP_STRING([--enable-absolute-paths],[ Use absolute paths when building.]), [abspaths="$enableval"]) AC_MSG_RESULT($abspaths) ABSPATHS="#" if test "$abspaths" = yes; then ABSPATHS="" case "$srcdir" in /*) ;; *) srcdir="`cd \"$srcdir\";pwd`" ;; esac fi SRCDIR="$srcdir" AC_SUBST(ABSPATHS) AC_SUBST(SRCDIR) dnl dnl Filesystem Hierarchy Standard dnl FHSPATHS="no" AC_MSG_CHECKING(if you want FHS-like pathnames) AC_ARG_ENABLE(fhs-paths, AC_HELP_STRING([--enable-fhs-paths],[ Use more FHS-like pathnames (for packagers).]), [ case "$enableval" in yes) FHSPATHS="yes" DOCDIR='${datadir}/doc/$PACKAGE' MODDIR='${libdir}/$PACKAGE' SHAREDIR='${datadir}/$PACKAGE' LOGDIR='${localstatedir}/log/$PACKAGE' DATADIR='${localstatedir}/lib/$PACKAGE' RUNDIR='${localstatedir}/run/$PACKAGE' ;; no) FHSPATHS="no" ;; esac ]) AC_MSG_RESULT($FHSPATHS) AC_SUBST(DOCDIR) AC_SUBST(MODDIR) AC_SUBST(SHAREDIR) AC_SUBST(DATADIR) AC_SUBST(LOGDIR) AC_SUBST(RUNDIR) dnl dnl Large network support dnl LARGENET="no" AC_MSG_CHECKING(if you want large network support) AC_ARG_ENABLE(large-net, AC_HELP_STRING([--enable-large-net],[ Enable large network support.]), [ case "$enableval" in yes) LARGENET="yes" AC_DEFINE([LARGE_NETWORK], 1, [Uncomment to enable large network support.]) ;; no) LARGENET="no" ;; esac ]) AC_MSG_RESULT($LARGENET) dnl dnl Slab/Block allocator dnl balloc="no" AC_MSG_CHECKING(if you want to use the block allocator) AC_ARG_ENABLE(balloc, AC_HELP_STRING([--disable-balloc],[Disable the block allocator.]), [balloc=$enableval], [balloc=yes]) if test "$balloc" = no; then AC_DEFINE([NOBALLOC], 1, [Define to 1 if you wish to disable the block allocator.]) fi AC_MSG_RESULT($balloc) dnl dnl Platform specific stuff dnl WINDOWS=no case $host in *-*-linux*) CXXFLAGS="$CXXFLAGS -pthread" LDFLAGS="$LDFLAGS -pthread" ;; *-*-solaris*) if test "$GXX" = yes; then CXXFLAGS="$CXXFLAGS" else # We'll assume Sun's CC. CXXFLAGS="$CXXFLAGS -mt" fi LIBS="$LIBS -lsocket -lnsl -lpthread" ;; *-*-mingw32*) CXXFLAGS="$CXXFLAGS -mthreads" LDFLAGS="$LDFLAGS -mthreads" LIBS="$LIBS -lws2_32 -lmswsock" WINDOWS=yes ;; *-pc-cygwin*) CXXFLAGS="$CXXFLAGS -D__USE_W32_SOCKETS -D_WIN32_WINNT=0x0500" LIBS="$LIBS -lws2_32 -lmswsock" WINDOWS=yes ;; *-apple-darwin*) CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" ;; *-*-freebsd*) CXXFLAGS="$CXXFLAGS -pthread" LDFLAGS="$LDFLAGS -pthread" ;; esac if test "$GXX" = yes; then CXXFLAGS="$CXXFLAGS -ftemplate-depth-256" fi echo echo "OpenSSL-based SASL support" echo AC_ARG_ENABLE(ssl, AC_HELP_STRING([--disable-ssl], [don't use OpenSSL to provide more SASL mechanisms]), , enable_ssl=yes ) SSL=no if test "$enable_ssl" = "yes"; then AC_CHECK_LIB(ssl, SSL_read, [ AC_CHECK_HEADERS(openssl/ssl.h openssl/err.h, [ SSL_LIBS="-lssl -lcrypto" AC_SUBST(SSL_LIBS) SSL=yes ]) ], , -lcrypto) if test "$SSL" = "yes"; then AC_DEFINE(HAVE_OPENSSL,, Define to 1 if openssl is available) LIBS="$LIBS $SSL_LIBS" fi fi AC_ARG_WITH(openssl, AC_HELP_STRING([--with-openssl=DIR],[location of openssl]), [ CPPFLAGS="$CPPFLAGS -I${withval}" ],[]) AC_CHECK_HEADER([openssl/ssl.h],, [ OPENSSL_FOUND=no ],[]) AM_CONDITIONAL(HAVE_OPENSSL,test x$OPENSSL_FOUND != xno) echo echo "Module support" echo dynamic_loading="yes" if test "$dynamic_loading" = yes; then # The GNU linker requires the -export-dynamic option to make # all symbols visible in the dynamic symbol table. hold_ldflags=$LDFLAGS AC_MSG_CHECKING(for the ld -export-dynamic flag) LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" AC_LINK_IFELSE(AC_LANG_PROGRAM([],[int i;]), found=yes, found=no) LDFLAGS=$hold_ldflags if expr "`uname -s`" : ^IRIX >/dev/null 2>&1; then found="no, IRIX ld uses -B,dynamic" LDFLAGS="${LDFLAGS} -Wl,-B,dynamic" fi AC_MSG_RESULT($found) if test "$found" = yes; then LDFLAGS="${LDFLAGS} -Wl,-export-dynamic" fi if test "$ac_cv_c_compiler_gnu" = yes; then AC_MSG_CHECKING(if $CXX is Apple GCC) if expr "`$CXX -v 2>&1 | tail -n 1`" : ".*Apple" >/dev/null; then AppleGCC=yes else AppleGCC=no fi AC_MSG_RESULT($AppleGCC) fi AC_MSG_CHECKING(for compiler option to produce PIC) PICFLAGS="-fPIC -DPIC -shared" # XXX: default? if test "$SGS" = "yes"; then AC_MSG_RESULT([SVR4 SGS interfaces: -KPIC -DPIC -G]) PICFLAGS="-KPIC -DPIC -G" fi if test "$AppleGCC" = "yes"; then AC_MSG_RESULT([Darwin Mach-O bundles: -fno-common -bundle -flat_namespace -undefined suppress]) PICFLAGS="-fno-common -bundle -flat_namespace -undefined suppress" fi if test "$HPUX" = "yes" -a "$CXX" != g++; then AC_MSG_RESULT(HP-UX cc: +z -r -q -n) PICFLAGS="+z -r -q -n -c" AC_MSG_CHECKING([if +ESfic is required on this platform]) if expr "`$CXX +ESfic 2>&1`" : ".*neither supported.*" >/dev/null; then AC_MSG_RESULT(no) else AC_MSG_RESULT(yes) PICFLAGS="$PICFLAGS +ESfic" fi LDFLAGS="${LDFLAGS} -Wl,-E" fi if test "$Tru" = yes -a "$CXX" != g++; then AC_MSG_RESULT([Tru64: -shared -expect_unresolved '*']) PICFLAGS="-shared -expect_unresolved '*' " LDFLAGS="-call_shared" fi if test "$CXX" = icc -a "$ICC" = yes; then AC_MSG_RESULT(intel: -fPIC -DPIC -shared) PICFLAGS="-fPIC -DPIC -shared" fi if test -z "$PICFLAGS"; then if test "$ac_cv_c_compiler_gnu" = "yes"; then AC_MSG_RESULT(g++: -fPIC -DPIC -shared) PICFLAGS="-fPIC -DPIC -shared" else AC_MSG_RESULT(no) AC_ERROR([your compiler is unable to compile $PACKAGE's modules.]) fi fi fi AC_SUBST(PICFLAGS) AC_ARG_ENABLE(warnings, AC_HELP_STRING([--enable-warnings],[ Enable compiler warnings]), [ echo " " echo "Compiler warnings" echo " " dnl See what warnings we can get away with ERMYTH_C_GCC_TRY_FLAGS([-Wall], ermyth_cv_c_gcc_w_all) ERMYTH_C_GCC_TRY_FLAGS([-Wpointer-arith], ermyth_cv_c_gcc_w_pointer_arith) ERMYTH_C_GCC_TRY_FLAGS([-Wimplicit], ermyth_cv_c_gcc_w_implicit) ERMYTH_C_GCC_TRY_FLAGS([-Wcast-align], ermyth_cv_c_gcc_w_cast_align) ERMYTH_C_GCC_TRY_FLAGS([-Wcast-qual], ermyth_cv_c_gcc_w_cast_qual) ERMYTH_C_GCC_TRY_FLAGS([-Wextra], ermyth_cv_c_gcc_w_extra) ERMYTH_C_GCC_TRY_FLAGS([-W -Wno-unused-parameter], ermyth_cv_c_gcc_w) ERMYTH_C_GCC_TRY_FLAGS([-Wshadow], ermyth_cv_c_gcc_w_shadow) ERMYTH_C_GCC_TRY_FLAGS([-Wmissing-noreturn], ermyth_cv_c_gcc_w_missing_noreturn) ERMYTH_C_GCC_TRY_FLAGS([-Wundef], ermyth_cv_c_gcc_w_undef) ERMYTH_C_GCC_TRY_FLAGS([-Wpacked], ermyth_cv_c_gcc_w_packed) ERMYTH_C_GCC_TRY_FLAGS([-Wunused-function -Wunused-label -Wunused-value -Wunused-variable], ermyth_cv_c_gcc_w_unused) ERMYTH_C_GCC_TRY_FLAGS([-Wredundant-decls], ermyth_cv_c_gcc_w_redundant_decls) ERMYTH_C_GCC_TRY_FLAGS([-Wfloat-equal], ermyth_cv_c_gcc_w_float_equal) ERMYTH_C_GCC_TRY_FLAGS([-Wformat=2], ermyth_cv_c_gcc_w_format) ERMYTH_C_GCC_TRY_FLAGS([-Wdisabled-optimization], ermyth_cv_c_gcc_w_format) ERMYTH_C_GCC_TRY_FLAGS([-pedantic], ermyth_cv_c_gcc_pedantic) ERMYTH_C_GCC_TRY_FLAGS([-std=c++98], ermyth_cv_c_gcc_cpp98) dnl Too unreliable to be useful at this time. dnl ERMYTH_C_GCC_TRY_FLAGS([-Wunreachable-code], ermyth_cv_c_gcc_w_unreachable_code) dnl Maintainer flags. ERMYTH_C_GCC_TRY_FLAGS([-Wconversion], ermyth_cv_c_gcc_w_conversion) ERMYTH_C_GCC_TRY_FLAGS([-Wwrite-strings], ermyth_cv_c_gcc_w_strings) dnl ERMYTH_C_GCC_TRY_FLAGS([-Werror], ermyth_cv_c_gcc_w_error) ]) AC_ARG_ENABLE(propolice, AC_HELP_STRING([--disable-propolice],[ Disable propolice protections (for debugging.)]), [ echo echo "Disabling propolice." echo ERMYTH_C_GCC_TRY_FLAGS([-fno-stack-protector-all], ermyth_nspa) ERMYTH_C_GCC_TRY_FLAGS([-fno-pie], ermyth_npie) ERMYTH_C_GCC_TRY_FLAGS([-nonow], ermyth_nonow) ERMYTH_C_GCC_TRY_FLAGS([-norelro], ermyth_no_relro) ]) AC_ARG_ENABLE(profile, AC_HELP_STRING([--enable-profile],[ Enable profiling extensions]), [ echo echo "Enabling profiling." echo ERMYTH_C_GCC_TRY_FLAGS([-pg], ermyth_pg) ac_save_LDFLAGS="${LDFLAGS} -pg" LDFLAGS=${ac_save_LDFLAGS} ]) ac_save_CXXFLAGS="${CXXFLAGS} ${orig_CXXFLAGS} ${CWARNS} -DPREFIX=\\\"\${prefix}\\\" -DLOCALEDIR=\\\"\${LOCALEDIR}\\\" -DMODDIR=\\\"\${MODDIR}\\\" -DSHAREDIR=\\\"${SHAREDIR}\\\" -DSYSCONFDIR=\\\"${sysconfdir}\\\" -DLOGDIR=\\\"${LOGDIR}\\\" -DRUNDIR=\\\"${RUNDIR}\\\" -DDATADIR=\\\"${DATADIR}\\\"" CXXFLAGS=${ac_save_CXXFLAGS} AC_ARG_ENABLE(gcov, AC_HELP_STRING([--enable-gcov],[Enable coverage analysis]), [ echo echo "Enabling coverage analysis." echo ERMYTH_C_GCC_TRY_FLAGS([-fprofile-arcs], ermyth_profile_arcs) ac_save_CXXFLAGS="${CXXFLAGS} -fprofile-arcs" CXXFLAGS=${ac_save_CXXFLAGS} dnl ERMYTH_C_GCC_TRY_FLAGS([-fbranch-probabilities], ermyth_branch_probabilities) dnl ac_save_CXXFLAGS="${CXXFLAGS} -fbranch-probabilities" dnl CXXFLAGS=${ac_save_CXXFLAGS} ERMYTH_C_GCC_TRY_FLAGS([-ftest-coverage], ermyth_test_coverage) ac_save_CXXFLAGS="${CXXFLAGS} -ftest-coverage" CXXFLAGS=${ac_save_CXXFLAGS} ac_save_LDFLAGS="${LDFLAGS} -lgcov" LDFLAGS=${ac_save_LDFLAGS} ]) dnl dnl RPATH dnl enablerpath="yes" AC_ARG_ENABLE(rpath, AC_HELP_STRING([--disable-rpath],[Disable use of -Wl,-rpath= during linking.]), [enablerpath="$enableval"], [enablerpath="yes"]) RPATH="" if test "x$enablerpath" = "xyes"; then RPATH="-Wl,-rpath,${libdir}" fi AC_SUBST(RPATH) echo echo "Makefile generation" echo dnl include/common/callback.h AC_OUTPUT([ Makefile doc/Makefile modules/Makefile modules/Makefile.common modules/Makefile.defs modules/backend/Makefile modules/chanserv/Makefile modules/contrib/Makefile modules/crypto/Makefile modules/gameserv/Makefile modules/global/Makefile modules/memoserv/Makefile modules/misc/Makefile modules/nickserv/Makefile modules/operserv/Makefile modules/protocol/Makefile modules/rpc/Makefile modules/saslserv/Makefile po/Makefile.in src/Makefile test/Makefile ]) d=`eval echo ${MODDIR}` d=`eval echo $d` echo " Configuration: lib$PACKAGE version : ${PACKAGE_VERSION} Installation prefix : ${prefix} Module root directory : `eval echo $d` Config directory : ${sysconfdir} Logfile directory : ${LOGDIR} Data directory : ${DATADIR} PID directory : ${RUNDIR} Large network support : ${LARGENET} OpenSSL SASL support : ${SSL} Socket Engine : ${SOCKET_ENGINE} Block Allocator : ${balloc} CXXFLAGS : ${CXXFLAGS} Type make to build $PACKAGE, and make install to install it."