summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-04-26 11:10:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:19 -0500
commit90be367a18af0afad598d3c62d5b39238ed591a4 (patch)
tree6e0ae8af0fb71ee9f0b09162330cc284b9f2f335 /source4
parent5d794389a02d2cf9060ce3ef861366bafb9fdf66 (diff)
downloadsamba-90be367a18af0afad598d3c62d5b39238ed591a4.tar.gz
samba-90be367a18af0afad598d3c62d5b39238ed591a4.tar.bz2
samba-90be367a18af0afad598d3c62d5b39238ed591a4.zip
r6487: Use autoconf for standalone build of tdb
(This used to be commit 78bf8026bde34b7accc78f07c940ef1dcfc0dea7)
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/lib/ldb/autogen.sh2
-rwxr-xr-xsource4/lib/tdb/autogen.sh7
-rw-r--r--source4/lib/tdb/tdb.pc.in10
3 files changed, 18 insertions, 1 deletions
diff --git a/source4/lib/ldb/autogen.sh b/source4/lib/ldb/autogen.sh
index cdd7fd2e04..94148edf69 100755
--- a/source4/lib/ldb/autogen.sh
+++ b/source4/lib/ldb/autogen.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-(autoheader && autoconf) || exit 1
+autoconf || exit 1
echo "Now run ./configure and then make."
exit 0
diff --git a/source4/lib/tdb/autogen.sh b/source4/lib/tdb/autogen.sh
new file mode 100755
index 0000000000..94148edf69
--- /dev/null
+++ b/source4/lib/tdb/autogen.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+autoconf || exit 1
+
+echo "Now run ./configure and then make."
+exit 0
+
diff --git a/source4/lib/tdb/tdb.pc.in b/source4/lib/tdb/tdb.pc.in
new file mode 100644
index 0000000000..0d54afe242
--- /dev/null
+++ b/source4/lib/tdb/tdb.pc.in
@@ -0,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: tdb
+Description: A trivial database
+Version: 4.0
+#Libs: @LIBS@ -L${libdir} -ltdb
+Cflags: -I${includedir} @CFLAGS@