mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-10 16:58:46 +01:00
facefdb6e4
SVN Revision: 497
61 lines
1.5 KiB
Plaintext
61 lines
1.5 KiB
Plaintext
# -*- Autoconf -*-
|
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.53)
|
|
AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
|
|
|
|
# Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_MAKE_SET
|
|
|
|
#locating erlang
|
|
AM_WITH_ERLANG
|
|
#locating iconv
|
|
AM_ICONV
|
|
#locating libexpat
|
|
AM_WITH_EXPAT
|
|
#locating zlib
|
|
AM_WITH_ZLIB
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics.
|
|
AC_C_CONST
|
|
|
|
# Change default prefix
|
|
AC_PREFIX_DEFAULT /
|
|
|
|
# Checks for library functions.
|
|
AC_FUNC_MALLOC
|
|
AC_HEADER_STDC
|
|
|
|
AC_MOD_ENABLE(mod_pubsub, yes)
|
|
AC_MOD_ENABLE(mod_irc, yes)
|
|
AC_MOD_ENABLE(mod_muc, yes)
|
|
AC_MOD_ENABLE(eldap, yes)
|
|
AC_MOD_ENABLE(web, yes)
|
|
AC_MOD_ENABLE(tls, yes)
|
|
AC_MOD_ENABLE(odbc, no)
|
|
AC_MOD_ENABLE(ejabberd_zlib, yes)
|
|
|
|
AC_ARG_ENABLE(roster_gateway_workaround,
|
|
[ --enable-roster-gateway-workaround Turn on workaround for processing gateway subscriptions],
|
|
[case "${enableval}" in
|
|
yes) roster_gateway_workaround=true ;;
|
|
no) roster_gateway_workaround=false ;;
|
|
*) AC_MSG_ERROR(bad value ${enableval} for --enable-roster-gateway-workaround) ;;
|
|
esac],[roster_gateway_workaround=false])
|
|
AC_SUBST(roster_gateway_workaround)
|
|
|
|
AC_CONFIG_FILES([Makefile
|
|
$make_mod_irc
|
|
$make_mod_muc
|
|
$make_mod_pubsub
|
|
$make_eldap
|
|
$make_web
|
|
stringprep/Makefile
|
|
$make_tls
|
|
$make_odbc
|
|
$make_ejabberd_zlib])
|
|
#openssl
|
|
AM_WITH_OPENSSL
|
|
AC_OUTPUT
|