From 1a2cb958719ee94c62b3bb3b88bbf09796488d24 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 21 Sep 2013 19:39:46 +0200 Subject: [PATCH] Re-order CFLAGS/CXXFLAGS in configure.ac. --- configure.ac | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index 424883cd9..f8c1dc672 100644 --- a/configure.ac +++ b/configure.ac @@ -27,6 +27,13 @@ AM_INIT_AUTOMAKE($PACKAGE,$VERSION) m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) AM_SILENT_RULES([yes]) +CFLAGS="$CFLAGS -D_GNU_SOURCE -pthread" +CXXFLAGS="$CXXFLAGS -D_GNU_SOURCE -pthread" + +CFLAGS="$CFLAGS -I/opt/local/include" +CXXFLAGS="$CXXFLAGS -I/opt/local/include" +LDFLAGS="$LDFLAGS -L/opt/local/lib" + AC_PROG_CXX AC_LANG_CPLUSPLUS AC_PROG_CC @@ -52,13 +59,6 @@ AD_INIT_ASCIIDOC([icinga], [docs]) AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir) -CFLAGS="$CFLAGS -D_GNU_SOURCE -pthread" -CXXFLAGS="$CXXFLAGS -D_GNU_SOURCE -pthread" - -CFLAGS="$CFLAGS -I/opt/local/include" -CXXFLAGS="$CXXFLAGS -I/opt/local/include" -LDFLAGS="$LDFLAGS -L/opt/local/lib" - AC_PROG_INSTALL AC_PROG_LEX AC_PROG_YACC