summaryrefslogtreecommitdiffstats
path: root/common/configure.ac
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-05-12 11:56:27 -0400
committerSimo Sorce <ssorce@redhat.com>2009-05-14 11:34:04 -0400
commit50c10e1f61a1bef93a7f768ad6edb28989f1761b (patch)
treea0d44730681e5fccaeafa5cc9b8d8fb150182b96 /common/configure.ac
parent798af224b66e25b694569f70e86262f7867917cf (diff)
downloadsssd-50c10e1f61a1bef93a7f768ad6edb28989f1761b.tar.gz
sssd-50c10e1f61a1bef93a7f768ad6edb28989f1761b.tar.xz
sssd-50c10e1f61a1bef93a7f768ad6edb28989f1761b.zip
Enable building a single libsssd_utils.so from common
Diffstat (limited to 'common/configure.ac')
-rw-r--r--common/configure.ac17
1 files changed, 13 insertions, 4 deletions
diff --git a/common/configure.ac b/common/configure.ac
index a5fa3d547..e32139967 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