Next: , Previous: , Up: The Macros  


ax_cxx_have_function

Synopsis

AX_CXX_HAVE_FUNCTION()

Description

This macros checks if std::function, added in C++11, is defined in the <functional> header.

If it is, define the ax_cv_cxx_have_function environment variable to "yes" and define HAVE_CXX_FUNCTION.

NOTE: This macros depends on AX_CXX_NAMESPACES.

Source Code

Download the latest version of ax_cxx_have_function.m4 or browse the macro’s revision history.

License

Copyright © 2014 Enrico M. Crisostomo enrico.m.crisostomo@gmail.com

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. This file is offered as-is, without any warranty.