summaryrefslogtreecommitdiff
path: root/lib/talloc/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'lib/talloc/configure.ac')
-rw-r--r--lib/talloc/configure.ac27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/talloc/configure.ac b/lib/talloc/configure.ac
new file mode 100644
index 0000000000..d2538f9222
--- /dev/null
+++ b/lib/talloc/configure.ac
@@ -0,0 +1,27 @@
+AC_PREREQ(2.50)
+AC_INIT(talloc, 1.2.0)
+AC_CONFIG_SRCDIR([talloc.c])
+AC_SUBST(datarootdir)
+AC_CONFIG_HEADER(config.h)
+
+AC_LIBREPLACE_ALL_CHECKS
+
+m4_include(libtalloc.m4)
+
+AC_PATH_PROG(XSLTPROC,xsltproc)
+DOC_TARGET=""
+if test -n "$XSLTPROC"; then
+ DOC_TARGET=doc
+fi
+AC_SUBST(DOC_TARGET)
+
+AC_LD_PICFLAG
+AC_LD_SHLIBEXT
+AC_LD_SONAMEFLAG
+AC_LIBREPLACE_SHLD
+AC_LIBREPLACE_SHLD_FLAGS
+
+m4_include(build_macros.m4)
+BUILD_WITH_SHARED_BUILD_DIR
+
+AC_OUTPUT(Makefile talloc.pc)