From be5743c099a407de28f2aaa4d05efe29907a8fd8 Mon Sep 17 00:00:00 2001 From: xHire Date: Tue, 16 May 2017 08:42:07 +0200 Subject: [PATCH] Little polishing of configure.ac Added website address Deduplicated compiler flags for the debugging build --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 064deba..c2db1a3 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # This file uses AC_CONFIG_MACRO_DIR, so we need Autoconf 2.58 or better. AC_PREREQ([2.58]) -AC_INIT([WrapSix], [0.2.0], [xhire@wrapsix.org]) +AC_INIT([WrapSix], [0.2.0], [xhire@wrapsix.org], [wrapsix], [https://www.wrapsix.org/]) AM_INIT_AUTOMAKE([-Wall -Werror]) # prevent automatic adding of "-g -O2" to CFLAGS @@ -26,7 +26,7 @@ AC_ARG_ENABLE([debug], [debug=no]) if test "x$debug" = "xyes"; then - AS_COMPILER_FLAGS(AM_CFLAGS, "-g -ggdb -O0 -pipe -pedantic -Wshadow -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wdeclaration-after-statement -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wformat-nonliteral -Wformat-security -Wswitch-enum -Winit-self -Wmissing-include-dirs -Wundef -Waggregate-return -Wnested-externs -Wunsafe-loop-optimizations -Winvalid-pch") + AS_COMPILER_FLAGS(AM_CFLAGS, "-g -ggdb -O0 -pipe -pedantic -Wall -Wextra -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wformat-nonliteral -Wformat-security -Winit-self -Winline -Winvalid-pch -Wmissing-declarations -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wno-missing-field-initializers -Wno-unused-parameter -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wstrict-prototypes -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings") AC_DEFINE([DEBUG], [], [Turn on debug mode]) else AS_COMPILER_FLAGS(AM_CFLAGS, "-O2")