summaryrefslogtreecommitdiffstats
path: root/server/sss_client/conf_macros.m4
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-17 09:14:40 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-18 13:48:44 -0500
commit8e9ac4d7443939ed0d152708d3877b29252d16fe (patch)
treeb857cd509655146456b0ad624db527c1c3c366f3 /server/sss_client/conf_macros.m4
parent29e9f5e711a03135944e30ad241c8182dacc6049 (diff)
downloadsssd-8e9ac4d7443939ed0d152708d3877b29252d16fe.tar.gz
sssd-8e9ac4d7443939ed0d152708d3877b29252d16fe.tar.xz
sssd-8e9ac4d7443939ed0d152708d3877b29252d16fe.zip
Eliminate separate build tree for sss_client
Diffstat (limited to 'server/sss_client/conf_macros.m4')
-rw-r--r--server/sss_client/conf_macros.m452
1 files changed, 52 insertions, 0 deletions
diff --git a/server/sss_client/conf_macros.m4 b/server/sss_client/conf_macros.m4
new file mode 100644
index 000000000..cff961bc8
--- /dev/null
+++ b/server/sss_client/conf_macros.m4
@@ -0,0 +1,52 @@
+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_DEFUN([WITH_PIPE_PATH],
+ [ AC_ARG_WITH([pipe-path],
+ [AC_HELP_STRING([--with-pipe-path=PATH],
+ [Where to store pipe files for the SSSD interconnects [/var/lib/sss/pipes]]
+ )
+ ]
+ )
+ config_pipepath="\"VARDIR\"/lib/sss/pipes"
+ pipepath="${localstatedir}/lib/sss/pipes"
+ if test x"$with_pipe_path" != x; then
+ config_pipepath=$with_pipe_path
+ pipepath=$with_pipe_path
+ fi
+ AC_SUBST(pipepath)
+ AC_DEFINE_UNQUOTED(PIPE_PATH, "$config_pipepath", [Where to store pipe files for the SSSD interconnects])
+ ])
+AC_DEFUN([WITH_MANPAGES],
+ [ AC_ARG_WITH([manpages],
+ [AC_HELP_STRING([--with-manpages],
+ [Whether to regenerate man pages from DocBook sources [yes]]
+ )
+ ],
+ [],
+ with_manpages=yes
+ )
+ if test x"$with_manpages" == xyes; then
+ HAVE_MANPAGES=1
+ AC_SUBST(HAVE_MANPAGES)
+ fi
+ ])
+AM_CONDITIONAL([BUILD_MANPAGES], [test x$with_manpages = xyes])
+
+AC_DEFUN([WITH_XML_CATALOG],
+ [ AC_ARG_WITH([xml-catalog-path],
+ [AC_HELP_STRING([--with-xml-catalog-path=PATH],
+ [Where to look for XML catalog [/etc/xml/catalog]]
+ )
+ ]
+ )
+ SGML_CATALOG_FILES="/etc/xml/catalog"
+ if test x"$with_xml_catalog_path" != x; then
+ SGML_CATALOG_FILES="$with_xml_catalog_path"
+ fi
+ AC_SUBST([SGML_CATALOG_FILES])
+ ])