mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 04:17:43 +00:00
6c8a775c73
This option is going to be mandatory starting with automake 2.0. LyX is able to use this since version 2.1, but it turns out that it is badly implemented in versions of automake older than 1.14. We rely on some (undocumented) symbol to detect automake 1.14 and use the subdirs-objects option in this case. For more details, see: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181023.html Making everything work with autotools required making a copy of two files from support/tests. It seems that we should not point to source files that are handled by another Makefile.am.
37 lines
633 B
C++
37 lines
633 B
C++
/**
|
|
* \file boost.cpp
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Lars Gullik Bjønnes
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
#include "support/lassert.h"
|
|
|
|
#include <cstdlib>
|
|
#include <exception>
|
|
|
|
using namespace std;
|
|
|
|
namespace boost {
|
|
|
|
#ifndef BOOST_NO_EXCEPTIONS
|
|
void throw_exception(exception const & /*e*/)
|
|
{
|
|
LASSERT(false, /**/);
|
|
}
|
|
#endif
|
|
|
|
|
|
void assertion_failed(char const * /*expr*/, char const * /*function*/,
|
|
char const * /*file*/, long /*line*/)
|
|
{
|
|
::abort();
|
|
}
|
|
|
|
} // namespace boost
|