< Previous by Date Date Index Next by Date >
  Thread Index Next in Thread >

[reSIProcate] db_cxx.h location on Debian




I've noticed on Debian that db_cxx.h is in /usr/include rather than /usr/include/db4

This causes the compile to break in repro/BerkeleyDb.cxx

Below is the code for including db_cxx.h

Should the configure script be used to detect this path correctly?

#ifdef WIN32
#include <db_cxx.h>
#elif HAVE_CONFIG_H
#include "config.hxx"
#include DB_HEADER
//#elif defined(__APPLE__)
//#include <db42/db_cxx.h>
#else
#include<db4/db_cxx.h>
#endif