Commit 54bcf1de authored by Colomban Wendling's avatar Colomban Wendling

Don't error-out on Automake warnings

Automake changes its warnings from versions to versions, and they
generally are actually harmless, but can prevent generation of the
build system files.  So, still display all warnings, but do not
treat them as errors.

Also, make newer Automake happy by calling AM_PROG_AR if available.
parent 74a27ca0
......@@ -6,7 +6,7 @@ AC_INIT([ovccbot], [0.0], [dev@ovcc.tuxfamily.org])
AC_CONFIG_SRCDIR([src/main.vala])
AC_CONFIG_AUX_DIR([build/aux])
AC_CONFIG_MACRO_DIR([build/m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_INIT_AUTOMAKE([-Wall foreign])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
......
......@@ -6,7 +6,7 @@ AC_INIT([ovcc-gtk], [0.0], [dev@ovcc.tuxfamily.org])
AC_CONFIG_SRCDIR([src/main.c])
AC_CONFIG_AUX_DIR([build/aux])
AC_CONFIG_MACRO_DIR([build/m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_INIT_AUTOMAKE([-Wall foreign])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
......
......@@ -6,7 +6,7 @@ AC_INIT([libovcc], [0.0], [dev@ovcc.tuxfamily.org])
AC_CONFIG_SRCDIR([src/ovcc-game.vala])
AC_CONFIG_AUX_DIR([build/aux])
AC_CONFIG_MACRO_DIR([build/m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_INIT_AUTOMAKE([-Wall foreign])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
......@@ -19,6 +19,7 @@ AC_SUBST(vapidir)
AC_SUBST(ovccincludedir)
# Checks for programs.
m4_ifdef([AM_PROG_AR],[AM_PROG_AR])
AC_PROG_CC
AM_PROG_VALAC([0.13.0])
AC_PROG_LIBTOOL
......
......@@ -6,7 +6,7 @@ AC_INIT([libovccclient], [0.0], [dev@ovcc.tuxfamily.org])
AC_CONFIG_SRCDIR([src/ovccclient-client.vala])
AC_CONFIG_AUX_DIR([build/aux])
AC_CONFIG_MACRO_DIR([build/m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_INIT_AUTOMAKE([-Wall foreign])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
......@@ -19,6 +19,7 @@ AC_SUBST(vapidir)
AC_SUBST(ovccclientincludedir)
# Checks for programs.
m4_ifdef([AM_PROG_AR],[AM_PROG_AR])
AC_PROG_CC
AM_PROG_VALAC([0.8.0])
AC_PROG_LIBTOOL
......
......@@ -6,7 +6,7 @@ AC_INIT([ovccserver], [0.0], [dev@ovcc.tuxfamily.org])
AC_CONFIG_SRCDIR([src/server.vala])
AC_CONFIG_AUX_DIR([build/aux])
AC_CONFIG_MACRO_DIR([build/m4])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AM_INIT_AUTOMAKE([-Wall foreign])
AC_CONFIG_HEADERS([config.h])
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment