diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2009-06-16 13:46:50 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-06-16 15:43:41 -0400 |
commit | 6d09def23347c49b8e91381a037b0abbfe53f498 (patch) | |
tree | 0040ccf392c3215972585c5309fcd51784b14dde /sss_client | |
parent | b987027cd5597fd73ce285799d8c1c44266cb6fb (diff) | |
download | sssd-6d09def23347c49b8e91381a037b0abbfe53f498.tar.gz sssd-6d09def23347c49b8e91381a037b0abbfe53f498.tar.xz sssd-6d09def23347c49b8e91381a037b0abbfe53f498.zip |
Add --with-aux-info config option to SSS client
Diffstat (limited to 'sss_client')
-rw-r--r-- | sss_client/Makefile.am | 5 | ||||
-rw-r--r-- | sss_client/configure.ac | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sss_client/Makefile.am b/sss_client/Makefile.am index eaedc5f90..90427b053 100644 --- a/sss_client/Makefile.am +++ b/sss_client/Makefile.am @@ -6,6 +6,11 @@ AM_CPPFLAGS = \ -DLOCALEDIR=\"\$(localedir)\" ACLOCAL_AMFLAGS = -I m4 +AM_CFLAGS = +if WANT_AUX_INFO + AM_CFLAGS += -aux-info $@.X +endif + nsslibdir = @nsslibdir@ pamlibdir = $(nsslibdir)/security diff --git a/sss_client/configure.ac b/sss_client/configure.ac index f366a3cac..be1b4ccb0 100644 --- a/sss_client/configure.ac +++ b/sss_client/configure.ac @@ -28,5 +28,13 @@ AC_ARG_ENABLE([nsslibdir], [AS_HELP_STRING([--enable-nsslibdir], [nsslibdir=$enableval], [nsslibdir=$libdir]) AC_SUBST(nsslibdir) + +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]) + AC_CONFIG_FILES([Makefile po/Makefile.in]) AC_OUTPUT |