X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=blobdiff_plain;f=configure.in;h=bda81708e1c129fdf36114311aaaa676f70bab53;hp=00842e28a479a770c60f64b0aedc159223bbf186;hb=63a96f8504a2773d03bd8956c17eb6bb09a706c7;hpb=9f16a7d1eec47001133dff47d0a6a1426447f4c2 diff --git a/configure.in b/configure.in index 00842e28..bda81708 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. -*- Autoconf -*- dnl This file is a part of Geeqie project (http://www.geeqie.org/). -dnl Copyright (C) 2008 - 2012 The Geeqie Team +dnl Copyright (C) 2008 - 2016 The Geeqie Team dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -17,17 +17,24 @@ dnl GNU General Public License for more details. AC_PREREQ(2.57) AC_INIT([geeqie], m4_esyscmd_s(git rev-parse --quiet --verify --short master), [geeqie-devel@lists.sourceforge.net], [], [http://www.geeqie.org/]) +# Add -Werror to the default CFLAGS +CFLAGS+=" -Werror -Wno-error=deprecated-declarations" + # Check for rightly dirs AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_AUX_DIR(auxdir) -AM_INIT_AUTOMAKE +# Require Automake 1.14 for %reldir% support +AM_INIT_AUTOMAKE([1.14.1 subdir-objects]) AC_CONFIG_HEADER([config.h]) # Only for developers AM_MAINTAINER_MODE +# Silent build for automake >= 1.11 +m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + AC_ARG_ENABLE(developer, [ Development options: AC_HELP_STRING([--enable-developer], [turn on developers mode [default=no]])], @@ -520,7 +527,7 @@ AH_TOP([ /* * This file is a part of Geeqie project (http://www.geeqie.org/). - * Copyright (C) 2008 - 2012 The Geeqie Team + * Copyright (C) 2008 - 2016 The Geeqie Team * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by