chiark / gitweb /
Loosen playlist command rights.
[disorder] / configure.ac
index 03ba3844c58fafdfe9a44caaf05b33a9285742fc..209e9c2bea38a9f6ed1886f29cb0f8dd59e464f5 100644 (file)
@@ -20,9 +20,9 @@
 # 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])
-AM_INIT_AUTOMAKE(disorder, [4.0+])
+AM_INIT_AUTOMAKE(disorder, [4.2])
 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
+  case "$CC" in
+  *-std=* )
+    ;;
+  * )
+    CC="${CC} -std=gnu99"
+    ;;
+  esac
 else
   AC_MSG_ERROR([GNU C is required to build this program])
   gcc_werror=""