Changeset 1767 for trunk/configure.ac
- Timestamp:
- Feb 3, 2009, 8:44:16 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1765 r1767 272 272 273 273 AC_MSG_CHECKING([g++ deprecation attribute]) 274 AC_TRY_COMPILE([void f() __attribute__ ((deprecated));], [], 275 [AC_DEFINE([YAT_HAVE_GCC_DEPRECATED], [1], 276 [Define if compiler supports deprecated attribute, as in g++ 4.0]) 277 AC_MSG_RESULT([yes])], 278 [AC_MSG_RESULT([no])] ) 274 AC_COMPILE_IFELSE( 275 [AC_LANG_PROGRAM([[void f() __attribute__ ((deprecated));]],)], 276 [AC_DEFINE([YAT_HAVE_GCC_DEPRECATED], [1], 277 [Define if compiler supports deprecated attribute, as in g++ 4.0]) 278 AC_MSG_RESULT([yes])], 279 [AC_MSG_RESULT([no])] ) 279 280 280 281 AC_MSG_CHECKING([if std::multiset::iterator is mutable]) 281 AC_TRY_COMPILE([@%:@include <set> 282 @%:@include <vector> 283 ], 284 [std::set<std::vector<double> > s; 285 std::vector<double> v; 286 s.insert(v); 287 s.begin()->reserve(100); 288 ], 289 [AC_DEFINE([MULTISET_ITERATOR_IS_MUTABLE], [1], 290 [Define if std::multiset::iterator is mutable]) 291 AC_MSG_RESULT([yes]) 292 ], 293 [AC_MSG_RESULT([no])] ) 294 282 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <set> 283 @%:@include <vector>]], 284 [[std::set<std::vector<double> > s; 285 std::vector<double> v; 286 s.insert(v); 287 s.begin()->reserve(100); 288 ]])], 289 [AC_DEFINE([MULTISET_ITERATOR_IS_MUTABLE], [1], 290 [Define if std::multiset::iterator is mutable]) 291 AC_MSG_RESULT([yes]) 292 ], 293 [AC_MSG_RESULT([no])] ) 295 294 296 295 # yat specific settings … … 430 429 AC_MSG_NOTICE([ The following flags and libraries will be used:]) 431 430 AC_MSG_NOTICE([ +++++++++++++++++++++++++++++++++++++++++++++++]) 432 AC_MSG_NOTICE([ CPPFLAGS= \"$CPPFLAGS\"])433 AC_MSG_NOTICE([ AM_CPPFLAGS= \"$AM_CPPFLAGS\"])434 AC_MSG_NOTICE([ CXXFLAGS= \"$CXXFLAGS\"])435 AC_MSG_NOTICE([ AM_CXXFLAGS= \"$AM_CXXFLAGS\"])436 AC_MSG_NOTICE([ LDFLAGS= \"$LDFLAGS\"])437 AC_MSG_NOTICE([ AM_LDFLAGS= \"$AM_LDFLAGS\"])438 AC_MSG_NOTICE([ LIBS= \"$LIBS\"])431 AC_MSG_NOTICE([ CPPFLAGS=$CPPFLAGS]) 432 AC_MSG_NOTICE([ AM_CPPFLAGS=$AM_CPPFLAGS]) 433 AC_MSG_NOTICE([ CXXFLAGS=$CXXFLAGS]) 434 AC_MSG_NOTICE([ AM_CXXFLAGS=$AM_CXXFLAGS]) 435 AC_MSG_NOTICE([ LDFLAGS=$LDFLAGS]) 436 AC_MSG_NOTICE([ AM_LDFLAGS=$AM_LDFLAGS]) 437 AC_MSG_NOTICE([ LIBS=$LIBS]) 439 438 AC_MSG_NOTICE([ +++++++++++++++++++++++++++++++++++++++++++++++]) 440 439 AC_MSG_NOTICE([])
Note: See TracChangeset
for help on using the changeset viewer.