From 78bf8026bde34b7accc78f07c940ef1dcfc0dea7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 26 Apr 2005 11:10:55 +0000 Subject: [PATCH] r6487: Use autoconf for standalone build of tdb --- source/lib/ldb/autogen.sh | 2 +- source/lib/{ldb => tdb}/autogen.sh | 2 +- source/lib/tdb/tdb.pc.in | 10 ++++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) copy source/lib/{ldb => tdb}/autogen.sh (63%) create mode 100644 source/lib/tdb/tdb.pc.in diff --git a/source/lib/ldb/autogen.sh b/source/lib/ldb/autogen.sh index cdd7fd2e045..94148edf698 100755 --- a/source/lib/ldb/autogen.sh +++ b/source/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/source/lib/ldb/autogen.sh b/source/lib/tdb/autogen.sh similarity index 63% copy from source/lib/ldb/autogen.sh copy to source/lib/tdb/autogen.sh index cdd7fd2e045..94148edf698 100755 --- a/source/lib/ldb/autogen.sh +++ b/source/lib/tdb/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/source/lib/tdb/tdb.pc.in b/source/lib/tdb/tdb.pc.in new file mode 100644 index 00000000000..0d54afe2424 --- /dev/null +++ b/source/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@ -- 2.11.4.GIT