diff options
author | Alexey Shchepin <alexey@process-one.net> | 2003-10-17 19:15:38 +0000 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2003-10-17 19:15:38 +0000 |
commit | 392d64ee8bd137c75fc6187e49a4757533e77e3c (patch) | |
tree | 9ac5a9eac735d08984c7ca0cbd47bc7ea6b90c95 /src/configure.ac | |
parent | * src/mod_configure.erl: Fixed some error codes (diff) |
* src/configure.ac: Build system now done using autoconf (thanks
to Balabanov Dmitry)
* src/aclocal.m4: Likewise
* src/**/Makefile.in: Likewise
* src/mod_roster.erl (process_item_set_t): Slightly improved
performance
* src/jd2ejd.erl: Added missed closing of XML stream process,
removed timeout value from import_file/1
* src/ejabberd_auth.erl: Added checks for invalid user name
SVN Revision: 152
Diffstat (limited to 'src/configure.ac')
-rw-r--r-- | src/configure.ac | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac new file mode 100644 index 000000000..643fe2626 --- /dev/null +++ b/src/configure.ac @@ -0,0 +1,39 @@ +# -*- 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 + + + + +# Checks for typedefs, structures, and compiler characteristics. +AC_C_CONST + +# 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_CONFIG_FILES([Makefile + $make_mod_irc + $make_mod_muc + $make_mod_pubsub + stringprep/Makefile]) +AC_OUTPUT |