chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New icons for Disobedience. They are bigger and more colorful than
[disorder]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index 03ba3844c58fafdfe9a44caaf05b33a9285742fc..209e9c2bea38a9f6ed1886f29cb0f8dd59e464f5 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-20,9
+20,9
@@
# USA
#
# USA
#
-AC_INIT([disorder], [4.
0+
], [richard+disorder@sfere.greenend.org.uk])
+AC_INIT([disorder], [4.
2
], [richard+disorder@sfere.greenend.org.uk])
AC_CONFIG_AUX_DIR([config.aux])
AC_CONFIG_AUX_DIR([config.aux])
-AM_INIT_AUTOMAKE(disorder, [4.
0+
])
+AM_INIT_AUTOMAKE(disorder, [4.
2
])
AC_CONFIG_SRCDIR([server/disorderd.c])
AM_CONFIG_HEADER([config.h])
AC_CONFIG_SRCDIR([server/disorderd.c])
AM_CONFIG_HEADER([config.h])
@@
-46,6
+46,13
@@
AC_PROG_CC
AC_SET_MAKE
if test "x$GCC" = xyes; then
gcc_werror=-Werror
AC_SET_MAKE
if test "x$GCC" = xyes; then
gcc_werror=-Werror
+ case "$CC" in
+ *-std=* )
+ ;;
+ * )
+ CC="${CC} -std=gnu99"
+ ;;
+ esac
else
AC_MSG_ERROR([GNU C is required to build this program])
gcc_werror=""
else
AC_MSG_ERROR([GNU C is required to build this program])
gcc_werror=""