From e4477f8cdaea562e54880cebd8589c05fbf8b448 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Mon, 2 Feb 2004 13:55:38 +0000 Subject: [PATCH] - added %bcond_with nptl (--enable-posixmutexes) Changed files: db.spec -> 1.40 --- db.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/db.spec b/db.spec index e5525ef..961894a 100644 --- a/db.spec +++ b/db.spec @@ -2,7 +2,8 @@ # Conditional build: %bcond_with java # build db-java (required for openoffice) %bcond_without tcl # don't build tcl bindings -# +%bcond_with nptl # enable posix mutexes + Summary: Berkeley DB database library for C Summary(pl): Biblioteka C do obsĀ³ugi baz Berkeley DB Name: db @@ -231,6 +232,7 @@ export CC CXX CFLAGS CXXFLAGS --disable-shared \ --enable-static \ --enable-rpc \ + %{?with_nptl:--enable-posixmutexes} \ --enable-cxx # (temporarily?) disabled because of compilation errors: @@ -245,6 +247,7 @@ cd ../build_unix --libdir=%{_libdir} \ --enable-compat185 \ --enable-rpc \ + %{?with_nptl:--enable-posixmutexes} \ --enable-cxx \ %{?with_tcl:--enable-tcl} \ %{?with_tcl:--with-tcl=/usr/lib} \ -- 2.44.0