aboutsummaryrefslogtreecommitdiff
path: root/src/configure.ac
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2007-11-29 16:59:35 +0000
committerBadlop <badlop@process-one.net>2007-11-29 16:59:35 +0000
commit44d65ff303b17772c06ab81d9a1fac33e5c8faec (patch)
tree6878a149d7745aac3f549d08b7e3cfff8ccbcae2 /src/configure.ac
parent* src/mod_muc/mod_muc_room.erl: Hide the option 'Make room (diff)
* src/configure.ac: Don't hardcode gcc and options (EJAB-436)
* src/Makefile.in: * src/ejabberd_zlib/Makefile.in: * src/eldap/Makefile.in: * src/mod_irc/Makefile.in: * src/mod_muc/Makefile.in: * src/mod_proxy65/Makefile.in: * src/mod_pubsub/Makefile.in: * src/odbc/Makefile.in: * src/pam/Makefile.in: * src/stringprep/Makefile.in: * src/tls/Makefile.in: * src/web/Makefile.in: SVN Revision: 1000
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac
index 490ca2bdf..0924f21a2 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -8,6 +8,10 @@ AC_INIT(ejabberd.erl,, ejabberd@process-one.net)
AC_PROG_CC
AC_PROG_MAKE_SET
+if test "x$GCC" = "xyes"; then
+ CFLAGS="$CFLAGS -Wall"
+fi
+
#locating erlang
AM_WITH_ERLANG
#locating iconv