Re-order CFLAGS/CXXFLAGS in configure.ac.

This commit is contained in:
Gunnar Beutner 2013-09-21 19:39:46 +02:00
parent 0098cf6b8b
commit 1a2cb95871
1 changed files with 7 additions and 7 deletions

View File

@ -27,6 +27,13 @@ AM_INIT_AUTOMAKE($PACKAGE,$VERSION)
m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])]) m4_ifndef([AM_SILENT_RULES], [m4_define([AM_SILENT_RULES],[])])
AM_SILENT_RULES([yes]) 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_PROG_CXX
AC_LANG_CPLUSPLUS AC_LANG_CPLUSPLUS
AC_PROG_CC AC_PROG_CC
@ -52,13 +59,6 @@ AD_INIT_ASCIIDOC([icinga], [docs])
AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir) 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_INSTALL
AC_PROG_LEX AC_PROG_LEX
AC_PROG_YACC AC_PROG_YACC