8 # Test for date_time library from the Boost C++ libraries.
12 # AC_SUBST(BOOST_DATE_TIME_LIB)
16 # HAVE_BOOST_DATE_TIME
20 # Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
21 # Copyright (c) 2008 Michael Tindal
22 # Copyright (c) 2008 Free Software Foundation, Inc.
24 # Copying and distribution of this file, with or without modification, are
25 # permitted in any medium without royalty provided the copyright notice
26 # and this notice are preserved.
28 AC_DEFUN([AX_BOOST_DATE_TIME],
30 AC_REQUIRE([AX_BOOST_BASE])
31 _AX_BOOST_CHECK([boost_date_time],
32 [@%:@include <boost/date_time/gregorian/gregorian_types.hpp>],
33 [using namespace boost::gregorian; date d(2002,Jan,10); return 0;])