autoconf-archive-maintainers | |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #8672] [patch] ax_berkeley_db_cxx.m4 - add support for freebsd in
From: |
T.v.Dein |
Subject: |
[patch #8672] [patch] ax_berkeley_db_cxx.m4 - add support for freebsd installations |
Date: |
Fri, 15 May 2015 13:13:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; FreeBSD amd64; rv:37.0) Gecko/20100101 Firefox/37.0 |
URL:
<http://savannah.gnu.org/patch/?8672>
Summary: [patch] ax_berkeley_db_cxx.m4 - add support for
freebsd installations
Project: GNU Autoconf Archive
Submitted by: tlinden
Submitted on: Fri 15 May 2015 01:13:58 PM GMT
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The current state of ax_berkeley_db_cxx.m4 does not find berkeley db on a
freebsd system. Here's how a bdb install looks on my system:
/usr/local/lib/libdb41_cxx.so
/usr/local/include/db41/db_cxx.h
The macro didn't find it, because it only looked for:
/usr/local/lib/libdb_cxx-4.1.so
So, the supplied patch adds support for this. There's a flipside though, it's
slower now since it checks more combinations.
Besides, there's also a bug left in the macro: if you specify a minimum
version number consisting of just one digit, it fails, because:
echo 4 | cut -d. -f2
4
echo 4 | cut -d. -f3
4
I'm not sure why. However, because of this it looks for 4.4.4, which is not
what I want if I specify "4". So, it should at least be noted in the
documentation that one has to specify a full version number such as 4.0.0 (in
which case it works as expected)
best,
Tom
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 15 May 2015 01:13:58 PM GMT Name:
ax_berkeley_db_cxx-oldbsdinstall-fix-20150515.patch Size: 4kB By: tlinden
<http://savannah.gnu.org/patch/download.php?file_id=34017>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8672>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #8672] [patch] ax_berkeley_db_cxx.m4 - add support for freebsd installations,
T.v.Dein <=