# =========================================================================== # http://www.nongnu.org/autoconf-archive/ax_cxx_header_stdcxx_98.html # =========================================================================== # # SYNOPSIS # # AX_CXX_HEADER_STDCXX_98 # # DESCRIPTION # # Check for complete library coverage of the C++1998/2003 standard. # # LICENSE # # Copyright (c) 2008 Benjamin Kosnik # # 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. AC_DEFUN([AX_CXX_HEADER_STDCXX_98], [ AC_CACHE_CHECK(for ISO C++ 98 include files, ax_cv_cxx_stdcxx_98, [AC_LANG_SAVE AC_LANG_CPLUSPLUS AC_TRY_COMPILE([ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include ],, ax_cv_cxx_stdcxx_98=yes, ax_cv_cxx_stdcxx_98=no) AC_LANG_RESTORE ]) if test "$ax_cv_cxx_stdcxx_98" = yes; then AC_DEFINE(STDCXX_98_HEADERS,,[Define if ISO C++ 1998 header files are present. ]) fi ])