From b987027cd5597fd73ce285799d8c1c44266cb6fb Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 16 Jun 2009 13:41:42 -0400 Subject: Add --with-aux-info config option to SSSD daemon --- server/Makefile.am | 5 +++++ server/build_macros.m4 | 6 ++++++ 2 files changed, 11 insertions(+) (limited to 'server') diff --git a/server/Makefile.am b/server/Makefile.am index acf060c6..b70be938 100644 --- a/server/Makefile.am +++ b/server/Makefile.am @@ -13,6 +13,11 @@ pipepath = @pipepath@ initdir = @initdir@ shadow_utils_path = @shadow_utils_path@ +AM_CFLAGS = +if WANT_AUX_INFO + AM_CFLAGS += -aux-info $@.X +endif + REPLACE_CFLAGS = \ -I $(srcdir)/../replace REPLACE_LIBS = \ diff --git a/server/build_macros.m4 b/server/build_macros.m4 index 5ddcc3c5..37d96439 100644 --- a/server/build_macros.m4 +++ b/server/build_macros.m4 @@ -13,3 +13,9 @@ AC_DEFUN([BUILD_WITH_SHARED_BUILD_DIR], AC_SUBST(sharedbuilddir) ]) +AC_DEFUN([BUILD_WITH_AUX_INFO], + [ AC_ARG_WITH([aux-info], + [AC_HELP_STRING([--with-aux-info], + [Build with -aux-info output])]) + ]) +AM_CONDITIONAL([WANT_AUX_INFO], [test x$with_aux_info = xyes]) -- cgit