From a8f3c276d5f408d39b2474f62e1f80cc97e5a2b0 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 18 Jun 2009 11:27:58 -0400 Subject: Allow the use of custom CFLAGS on the make command line Setting CFLAGS explicitly in configure.ac means that they would be overwritten when using e.g. make CFLAGS="-O0 -g" This replaces the explicit setting of CFLAGS with an AM_CONDITIONAL to have Makefile.am set these instead. Also fixes a missing #include that was coincidentally obscured because gcc's -O2 happened to be able to locate it. Setting -O0 revealed the problem. --- server/util/sssd-i18n.h | 1 + 1 file changed, 1 insertion(+) (limited to 'server/util') diff --git a/server/util/sssd-i18n.h b/server/util/sssd-i18n.h index 74f9bec0..fab1cdd0 100644 --- a/server/util/sssd-i18n.h +++ b/server/util/sssd-i18n.h @@ -1,6 +1,7 @@ #ifndef _SSSD_I18N_H #define _SSSD_I18N_H +#include #include #define _(STRING) gettext (STRING) #include "config.h" -- cgit