AX_BERKELEY_DB_CXX([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
This macro tries to find Berkeley DB C++ support. It honors MINIMUM-VERSION if given.
If libdb_cxx is found, DB_CXX_HEADER and DB_CXX_LIBS variables are set and ACTION-IF-FOUND shell code is executed if specified. DB_CXX_HEADER is set to location of db.h header in quotes (e.g. "db3/db_cxx.h") and AC_DEFINE_UNQUOTED is called on it, so that you can type
in your C/C++ code. DB_CXX_LIBS is set to linker flags needed to link against the library (e.g. -ldb3.1_cxx) and AC_SUBST is called on it.
when specified user-selected spot (via –with-libdb) also sets
DB_CXX_CPPFLAGS to the include directives required DB_CXX_LDFLAGS to the -L flags required
Download the latest version of ax_berkeley_db_cxx.m4 or browse the macro’s revision history.
Copyright © 2008 Vaclav Slavik email@example.com
Copyright © 2011 Stephan Suerken firstname.lastname@example.org
Copyright © 2014 Kirill A. Korinskiy email@example.com
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.