[dovecot-cvs] dovecot configure.in,1.194,1.195

cras at dovecot.org cras at dovecot.org
Thu Jan 13 15:37:12 EET 2005


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv3723

Modified Files:
	configure.in 
Log Message:
Give -std=gnu99 option to gcc.



Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -d -r1.194 -r1.195
--- configure.in	7 Jan 2005 18:15:14 -0000	1.194
+++ configure.in	13 Jan 2005 13:37:09 -0000	1.195
@@ -1,4 +1,4 @@
-AC_INIT(dovecot, 1.0-test59, [dovecot at dovecot.org])
+AC_INIT(dovecot, 1.0-test60, [dovecot at dovecot.org])
 AC_CONFIG_SRCDIR([src])
 
 AC_CONFIG_HEADERS([config.h])
@@ -233,6 +233,10 @@
 	# -Wstrict-prototypes -Wredundant-decls # may give warnings in some systems
 	# -Wmissing-format-attribute -Wmissing-noreturn -Wwrite-strings # a couple of warnings
 	CFLAGS="$CFLAGS -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wpointer-arith -Wchar-subscripts -Wformat=2 -Wbad-function-cast"
+
+	# say specifically that we want C99 features.
+	# we can make use of GNU features as well, so don't use -std=c99.
+	CFLAGS="$CFLAGS -std=gnu99"
 fi
 
 dnl **



More information about the dovecot-cvs mailing list