summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-06-16 13:41:42 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-06-16 15:43:40 -0400
commitb987027cd5597fd73ce285799d8c1c44266cb6fb (patch)
treec546af54c3a614a3559e3d05a723e25eb6ade744 /server
parentfc8381f5ae7ef60c556beadf6deb8de887262f1b (diff)
downloadsssd-b987027cd5597fd73ce285799d8c1c44266cb6fb.tar.gz
sssd-b987027cd5597fd73ce285799d8c1c44266cb6fb.tar.bz2
sssd-b987027cd5597fd73ce285799d8c1c44266cb6fb.zip
Add --with-aux-info config option to SSSD daemon
Diffstat (limited to 'server')
-rw-r--r--server/Makefile.am5
-rw-r--r--server/build_macros.m46
2 files changed, 11 insertions, 0 deletions
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])