From 4e2c0903dbd4993b7b046c891c67927f181b85a0 Mon Sep 17 00:00:00 2001 From: john30 Date: Sun, 5 Mar 2017 13:03:58 +0100 Subject: [PATCH] moved AC_GNU_SOURCE to correct positon --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 155d99d3..1f377051 100644 --- a/configure.ac +++ b/configure.ac @@ -3,10 +3,10 @@ m4_ifndef([m4_esyscmd_s], [m4_define([m4_chomp_all], [m4_format([[%.*s]], m4_bre m4_ifndef([m4_esyscmd_s], [m4_define([m4_esyscmd_s], [m4_chomp_all(m4_esyscmd([$1]))])]) AC_PREREQ([2.63]) AC_INIT([ebusd], m4_esyscmd_s([cat VERSION]), [ebusd@ebusd.eu], [ebusd], [https://github.com/john30/ebusd]) -AC_GNU_SOURCE AC_CONFIG_AUX_DIR([build]) AC_CONFIG_MACRO_DIR([m4]) +AC_GNU_SOURCE if test -z $CXXFLAGS; then CXXFLAGS="-fpic -Wall -Wno-unused-function -Wextra -g -O2"