From 795e12d8315c4f7f0d4b2abb77fb49e0417e362a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Fri, 30 Jan 2009 11:55:46 -0500 Subject: Spec file patch Take 2: Adding support for generating RPMS for sssd. Fixing TDB autoconf macros to require version 1.1.3 and support for the tdb_repack symbol (required by LDB) Updating tdb.h to #include for proper autoconf Build system modifications to simplify RPM generation Fixing RPM build system as recommended during code review Minor tweaks to Makefile and sssd.spec Make policykit and infopipe configurable Soname and symlinks --- server/external/libtdb.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'server/external/libtdb.m4') diff --git a/server/external/libtdb.m4 b/server/external/libtdb.m4 index 8c2cab70..196bc5cc 100644 --- a/server/external/libtdb.m4 +++ b/server/external/libtdb.m4 @@ -2,6 +2,7 @@ AC_SUBST(TDB_OBJ) AC_SUBST(TDB_CFLAGS) AC_SUBST(TDB_LIBS) -AC_CHECK_HEADER(tdb.h, - [AC_CHECK_LIB(tdb, tdb_open, [TDB_LIBS="-ltdb"]) ], - [PKG_CHECK_MODULES(TDB, tdb >= 1.1.0)]) +AC_CHECK_HEADERS([tdb.h], + [AC_CHECK_LIB(tdb, tdb_repack, [TDB_LIBS="-ltdb"], [AC_MSG_ERROR([TDB must support tdb_repack])]) ], + [PKG_CHECK_MODULES(TDB, tdb >= 1.1.3)] +) -- cgit