summaryrefslogtreecommitdiff
path: root/src/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac
new file mode 100644
index 00000000..643fe262
--- /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