diff options
author | Björn Jacke <bj@sernet.de> | 2010-08-13 14:53:22 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-08-13 14:57:44 +0200 |
commit | 5390baeb6b97acbfde89bdb6a2c678a516a0e360 (patch) | |
tree | 04e115352ba9abf008d461d4975faced32bb096b /lib/tdb/libtdb.m4 | |
parent | 37177f1c05398e1d4a59bebcdb3cd16dd6e8382b (diff) | |
download | samba-5390baeb6b97acbfde89bdb6a2c678a516a0e360.tar.gz |
tdb: add TDB_DEPS variable filled with required libraries
This is required for Solaris, which needs to link in librt to make use of
fdatasync().
Diffstat (limited to 'lib/tdb/libtdb.m4')
-rw-r--r-- | lib/tdb/libtdb.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tdb/libtdb.m4 b/lib/tdb/libtdb.m4 index feae1c2cc67..fb8913aa16b 100644 --- a/lib/tdb/libtdb.m4 +++ b/lib/tdb/libtdb.m4 @@ -20,6 +20,12 @@ AC_SUBST(LIBREPLACEOBJ) TDB_LIBS="" AC_SUBST(TDB_LIBS) +TDB_DEPS="" +if test x$libreplace_cv_HAVE_FDATASYNC_IN_LIBRT = xyes ; then + TDB_DEPS="$TDB_DEPS -lrt" +fi +AC_SUBST(TDB_DEPS) + TDB_CFLAGS="-I$tdbdir/include" AC_SUBST(TDB_CFLAGS) |