guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: bdb: Add configure flag to fix C++ header file.


From: Andreas Enge
Subject: 02/02: gnu: bdb: Add configure flag to fix C++ header file.
Date: Fri, 11 Sep 2015 20:37:01 +0000

andreas pushed a commit to branch master
in repository guix.

commit e4c3e2cd439f6a330fbd459097a1b79be41b4e56
Author: Andreas Enge <address@hidden>
Date:   Fri Sep 11 22:32:32 2015 +0200

    gnu: bdb: Add configure flag to fix C++ header file.
    
    * gnu/packages/databases.scm (bdb): Build with "--enable-cxx", which causes
      HAVE_CXX_STDHEADERS to be defined in db_cxx.h in the output.
---
 gnu/packages/databases.scm |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index e978c54..38ff650 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <address@hidden>
-;;; Copyright © 2012, 2014 Andreas Enge <address@hidden>
+;;; Copyright © 2012, 2014, 2015 Andreas Enge <address@hidden>
 ;;; Copyright © 2013 Cyril Roelandt <address@hidden>
 ;;; Copyright © 2014 David Thompson <address@hidden>
 ;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
@@ -87,7 +87,12 @@
 
                       ;; The compatibility mode is needed by some packages,
                       ;; notably iproute2.
-                      "--enable-compat185"))))
+                      "--enable-compat185"
+
+                      ;; The following flag is needed so that the inclusion
+                      ;; of db_cxx.h into C++ files works; it leads to
+                      ;; HAVE_CXX_STDHEADERS being defined in db_cxx.h.
+                      "--enable-cxx"))))
                  %standard-phases)))
     (synopsis "Berkeley database")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]