From 50c10e1f61a1bef93a7f768ad6edb28989f1761b Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Tue, 12 May 2009 11:56:27 -0400 Subject: Enable building a single libsssd_utils.so from common --- common/configure.ac | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'common/configure.ac') diff --git a/common/configure.ac b/common/configure.ac index a5fa3d54..e3213996 100644 --- a/common/configure.ac +++ b/common/configure.ac @@ -23,8 +23,17 @@ AC_CONFIG_FILES([Makefile AC_CONFIG_SUBDIRS([collection dhash ini]) -AC_OUTPUT - - - +AC_DEFUN([WITH_SINGLELIB], + [ AC_ARG_WITH([singlelib], + [AC_HELP_STRING([--with-singlelib], + [Whether to build a shared object containing all sssd_utils [no]] + ) + ], + [], + with_singlelib=yes + ) + ]) + +AM_CONDITIONAL([SINGLELIB], [test x$with_singlelib = xyes ]) +AC_OUTPUT -- cgit