From d74fac574067ff2f3918ad435df2c2352e4b2ef7 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 22 Oct 2006 22:06:08 +0000 Subject: [PATCH] r19459: Do not build nss by default (it probably works only on linux) Fix warning with standalone.sh if build exists --- source/lib/ldb/Makefile.in | 7 ++++++- source/lib/ldb/standalone.sh | 7 ++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/source/lib/ldb/Makefile.in b/source/lib/ldb/Makefile.in index c90f41afd797..b46fd73791e3 100644 --- a/source/lib/ldb/Makefile.in +++ b/source/lib/ldb/Makefile.in @@ -57,7 +57,12 @@ EXAMPLES = examples/ldbreader examples/ldifreader DIRS = lib bin common ldb_tdb ldb_ldap ldb_sqlite3 modules tools examples -all: showflags dirs $(OBJS) $(LDB_LIB) $(BINS) $(EXAMPLES) manpages $(NSS_LIB) +nss: nssdir $(NSS_LIB) + +nssdir: + @mkdir -p $(NSSDIR) + +all: showflags dirs $(OBJS) $(LDB_LIB) $(BINS) $(EXAMPLES) manpages showflags: @echo 'ldb will be compiled with flags:' diff --git a/source/lib/ldb/standalone.sh b/source/lib/ldb/standalone.sh index 4a085688c256..1c5d5f7e4f33 100755 --- a/source/lib/ldb/standalone.sh +++ b/source/lib/ldb/standalone.sh @@ -14,8 +14,9 @@ make clean ./autogen.sh -mkdir build -cd build +mkdir -p build +cd build ../configure -make +make dirs +make all -- 2.34.1